diff --git a/src/views/basic/modifyRegisterCert.vue b/src/views/basic/modifyRegisterCert.vue index d3b3705..c009533 100644 --- a/src/views/basic/modifyRegisterCert.vue +++ b/src/views/basic/modifyRegisterCert.vue @@ -538,13 +538,15 @@ export default { if (response.code == 20000) { this.$emit("closeModifyRegister", true); } else { - this.$emit("closeModifyRegister", false); + this.$message.error(response.message); + // this.$emit("closeModifyRegister", false); } this.loading = false; }) .catch(() => { this.loading = false; - this.$emit("closeModifyRegister", false); + this.$message.error(response.message); + // this.$emit("closeModifyRegister", false); }); } else { addEnterpriseCert(this.registertDetail) diff --git a/src/views/basic/registerCert.vue b/src/views/basic/registerCert.vue index 5d62be2..e0264cb 100644 --- a/src/views/basic/registerCert.vue +++ b/src/views/basic/registerCert.vue @@ -485,10 +485,7 @@ export default { if (val) { this.$message.success("保存成功!"); this.getList(); - } else if (val == null) { - } else { - this.$message.error("保存失败!"); - } + } }, onAddSubmit() {}, diff --git a/src/views/publish/udiProduct.vue b/src/views/publish/udiProduct.vue index 83792dc..7b6527e 100644 --- a/src/views/publish/udiProduct.vue +++ b/src/views/publish/udiProduct.vue @@ -171,11 +171,11 @@ - + 企业名称:  - +