From a96e9c262ebadc2e7e731b28aa5035b0dd2a7aad Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 15 十一月 2023 17:13:13 +0800
Subject: [PATCH] 1.0

---
 src/views/basic/part/index.vue |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/src/views/basic/part/index.vue b/src/views/basic/part/index.vue
index b545774..f33b8f0 100644
--- a/src/views/basic/part/index.vue
+++ b/src/views/basic/part/index.vue
@@ -5,10 +5,10 @@
         :prelang="prelang" :options="options" :bottomOffset="125" :ajaxFun="ajaxFun" ref="partTable">
         <template #toolbar></template>
       </ttable>
-      <el-upload :headers="{'Authorization': 'Bearer ' + yourToken}" class="upload-demo" action="/mes/part/uploadExcel" :on-preview="handlePreview"
+      <!-- <el-upload :headers="{'Authorization': 'Bearer ' + yourToken}" class="upload-demo" action="/mes/part/uploadExcel" :on-preview="handlePreview"
         :on-remove="handleRemove" :file-list="fileList" :on-success="fileUpload"  :limit="1">
         <el-button size="small" type="primary">鐐瑰嚮Excel瀵煎叆</el-button>
-      </el-upload>
+      </el-upload> -->
       <!-- 寮圭獥, 鏂板 / 淇敼 -->
       <table-form v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getData"></table-form>
       <PrintLabelForm :currshowlist.sync="showPrintLabelForm" :printLabelInfo="printLabelInfo" />
@@ -52,7 +52,7 @@
       uploadInfo: {
         // 鏄惁灞曠ず涓婁紶EXCEL浠ュ強瀵瑰簲鐨剈rl
         isShow: true,
-        url: '/mes/part/upload'
+        url: '/mes/part/uploadExcel'
       },
       prelang: 'operation',
       options: {
@@ -66,6 +66,7 @@
         seqNo: true,
         isShowHide: true, // 鏄惁鏄剧ず鏄惧奖鎸夐挳
         isSearch: false, // 楂樼骇鏌ヨ鎸夐挳
+        isRefresh: true,
         defaultOrderBy: { column: 'id', direction: 'desc' }
       },
       table: {
@@ -91,6 +92,24 @@
             minWidth: '120',
             prop: 'partName',
             label: '鍚嶇О',
+            sort: true,
+            isTrue: true,
+            isSearch: true,
+            searchInfoType: 'text'
+          },
+          {
+            minWidth: '120',
+            prop: 'domainNo',
+            label: '鍩熺紪鍙�',
+            sort: true,
+            isTrue: true,
+            isSearch: true,
+            searchInfoType: 'text'
+          },
+          {
+            minWidth: '120',
+            prop: 'domainName',
+            label: '鍩熸弿杩�',
             sort: true,
             isTrue: true,
             isSearch: true,
@@ -749,3 +768,8 @@
   }
 }
 </script>
+<style>
+.el-upload-dragger {
+  width: 300px !important;
+}
+</style>
\ No newline at end of file

--
Gitblit v1.9.3