vue2-client 1.9.62 → 1.9.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
<a-row :gutter="24">
|
|
11
11
|
<x-form-item
|
|
12
12
|
v-for="(item, index) in realJsonData.slice(0,7)"
|
|
13
|
+
:showLabel="!simpleMode"
|
|
13
14
|
:key="index"
|
|
14
15
|
:attr="item"
|
|
15
16
|
:form="form"
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
<div v-for="(groupItem, groupIndex) in groupJsonData" :key="'group-' + groupIndex">
|
|
23
24
|
<x-form-item
|
|
24
25
|
v-for="(item, index) in groupItem.groupItems"
|
|
26
|
+
:showLabel="!simpleMode"
|
|
25
27
|
:key="index"
|
|
26
28
|
:attr="item"
|
|
27
29
|
:form="form"
|
|
@@ -34,6 +36,7 @@
|
|
|
34
36
|
<div v-show="advanced">
|
|
35
37
|
<x-form-item
|
|
36
38
|
v-for="(item, index) in realJsonData.slice(7)"
|
|
39
|
+
:showLabel="!simpleMode"
|
|
37
40
|
:key="'advanced'+index"
|
|
38
41
|
:attr="item"
|
|
39
42
|
:form="form"
|
|
@@ -236,7 +239,9 @@ export default {
|
|
|
236
239
|
} else {
|
|
237
240
|
formData[item.model] = item.queryFormDefault
|
|
238
241
|
}
|
|
239
|
-
|
|
242
|
+
if (item.forceQueryDefault) {
|
|
243
|
+
this.defaultMap[item.model] = formData[item.model]
|
|
244
|
+
}
|
|
240
245
|
} else {
|
|
241
246
|
if (item.type === 'intervalPicker') {
|
|
242
247
|
formData[item.model] = ['', '']
|
|
@@ -85,9 +85,9 @@ routerResource.example = {
|
|
|
85
85
|
name: '示例页面',
|
|
86
86
|
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
|
87
87
|
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
|
88
|
-
component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
|
88
|
+
// component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
|
89
89
|
// component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
|
|
90
|
-
|
|
90
|
+
component: () => import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo.vue'),
|
|
91
91
|
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
|
92
92
|
meta: {
|
|
93
93
|
// 菜单中不显示
|