| | |
| | | <!-- <el-input v-model="form.nationDesc" placeholder="请输入民族描述"/> --> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="所在院区" prop="hospName"> |
| | | <el-select v-model="form.hospName" placeholder="请选择所在院区" clearable style="width: 200px" filterable> |
| | | <el-form-item label="所在医院" prop="hospId"> |
| | | <el-select v-model="form.hospId" placeholder="请选择所在医院" clearable style="width: 200px" filterable @change="sendhospName"> |
| | | <el-option v-for="dict in hospList" :key="dict.hospAreaName" :label="dict.hospAreaName" |
| | | :value="dict.hospAreaId" /> |
| | | </el-select> |
| | | <!-- <el-input v-model="form.hospName" placeholder="请输入组织中文名称" /> --> |
| | | </el-form-item> |
| | | <el-form-item label="归属科室" prop="deptId"> |
| | | <treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属科室" |
| | | style="width: 200px" /> |
| | | <!-- <treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属科室" |
| | | style="width: 200px" /> --> |
| | | <el-select v-model="form.deptId" placeholder="请选择归属科室" clearable style="width: 200px" filterable > |
| | | <el-option v-for="dict in DepartmentList" :key="dict.deptName" :label="dict.deptName" |
| | | :value="dict.deptId" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="入职日期" prop="entryDate"> |
| | |
| | | resetUserPwd, |
| | | changeUserStatus, |
| | | deptTreeSelect, |
| | | getUserInfo, |
| | | getDeptListByDictHospId, |
| | | } from "@/api/system/user"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import { listHosp } from "@/api/hosp/hosp"; |
| | |
| | | dialogVisible: false, |
| | | // 用户表格数据 |
| | | sysUserList: [], |
| | | DepartmentList:[], |
| | | // 岗位表格数据 |
| | | postList: [], |
| | | // 角色表格数据 |
| | |
| | | // }); |
| | | }, |
| | | |
| | | sendhospName(){ |
| | | let data = { |
| | | id:this.form.hospId |
| | | } |
| | | getDeptListByDictHospId(data).then(res => { |
| | | this.DepartmentList = res.data |
| | | }) |
| | | }, |
| | | |
| | | handleUp(row) { |
| | | this.title = "用户信息维护"; |
| | | this.open = true; |