From b1dbfd44f6bafaa4d24e0c1c3a0f7ae548e77f60 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期三, 27 十二月 2023 17:41:06 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before

---
 src/views/technology/structure/index.vue |   49 ++-----------------------------------------------
 1 files changed, 2 insertions(+), 47 deletions(-)

diff --git a/src/views/technology/structure/index.vue b/src/views/technology/structure/index.vue
index 256c93c..3704dd8 100644
--- a/src/views/technology/structure/index.vue
+++ b/src/views/technology/structure/index.vue
@@ -6,7 +6,6 @@
         @handleSelectionChange="handleSelectionChange"
         @customUploadPage="structureImport"
         :uploadInfo="uploadInfo"
-        :customUpload="customUpload"
         :prelang="prelang"
         :options="options"
         :ajaxFun="ajaxFun"
@@ -19,47 +18,6 @@
           v-if="permissions.technology_structure_copy">澶嶅埗</el-button>
         </template>
       </ttable>
-      <!-- 寮圭獥, 鏂板 / 淇敼 -->
-      <el-dialog
-        title="瀵煎叆"
-        :visible.sync="importStructureVisible"
-        width="50%"
-      >
-        <span>
-          <div style="display:flex;justify-content:space-around;">
-            <div>
-              <el-upload
-                style="margin-left:8px;display: inline;"
-                class="upload-demo"
-                drag
-                :headers="headers"
-                :action="zhuangbeiUploadInfo.url"
-                :beforeUpload="beforeAvatarUpload"
-                :limit="1"
-                :show-file-list="false"
-                :file-list="zhuangbeifileList"
-                :data="zhuangbeiUploadInfo.uploadData"
-                :on-success="zhuangbeiFileSuccessUploadScan"
-                :on-error="handleError"
-                accept=".xlsx,.xls,.csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
-                :auto-upload="true"
-                ref="zhuangbeiUploadScan"
-                multiple
-              >
-                <i class="el-icon-upload"></i>
-                <div class="el-upload__text"><em>瀵煎叆浜у搧缁撴瀯</em></div>
-                <div class="el-upload__tip" slot="tip">
-                  鍙兘涓婁紶xlsx/xls鏂囦欢锛屼笖涓嶈秴杩�10M<el-button
-                    type="text"
-                    style="font-size:12px;"
-                    ></el-button
-                  >
-                </div>
-              </el-upload>
-            </div>
-          </div>
-        </span>
-      </el-dialog>
     </basic-container>
   </div>
 </template>
@@ -98,6 +56,8 @@
       uploadInfo: {
         // 鏄惁灞曠ず涓婁紶EXCEL浠ュ強瀵瑰簲鐨剈rl
         isShow: true,
+        fileName: '浜у搧缁撴瀯妯℃澘',
+        download: true,
         url: '/mes/structure/uploadExcelPlus'
       },
       prelang: 'structure',
@@ -268,11 +228,6 @@
         // 鏄惁灞曠ず涓婁紶EXCEL浠ュ強瀵瑰簲鐨剈rl
         isShow: true,
         url: '/mes/structure/upload'
-      },
-      zhuangbeiUploadInfo: {
-        // 鏄惁灞曠ず涓婁紶EXCEL浠ュ強瀵瑰簲鐨剈rl
-        isShow: true,
-        url: '/mes/structure/uploadExcelPlus'
       },
       zhuangbeifileList: [],
       shepinfileList: [],

--
Gitblit v1.9.3