WXL (wul)
2 天以前 feb5a669dced68415bc7e32f237f77bf9842fe8b
src/views/followvisit/discharge/outpatientService.vue
@@ -131,8 +131,8 @@
          ></el-cascader>
        </el-form-item>
        <el-form-item label="任务状态" prop="status">
          <el-select v-model="topqueryParams.sendstate" placeholder="请选择">
        <el-form-item label="服务状态" prop="status">
          <el-select v-model="topqueryParams.sendstateView" placeholder="请选择">
            <el-option
              v-for="item in topicoptions"
              :key="item.value"
@@ -300,10 +300,10 @@
          </template>
        </el-table-column>
        <el-table-column
          label="任务状态"
          label="随访状态"
          align="center"
          key="sendstate"
          prop="sendstate"
          key="sendstateView"
          prop="sendstateView"
          width="120"
        >
          <template slot-scope="scope">
@@ -313,37 +313,29 @@
              :content="scope.row.remark"
              placement="top-start"
            >
              <div v-if="scope.row.sendstate == 1">
                <el-tag type="primary" :disable-transitions="false"
                  >表单已领取</el-tag
                >
              </div>
              <div v-if="scope.row.sendstate == 2">
              <div v-if="scope.row.sendstateView == 1">
                <el-tag type="primary" :disable-transitions="false"
                  >待随访</el-tag
                >
              </div>
              <div v-if="scope.row.sendstate == 3">
                <el-tag type="success" :disable-transitions="false"
                  >表单已发送</el-tag
              <div v-if="scope.row.sendstateView == 2">
                <el-tag type="primary" :disable-transitions="false"
                  >随访中</el-tag
                >
              </div>
              <div v-if="scope.row.sendstate == 4">
                <el-tag type="info" :disable-transitions="false">不执行</el-tag>
              </div>
              <div v-if="scope.row.sendstate == 5">
                <el-tag type="danger" :disable-transitions="false"
                  >发送失败</el-tag
              <div v-if="scope.row.sendstateView == 3">
                <el-tag type="warning" :disable-transitions="false"
                  >未完成</el-tag
                >
              </div>
            <div v-if="scope.row.sendstate == 6">
              <div v-if="scope.row.sendstateView == 4">
                <el-tag type="success" :disable-transitions="false"
                  >已完成</el-tag
                >
              </div>
              <div v-if="scope.row.sendstate == 7">
              <div v-if="scope.row.sendstateView == 5">
                <el-tag type="danger" :disable-transitions="false"
                  >超时</el-tag
                  >无需随访</el-tag
                >
              </div>
            </el-tooltip>
@@ -1006,38 +998,30 @@
      propss: { multiple: true },
      options: [],
      topicoptions: [
     topicoptions: [
        {
          value: null,
          label: "全部",
        },
        {
          value: 1,
          label: "表单已领取",
        },
        {
          value: 2,
          label: "待随访",
        },
        {
          value: 2,
          label: "随访中",
        },
        {
          value: 3,
          label: "表单已发送",
          label: "未完成",
        },
        {
          value: 4,
          label: "不执行",
        },
         {
          value: 5,
          label: "发送失败",
        },
        {
          value: 6,
          label: "已完成",
        },
         {
          value: 7,
          label: "超时",
        {
          value: 5,
          label: "无需随访",
        },
      ],
      sextype: [
@@ -1377,7 +1361,7 @@
      this.topqueryParams = {
        pageNum: 1,
        pageSize: 10,
        sendstate: 2,
        sendstateView: 1,
        sort: 2, //0 出院时间(正序)    1 出院时间(倒序)   2 发送时间(正序)    3 发送时间(倒序)
        serviceType: 3,
        searchscope: 3,