Browse Source

完善员工管理

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

19
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
type: 'success', this.$message({
message: resp.msg, type: 'success',
showClose: true message: resp.msg,
}) showClose: true
_this.loadList() })
this.dialogVisible = false this.loadList()
}
}).catch((e) => { }).catch((e) => {
loading.close()
}) })
}, },
// sid // sid

Loading…
Cancel
Save