资质审核

master
schry 2 years ago
parent 10fd9f6803
commit 852a9dcd24

@ -514,14 +514,14 @@ export default {
methods: { methods: {
onPassSubmit(val) { onPassSubmit(val) {
this.inputQuery.checkStatus = 1; this.inputQuery.auditStatus = 1;
this.$confirm("是否审核通过?", "提示", { this.$confirm("是否审核通过?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
}).then(() => { }).then(() => {
this.loading = true; this.loading = true;
this.inputQuery.checkStatus = 1; this.inputQuery.auditStatus = 1;
auditManufacturer(this.inputQuery).then(response => { auditManufacturer(this.inputQuery).then(response => {
this.loading = false; this.loading = false;
if (response.code === 20000) { if (response.code === 20000) {
@ -542,7 +542,7 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
}).then(({value}) => { }).then(({value}) => {
this.inputQuery.auditComment = value; this.inputQuery.auditComment = value;
this.inputQuery.checkStatus = 2; this.inputQuery.auditStatus = 2;
auditManufacturer(this.inputQuery).then(response => { auditManufacturer(this.inputQuery).then(response => {
this.loading = false; this.loading = false;
if (response.code === 20000) { if (response.code === 20000) {
@ -627,8 +627,8 @@ export default {
auditCert(row) { auditCert(row) {
this.certAuditVisible = true; this.certAuditVisible = true;
this.currentAudit = row; this.currentAudit = row;
this.isOpen = this.currentAudit.checkStatus; this.isOpen = this.currentAudit.auditStatus;
this.confirmStatus = this.currentAudit.checkStatus; this.confirmStatus = this.currentAudit.auditStatus;
}, },
revoke(inputQuery) { revoke(inputQuery) {
this.$confirm("是否确定撤回证书状态至未确认?", "提示", { this.$confirm("是否确定撤回证书状态至未确认?", "提示", {
@ -656,11 +656,11 @@ export default {
}, },
passAuditCert() { passAuditCert() {
this.currentAudit.checkStatus = 1; this.currentAudit.auditStatus = 1;
this.auditSupCert(this.currentAudit); this.auditSupCert(this.currentAudit);
}, },
rejectAuditCert() { rejectAuditCert() {
this.currentAudit.checkStatus = 2; this.currentAudit.auditStatus = 2;
this.auditSupCert(this.currentAudit); this.auditSupCert(this.currentAudit);
}, },
confirm() { confirm() {

Loading…
Cancel
Save