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%; +}