| | |
| | | </el-form-item> |
| | | <el-row> |
| | | <el-col :span="20" |
| | | ><el-form-item label="适用科室" prop="region"> |
| | | ><el-form-item label="适用课题组" prop="region"> |
| | | <el-select |
| | | v-model="tempDetpRelevanceslist" |
| | | @remove-tag="removetag" |
| | |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | | placeholder="请选择科室" |
| | | placeholder="请选择课题组" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | | placeholder="请选择科室" |
| | | placeholder="请选择课题组" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | |
| | | ivrLibaScriptTargetoptionList: [], |
| | | }, |
| | | labelInfovalue: [], //标签临时存储 |
| | | deptNamesvalue: [], //科室临时存储 |
| | | deptNamesvalue: [], //课题组临时存储 |
| | | dialogVisiblepatient: false, //适用疾病窗口 |
| | | dynamicTags: [], |
| | | indexAssortlist: [], |
| | |
| | | optionstag: [], |
| | | prefollowuplist: [], |
| | | postfollowuplist: [], |
| | | tempDetpRelevanceslist: [], //科室数据 |
| | | tempDetpRelevanceslistform: [], //科室数据 |
| | | tempDetpRelevanceslist: [], //课题组数据 |
| | | tempDetpRelevanceslistform: [], //课题组数据 |
| | | tempbelongWards: [], //病区数据 |
| | | tempbelongWardsform: [], //病区数据 |
| | | generallist: [ |
| | |
| | | this.task = this.$route.query.task; |
| | | this.queryParamsdept.tempid = this.id; |
| | | }, |
| | | // 获取科室树 |
| | | // 获取课题组树 |
| | | getDeptTree() { |
| | | // 科室列表 |
| | | // 课题组列表 |
| | | deptTreeSelect().then((response) => { |
| | | this.deptOptions = response.data; |
| | | this.flatArray = this.flattenArray(response.data); |
| | |
| | | this.illnessVisible = false; |
| | | this.$modal.msgSuccess("编辑成功"); |
| | | }, |
| | | // 科室处理 |
| | | // 课题组处理 |
| | | Departmenttreatment() { |
| | | this.$modal.loading("正在修正保存数据,请稍候..."); |
| | | this.tempDetpRelevanceslist.forEach((item) => { |
| | |
| | | }, 1000); |
| | | // this.submitForm(); |
| | | }, |
| | | // 保存科室/病区 |
| | | // 保存课题组/病区 |
| | | putbelongDepts(id) { |
| | | this.tempDetpRelevanceslistform.forEach((item) => { |
| | | if (!item.tempid) item.tempid = id; |
| | |
| | | if (this.tempDetpRelevanceslistform.length > 0) { |
| | | depthospgetson(this.tempDetpRelevanceslistform).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("科室新增成功"); |
| | | this.$modal.msgSuccess("课题组新增成功"); |
| | | } |
| | | }); |
| | | } |
| | |
| | | resetForm(formName) { |
| | | this.$refs[formName].resetFields(); |
| | | }, |
| | | // 科室删除触发 |
| | | // 课题组删除触发 |
| | | removetag(row) { |
| | | let result = this.deptlist |
| | | .filter((item) => item.deptCode == row) |