From c649a1657d570748c66d9b1ec029ac3283afd6eb Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期三, 27 十二月 2023 16:34:10 +0800 Subject: [PATCH] modified: src/views/admin/user/index.vue modified: src/views/basic/part/index.vue modified: src/views/basic/staff/index.vue modified: src/views/common/ztt-table.vue modified: src/views/equipment/metering/index.vue modified: src/views/technology/structure/index.vue --- 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