WXL
2025-02-27 355bbb7502f0d61fd6d1f05b461220970f865e0d
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -861,6 +861,8 @@
  getQtemplateclassify,
  taskdepthospgetsondel,
  taskdepthospgetsonlist,
  taskdiaggetlist,
  taskopergetlist,
} from "@/api/AiCentre/index";
import SFtable from "@/components/SFtable"; //表格组件
@@ -1381,6 +1383,7 @@
        this.$modal.msgError("请选择服务类型");
        return;
      }
      console.log(this.operationcodes[0]);
      console.log(this.operationcodes);
      if (
@@ -1390,7 +1393,7 @@
        this.operationcodes[0]
      ) {
      } else {
        this.$modal.msgError("请选择科室或病区");
        this.$modal.msgError("请选择任务关联条件");
        return;
      }
@@ -1880,7 +1883,7 @@
      this.time3 = ""; //晚上时间段
      this.time4 = ""; //晚上时间段
    },
    // 获取任务科室列表
    // 获取各类
    listDept() {
      this.leavehospitaldistrictcodes = [];
      this.deptcodesWards = [];
@@ -1896,6 +1899,24 @@
              this.hosplist.push(item);
              this.leavehospitaldistrictcodes.push(item.deptCode);
            }
          });
        }
      });
      taskdiaggetlist(this.queryParamsdept).then((res) => {
        if (res.code == 200) {
          let arr = res.rows;
          arr.forEach((item) => {
            this.hosplist.push(item);
            this.illnesscodes.push(item.icdcode);
          });
        }
      });
      taskopergetlist(this.queryParamsdept).then((res) => {
        if (res.code == 200) {
          let arr = res.rows;
          arr.forEach((item) => {
            this.hosplist.push(item);
            this.operationcodes.push(item.opcode);
          });
        }
      });
@@ -1915,7 +1936,7 @@
    },
    // 院区删除删除触发
    removehpsp(row) {
      console.log(this.hosplist,'hhh');
      console.log(this.hosplist, "hhh");
      let result = this.hosplist
        .filter((item) => item.deptCode == row)