From 36f82eef73655406d2480739e40b7f34550050dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Thu, 28 Sep 2023 15:27:01 +0800 Subject: [PATCH] =?UTF-8?q?update=20AddForm.vue=E5=B8=83=E5=B1=80=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/less/common.less | 2 +- src/components/customField/AddForm.vue | 394 +++++++++---------------- 2 files changed, 138 insertions(+), 258 deletions(-) diff --git a/src/assets/less/common.less b/src/assets/less/common.less index b5898634..b392e3f9 100644 --- a/src/assets/less/common.less +++ b/src/assets/less/common.less @@ -223,7 +223,7 @@ width: calc(100% - 130px); display: inline-block; margin-top: 2px; - height: 40px; + //height: 40px; margin-bottom: 24px; /deep/ .ant-form-item-control-wrapper { diff --git a/src/components/customField/AddForm.vue b/src/components/customField/AddForm.vue index 40cc4645..b3e9edc0 100644 --- a/src/components/customField/AddForm.vue +++ b/src/components/customField/AddForm.vue @@ -2,265 +2,132 @@
{{ index }}
- -
- - -
-
- * - {{ item.dbFieldTxt }} -
- - +
+
+
+ * + {{ item.dbFieldTxt }} +
+ + + + + + + - -
- - - -
-
- * - {{ item.dbFieldTxt }} -
- - - - - - - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - > - - - - - - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - > - - - - - - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - - {{ - (formInline[item.dbFieldName] === 'null' || formInline[item.dbFieldName] === '' - || formInline[item.dbFieldName] === null || formInline[item.dbFieldName] === undefined) - ? $t('uploadFile.clickUpload') - : $t('uploadFile.viewUploadedFiles') - }} - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - - -
-
- - -
-
- * - {{ item.dbFieldTxt }} -
- - - -
-
+ :backDepart="true" /> + + + + + + + + + + + {{ + (formInline[item.dbFieldName] === 'null' || formInline[item.dbFieldName] === '' + || formInline[item.dbFieldName] === null || formInline[item.dbFieldName] === undefined) + ? $t('uploadFile.clickUpload') + : $t('uploadFile.viewUploadedFiles') + }} + + + + + + + + + + + + + + +
- +
@@ -561,4 +428,17 @@ export default { width: 100%; display: inline-block; } + +.form-flex-box { + display: flex; + flex-wrap: wrap; +} + +.form-flex-item-half { + width: 50%; +} + +.form-flex-item-line { + width: 100%; +}