WXL (wul)
2025-09-25 5b7a0f9d294c939e08e312309a2df395462ade15
测试完成
已修改4个文件
63 ■■■■■ 文件已修改
src/store/getters.js 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/tasklist/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 39 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/getters.js
@@ -753,14 +753,14 @@
    //     listClass: "",
    //   },
    // },
    // {
    //   value: "13",
    //   label: "专病随访",
    //   raw: {
    //   cssClass: "",
    //   listClass: "",
    // },
    // },
    {
      value: "13",
      label: "专病随访",
      raw: {
      cssClass: "",
      listClass: "",
    },
    },
  ],
};
src/views/followvisit/tasklist/index.vue
@@ -690,7 +690,7 @@
            label: "问卷随访",
          },
        ];
        this.topqueryParams.type = 2;
        // this.topqueryParams.type = 2;
      } else if (this.tasktopic == 4 || this.tasktopic == 8) {
        if (!this.topqueryParams.type) this.topqueryParams.type = "3";
        this.longtermlist = [
@@ -716,7 +716,7 @@
            label: "宣教关怀",
          },
        ];
        this.topqueryParams.type = 2;
        // this.topqueryParams.type = 2;
      }
      this.topqueryParams.beginTime = this.dateRange[0];
      this.topqueryParams.endTime = this.dateRange[1];
src/views/patient/propaganda/particty.vue
@@ -69,7 +69,7 @@
                    placeholder="请输入任务描述"
                  />
                </el-form-item>
                <el-form-item label="服务形式">
                <!-- <el-form-item label="服务形式">
                  <el-radio-group
                    v-model="checkList"
                    @change="handleCheckedCitiesChange"
@@ -78,11 +78,19 @@
                      v-for="(item, index) in checkboxlist"
                      :key="index"
                      :label="item.value"
                      @change="checkboxChange($event, item.value)"
                    >
                      {{ item.label }}</el-radio
                    >
                  </el-radio-group>
                </el-form-item> -->
                <el-form-item label="服务形式">
                  <SortCheckbox
                    v-model="checkList"
                    :options="checkboxlist"
                    value-key="value"
                    label-key="label"
                    @change="checkSelectionChange"
                  />
                </el-form-item>
                <!-- <div class="xinz-infs">
                  <el-form-item label="服务执行顺序" prop="daytime">
@@ -909,6 +917,7 @@
} from "@/api/AiCentre/index";
import { deptTreeSelect } from "@/api/system/user";
import OptionalForm from "@/components/OptionalForm";
import SortCheckbox from "@/components/SortCheckbox"; //表格组件
import { MessageBox } from "element-ui";
import SFtable from "@/components/SFtable"; //表格组件
@@ -951,6 +960,8 @@
      skip: false,
      donorchargeList: [],
      baseoperaList: [],
      selectedOrder: [],
      usable: [
        { value: "0", label: "可用" },
        { value: "1", label: "停用" },
@@ -1025,7 +1036,7 @@
        pageNum: 1, //
        pageSize: 10,
      },
      checkList: "",
      checkList: [],
      foncheckList: [],
      formatvalue: {
        format1: "",
@@ -1198,7 +1209,7 @@
      serviceType: null,
    };
  },
  components: { SFtable, OptionalForm },
  components: { SFtable, OptionalForm,SortCheckbox },
  created() {
    this.appraiselist = store.getters.appraiselist;
@@ -1451,7 +1462,8 @@
        this.leavehospitaldistrictcodes = [];
      }
      if (this.checkList) {
        this.form.preachform = this.checkList;
        this.form.preachform = this.checkList.join(',');
        this.form.preachformList = this.selectedOrder;
      } else {
        this.$modal.msgError("请选择服务类型");
        return;
@@ -1467,10 +1479,10 @@
        this.$modal.msgError("请选择任务关联条件");
        return;
      }
      if (!this.form.patTaskRelevances[0] && !this.form.longTask) {
        this.$modal.msgError("请选择病人");
        return;
      }
      // if (!this.form.patTaskRelevances[0] && !this.form.longTask) {
      //   this.$modal.msgError("请选择病人");
      //   return;
      // }
      if (!this.form.templatename && !this.templateor) {
        this.$modal.msgError("未选择模板");
@@ -1851,7 +1863,8 @@
              ? this.form.patTaskRelevances
              : [];
            this.overallCase = this.form.patTaskRelevances.concat();
            this.checkList = this.form.preachform;
            this.checkList = this.form.preachform.split(',');
            this.selectedOrder = this.form.preachformList;
            this.overallCase.forEach((item) => {
              if (item.endtime) {
@@ -2195,7 +2208,11 @@
        }
      });
    },
    checkboxChange(checked, value) {},
  checkSelectionChange(selectedValues, selectedOrder) {
      this.selectedOrder = selectedValues ;
      console.log("当前选中:", selectedValues);
      console.log("选中顺序:", selectedOrder);
    },
    // 服务形式选取
    handleCheckedCitiesChange(row) {
      console.log(row, "服务");
vue.config.js
@@ -36,8 +36,8 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: `https://www.health-y.cn/lssf`,
        // target: `http://192.168.100.126:8095`,
        target: `http://192.168.100.10:8096`,
        target: `http://192.168.100.127:8095`,
        // target: `http://192.168.100.10:8096`,
        // target:`http://localhost:8095`,
        // target:`http://35z1t16164.qicp.vip`,
        // target: `http://192.168.100.193:8095`,