WXL
2025-04-10 4c9eab7cd2f92e6ebee76f38f1616cb3e5855697
src/views/patient/questionnaire/index.vue
@@ -17,7 +17,7 @@
                  font-weight: 600;
                "
              >
                {{ item.value }}
              {{ item.value ? item.value : 0 }}
              </div>
            </div>
          </el-card>
@@ -26,7 +26,7 @@
          <div class="ysfleftvlue">
            <el-card shadow="hover">
              <div style="padding: 8px">
                <span>已发送未领取</span>
                <span>表单已发送</span>
                <div
                  style="
                    text-align: center;
@@ -192,7 +192,7 @@
      <el-table
        v-loading="loading"
        :data="userList"
        height="660"
        height="808"
        :row-class-name="tableRowClassName"
        @selection-change="handleSelectionChange"
      >
@@ -208,6 +208,7 @@
        <!-- <el-table-column label="序号" fixed align="center" key="id" prop="id" /> -->
        <el-table-column
          label="姓名"
          width="100"
          fixed
          align="center"
          key="sendname"
@@ -223,17 +224,17 @@
          <template slot-scope="scope">
            <div v-if="scope.row.sendstate == 1">
              <el-tag type="primary" :disable-transitions="false"
                >被领取</el-tag
                >表单已领取</el-tag
              >
            </div>
            <div v-if="scope.row.sendstate == 2">
              <el-tag type="primary" :disable-transitions="false"
                >待发送</el-tag
                >待随访</el-tag
              >
            </div>
            <div v-if="scope.row.sendstate == 3">
              <el-tag type="success" :disable-transitions="false"
                >已发送未领取</el-tag
                >表单已发送</el-tag
              >
            </div>
            <div v-if="scope.row.sendstate == 4">
@@ -258,7 +259,7 @@
        />
        <el-table-column
          label="人工处理意见"
          label="处理意见"
          align="center"
          key="suggest"
          prop="suggest"
@@ -274,12 +275,12 @@
        <el-table-column
          label="随访人员"
          align="center"
          key="createBy"
          prop="createBy"
          key="updateBy"
          prop="updateBy"
          width="120"
        />
        <el-table-column
          label="随访时间"
          label="随访完成时间"
          sortable
          align="center"
          prop="finishtime"
@@ -361,7 +362,7 @@
        /> -->
        <!-- <el-table-column label="年龄" align="center" key="age" prop="age" /> -->
        <!-- <el-table-column label="性别" align="center" key="sex" prop="sex" /> -->
        <!-- <el-table-column label="性别"width="100" align="center" key="sex" prop="sex" /> -->
        <!-- <el-table-column label="床号" align="center" key="badNo" prop="badNo" /> -->
        <el-table-column
          label="科室"
@@ -718,10 +719,10 @@
          name: "出院服务总量",
          value: 0,
        },
        {
          name: "患者过滤",
          value: 0,
        },
        // {
        //   name: "患者过滤",
        //   value: 0,
        // },
        {
          name: "应随访",
          value: 0,
@@ -736,7 +737,7 @@
          value: 0,
        },
        {
          name: "待发送",
          name: "待随访",
          value: 0,
        },
        {
@@ -745,7 +746,7 @@
        },
        // {
        //   name: "已发送未领取",
        //   name: "表单已发送",
        //   value: 0,
        // },
      ],
@@ -765,6 +766,7 @@
        pageSize: 10,
        serviceType: 7,
        searchscope: 3,
        sendstate:2,
        scopetype: [],
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
@@ -775,15 +777,15 @@
      topicoptions: [
        {
          value: 1,
          label: "被领取",
          label: "表单已领取",
        },
        {
          value: 2,
          label: "待发送",
          label: "待随访",
        },
        {
          value: 3,
          label: "已发送未领取",
          label: "表单已发送",
        },
        {
          value: 4,
@@ -866,18 +868,23 @@
        console.log(this.topqueryParams.leavehospitaldistrictcodes, "11");
      }
      this.loading = true;
      if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) {
        this.topqueryParams.deptOrDistrict=2;
      }else{
        this.topqueryParams.deptOrDistrict=1;
      }
      getTaskservelist(this.topqueryParams).then((response) => {
        this.userList = response.rows[0].serviceSubtaskList;
        this.total = response.total;
        if (refresh) {
          this.cardlist[0].value =
            Number(response.rows[0].wzx) + Number(response.rows[0].ysf);
          this.cardlist[1].value = response.rows[0].wzx;
          this.cardlist[2].value = response.rows[0].ysf;
          // this.cardlist[1].value = response.rows[0].wzx;
          this.cardlist[1].value = response.rows[0].ysf;
          this.ycvalue = response.rows[0].yc;
          this.cardlist[3].value = response.rows[0].fssb;
          this.cardlist[4].value = response.rows[0].dfs;
          this.cardlist[5].value = response.rows[0].yfs2;
          this.cardlist[2].value = response.rows[0].fssb;
          this.cardlist[3].value = response.rows[0].dfs;
          this.cardlist[4].value = response.rows[0].yfs2;
          this.yfsvalue = response.rows[0].yfs;
        }
        this.loading = false;
@@ -1004,6 +1011,7 @@
        pageSize: 10,
        serviceType: 7,
        searchscope: 2,
        sendstate:2,
      };
      this.handleQuery(1);
    },