确认状态修改

ywj_dev
anthonywj 2 years ago
parent c29aeaad85
commit 80759a7b61

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

Loading…
Cancel
Save