Commit 14e67f5a by cwq0219

员工

1 parent 86bc9ae3
......@@ -312,11 +312,11 @@ export default {
message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '您还未给该员工设置“角色”! '), h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '设置角色:员工账户管理-修改-角色权限')]),
type: 'error'
})
this.handleSearch()
this.$refs.employeeRef.refreshTable(false)
return false
}
this.$apis.employee.updateStatusApi({ id: row.id, status: val == '启用' ? 0 : 2 }).then(res => {
this.handleSearch()
this.$refs.employeeRef.refreshTable(false)
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!