From 00bae2110315cf9c9a533afea2c617d950f6768e Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期二, 18 十一月 2025 15:56:42 +0800
Subject: [PATCH] 修改新增

---
 src/views/build/conpanyFunctionConsult/standardSysTemp/programStanderdModule/components/editDialog.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/build/conpanyFunctionConsult/standardSysTemp/programStanderdModule/components/editDialog.vue b/src/views/build/conpanyFunctionConsult/standardSysTemp/programStanderdModule/components/editDialog.vue
index d9847d3..ab51c4c 100644
--- a/src/views/build/conpanyFunctionConsult/standardSysTemp/programStanderdModule/components/editDialog.vue
+++ b/src/views/build/conpanyFunctionConsult/standardSysTemp/programStanderdModule/components/editDialog.vue
@@ -37,7 +37,7 @@
           <el-upload accept=".doc,.docx" :action="state.uploadUrl" :headers="state.header" method="post" :on-success="(res, uploadFile)=>handleAvatarSuccess(res, uploadFile)" :on-exceed="showTip" :limit='state.fileLimit' v-model:file-list="state.fileList" :before-upload="picSize" :on-remove="(file, uploadFiles)=>handleRemove(file, uploadFiles)" >
             <el-button type="primary">点击上传</el-button>
             <template #tip>
-              <div class="el-upload__tip">支持上传.doc、.docx格式文档,尺寸小于5M,最多可上传1份</div>
+              <div class="el-upload__tip">支持上传.doc、.docx格式文档,尺寸小于30M,最多可上传1份</div>
             </template>
           </el-upload>
         </el-form-item>
@@ -120,7 +120,7 @@
     if(value.filePath) {
       const obj = {
         url: value.filePath,
-        name: '模板文件'
+        name: value.templateName+value.format
       }
       state.fileList = [obj]
     }
@@ -191,10 +191,10 @@
   });
 }
 const picSize = async (rawFile) => {
-  if(rawFile.size / 1024 / 1024 > 5){
+  if(rawFile.size / 1024 / 1024 > 30){
     ElMessage({
       type: 'warning',
-      message: '文件大小不能超过5M'
+      message: '文件大小不能超过30M'
     });
     return false
   }

--
Gitblit v1.9.2