WXL
2025-02-27 355bbb7502f0d61fd6d1f05b461220970f865e0d
测试完成
已修改4个文件
61 ■■■■ 文件已修改
src/api/AiCentre/Qtemplate.js 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/detailpage/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/tasklist/index.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/Qtemplate.js
@@ -40,7 +40,6 @@
    });
  }
  // 新增问卷模板分类
  export function addQtemplateclassify(data) {
    return request({
@@ -194,8 +193,23 @@
        method: "get",
      });
    }
// 获取任务疾病关联
export function taskdiaggetlist(data) {
  return request({
    url: "/smartor/taskdiag/list",
    method: "post",
    data: data,
  });
}
// 获取任务手术关联
export function taskopergetlist(data) {
  return request({
    url: "/smartor/taskoper/list",
    method: "post",
    data: data,
  });
}
// 医护保存数据
export function serviceSubtaskDetailedit(data) {
  return request({
    url: "/smartor/serviceSubtaskDetail/editByCondition",
src/views/followvisit/record/detailpage/index.vue
@@ -668,7 +668,7 @@
    // 获取基础信息
    getuserinfo() {
      const queryParams = {
        pid: Number(this.id),
        pid: Number(this.patid),
        allhosp: "0",
        pageNum: 1,
      };
@@ -823,12 +823,10 @@
      }).then((res) => {
        if (res.code == 200) {
          this.form = res.rows[0].serviceSubtaskList[0];
          console.log(this.form, "form3");
          this.logsheetlist = res.rows[0].serviceSubtaskList;
          this.templateid = this.logsheetlist[0].templateid;
          console.log(this.form.serviceType, "serviceType");
        }
this.getuserinfo();
        if (this.Voicetype) {
          this.getPersonVoices();
        } else {
src/views/followvisit/tasklist/index.vue
@@ -657,11 +657,11 @@
  },
  watch: {},
  created() {
    this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
      (obj) => obj.deptCode
    );
    this.topqueryParams.leavehospitaldistrictcodes =
      store.getters.belongWards.map((obj) => obj.districtCode);
    // this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
    //   (obj) => obj.deptCode
    // );
    // this.topqueryParams.leavehospitaldistrictcodes =
    //   store.getters.belongWards.map((obj) => obj.districtCode);
    this.tasktopic = this.$route.query.tasktopic
      ? this.$route.query.tasktopic
      : this.tasktopic;
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)