qx
2025-07-01 76af820e2e11366b322705b51c351ace3d40608a
src/views/doctor/check/index.vue
@@ -198,6 +198,13 @@
    <!-- 点击右边弹出层 -->
    <el-drawer :visible.sync="drawer" :with-header="false" size="70%" :before-close="handleClose">
       <div
        v-loading="isLoading"
        element-loading-text="正在加载数据,请稍候..."
        element-loading-spinner="el-icon-loading"
        element-loading-background="rgba(255, 255, 255, 0.8)"
        style="height: 100%; padding: 20px; position: relative"
      >
      <div style="font-size: 14px">
        <table style="
            width: 96%;
@@ -577,6 +584,7 @@
          <Historicalreport v-show="lishi" :reportHistorydata="reportHistorydata"></Historicalreport>
        </el-col>
      </el-row>
      </div>
    </el-drawer>
    <Public ref="aaa" :row="row" @add="handleChanges" />
    <jianceResult ref="bbb" @add="handleChangesZt" />
@@ -909,6 +917,7 @@
      proParentList: [],
      tjNumber: "",
      DeptadviceAll: [],
          isLoading: false,
      project: {},
      summaryList: [],
      summaryAll: [],
@@ -1758,6 +1767,10 @@
      this.getDept(row.tjNumber);
      this.loading = true;
      this.drawer = true;
        this.isLoading = true;
       this.Parent = []
      this.tableAll= []
      this.proParentList = {}
      this.$nextTick(() => this.initInputDOM());
      this.tableAll = row;
      this.tjNumber = row.tjNumber;
@@ -1765,6 +1778,7 @@
      getParentList(this.tjNumber).then((response) => {
        if (response.data) {
          this.loading = false;
              this.isLoading = false;
          this.Parent = response.data;
          this.Parent.forEach((item) => {
            if (item.type === 1) item.proName += "    ✔";
@@ -1782,7 +1796,14 @@
          this.Parent = [];
          this.$modal.msgError("该科室下无项目!");
        }
      });
      })  .catch((error) => {
          console.error("请求失败:", error);
          this.$modal.msgError("数据加载失败");
        })
        .finally(() => {
          this.loading = false;
          this.isLoading = false; // 确保最终状态重置
        });
      this.getbzlist();
    },