|
@@ -1066,6 +1066,22 @@
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog :visible.sync="checkerDialog" width="50%" center top="25vh" custom-class="doWarehouseClass" @closed="cleanCheckId()">
|
|
|
+ <el-card shadow="never" class="card">
|
|
|
+ <div>
|
|
|
+ <el-divider content-position="left">请确定审核人员</el-divider>
|
|
|
+ <el-radio-group v-model="checkerId" size="medium">
|
|
|
+ <div v-for="(u,id) in checkers" class="xRadio">
|
|
|
+ <el-radio border :label="u.id" >{{ u.name }} </el-radio>
|
|
|
+ </div>
|
|
|
+ </el-radio-group>
|
|
|
+ </div>
|
|
|
+ </el-card>
|
|
|
+ <div style="display: flex;">
|
|
|
+ <el-button style="margin-left: 43%; margin-top: 10px;" type="info" @click="checkerDialog=false">取消</el-button>
|
|
|
+ <el-button style="margin-top: 10px; float: right;" type="success" @click="commit('PASS')">确认</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -1552,7 +1568,10 @@ export default {
|
|
|
immovalbeShow: false,
|
|
|
landShow: false,
|
|
|
changeCredentials: [],
|
|
|
- showQR:true
|
|
|
+ showQR:true,
|
|
|
+ checkerDialog:false,
|
|
|
+ checkerId:null,
|
|
|
+ checkers:[]
|
|
|
|
|
|
}
|
|
|
},
|
|
@@ -1677,10 +1696,12 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
workflowCommitVerify(val, callback) {
|
|
|
+ console.log(this.checkerId)
|
|
|
let commit = val.commit;
|
|
|
let verify = new Object();
|
|
|
verify.state = true;
|
|
|
verify.productionType = this.feedback;
|
|
|
+ verify.nextHandlerId = this.checkerId;
|
|
|
if (commit.state === 'PASS') {
|
|
|
let nodeCode = this.nodeBusinessInfo.currentNodeInstanceCode;
|
|
|
switch (nodeCode) {
|
|
@@ -1766,6 +1787,19 @@ export default {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+ if (!verify.nextHandlerId ){
|
|
|
+ this.checkerDialog = true;
|
|
|
+ this.$api.user.postUserVOList("个贷审核岗").then(res => {
|
|
|
+ if (res.code === 200) {
|
|
|
+ this.checkers = res.data;
|
|
|
+ //默认复审人
|
|
|
+ this.checkerId = res.data[0].id;
|
|
|
+ }
|
|
|
+ })
|
|
|
+ verify.state = false;
|
|
|
+ callback(verify);
|
|
|
+ return;
|
|
|
+ }
|
|
|
callback(verify);
|
|
|
return;
|
|
|
case "REVIEW_STATEMENT":
|
|
@@ -2597,7 +2631,10 @@ export default {
|
|
|
link.click();
|
|
|
})
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
+ cleanCheckId(){
|
|
|
+ this.checkerId = null;
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
@@ -2727,5 +2764,10 @@ a:hover{
|
|
|
cursor: pointer;
|
|
|
color: #5a9cf8
|
|
|
}
|
|
|
+.xRadio{
|
|
|
+ margin-right: 5px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ float: left;
|
|
|
+}
|
|
|
</style>
|
|
|
|