From de967d5d54a6eee38221ea14b2472401974608db Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 10 七月 2024 18:25:04 +0800 Subject: [PATCH] 晚上上传组件导入提示、调整默认对话框边距、密码策略查询以及新增修改 密码长度、必填种类、锁定时间等正则校验 完善启动流程默认传参 --- Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue index 37862b0..3c3da9d 100644 --- a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue +++ b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue @@ -10,11 +10,16 @@ class="avue-dialog" style="margin-top: -20vh !important;" > - <Divider left="30px" text="瀵煎叆鎻愮ず"></Divider> - <ul> + <Divider left="30px" text="瀵煎叆鎻愮ず"> + </Divider> + <ul v-if="tipList.length === 0" style="color: #f33939"> <li> 璇风偣鍑绘祻瑙堟枃浠惰繘琛屼笂浼� </li> + </ul> + + <ul style="color: #f33939" v-if="tipList.length >=1 "> + <li v-for="(item, index) in tipList" :key="index">{{ index + 1 }}: {{ item }} 銆�</li> </ul> <Divider left="30px" text="閫夋嫨鏂囦欢鍚庝細鑷姩涓婁紶"></Divider> <el-upload @@ -43,21 +48,30 @@ export default { name: "upload-file", props: { + // 鎺у埗涓婁紶绫诲瀷 鏍煎紡涓�: ['xls', 'xlsx'], fileType: { type: Array, default: () => [] }, + // 瀵硅瘽妗嗗ご閮ㄥ悕绉� title: { type: String, default: '涓婁紶鏂囦欢' }, + // 蹇呬紶 涓婁紶鐨勫湴鍧� fileUrl: { type: String, default: '' }, + // 璇锋眰鍦板潃 鎼哄甫鍙傛暟 fileData: { type: Array, default: () => [] + }, + // 瀵煎叆鎻愮ず鏂囧瓧 tipList:["瀵煎叆妯℃澘涓爣鏄庣孩鑹插瓧浣撶殑涓哄繀杈撻」","閮ㄩ棬鍒椾笂涓嬬骇鍏崇郴蹇呴』鎸夌収鍙嶆枩鏉犻殧寮�(/)"] + tipList:{ + type:Array, + default:() => [] } }, data() { -- Gitblit v1.9.3