WXL (wul)
11 小时以前 64aba591ee30c2c31953a852fe6a95db79fc0070
src/views/repositoryai/templateku/configurat/index.vue
@@ -274,7 +274,7 @@
          </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"
@@ -282,7 +282,7 @@
                  size="medium"
                  multiple
                  filterable
                  placeholder="请选择课题组"
                  placeholder="请选择科室"
                >
                  <el-option
                    class="ruleFormaa"
@@ -305,7 +305,7 @@
                  size="medium"
                  multiple
                  filterable
                  placeholder="请选择课题组"
                  placeholder="请选择科室"
                >
                  <el-option
                    class="ruleFormaa"
@@ -1494,7 +1494,7 @@
        ivrLibaScriptTargetoptionList: [],
      },
      labelInfovalue: [], //标签临时存储
      deptNamesvalue: [], //课题组临时存储
      deptNamesvalue: [], //科室临时存储
      dialogVisiblepatient: false, //适用疾病窗口
      dynamicTags: [],
      indexAssortlist: [],
@@ -1521,8 +1521,8 @@
      optionstag: [],
      prefollowuplist: [],
      postfollowuplist: [],
      tempDetpRelevanceslist: [], //课题组数据
      tempDetpRelevanceslistform: [], //课题组数据
      tempDetpRelevanceslist: [], //科室数据
      tempDetpRelevanceslistform: [], //科室数据
      tempbelongWards: [], //病区数据
      tempbelongWardsform: [], //病区数据
      generallist: [
@@ -1669,9 +1669,9 @@
      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);
@@ -1896,7 +1896,7 @@
      this.illnessVisible = false;
      this.$modal.msgSuccess("编辑成功");
    },
    // 课题组处理
    // 科室处理
    Departmenttreatment() {
      this.$modal.loading("正在修正保存数据,请稍候...");
      this.tempDetpRelevanceslist.forEach((item) => {
@@ -1930,7 +1930,7 @@
      }, 1000);
      // this.submitForm();
    },
    // 保存课题组/病区
    // 保存科室/病区
    putbelongDepts(id) {
      this.tempDetpRelevanceslistform.forEach((item) => {
        if (!item.tempid) item.tempid = id;
@@ -1942,7 +1942,7 @@
      if (this.tempDetpRelevanceslistform.length > 0) {
        depthospgetson(this.tempDetpRelevanceslistform).then((res) => {
          if (res.code == 200) {
            this.$modal.msgSuccess("课题组新增成功");
            this.$modal.msgSuccess("科室新增成功");
          }
        });
      }
@@ -2249,7 +2249,7 @@
    resetForm(formName) {
      this.$refs[formName].resetFields();
    },
    // 课题组删除触发
    // 科室删除触发
    removetag(row) {
      let result = this.deptlist
        .filter((item) => item.deptCode == row)