Browse Source

完善员工管理

zhanglei
yunuo970428 2 years ago
parent
commit
09e9c51c80
  1. 11
      anrui-management/anrui-management-ui/src/views/sysstaffinfo/yuangongguanli.vue

11
anrui-management/anrui-management-ui/src/views/sysstaffinfo/yuangongguanli.vue

@ -338,19 +338,18 @@ export default {
this.loadList() this.loadList()
}, },
handleOpen() { handleOpen() {
const _this = this
this.personTypeForm.sid = this.sids[0] this.personTypeForm.sid = this.sids[0]
req.del(this.personTypeForm).then((resp) => { req.del(this.personTypeForm).then((resp) => {
loading.close() if (resp.success) {
_this.$message({ this.dialogVisible = false
this.$message({
type: 'success', type: 'success',
message: resp.msg, message: resp.msg,
showClose: true showClose: true
}) })
_this.loadList() this.loadList()
this.dialogVisible = false }
}).catch((e) => { }).catch((e) => {
loading.close()
}) })
}, },
// sid // sid

Loading…
Cancel
Save