@fecp/designer 5.5.100 → 5.5.101
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/es/designer/package.json.mjs +1 -1
- package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
- package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
- package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
- package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
- package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer/src/packages/prod/index.vue.mjs +1 -1
- package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
- package/es/designer.css +110 -88
- package/es/packages/mobile/src/components/custom/appDetail/AppDetail.vue.mjs +46 -9
- package/es/packages/mobile/src/components/dataDisplay/table/Table.vue.mjs +3 -3
- package/es/packages/mobile/src/components/navigation/tabs/Tabs.vue.mjs +29 -5
- package/es/packages/mobile/src/index.vue.mjs +4 -17
- package/es/packages/mobile/src/page.vue.mjs +12 -3
- package/es/packages/mobile/src/utils/common.mjs +15 -0
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +8 -7
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/DocumentParam.vue.js +1 -1
- package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
- package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
- package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
- package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
- package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
- package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
- package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer/src/packages/prod/index.vue.js +1 -1
- package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
- package/lib/designer.css +110 -88
- package/lib/packages/mobile/src/components/custom/appDetail/AppDetail.vue.js +45 -8
- package/lib/packages/mobile/src/components/dataDisplay/table/Table.vue.js +3 -3
- package/lib/packages/mobile/src/components/navigation/tabs/Tabs.vue.js +28 -4
- package/lib/packages/mobile/src/index.vue.js +4 -17
- package/lib/packages/mobile/src/page.vue.js +12 -3
- package/lib/packages/mobile/src/utils/common.js +15 -0
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +7 -6
- package/package.json +1 -1
|
@@ -1,32 +1,69 @@
|
|
|
1
|
-
import { computed, resolveComponent, createBlock, openBlock, unref } from "vue";
|
|
1
|
+
import { ref, computed, resolveComponent, createBlock, openBlock, unref, isRef } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
4
|
const _sfc_main = {
|
|
5
5
|
__name: "AppDetail",
|
|
6
6
|
props: {
|
|
7
|
-
|
|
7
|
+
baseInfoPageSource: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "dynamic"
|
|
10
|
+
},
|
|
11
|
+
baseInfoPageId: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: ""
|
|
14
|
+
},
|
|
8
15
|
options: {
|
|
9
16
|
type: Array,
|
|
10
17
|
default: []
|
|
18
|
+
},
|
|
19
|
+
document: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: false
|
|
22
|
+
},
|
|
23
|
+
approvalHistory: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: false
|
|
11
26
|
}
|
|
12
27
|
},
|
|
13
28
|
setup(__props) {
|
|
14
29
|
const props = __props;
|
|
30
|
+
const activeName = ref("tab_base_info");
|
|
31
|
+
const baseInfoPageId = ref("");
|
|
32
|
+
if (props.baseInfoPageSource == "dynamic") ;
|
|
33
|
+
else {
|
|
34
|
+
baseInfoPageId.value = props.baseInfoPageId;
|
|
35
|
+
}
|
|
15
36
|
const tabsOptions = computed(() => {
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
37
|
+
const tabs = [
|
|
38
|
+
{
|
|
39
|
+
id: "tab_base_info",
|
|
40
|
+
title: "基本信息",
|
|
41
|
+
pageId: baseInfoPageId.value
|
|
42
|
+
},
|
|
43
|
+
...props.options || []
|
|
21
44
|
];
|
|
45
|
+
if (props.document) {
|
|
46
|
+
tabs.push({ id: "tab_doc_info", title: "要件信息" });
|
|
47
|
+
}
|
|
48
|
+
if (props.approvalHistory) {
|
|
49
|
+
tabs.push({ id: "tab_timeline_info", title: "审批历史" });
|
|
50
|
+
}
|
|
51
|
+
return tabs;
|
|
52
|
+
});
|
|
53
|
+
computed(() => {
|
|
54
|
+
return tabsOptions.value.find((item) => item.id == activeName.value);
|
|
22
55
|
});
|
|
23
56
|
return (_ctx, _cache) => {
|
|
24
57
|
const _component_FecMobileTabs = resolveComponent("FecMobileTabs");
|
|
25
|
-
return openBlock(), createBlock(_component_FecMobileTabs, {
|
|
58
|
+
return openBlock(), createBlock(_component_FecMobileTabs, {
|
|
59
|
+
modelValue: unref(activeName),
|
|
60
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(activeName) ? activeName.value = $event : null),
|
|
61
|
+
options: unref(tabsOptions)
|
|
62
|
+
}, null, 8, ["modelValue", "options"]);
|
|
26
63
|
};
|
|
27
64
|
}
|
|
28
65
|
};
|
|
29
|
-
const _AppDetail = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
66
|
+
const _AppDetail = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9a63b182"]]);
|
|
30
67
|
export {
|
|
31
68
|
_AppDetail as default
|
|
32
69
|
};
|
|
@@ -56,7 +56,7 @@ const _sfc_main = {
|
|
|
56
56
|
autoHeight: {
|
|
57
57
|
//高度自适应
|
|
58
58
|
type: Boolean,
|
|
59
|
-
default:
|
|
59
|
+
default: false
|
|
60
60
|
},
|
|
61
61
|
height: {
|
|
62
62
|
//高度
|
|
@@ -344,7 +344,7 @@ const _sfc_main = {
|
|
|
344
344
|
dataSourceManager.value.on("error", (err) => {
|
|
345
345
|
emit("data-error", err);
|
|
346
346
|
});
|
|
347
|
-
if (dataSourceManager.value
|
|
347
|
+
if (dataSourceManager.value) {
|
|
348
348
|
tableData.value = [];
|
|
349
349
|
if (props.isFixedHead) {
|
|
350
350
|
initLoading.value = true;
|
|
@@ -574,7 +574,7 @@ const _sfc_main = {
|
|
|
574
574
|
};
|
|
575
575
|
}
|
|
576
576
|
};
|
|
577
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
577
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-16d68bd3"]]);
|
|
578
578
|
export {
|
|
579
579
|
_Table as default
|
|
580
580
|
};
|
|
@@ -5,11 +5,14 @@
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
|
-
import { computed, createElementBlock, openBlock, normalizeStyle, unref, createVNode, isRef, withCtx, Fragment, renderList, createBlock, mergeProps,
|
|
8
|
+
import { inject, computed, createElementBlock, openBlock, normalizeStyle, unref, createVNode, isRef, withCtx, Fragment, renderList, createBlock, mergeProps, createElementVNode, createCommentVNode } from "vue";
|
|
9
|
+
import { findPageById } from "../../../utils/common.mjs";
|
|
10
|
+
import MobilePage from "../../../page.vue.mjs";
|
|
9
11
|
/* empty css */
|
|
10
12
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
11
13
|
import { Tabs } from "../../../../node_modules/vant/es/tabs/index.mjs";
|
|
12
14
|
import { Tab } from "../../../../node_modules/vant/es/tab/index.mjs";
|
|
15
|
+
const _hoisted_1 = { class: "fec-tab-content" };
|
|
13
16
|
const _sfc_main = {
|
|
14
17
|
__name: "Tabs",
|
|
15
18
|
props: {
|
|
@@ -36,6 +39,7 @@ const _sfc_main = {
|
|
|
36
39
|
setup(__props, { emit: __emit }) {
|
|
37
40
|
const props = __props;
|
|
38
41
|
const emit = __emit;
|
|
42
|
+
const pageList = inject("pageList");
|
|
39
43
|
const activeName = computed({
|
|
40
44
|
get: () => {
|
|
41
45
|
return props.modelValue;
|
|
@@ -51,6 +55,19 @@ const _sfc_main = {
|
|
|
51
55
|
return props.height + "px";
|
|
52
56
|
}
|
|
53
57
|
});
|
|
58
|
+
const pageCache = computed(() => {
|
|
59
|
+
const cache = {};
|
|
60
|
+
props.options.forEach((item) => {
|
|
61
|
+
if (item.pageId) {
|
|
62
|
+
cache[item.pageId] = findPageById(pageList.value, item.pageId);
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
console.log("🚀 ~ cache:", cache);
|
|
66
|
+
return cache;
|
|
67
|
+
});
|
|
68
|
+
const getPage = (pageId) => {
|
|
69
|
+
return pageCache.value[pageId] || null;
|
|
70
|
+
};
|
|
54
71
|
return (_ctx, _cache) => {
|
|
55
72
|
const _component_van_tab = Tab;
|
|
56
73
|
const _component_van_tabs = Tabs;
|
|
@@ -62,19 +79,26 @@ const _sfc_main = {
|
|
|
62
79
|
sticky: "",
|
|
63
80
|
class: "fec-tabs",
|
|
64
81
|
active: unref(activeName),
|
|
65
|
-
"onUpdate:active": _cache[0] || (_cache[0] = ($event) => isRef(activeName) ? activeName.value = $event : null)
|
|
82
|
+
"onUpdate:active": _cache[0] || (_cache[0] = ($event) => isRef(activeName) ? activeName.value = $event : null),
|
|
83
|
+
"lazy-render": ""
|
|
66
84
|
}, {
|
|
67
85
|
default: withCtx(() => [
|
|
68
86
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (item) => {
|
|
69
87
|
return openBlock(), createBlock(_component_van_tab, mergeProps({ ref_for: true }, item, {
|
|
88
|
+
name: item.id,
|
|
70
89
|
replace: "",
|
|
71
90
|
"show-zero-badge": false
|
|
72
91
|
}), {
|
|
73
92
|
default: withCtx(() => [
|
|
74
|
-
|
|
93
|
+
createElementVNode("div", _hoisted_1, [
|
|
94
|
+
item.pageId && getPage(item.pageId) ? (openBlock(), createBlock(MobilePage, {
|
|
95
|
+
key: 0,
|
|
96
|
+
parentPage: getPage(item.pageId)
|
|
97
|
+
}, null, 8, ["parentPage"])) : createCommentVNode("", true)
|
|
98
|
+
])
|
|
75
99
|
]),
|
|
76
100
|
_: 2
|
|
77
|
-
}, 1040);
|
|
101
|
+
}, 1040, ["name"]);
|
|
78
102
|
}), 256))
|
|
79
103
|
]),
|
|
80
104
|
_: 1
|
|
@@ -83,7 +107,7 @@ const _sfc_main = {
|
|
|
83
107
|
};
|
|
84
108
|
}
|
|
85
109
|
};
|
|
86
|
-
const _Tabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
110
|
+
const _Tabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ed4e81a9"]]);
|
|
87
111
|
export {
|
|
88
112
|
_Tabs as default
|
|
89
113
|
};
|
|
@@ -7,11 +7,12 @@ import "../../../node_modules/element-plus/es/index.mjs";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
|
-
import { getCurrentInstance, ref, onMounted, createBlock, createCommentVNode, unref, openBlock, withCtx } from "vue";
|
|
10
|
+
import { getCurrentInstance, ref, provide, onMounted, createBlock, createCommentVNode, unref, openBlock, withCtx } from "vue";
|
|
11
11
|
import MobilePage from "./page.vue.mjs";
|
|
12
12
|
import api from "./api/index.mjs";
|
|
13
13
|
import emitter from "./utils/eventBus.mjs";
|
|
14
14
|
import { pageHistory } from "./utils/pageHistory.mjs";
|
|
15
|
+
import { findPageById } from "./utils/common.mjs";
|
|
15
16
|
/* empty css */
|
|
16
17
|
/* empty css */
|
|
17
18
|
/* empty css */
|
|
@@ -48,7 +49,6 @@ const _sfc_main = {
|
|
|
48
49
|
let option = await api.getAppById(ctx.$http, props.appId);
|
|
49
50
|
pageList.value = ((_a = JSON.parse(option.pageConfig)) == null ? void 0 : _a.pageConfig) || [];
|
|
50
51
|
pageHistory.clear();
|
|
51
|
-
console.log("🚀 ~ pageList ~ pageList.value:", pageList.value);
|
|
52
52
|
let homePage;
|
|
53
53
|
if (props.pageKey) {
|
|
54
54
|
homePage = pageList.value.find((page) => page.isHome);
|
|
@@ -96,24 +96,11 @@ const _sfc_main = {
|
|
|
96
96
|
routePage.value = null;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
function findPageById(pageList2, pageId) {
|
|
100
|
-
for (const item of pageList2) {
|
|
101
|
-
if (item.id == pageId) {
|
|
102
|
-
return item;
|
|
103
|
-
}
|
|
104
|
-
if (item.children && item.children.length > 0) {
|
|
105
|
-
const found = findPageById(item.children, pageId);
|
|
106
|
-
if (found) {
|
|
107
|
-
return { ...found, parentPage: item };
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
return null;
|
|
112
|
-
}
|
|
113
99
|
const routePage = ref(null);
|
|
114
100
|
emitter.on("loadPage", (pageId) => {
|
|
115
101
|
loadPage(pageId);
|
|
116
102
|
});
|
|
103
|
+
provide("pageList", pageList);
|
|
117
104
|
onMounted(() => {
|
|
118
105
|
loadConfig();
|
|
119
106
|
});
|
|
@@ -142,7 +129,7 @@ const _sfc_main = {
|
|
|
142
129
|
};
|
|
143
130
|
}
|
|
144
131
|
};
|
|
145
|
-
const MobileApp = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
132
|
+
const MobileApp = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-aa5e6078"]]);
|
|
146
133
|
export {
|
|
147
134
|
MobileApp as default
|
|
148
135
|
};
|
|
@@ -30,10 +30,15 @@ const _sfc_main = {
|
|
|
30
30
|
var _a;
|
|
31
31
|
if (Array.isArray(props.parentPage.layoutData)) {
|
|
32
32
|
return ((_a = props.parentPage.layoutData) == null ? void 0 : _a.map((item) => {
|
|
33
|
+
var _a2, _b;
|
|
33
34
|
item.isResizable = false;
|
|
35
|
+
if ((_b = (_a2 = item.component) == null ? void 0 : _a2.props) == null ? void 0 : _b.autoHeight) {
|
|
36
|
+
item.class = "isAutoHeight";
|
|
37
|
+
}
|
|
34
38
|
return item;
|
|
35
39
|
})) || [];
|
|
36
40
|
}
|
|
41
|
+
autoHeight;
|
|
37
42
|
return props.parentPage.layoutData;
|
|
38
43
|
});
|
|
39
44
|
const tabbarActive = ref(0);
|
|
@@ -72,8 +77,9 @@ const _sfc_main = {
|
|
|
72
77
|
const _component_FecMobileMenuGrid = resolveComponent("FecMobileMenuGrid");
|
|
73
78
|
const _component_FecMobileNoticeBar = resolveComponent("FecMobileNoticeBar");
|
|
74
79
|
const _component_FecMobileDataStat = resolveComponent("FecMobileDataStat");
|
|
75
|
-
const
|
|
80
|
+
const _component_FecMobileAppDetail = resolveComponent("FecMobileAppDetail");
|
|
76
81
|
const _component_FecMobileActionBar = resolveComponent("FecMobileActionBar");
|
|
82
|
+
const _component_FecMobileTabbar = resolveComponent("FecMobileTabbar");
|
|
77
83
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
78
84
|
__props.parentPage.isNavBar ? (openBlock(), createBlock(_component_FecMobileNavBar, normalizeProps(mergeProps({ key: 0 }, __props.parentPage.navBarConfig)), null, 16)) : createCommentVNode("", true),
|
|
79
85
|
createElementVNode("div", _hoisted_1, [
|
|
@@ -87,7 +93,10 @@ const _sfc_main = {
|
|
|
87
93
|
createVNode(_component_FecMobileMenuGrid, normalizeProps(guardReactiveProps(__props.parentPage.layoutData.menuGridProps)), null, 16),
|
|
88
94
|
createVNode(_component_FecMobileNoticeBar),
|
|
89
95
|
createVNode(_component_FecMobileDataStat)
|
|
90
|
-
], 64)) : __props.parentPage.type == "approval" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
96
|
+
], 64)) : __props.parentPage.type == "approval" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
97
|
+
createVNode(_component_FecMobileAppDetail, normalizeProps(guardReactiveProps(__props.parentPage.layoutData.appDetailProps)), null, 16),
|
|
98
|
+
createVNode(_component_FecMobileActionBar, normalizeProps(guardReactiveProps(__props.parentPage.layoutData.actionBar)), null, 16)
|
|
99
|
+
], 64)) : (openBlock(), createBlock(unref(De), {
|
|
91
100
|
key: 2,
|
|
92
101
|
ref: "gridLayout",
|
|
93
102
|
layout: unref(layoutData),
|
|
@@ -125,7 +134,7 @@ const _sfc_main = {
|
|
|
125
134
|
};
|
|
126
135
|
}
|
|
127
136
|
};
|
|
128
|
-
const MobilePage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
137
|
+
const MobilePage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-afadefa2"]]);
|
|
129
138
|
export {
|
|
130
139
|
MobilePage as default
|
|
131
140
|
};
|
|
@@ -22,7 +22,22 @@ function removeEmptyValues(data) {
|
|
|
22
22
|
}
|
|
23
23
|
return result;
|
|
24
24
|
}
|
|
25
|
+
const findPageById = (pageList, pageId) => {
|
|
26
|
+
for (const item of pageList) {
|
|
27
|
+
if (item.id == pageId) {
|
|
28
|
+
return item;
|
|
29
|
+
}
|
|
30
|
+
if (item.children && item.children.length > 0) {
|
|
31
|
+
const found = findPageById(item.children, pageId);
|
|
32
|
+
if (found) {
|
|
33
|
+
return { ...found, parentPage: item };
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return null;
|
|
38
|
+
};
|
|
25
39
|
export {
|
|
26
40
|
cloneDeep,
|
|
41
|
+
findPageById,
|
|
27
42
|
removeEmptyValues
|
|
28
43
|
};
|
|
@@ -1289,7 +1289,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1289
1289
|
};
|
|
1290
1290
|
}
|
|
1291
1291
|
});
|
|
1292
|
-
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1292
|
+
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ae7b77e4"]]);
|
|
1293
1293
|
export {
|
|
1294
1294
|
_Form as default
|
|
1295
1295
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { inject,
|
|
4
|
+
import { inject, ref, computed, resolveComponent, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, createSlots, withCtx, renderList, createTextVNode, toDisplayString } from "vue";
|
|
5
5
|
import { SubTitle } from "../subTitle/index.mjs";
|
|
6
6
|
import { H2 } from "../h2/index.mjs";
|
|
7
7
|
import { parseRouteParams } from "../../../utils/parseRouteParams.mjs";
|
|
@@ -31,7 +31,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
31
31
|
},
|
|
32
32
|
setup(__props, { expose: __expose }) {
|
|
33
33
|
const props = __props;
|
|
34
|
-
const
|
|
34
|
+
const getFormData = inject("getFormData");
|
|
35
|
+
const formData = ref(getFormData());
|
|
35
36
|
inject("rowHeight");
|
|
36
37
|
inject("gridLayout");
|
|
37
38
|
const setFormItemHeight = inject("setFormItemHeight");
|
|
@@ -66,7 +67,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
66
67
|
...props.localConfig.hiddenFields
|
|
67
68
|
];
|
|
68
69
|
});
|
|
69
|
-
const
|
|
70
|
+
const initHiddenData = computed(() => {
|
|
70
71
|
if (props.config.dataSourceFrom == "self") {
|
|
71
72
|
const params = parseRouteParams(
|
|
72
73
|
props.config.subTableParams,
|
|
@@ -91,7 +92,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
91
92
|
if (!item.showCondition) return true;
|
|
92
93
|
return checkFilterMatch(
|
|
93
94
|
item.showCondition,
|
|
94
|
-
|
|
95
|
+
initHiddenData.value,
|
|
95
96
|
subTableFieldsData.value
|
|
96
97
|
);
|
|
97
98
|
});
|
|
@@ -102,7 +103,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
102
103
|
if (!item.showCondition) return true;
|
|
103
104
|
return checkFilterMatch(
|
|
104
105
|
item.showCondition,
|
|
105
|
-
|
|
106
|
+
initHiddenData.value,
|
|
106
107
|
subTableFieldsData.value
|
|
107
108
|
);
|
|
108
109
|
});
|
|
@@ -198,12 +199,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
198
199
|
height: __props.config.subTableHeight,
|
|
199
200
|
maxHeight: __props.config.subTableMaxHeight,
|
|
200
201
|
tableData: unref(subTableData),
|
|
201
|
-
|
|
202
|
+
initHiddenData: unref(initHiddenData),
|
|
202
203
|
canLoadBySearchData: __props.config.reloadOnParamsChange,
|
|
203
204
|
readonly: __props.config.isSubTableReadOnly || __props.formMode == "query",
|
|
204
205
|
btnRollbackEvent: unref(btnRollbackEvent),
|
|
205
206
|
subTableConfig: __props.config
|
|
206
|
-
}, null, 8, ["templateKey", "mode", "titleMode", "hasPagination", "heightMode", "height", "maxHeight", "tableData", "
|
|
207
|
+
}, null, 8, ["templateKey", "mode", "titleMode", "hasPagination", "heightMode", "height", "maxHeight", "tableData", "initHiddenData", "canLoadBySearchData", "readonly", "btnRollbackEvent", "subTableConfig"])
|
|
207
208
|
], 64);
|
|
208
209
|
};
|
|
209
210
|
}
|
|
@@ -11,7 +11,7 @@ require("../../../node_modules/element-plus/es/index.js");
|
|
|
11
11
|
;/* empty css */
|
|
12
12
|
const Vue = require("vue");
|
|
13
13
|
const index$2 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
14
|
-
const ValueSelector = require("./ValueSelector.
|
|
14
|
+
const ValueSelector = require("./ValueSelector.vue2.js");
|
|
15
15
|
const index = require("../api/index.js");
|
|
16
16
|
;/* empty css */
|
|
17
17
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
@@ -6,7 +6,7 @@ require("../../../node_modules/element-plus/es/index.js");
|
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const Vue = require("vue");
|
|
8
8
|
const index$1 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
9
|
-
const ValueSelector = require("./ValueSelector.
|
|
9
|
+
const ValueSelector = require("./ValueSelector.vue2.js");
|
|
10
10
|
;/* empty css */
|
|
11
11
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
12
12
|
const index = require("../../../node_modules/element-plus/es/components/button/index.js");
|
|
@@ -18,7 +18,7 @@ const index$2 = require("../../../../node_modules/@element-plus/icons-vue/dist/i
|
|
|
18
18
|
const common = require("../../packages/utils/common.js");
|
|
19
19
|
const index$5 = require("../../packages/form/aside/index.js");
|
|
20
20
|
const index$6 = require("../../packages/table/aside/index.js");
|
|
21
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
21
|
+
const ValueSelector = require("../../components/ValueSelector.vue2.js");
|
|
22
22
|
;/* empty css */
|
|
23
23
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
24
24
|
const index = require("../../../../node_modules/element-plus/es/components/dialog/index.js");
|
|
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js");
|
|
|
16
16
|
require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js");
|
|
17
17
|
const Vue = require("vue");
|
|
18
18
|
const index = require("../../../../node_modules/@vueuse/core/dist/index.js");
|
|
19
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
19
|
+
const ValueSelector = require("../../components/ValueSelector.vue2.js");
|
|
20
20
|
const index$1 = require("../../api/index.js");
|
|
21
21
|
const common = require("../utils/common.js");
|
|
22
22
|
const datasource = require("../utils/datasource.js");
|
|
@@ -32,7 +32,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js
|
|
|
32
32
|
;/* empty css */
|
|
33
33
|
;/* empty css */
|
|
34
34
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
35
|
-
;/* empty css
|
|
35
|
+
;/* empty css */
|
|
36
36
|
const index$8 = require("../../api/index.js");
|
|
37
37
|
;/* empty css */
|
|
38
38
|
;/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogDialog() {
|
|
6
6
|
const dialogDialogVisible = Vue.ref(false);
|
|
@@ -86,7 +86,7 @@ const widgets = require("../table/property/widgets.vue.js");
|
|
|
86
86
|
require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
|
|
87
87
|
;/* empty css */
|
|
88
88
|
;/* empty css */
|
|
89
|
-
;/* empty css
|
|
89
|
+
;/* empty css */
|
|
90
90
|
;/* empty css */
|
|
91
91
|
;/* empty css */
|
|
92
92
|
;/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogGlobalDialog() {
|
|
6
6
|
const dialogGlobalDialogVisible = Vue.ref(false);
|
|
@@ -6,7 +6,7 @@ require("../../../../../../node_modules/element-plus/es/index.js");
|
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const Vue = require("vue");
|
|
8
8
|
const RiskSchemeSelector = require("../../../../components/RiskSchemeSelector.vue2.js");
|
|
9
|
-
const ValueSelector = require("../../../../components/ValueSelector.
|
|
9
|
+
const ValueSelector = require("../../../../components/ValueSelector.vue2.js");
|
|
10
10
|
const ParamsConfig = require("../../../../components/ParamsConfig.vue2.js");
|
|
11
11
|
const index = require("../../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
12
12
|
const index$1 = require("../../../../../../node_modules/element-plus/es/components/switch/index.js");
|
|
@@ -13,7 +13,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
|
|
|
13
13
|
const Vue = require("vue");
|
|
14
14
|
const common = require("../../utils/common.js");
|
|
15
15
|
const eventBus = require("../../utils/eventBus.js");
|
|
16
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
16
|
+
const ValueSelector = require("../../../components/ValueSelector.vue2.js");
|
|
17
17
|
const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
|
18
18
|
const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
19
19
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/input/index.js");
|
|
@@ -19,7 +19,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
|
|
|
19
19
|
const Vue = require("vue");
|
|
20
20
|
const common = require("../../utils/common.js");
|
|
21
21
|
require("../../utils/eventBus.js");
|
|
22
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
22
|
+
const ValueSelector = require("../../../components/ValueSelector.vue2.js");
|
|
23
23
|
const index = require("../../../api/index.js");
|
|
24
24
|
const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
|
|
25
25
|
;/* empty css */
|
|
@@ -14,7 +14,7 @@ const Vue = require("vue");
|
|
|
14
14
|
const common = require("../../utils/common.js");
|
|
15
15
|
const TemplateSelector = require("../../../components/TemplateSelector.vue2.js");
|
|
16
16
|
const eventBus = require("../../utils/eventBus.js");
|
|
17
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
17
|
+
const ValueSelector = require("../../../components/ValueSelector.vue2.js");
|
|
18
18
|
const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
|
|
19
19
|
const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
|
20
20
|
const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
@@ -54,8 +54,8 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
54
54
|
require("../../../components/TemplateSelector.vue.js");
|
|
55
55
|
require("../../table/default.js");
|
|
56
56
|
;/* empty css */
|
|
57
|
-
;/* empty css
|
|
58
|
-
;/* empty css
|
|
57
|
+
;/* empty css */
|
|
58
|
+
;/* empty css */
|
|
59
59
|
require("../../../store/index.js");
|
|
60
60
|
;/* empty css */
|
|
61
61
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
|
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/es/index.js");
|
|
|
16
16
|
const Vue = require("vue");
|
|
17
17
|
const index$6 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
18
18
|
const common = require("../utils/common.js");
|
|
19
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
19
|
+
const ValueSelector = require("../../components/ValueSelector.vue2.js");
|
|
20
20
|
const index = require("../../api/index.js");
|
|
21
21
|
;/* empty css */
|
|
22
22
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|