| | |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleUpdate" |
| | | v-hasPermi="['system:user:edit']" |
| | | |
| | | >修改</el-button |
| | | > |
| | | </el-col> |
| | |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | |
| | | >修改</el-button |
| | | > |
| | | <el-button |
| | |
| | | <el-dropdown-item |
| | | command="handleAuthRole" |
| | | icon="el-icon-circle-check" |
| | | v-hasPermi="['system:user:edit']" |
| | | |
| | | >分配角色</el-dropdown-item |
| | | > |
| | | </el-dropdown-menu> |
| | |
| | | deptTreeSelect(1).then((response) => { |
| | | this.deptOptionsks = response.data; |
| | | }); |
| | | // 病区列表 |
| | | deptTreeSelect(2).then((response) => { |
| | | this.deptOptionsbq = response.data; |
| | | }); |
| | |
| | | updateUser(this.form).then((response) => { |
| | | this.$modal.msgSuccess("修改成功"); |
| | | this.open = false; |
| | | this.adduserdept(); |
| | | // this.adduserdept(); |
| | | }); |
| | | } else { |
| | | addUser(this.form).then((response) => { |
| | |
| | | this.form.userId = response.data; |
| | | console.log("开始加部门"); |
| | | |
| | | this.adduserdept(); |
| | | // this.adduserdept(); |
| | | }); |
| | | } |
| | | } |