|
@@ -461,6 +461,25 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <el-dialog
|
|
|
|
+ :title="title1"
|
|
|
|
+ :visible.sync="rejectshow"
|
|
|
|
+ width="30%"
|
|
|
|
+ :before-close="handleClose5">
|
|
|
|
+ <span>{{title1=='驳回'?'驳回审核':'通过审核'}}</span>
|
|
|
|
+ <div>
|
|
|
|
+ <el-input
|
|
|
|
+ type="textarea"
|
|
|
|
+ :rows="2"
|
|
|
|
+ placeholder="请输入审核意见"
|
|
|
|
+ v-model="auditMind">
|
|
|
|
+ </el-input>
|
|
|
|
+ </div>
|
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
|
+ <el-button @click="rejectshow = false">取 消</el-button>
|
|
|
|
+ <el-button type="primary" @click="rejectclick">确 定</el-button>
|
|
|
|
+ </span>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -522,6 +541,8 @@ export default {
|
|
interestrateshow: false,
|
|
interestrateshow: false,
|
|
dataList: [],
|
|
dataList: [],
|
|
payeeinfo: [],
|
|
payeeinfo: [],
|
|
|
|
+ title1:'',
|
|
|
|
+ rejectshow:false,
|
|
options: [],
|
|
options: [],
|
|
textarea: '',
|
|
textarea: '',
|
|
dialogVisiblecontent: false,
|
|
dialogVisiblecontent: false,
|
|
@@ -608,6 +629,7 @@ export default {
|
|
searchKeyWord: '',
|
|
searchKeyWord: '',
|
|
inOutType: '',
|
|
inOutType: '',
|
|
contractType: 2,
|
|
contractType: 2,
|
|
|
|
+ auditdata:[],
|
|
fieldrationsshow: false,
|
|
fieldrationsshow: false,
|
|
// 提交类型
|
|
// 提交类型
|
|
submitType: true,
|
|
submitType: true,
|
|
@@ -648,7 +670,8 @@ export default {
|
|
dialogTitle: '',
|
|
dialogTitle: '',
|
|
titletype: '',
|
|
titletype: '',
|
|
remark: '',
|
|
remark: '',
|
|
- baseId:''
|
|
|
|
|
|
+ baseId:'',
|
|
|
|
+ auditMind:''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// activated() {
|
|
// activated() {
|
|
@@ -1654,6 +1677,7 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
var arr3 = this.filtertask(arr2)
|
|
var arr3 = this.filtertask(arr2)
|
|
|
|
+
|
|
this.$confirm('审核请款信息', {
|
|
this.$confirm('审核请款信息', {
|
|
confirmButtonText: '通过',
|
|
confirmButtonText: '通过',
|
|
cancelButtonText: '驳回',
|
|
cancelButtonText: '驳回',
|
|
@@ -1661,22 +1685,34 @@ export default {
|
|
type: 'warning',
|
|
type: 'warning',
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
-
|
|
|
|
- this.aduithandle(arr3, 0, true)
|
|
|
|
|
|
+ this.title1='通过'
|
|
|
|
+ this.auditdata=arr3
|
|
|
|
+ this.rejectshow=true
|
|
|
|
+ // this.aduithandle(arr3, 0, true)
|
|
}).catch((action) => {
|
|
}).catch((action) => {
|
|
console.log(action)
|
|
console.log(action)
|
|
if (action == 'cancel') {
|
|
if (action == 'cancel') {
|
|
- this.aduithandle(arr3, 0, false)
|
|
|
|
|
|
+ this.title1='驳回'
|
|
|
|
+ this.auditdata=arr3
|
|
|
|
+ this.rejectshow=true
|
|
|
|
+ // this.aduithandle(arr3, 0, false)
|
|
}
|
|
}
|
|
|
|
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ rejectclick(){
|
|
|
|
+ if(this.title=='通过'){
|
|
|
|
+ this.aduithandle(this.auditdata, 0, true)
|
|
|
|
+ }else{
|
|
|
|
+ this.aduithandle(this.auditdata, 0, false)
|
|
|
|
+ }
|
|
|
|
+ },
|
|
aduithandle(item, index, status) {
|
|
aduithandle(item, index, status) {
|
|
if (index < item.length) {
|
|
if (index < item.length) {
|
|
workflowhandle({
|
|
workflowhandle({
|
|
taskId: item[index].taskId,
|
|
taskId: item[index].taskId,
|
|
approved: status,
|
|
approved: status,
|
|
- auditMind: '',
|
|
|
|
|
|
+ auditMind: this.auditMind,
|
|
needReapply: true,
|
|
needReapply: true,
|
|
}).toPromise()
|
|
}).toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
@@ -1888,6 +1924,9 @@ export default {
|
|
handleClose() {
|
|
handleClose() {
|
|
this.aduitshow = false
|
|
this.aduitshow = false
|
|
},
|
|
},
|
|
|
|
+ handleClose5() {
|
|
|
|
+ this.rejectshow = false
|
|
|
|
+ },
|
|
handleClose3() {
|
|
handleClose3() {
|
|
this.customershow = false
|
|
this.customershow = false
|
|
},
|
|
},
|