gaoluyang
2025-04-02 2682fdccc071ed83a67190693145ee6b1a9d3513
成品下单、检验任务-查询显示优化
已修改2个文件
12 ■■■■■ 文件已修改
src/views/business/inspectionTask/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/productOrder/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/inspectionTask/index.vue
@@ -19,7 +19,7 @@
          </el-form-item>
        </el-form>
      </div>
      <div class="center">
      <div class="center" v-loading="tableLoading">
        <div class="center-options">
          <div style="display: flex; align-items: center">
            <span style="font-size: 14px">试验室种类:</span>
@@ -38,7 +38,7 @@
            <span>{{ page.total }}</span>
          </div>
        </div>
        <lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading"
        <lims-table :tableData="tableData" :column="column" :page="page"
          :rowClassName="rowClassName" :height="'calc(100vh - 300px)'" @pagination="pagination"
          key="tableData0">
          <div slot="action" slot-scope="scope">
src/views/business/productOrder/index.vue
@@ -39,6 +39,7 @@
        </el-form-item>
      </el-form>
    </div>
    <div class="container" v-loading="isLoading">
    <div class="table-tab">
      <div>
        <ul class="tab">
@@ -63,6 +64,7 @@
      <lims-table :tableData="tableData" :column="column" :isSelection="true" :handleSelectionChange="selectMethod"
        @pagination="pagination" :height="'calc(100vh - 280px)'" :key="upIndex" :page="page"
        :tableLoading="tableLoading"></lims-table>
      </div>
    </div>
    <div>
      <!-- 审核 -->
@@ -345,6 +347,7 @@
  },
  data() {
    return {
      isLoading: false, // 控制加载状态
      entity: {
        orderType: '',
        state: '',
@@ -800,8 +803,9 @@
        }
      }
      const params = { ...this.entity, state: this.tabList[this.tabIndex].value }
      this.tableLoading = true
      this.isLoading = true; // 开始加载
      selectInsOrderParameter({...this.page,...params}).then(res => {
        this.isLoading = false; // 结束加载
        this.upIndex++
        this.tableLoading = false
        if (res.code === 200) {
@@ -809,7 +813,7 @@
          this.page.total = res.data.total
        }
      }).catch(err => {
        this.tableLoading = false
        this.isLoading = false; // 结束加载
      })
    },
    refresh() {