WXL
2025-02-19 ec64a69276a1a7fa64096d45e2f804fd38d99d17
src/views/patient/physical/index.vue
@@ -17,12 +17,12 @@
                  font-weight: 600;
                "
              >
                {{ item.value }}
              {{ item.value ? item.value : 0 }}
              </div>
            </div>
          </el-card>
        </el-col>
        <el-col :span="2.5">
        <!-- <el-col :span="2.5">
          <div class="ysfleftvlue">
            <el-card shadow="hover">
              <div style="padding: 8px">
@@ -40,7 +40,7 @@
              </div>
            </el-card>
          </div>
        </el-col>
        </el-col> -->
        <el-col :span="2.5">
          <div class="errleftvlue">
            <el-card shadow="hover">
@@ -79,7 +79,7 @@
          ></el-input>
        </el-form-item>
        <el-form-item label="出院时间">
        <el-form-item label="心电时间">
          <el-date-picker
            v-model="dateRange"
            style="width: 240px"
@@ -208,11 +208,26 @@
        <!-- <el-table-column label="序号" fixed align="center" key="id" prop="id" /> -->
        <el-table-column
          label="姓名"
          fixed
          align="center"
          key="sendname"
          prop="sendname"
        />
        >
          <template slot-scope="scope">
            <el-button
              size="medium"
              type="text"
              @click="
                  $router.push({
                    path: '/patient/indexls/',
                    query: { sfzh: scope.row.idcardno },
                  })
              "
              ><span class="button-textsc">{{
                scope.row.sendname
              }}</span></el-button
            >
          </template>
        </el-table-column>
        <el-table-column
          label="任务状态"
          align="center"
@@ -290,7 +305,23 @@
          </template>
        </el-table-column>
        <el-table-column
          label="出院日期"
          label="随访结果"
          width="200"
          align="center"
          key="remark"
          prop="remark"
        >
          <template slot-scope="scope" v-if="scope.row.remark">
            <el-tag
              type="warning"
              v-if="scope.row.sendstate != 5 && scope.row.sendstate != 4"
              >{{ scope.row.remark }}</el-tag
            >
            <el-tag type="warning" v-else>{{ scope.row.remark }}</el-tag>
          </template>
        </el-table-column>
        <el-table-column
          label="检查日期"
          width="200"
          align="center"
          key="endtime"
@@ -312,7 +343,7 @@
          </template></el-table-column
        >
        <el-table-column
          label="出院天数"
          label="已检查天数"
          width="120"
          align="center"
          key="endDay"
@@ -336,15 +367,15 @@
          key="phone"
          prop="phone"
        />
        <el-table-column
        <!-- <el-table-column
          label="责任护士"
          width="120"
          align="center"
          key="nurseName"
          prop="nurseName"
        />
        /> -->
        <el-table-column
          label="主治医生"
          label="检查医生"
          width="120"
          align="center"
          key="drname"
@@ -390,8 +421,8 @@
        >
        </el-table-column> -->
        <el-table-column
          label="出院随访模板名称"
        <!-- <el-table-column
          label="心电随访模板名称"
          align="center"
          key="templatename"
          prop="templatename"
@@ -408,7 +439,7 @@
          <template slot-scope="scope">
            <span v-for="item in scope.row.preachform">{{ item }}、 </span>
          </template>
        </el-table-column>
        </el-table-column> -->
        <!-- <el-table-column
          label="任务发送流程"
          align="center"
@@ -423,22 +454,7 @@
            </span>
          </template>
        </el-table-column> -->
        <el-table-column
          label="任务结果说明"
          width="200"
          align="center"
          key="remark"
          prop="remark"
        >
          <template slot-scope="scope" v-if="scope.row.remark">
            <el-tag
              type="warning"
              v-if="scope.row.sendstate != 5 && scope.row.sendstate != 4"
              >{{ scope.row.remark }}</el-tag
            >
            <el-tag type="warning" v-else>{{ scope.row.remark }}</el-tag>
          </template>
        </el-table-column>
        <el-table-column
          label="操作"
          align="center"
@@ -493,7 +509,7 @@
        @pagination="getList"
      />
    </el-row>
    <!-- 添加或修改门诊随访对话框 -->
    <!-- 添加或修改影像随访对话框 -->
    <el-dialog
      :title="title"
      :visible.sync="addalteropen"
@@ -536,7 +552,7 @@
        </el-row>
        <el-row :gutter="20">
          <el-col :span="24">
            <el-form-item label="门诊随访要求">
            <el-form-item label="影像随访要求">
              <el-input type="textarea" v-model="form.desc"></el-input>
            </el-form-item>
          </el-col>
@@ -661,7 +677,7 @@
      // 用户表格数据
      userList: null,
      // 弹出层标题
      title: "新增门诊随访",
      title: "新增影像随访",
      // 是否显示修改、添加弹出层
      addalteropen: false,
      // 修改发送时间对话框
@@ -683,13 +699,13 @@
      yfsvalue: "",
      inputValue: "",
      preachform: "",
      previewVisible: false, //门诊随访预览弹框
      previewVisible: false, //影像随访预览弹框
      radio: "",
      radios: [],
      previewtype: 2, //预览门诊随访类型
      previewtype: 2, //预览影像随访类型
      total: 0, // 总条数
      ImportQuantity: 999, //导门诊随访数量
      //预览门诊随访信息
      ImportQuantity: 999, //导影像随访数量
      //预览影像随访信息
      previewvalue: {
        username: "这个医生对你怎么样",
      },
@@ -715,13 +731,13 @@
      loading: false,
      cardlist: [
        {
          name: "出院服务总量",
          name: "心电服务总量",
          value: 0,
        },
        {
          name: "患者过滤",
          value: 0,
        },
        // {
        //   name: "患者过滤",
        //   value: 0,
        // },
        {
          name: "应随访",
          value: 0,
@@ -731,16 +747,16 @@
        //   name: "异常",
        //   value: 0,
        // },
        // {
        //   name: "发送失败",
        //   value: 0,
        // },
        {
          name: "发送失败",
          name: "待随访",
          value: 0,
        },
        {
          name: "待执行",
          value: 0,
        },
        {
          name: "已发送",
          name: "已随访",
          value: 0,
        },
@@ -848,7 +864,7 @@
    this.getList(1);
  },
  methods: {
    /** 查询门诊随访服务列表 */
    /** 查询影像随访服务列表 */
    getList(refresh) {
      // 默认全部
      if (this.topqueryParams.searchscope == 3) {
@@ -872,12 +888,12 @@
        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[2].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[3].value = response.rows[0].fssb;
          // this.cardlist[4].value = response.rows[0].dfs;
          // this.cardlist[5].value = response.rows[0].yfs2;
          this.yfsvalue = response.rows[0].yfs;
        }
        this.loading = false;
@@ -906,7 +922,7 @@
        this.total = response.total;
      });
    },
    // 查看门诊随访详情
    // 查看影像随访详情
    Referencequestion(row) {
      this.previewVisible = true;
    },
@@ -924,7 +940,7 @@
        this.options = [];
      }
    },
    // 门诊随访状态修改
    // 影像随访状态修改
    handleStatusChange(row) {
      let text = row.status === "0" ? "启用" : "停用";
      this.$modal