确认状态修改

ywj_dev
anthonywj 2 years ago
parent c29aeaad85
commit 80759a7b61

@ -321,10 +321,10 @@
</div>
</el-col>
<el-col :span="8">
<el-form-item prop="need">
<el-select v-model="currentAudit.status" style="width: 100%">
<el-option label="失效" :value=1></el-option>
<el-option label="有效" :value=0></el-option>
<el-form-item prop="confirmStatus">
<el-select v-model="confirmStatus" style="width: 100%">
<el-option label="符合" :value="1"></el-option>
<el-option label="不符合" :value="2"></el-option>
</el-select>
</el-form-item>
</el-col>
@ -345,7 +345,7 @@
</el-button>
</el-col>
</el-row>
<el-row>
<el-row style="margin-top: 12px">
<el-col :span="3">
<div class="ao-text">
<span>结果备注</span>
@ -358,8 +358,8 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="rejectAuditCert"></el-button>
<el-button type="primary" @click="passAuditCert"></el-button>
<el-button type="primary" @click="confirm"></el-button>
<el-button type="primary" @click="cancel"></el-button>
</div>
</el-dialog>
@ -498,6 +498,8 @@ export default {
certTypeMap: {
1: '身份证'
},
confirmStatus: null,
selectLocalVisible: false,
productQuery: {
ylqxzcrbarmc: "",
@ -797,7 +799,22 @@ export default {
.catch(() => {
this.roleList = null;
});
}
},
confirm() {
if (this.confirmStatus == null) {
this.$message.error("请选择确认状态");
return;
}
if (this.confirmStatus == 1) {
this.passAuditCert();
} else if (this.confirmStatus == 2) {
this.rejectAuditCert();
}
},
cancel() {
this.certAuditVisible = false;
},
},
filters: {
statusFilterType(status) {

Loading…
Cancel
Save