gaoluyang
2025-03-13 28972c351ea79b4721750f6970e88263b64c64aa
src/views/CNAS/systemManagement/correctiveAction/index.vue
@@ -15,7 +15,8 @@
        <TableCard :showForm="false" :showTitle="false">
          <template v-slot:table>
            <limsTable :column="tableColumn" :height="'calc(100vh - 17em)'" :table-data="tableData"
              :table-loading="tableLoading" style="padding: 0 15px;margin-bottom: 16px" @pagination="pagination">
              :table-loading="tableLoading" style="padding: 0 15px;margin-bottom: 16px" @pagination="pagination"
              :page="page">
            </limsTable>
          </template>
        </TableCard>
@@ -41,7 +42,7 @@
  name: 'a8-corrective-action',
  // import 引入的组件需要注入到对象中才能使用
  components: {
    // QualityInfo,
    // QualityInfo,
    CorrectiveInfo,
    limsTable,
    TableCard,
@@ -108,8 +109,8 @@
      page: {
        size: 20,
        current: 1,
        total: 0,
      },
      total: 0,
      correctiveInfo: false,
      viewTestRecordDialog: false,
    };
@@ -128,9 +129,8 @@
      this.tableLoading = true
      pageSuperviseDetailCorrect({ ...entity, ...page }).then(res => {
        this.tableLoading = false
        if (res.code === 201) return
        this.tableData = res.data.records
        this.total = res.data.total
        this.page.total = res.data.total
      }).catch(err => {
        console.log('err---', err);
        this.tableLoading = false
@@ -140,7 +140,6 @@
    handleDown(row) {
      exportSuperviseDetaillCorrect({ superviseDetailsCorrectId: row.superviseDetailsCorrectId }).then(res => {
        this.outLoading = false
        this.$message.success('导出成功')
        const blob = new Blob([res], { type: 'application/msword' });
        this.$download.saveAs(blob, '监督纠正措施' + '.docx');
      })