diff --git a/anrui-management/anrui-management-ui/src/views/sysstaffinfo/yuangongguanli.vue b/anrui-management/anrui-management-ui/src/views/sysstaffinfo/yuangongguanli.vue index 19376970b2..b63133f6e1 100644 --- a/anrui-management/anrui-management-ui/src/views/sysstaffinfo/yuangongguanli.vue +++ b/anrui-management/anrui-management-ui/src/views/sysstaffinfo/yuangongguanli.vue @@ -338,19 +338,18 @@ export default { this.loadList() }, handleOpen() { - const _this = this this.personTypeForm.sid = this.sids[0] req.del(this.personTypeForm).then((resp) => { - loading.close() - _this.$message({ - type: 'success', - message: resp.msg, - showClose: true - }) - _this.loadList() - this.dialogVisible = false + if (resp.success) { + this.dialogVisible = false + this.$message({ + type: 'success', + message: resp.msg, + showClose: true + }) + this.loadList() + } }).catch((e) => { - loading.close() }) }, // 获取数据sid