From 4bd9ecdb092c88d050e58d5a150b62e5e90b65b0 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 14 三月 2025 16:10:14 +0800
Subject: [PATCH] 删除无用代码

---
 src/views/CNAS/systemManagement/customerSatisfaction/index.vue |   29 ++++++++++-------------------
 1 files changed, 10 insertions(+), 19 deletions(-)

diff --git a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue
index 6ea9848..3368ce3 100644
--- a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue
+++ b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue
@@ -31,23 +31,15 @@
           </el-radio-group>
         </div>
         <div v-if="tabIndex === '0'">
-          <TableCard :showForm="false" :showTitle="false">
-            <template v-slot:table>
-              <limsTable :column="tableColumn" :height="'calc(100vh - 22em)'" :table-data="tableData"
-                :table-loading="tableLoading" style="padding: 0 15px;margin-bottom: 16px" @pagination="pagination"
-                :page="page">
-              </limsTable>
-            </template>
-          </TableCard>
+          <limsTable :column="tableColumn" :height="'calc(100vh - 22em)'" :table-data="tableData"
+                     :table-loading="tableLoading" style="padding: 0 15px;margin-bottom: 16px" @pagination="pagination"
+                     :page="page">
+          </limsTable>
         </div>
         <div v-if="tabIndex === '1'">
-          <TableCard :showForm="false" :showTitle="false">
-            <template v-slot:table>
-              <limsTable :column="tableColumn1" :height="'calc(100vh - 22em)'" :table-data="tableData1"
-                :table-loading="tableLoading1" style="padding: 0 15px;margin-bottom: 16px" @pagination="pagination0">
-              </limsTable>
-            </template>
-          </TableCard>
+          <limsTable :column="tableColumn1" :height="'calc(100vh - 22em)'" :table-data="tableData1"
+                     :table-loading="tableLoading1" style="padding: 0 15px;margin-bottom: 16px" @pagination="pagination0">
+          </limsTable>
         </div>
       </div>
     </div>
@@ -60,7 +52,6 @@
 </template>
 
 <script>
-import TableCard from '@/components/TableCard/index.vue';
 import limsTable from "@/components/Table/lims-table.vue";
 import FormDialog from './components/formDialog.vue';
 import filePreview from '@/components/Preview/filePreview.vue'
@@ -72,9 +63,9 @@
 } from '@/api/cnas/systemManagement/customerSatisfaction.js'
 
 export default {
-  name: 'a8-customer-satisfaction',
+  name: 'CustomerSatisfaction',
   // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢�
-  components: { filePreview, FormDialog, limsTable, TableCard },
+  components: { filePreview, FormDialog, limsTable },
   data() {
     // 杩欓噷瀛樻斁鏁版嵁
     return {
@@ -304,7 +295,7 @@
     },
     // 涓嬭浇瀹㈡埛绂忓缓
     upload(row) {
-      this.$download.downloadFileFromUrl(row.fileUrl, row.fileName);
+      this.$download.saveAs(row.fileUrl, row.fileName);
     },
     // 鍒犻櫎瀹㈡埛鍒嗘瀽闄勪欢
     delFile(row) {

--
Gitblit v1.9.3