From c1196a2b7d88922fde396bc703060170a390f4ed Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期五, 25 三月 2022 20:39:14 +0800 Subject: [PATCH] 问题修改 --- src/views/system/user/index.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 6d14bf3..bfcfdaf 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -209,7 +209,7 @@ </el-row> <!-- 娣诲姞鎴栦慨鏀圭敤鎴烽厤缃璇濇 --> - <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body> + <Dialog :title="title" :visible.sync="open" width="600px" append-to-body> <el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-row> <el-col :span="12"> @@ -317,7 +317,7 @@ <el-form-item label="鍏ヨ亴鏃堕棿"> <el-date-picker v-model="form.entryTime" - type="datetime" + type="date" value-format="yyyy-MM-dd HH:mm:ss" placeholder="閫夋嫨鍏ヨ亴鏃堕棿"> </el-date-picker> @@ -334,10 +334,10 @@ <el-button type="primary" @click="submitForm">纭� 瀹�</el-button> <el-button @click="cancel">鍙� 娑�</el-button> </div> - </el-dialog> + </Dialog> <!-- 鐢ㄦ埛瀵煎叆瀵硅瘽妗� --> - <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body> + <Dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body> <el-upload ref="upload" :limit="1" @@ -364,7 +364,7 @@ <el-button type="primary" @click="submitFileForm">纭� 瀹�</el-button> <el-button @click="upload.open = false">鍙� 娑�</el-button> </div> - </el-dialog> + </Dialog> </div> </template> @@ -500,6 +500,9 @@ ], deptId: [ { required: true, message: "鎵�鍦ㄩ儴闂ㄤ笉鑳戒负绌�", trigger: "blur" } + ], + remarks: [ + {max: 128, message: '鏈�澶氳緭鍏�128涓瓧绗�', trigger: 'blur' } ] } }; -- Gitblit v1.9.1