WXL
2025-04-08 9f5b4e23bbca058ecef83397ff95dbe0fed7bd5e
src/views/followvisit/tasklist/index.vue
@@ -142,7 +142,7 @@
        <el-table-column
          label="任务名称"
          fixed
          width="120"
          width="200"
          align="center"
          key="taskName"
          prop="taskName"
@@ -165,13 +165,18 @@
          :show-overflow-tooltip="true"
        />
        <el-table-column
          label="待执行/总任务"
          label="总任务/已随访"
          align="center"
          key="nickName"
          width="120"
          prop="nickName"
        >
          <template slot-scope="scope">
            <span>{{ scope.row.wfs }}/{{ scope.row.yfs }}</span>
            <span
              >{{ scope.row.wfs ? scope.row.wfs + scope.row.yfs : "" }}/{{
                scope.row.yfs
              }}</span
            >
          </template>
        </el-table-column>
        <el-table-column
@@ -225,7 +230,7 @@
          label="操作"
          fixed="right"
          align="center"
          width="180"
          width="240"
          class-name="small-padding fixed-width"
        >
          <template slot-scope="scope">
@@ -269,7 +274,7 @@
          label="任务详情"
          fixed="right"
          align="center"
          width="200"
          width="240"
          class-name="small-padding fixed-width"
        >
          <template slot-scope="scope">
@@ -492,24 +497,12 @@
          label: "体检随访",
        },
        {
          value: "6",
          label: "满意度调查",
        },
        {
          value: "7",
          label: "患者日常报告",
        },
        {
          value: "9",
          label: "患者异常报告",
          value: "11",
          label: "医技随访",
        },
        {
          value: "10",
          label: "专病随访",
        },
        {
          value: "8",
          label: "其他通知",
          label: "专科随访",
        },
      ],
      tasktopic: "2", //新增类型
@@ -669,11 +662,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;
@@ -706,7 +699,7 @@
        this.tasktopic == 7 ||
        this.tasktopic == 6
      ) {
        if (!this.topqueryParams.type) this.topqueryParams.type = '2';
        if (!this.topqueryParams.type) this.topqueryParams.type = "2";
        this.longtermlist = [
          {
            value: 1,
@@ -718,7 +711,7 @@
          },
        ];
      } else if (this.tasktopic == 4 || this.tasktopic == 8) {
        if (!this.topqueryParams.type) this.topqueryParams.type = '3';
        if (!this.topqueryParams.type) this.topqueryParams.type = "3";
        this.longtermlist = [
          {
            value: 3,
@@ -726,7 +719,7 @@
          },
        ];
      } else if (this.tasktopic == 5) {
        if (!this.topqueryParams.type) this.topqueryParams.type = '1';
        if (!this.topqueryParams.type) this.topqueryParams.type = "1";
        this.longtermlist = [
          {
            value: 1,