| | |
| | | v-for="dict in hospList" |
| | | :key="dict.hospAreaName" |
| | | :label="dict.hospAreaName" |
| | | :value="dict.hospAreaName" |
| | | :value="dict.hospAreaId" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | placeholder="请输入标准科室" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="科室类型" prop="deptTypeCode"> |
| | | <el-form-item label="科室类型" prop="parentOrgType"> |
| | | <el-select |
| | | v-model="form.parentOrgType" |
| | | placeholder="请选择科室类型" |
| | |
| | | components: { Treeselect }, |
| | | data() { |
| | | let checkPhoneNum = (rule, value, callback) => { |
| | | console.log(value); |
| | | let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/); |
| | | if (value == "" && value == undefined && !value) { |
| | | return callback(""); |
| | |
| | | getlistHosp() { |
| | | listHosp(this.queryParams).then((response) => { |
| | | this.hospList = response.rows; |
| | | console.log(this.hospList); |
| | | }); |
| | | }, |
| | | /** 转换部门数据结构 */ |
| | |
| | | // console.log(11111) |
| | | // this.reset(); |
| | | this.form = row; |
| | | console.log(this.form ) |
| | | // this.form.parentId = this.form.parentId.toString() |
| | | if(this.form.parentId == 0){ |
| | | this.deptOption.push({ "id": 0, "label": "主类目", }); |
| | | console.log(this.deptOption); |
| | | } |
| | | this.open = true; |
| | | this.title = "科室信息维护 "; |