From 229151c039e27d71b976a396382d21f27aa13cb5 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 20 Jan 2022 17:46:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Standardselection/index.vue | 281 ++++++++++++++++++ jero-web/src/components/addForm/index.vue | 98 +++++- jero-web/src/components/uploadFile/file.vue | 203 +++++++++++++ 3 files changed, 568 insertions(+), 14 deletions(-) create mode 100644 jero-web/src/components/Standardselection/index.vue create mode 100644 jero-web/src/components/uploadFile/file.vue diff --git a/jero-web/src/components/Standardselection/index.vue b/jero-web/src/components/Standardselection/index.vue new file mode 100644 index 000000000..8925bd886 --- /dev/null +++ b/jero-web/src/components/Standardselection/index.vue @@ -0,0 +1,281 @@ + + + + + + + + + + + 标准选择 + + + + + + + + + {{item.enName}} + {{item.name}} + + + + + + {{$t('query')}} + {{$t('reset')}} + + + + + + {{ text }} + + + + {{$t('cancel')}} + {{$t('submit')}} + + + + + + + + \ No newline at end of file diff --git a/jero-web/src/components/addForm/index.vue b/jero-web/src/components/addForm/index.vue index 3367471b2..3700ff0c5 100644 --- a/jero-web/src/components/addForm/index.vue +++ b/jero-web/src/components/addForm/index.vue @@ -39,7 +39,7 @@ {{item.name}} - @@ -53,7 +53,7 @@ {{item.name}} - + @@ -81,8 +81,8 @@ + :placeholder="$t('selectStatus')" :type="'select'" + :triggerChange="false" dictCode="valid_status"/> @@ -108,20 +108,57 @@ {{item.name}} - + + + + + + + + * + {{item.enName}} + {{item.name}} + + + + {{ (formInline[item.attrModel] === 'null' || formInline[item.attrModel] === '' || + formInline[item.attrModel] == null) ? '上传文件' : '查看已上传文件' + }} + + + + + + + + * + {{item.enName}} + {{item.name}} + + + + @@ -268,10 +336,12 @@ line-height: 38px; height: 38px; } - .box-input .ant-select-selection--multiple .ant-select-selection__rendered > ul > li{ - margin-top:6px; + + .box-input .ant-select-selection--multiple .ant-select-selection__rendered > ul > li { + margin-top: 6px; } - .box-input .ant-input-number-input-wrap{ + + .box-input .ant-input-number-input-wrap { line-height: 38px; height: 38px; } diff --git a/jero-web/src/components/uploadFile/file.vue b/jero-web/src/components/uploadFile/file.vue new file mode 100644 index 000000000..244a8532a --- /dev/null +++ b/jero-web/src/components/uploadFile/file.vue @@ -0,0 +1,203 @@ + + + + + + 点击上传 + + + + + + + + \ No newline at end of file
点击上传