From 420965c7f0ffbf20dc3d3b4a33fd177407ea0fec Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 17 Dec 2021 14:48:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E6=AE=8A=E4=BA=BA=E7=BE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppSpecialPeople/components/add.vue | 498 +++++++++++++++--- .../AppSpecialPeople/components/detail.vue | 49 +- 2 files changed, 450 insertions(+), 97 deletions(-) diff --git a/src/apps/AppSpecialPeople/components/add.vue b/src/apps/AppSpecialPeople/components/add.vue index cb6116f4..f412d1d2 100644 --- a/src/apps/AppSpecialPeople/components/add.vue +++ b/src/apps/AppSpecialPeople/components/add.vue @@ -3,102 +3,384 @@
*类型 -
- 请选择 +
+ {{appName}}
-
- *姓名 -
- -
-
-
- *身份证号 -
- -
-
-
- *性别 -
- 请选择 - -
-
-
- *出生日期 -
- 请选择 - -
-
-
- *联系电话 -
- -
-
-
- *所属区域 -
- 请选择 - -
-
-
- * -
- 请选择 - -
-
-
- 所属网格 -
- 请选择 - -
-
-
- 小区 -
- 请选择 - -
-
-
- 详细地址 -
- 请选择 - +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ {{$dict.getLabel(item.dict, formData[item.fieldDbName]) || '请选择'}} + +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ + + {{ item.dictName }} + + +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ + {{e.dictName}} + +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ + +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ + + +
+
+ +
+ {{item.mustFill == 1 ? '*' : ''}}{{item.fieldName}} +
+ {{formData[item.fieldDbName] || '请选择'}} + +
+
+ 请选择
- @@ -145,18 +427,7 @@ export default { color: #333; line-height: 44px; box-sizing: border-box; - .color-999{ - color: #999; - } - .tips{ - display: inline-block; - width: 16px; - height: 44px; - font-size: 32px; - font-family: PingFangSC-Regular, PingFang SC; - color: #F46; - line-height: 44px; - } + position: relative; .value{ .u-icon{ margin-left: 16px; @@ -166,6 +437,63 @@ export default { } } } + .color-999{ + color: #999; + } + .tips{ + display: inline-block; + width: 16px; + height: 44px; + font-size: 32px; + font-family: PingFangSC-Regular, PingFang SC; + color: #F46; + line-height: 44px; + } + .textarea{ + width: 100%; + padding: 34px 32px 34px 0; + background: #FFFFFF; + border-bottom: 1px solid #D8DDE6; + .label{ + display: inline-block; + font-size: 32px; + font-family: PingFangSC-Regular, PingFang SC; + color: #333; + line-height: 44px; + margin-bottom: 8px; + } + .value{ + padding: 0 16px; + } + } + ::v-deep .default{ + width: 160px!important; + height: 160px!important; + } + .area{ + padding: 16px 54px 16px 0; + .label{ + display: inline-block; + line-height: 78px!important; + } + .u-icon{ + vertical-align: super; + position: absolute; + top: 38px; + right: 16px; + } + } + ::v-deep .AiAreaPicker{ + display: inline-block; + line-height: 78px; + margin-top: -8px; + } + .area-icon{ + vertical-align: super; + position: absolute; + top: 10px; + right: 0; + } .footer{ width: 100%; position: fixed; diff --git a/src/apps/AppSpecialPeople/components/detail.vue b/src/apps/AppSpecialPeople/components/detail.vue index b2368f90..289fd8df 100644 --- a/src/apps/AppSpecialPeople/components/detail.vue +++ b/src/apps/AppSpecialPeople/components/detail.vue @@ -1,20 +1,19 @@