diff --git a/pages/form-input/components/form-input/address.vue b/pages/form-input/components/form-input/address.vue
index 2988eb59..499cd8be 100644
--- a/pages/form-input/components/form-input/address.vue
+++ b/pages/form-input/components/form-input/address.vue
@@ -161,7 +161,14 @@
* 有值的时候就是将当前组件的层级调到最高,没有值的时候就是将当前组件的层级调回原样,避免弹出框出来的时候被其他组件盖住或悬浮在弹出框外部
*/
z_index_change(e) {
- this.$emit('zIndexChange', e);
+ // 如果为空的时候延时关闭,避免因为关闭动画效果导致其他组件提前显示
+ if (e == '') {
+ setTimeout(() => {
+ this.$emit('zIndexChange', e);
+ }, 200)
+ } else {
+ this.$emit('zIndexChange', e);
+ }
}
}
}
diff --git a/pages/form-input/components/form-input/date-group.vue b/pages/form-input/components/form-input/date-group.vue
index 0bd7bfc7..f5717682 100644
--- a/pages/form-input/components/form-input/date-group.vue
+++ b/pages/form-input/components/form-input/date-group.vue
@@ -174,7 +174,14 @@
* 有值的时候就是将当前组件的层级调到最高,没有值的时候就是将当前组件的层级调回原样,避免弹出框出来的时候被其他组件盖住或悬浮在弹出框外部
*/
z_index_change(e) {
- this.$emit('zIndexChange', e);
+ // 如果为空的时候延时关闭,避免因为关闭动画效果导致其他组件提前显示
+ if (e == '') {
+ setTimeout(() => {
+ this.$emit('zIndexChange', e);
+ }, 200)
+ } else {
+ this.$emit('zIndexChange', e);
+ }
},
}
}
diff --git a/pages/form-input/components/form-input/date.vue b/pages/form-input/components/form-input/date.vue
index d19fa8f5..eb7b3eef 100644
--- a/pages/form-input/components/form-input/date.vue
+++ b/pages/form-input/components/form-input/date.vue
@@ -113,7 +113,14 @@
* 有值的时候就是将当前组件的层级调到最高,没有值的时候就是将当前组件的层级调回原样,避免弹出框出来的时候被其他组件盖住或悬浮在弹出框外部
*/
z_index_change(e) {
- this.$emit('zIndexChange', e);
+ // 如果为空的时候延时关闭,避免因为关闭动画效果导致其他组件提前显示
+ if (e == '') {
+ setTimeout(() => {
+ this.$emit('zIndexChange', e);
+ }, 200)
+ } else {
+ this.$emit('zIndexChange', e);
+ }
}
}
}
diff --git a/pages/form-input/components/form-input/form-input.vue b/pages/form-input/components/form-input/form-input.vue
index 4a3f094a..d76c1505 100644
--- a/pages/form-input/components/form-input/form-input.vue
+++ b/pages/form-input/components/form-input/form-input.vue
@@ -155,16 +155,18 @@ export default {
let data_list = [];
com_data.form_value.forEach(item1 => {
const data = JSON.parse(JSON.stringify(com_data?.children || []));
- data.forEach(child => {
- child.com_data.common_style = this.get_form_border_style(child.com_data.common_config, mobile.flex_direction || 'row', overall_config.type_value);
- if (!isEmpty(item1[child.id])) {
- child.com_data.form_value = item1[child.id];
- }
- });
- data_list.push({
- is_expand: false,
- data_list: data
- });
+ if (data.length > 0) {
+ data.forEach(child => {
+ child.com_data.common_style = this.get_form_border_style(child.com_data.common_config, mobile.flex_direction || 'row', overall_config.type_value);
+ if (!isEmpty(item1[child.id])) {
+ child.com_data.form_value = item1[child.id];
+ }
+ });
+ data_list.push({
+ is_expand: false,
+ data_list: data
+ });
+ }
});
item.com_data.data_list = data_list;
}
diff --git a/pages/form-input/components/form-input/modules/component-show/index.vue b/pages/form-input/components/form-input/modules/component-show/index.vue
index 905a6211..e365458f 100644
--- a/pages/form-input/components/form-input/modules/component-show/index.vue
+++ b/pages/form-input/components/form-input/modules/component-show/index.vue
@@ -118,6 +118,7 @@
:propKey="propKey"
:propDataId="item.id"
:propMobile="propMobile"
+ :propIsCustom="propIsCustom"
:propStyle="propComponentStyle"
:propDirection="propDirection"
:propTitleStyle="propTitleStyle"
diff --git a/pages/form-input/components/form-input/phone.vue b/pages/form-input/components/form-input/phone.vue
index f704dcbb..3675e9e2 100644
--- a/pages/form-input/components/form-input/phone.vue
+++ b/pages/form-input/components/form-input/phone.vue
@@ -254,7 +254,14 @@
* 有值的时候就是将当前组件的层级调到最高,没有值的时候就是将当前组件的层级调回原样,避免弹出框出来的时候被其他组件盖住或悬浮在弹出框外部
*/
z_index_change(e) {
- this.$emit('zIndexChange', e);
+ // 如果为空的时候延时关闭,避免因为关闭动画效果导致其他组件提前显示
+ if (e == '') {
+ setTimeout(() => {
+ this.$emit('zIndexChange', e);
+ }, 200)
+ } else {
+ this.$emit('zIndexChange', e);
+ }
}
}
}
diff --git a/pages/form-input/components/form-input/select-multi.vue b/pages/form-input/components/form-input/select-multi.vue
index d702b602..bef2c8f4 100644
--- a/pages/form-input/components/form-input/select-multi.vue
+++ b/pages/form-input/components/form-input/select-multi.vue
@@ -281,7 +281,14 @@
* 有值的时候就是将当前组件的层级调到最高,没有值的时候就是将当前组件的层级调回原样,避免弹出框出来的时候被其他组件盖住或悬浮在弹出框外部
*/
z_index_change(e) {
- this.$emit('zIndexChange', e);
+ // 如果为空的时候延时关闭,避免因为关闭动画效果导致其他组件提前显示
+ if (e == '') {
+ setTimeout(() => {
+ this.$emit('zIndexChange', e);
+ }, 200)
+ } else {
+ this.$emit('zIndexChange', e);
+ }
}
}
}
diff --git a/pages/form-input/components/form-input/select.vue b/pages/form-input/components/form-input/select.vue
index 5bd414da..649424e0 100644
--- a/pages/form-input/components/form-input/select.vue
+++ b/pages/form-input/components/form-input/select.vue
@@ -186,7 +186,14 @@
* 有值的时候就是将当前组件的层级调到最高,没有值的时候就是将当前组件的层级调回原样,避免弹出框出来的时候被其他组件盖住或悬浮在弹出框外部
*/
z_index_change(e) {
- this.$emit('zIndexChange', e);
+ // 如果为空的时候延时关闭,避免因为关闭动画效果导致其他组件提前显示
+ if (e == '') {
+ setTimeout(() => {
+ this.$emit('zIndexChange', e);
+ }, 200)
+ } else {
+ this.$emit('zIndexChange', e);
+ }
}
}
}
diff --git a/pages/form-input/components/form-input/subform.vue b/pages/form-input/components/form-input/subform.vue
index 6ae3474b..a206d7d4 100644
--- a/pages/form-input/components/form-input/subform.vue
+++ b/pages/form-input/components/form-input/subform.vue
@@ -8,68 +8,73 @@
-
+
-
+
-
-
-
-
- {{ index + 1 }}
-
- 更多
- 删除
- {{ item.is_expand ? '收起' : '展开' }}
+
+
+
+
+
+ {{ index + 1 }}
+
+ 更多
+ 删除
+ {{ item.is_expand ? '收起' : '展开' }}
+
+
+
+
+
+
+
+ {{ data_conversion(briefing_item) == 'empty_conversion' ? '暂无内容' : data_conversion(briefing_item) }}|
+
+
+
+ 暂无数据
+
+
+
+
+
+
-
-
-
-
-
- {{ data_conversion(briefing_item) == 'empty_conversion' ? '暂无内容' : data_conversion(briefing_item) }}|
-
-
-
- 暂无数据
-
-
-
-
-
-
+
+
+ 添加记录
-
-
- 添加记录
+
+
-
-
-
+
+ 暂无可用字段
+