WXL (wul)
8 天以前 ffa22cc18c75c0a73a3fd987e2b62fbf55316db2
src/views/followvisit/discharge/index.vue
@@ -486,7 +486,6 @@
          prop="nurseName"
        />
        <el-table-column
          v-if="orgname != '丽水市中医院'"
          label="经管医生"
          align="center"
          key="managementDoctor"
@@ -1096,7 +1095,7 @@
      dynamicTags: ["选项一", "选项二", "选项三"], //选项
      inputVisible: false,
      Labelchange: false,
      ycvalue: "",
      ycvalue: 0,
      jgvalue: "",
      yfsvalue: "",
      inputValue: "",
@@ -1205,7 +1204,8 @@
        btstatus: "",
      },
      // endOut: 1,
      endOut: localStorage.getItem("orgname") == "丽水市中医院" ? 0 : 1, //0 出院时间(正序)    1 出院时间(倒序)   2 发送时间(正序)    3 发送时间(倒序)  7应随访日期(倒序) 应随访日期(正序)
      endOut:
        localStorage.getItem("orgname") == "景宁畲族自治县人民医院" ? 0 : 1, //0 出院时间(正序)    1 出院时间(倒序)   2 发送时间(正序)    3 发送时间(倒序)  7应随访日期(倒序) 应随访日期(正序)
      endOuts: [
        {
          value: 0,
@@ -1362,10 +1362,9 @@
    // 监听路由参数变化
    "$route.query": {
      handler(newQuery, oldQuery) {
        if (newQuery.errtype !== oldQuery.errtype) {
        if (newQuery?.errtype !== oldQuery?.errtype) {
          console.log(22);
          this.loadData(); // 重新加载数据
          this.loadData();
        }
      },
      immediate: true,
@@ -1478,7 +1477,7 @@
            Number(response.rows[0].wxsf) + Number(response.rows[0].xsf) || 0;
          // this.cardlist[1].value = response.rows[0].wzx;
          this.cardlist[1].value = response.rows[0].wxsf || 0;
          this.ycvalue = response.rows[0].yc;
          this.ycvalue = Number(response.rows[0].yc) || 0
          this.jgvalue = response.rows[0].jg;
          this.cardlist[2].value = response.rows[0].xsf || 0;
          this.cardlist[3].value = response.rows[0].dsf || 0;
@@ -1589,7 +1588,7 @@
          Number(response.rows[0].wxsf) + Number(response.rows[0].xsf) || 0;
        this.cardlist[1].value = response.rows[0].wzx;
        this.cardlist[2].value = response.rows[0].ysf;
        this.ycvalue = response.rows[0].yc;
        this.ycvalue = Number(response.rows[0].yc) || 0
        this.jgvalue = response.rows[0].jg;
        this.cardlist[3].value = response.rows[0].fssb;
        this.cardlist[4].value = response.rows[0].dsf;
@@ -1761,6 +1760,8 @@
      this.handleQuery(1);
    },
    handleSelectionChange(rows) {
      console.log(rows, 911);
      this.selectedRows = rows.map((row) => {
        // 初始化评分字段
        return {
@@ -2080,6 +2081,7 @@
      const originalPageSize = this.topqueryParams.pageSize;
      this.topqueryParams.pageNum = null;
      this.topqueryParams.pageSize = null;
      this.topqueryParams.subIdList = this.selectedRows.map((item) => item.id);
      this.download(
        "smartor/serviceSubtask/patItemExport",
        {