super-page-runtime 2.3.30-tmp1 → 2.3.31-sit1
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/dist/es/components/runtime/utils/api/page-expose-util.js +131 -131
- package/dist/es/components/runtime/utils/events/event-util.js +3 -3
- package/dist/es/components/runtime/utils/events/print-label.js +25 -26
- package/dist/es/components/runtime/utils/events/standard-event.js +135 -135
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/page-init-util.js +111 -107
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +93 -98
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +34 -34
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +34 -35
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +3 -5
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +47 -48
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +60 -54
- package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +67 -64
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +76 -76
- package/package.json +2 -2
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, onUnmounted as s, withDirectives as r, createCommentVNode as u, unref as l, createBlock as
|
|
1
|
+
import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, onUnmounted as s, withDirectives as r, createCommentVNode as u, unref as l, createBlock as a, openBlock as p, resolveDynamicComponent as c, normalizeClass as g, normalizeStyle as f, vShow as m, nextTick as d } from "vue";
|
|
2
2
|
import C from "./error-render.vue.js";
|
|
3
3
|
import { getRuntimeComponentByName as v } from "../../utils/assemblys-config.js";
|
|
4
4
|
import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js";
|
|
5
5
|
import { addComponentRef as h, addComponentRefByCode as x } from "../../utils/global-refs.js";
|
|
6
|
-
import { getPermissionCodes as y, packageFormRules as
|
|
6
|
+
import { getPermissionCodes as y, packageFormRules as j, controlObjectRenderState as w } from "../../utils/page-init-util.js";
|
|
7
7
|
import { caculateShowCondition as M, getFormPropName as _, getSizeConfig as A } from "../../utils/page-helper-util.js";
|
|
8
|
-
import { isWorkflowPage as T, getPropClassName as $, isNumber as
|
|
9
|
-
import { isShowMobileEvent as
|
|
10
|
-
import { usePageContextStore as
|
|
11
|
-
import { isHasFieldAuth as
|
|
12
|
-
import { checkPermission as
|
|
8
|
+
import { isWorkflowPage as T, getPropClassName as $, isNumber as N } from "../../utils/common-util.js";
|
|
9
|
+
import { isShowMobileEvent as O, isShowComponent as P } from "../../utils/events/event-util.js";
|
|
10
|
+
import { usePageContextStore as S } from "../../utils/page-store.js";
|
|
11
|
+
import { isHasFieldAuth as B } from "../../utils/table-utils.js";
|
|
12
|
+
import { checkPermission as H } from "agilebuilder-ui/src/utils/permission.js";
|
|
13
|
+
import { isMobileBrowser as R } from "agilebuilder-ui/src/utils/common-util";
|
|
13
14
|
const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
14
15
|
var _a, _b;
|
|
15
16
|
const F2 = e2;
|
|
16
17
|
null == F2.configure.style && (F2.configure.style = {});
|
|
17
|
-
const
|
|
18
|
-
F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.functionCode =
|
|
19
|
-
const
|
|
20
|
-
F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.isHasFieldAuthPermission = J),
|
|
18
|
+
const k = y(F2.configure, F2.pageContext);
|
|
19
|
+
F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.functionCode = k);
|
|
20
|
+
const D = H(k || "true", F2.pageContext.systemCode), E = B(F2.pageContext, F2.configure), J = D && E;
|
|
21
|
+
F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.isHasFieldAuthPermission = J), j(F2.pageContext, F2.configure, J);
|
|
21
22
|
let L = o(null), W = o(true), q = o("");
|
|
22
23
|
if (F2.configure && F2.configure.props) {
|
|
23
24
|
let e3 = [];
|
|
@@ -25,7 +26,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
25
26
|
var _a2;
|
|
26
27
|
let o2 = true;
|
|
27
28
|
if (J) if (L.value && null !== L.value) o2 = "show" === L.value;
|
|
28
|
-
else if (
|
|
29
|
+
else if (O(F2.pageContext, F2.configure)) if (e3 && e3.length > 0) o2 = M(F2.pageContext, e3);
|
|
29
30
|
else {
|
|
30
31
|
const e4 = (_a2 = F2.configure.props.base) == null ? void 0 : _a2.state;
|
|
31
32
|
e4 && "hidden" === e4 && (o2 = false);
|
|
@@ -57,88 +58,93 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
57
58
|
}
|
|
58
59
|
const z = o({});
|
|
59
60
|
z.value = n(v(F2.configure.name));
|
|
60
|
-
const
|
|
61
|
-
null == z.value && (z.value = C,
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
const
|
|
65
|
-
if (
|
|
66
|
-
Object.assign(
|
|
67
|
-
const e3 = F2.pageContext && F2.pageContext.dimensions ? F2.pageContext.dimensions : b.PC, o2 =
|
|
68
|
-
o2 && Object.assign(
|
|
69
|
-
const t2 =
|
|
70
|
-
t2 && (
|
|
61
|
+
const G = o(true);
|
|
62
|
+
null == z.value && (z.value = C, G.value = false);
|
|
63
|
+
const I = o(null), K = o({}), Q = o(""), U = $(F2.configure);
|
|
64
|
+
U && (Q.value = U);
|
|
65
|
+
const V = F2.configure.runtime && F2.configure.runtime.common ? F2.configure.runtime.common : {};
|
|
66
|
+
if (V.class && (Q.value += " " + V.class), V.style) {
|
|
67
|
+
Object.assign(K.value, V.style);
|
|
68
|
+
const e3 = F2.pageContext && F2.pageContext.dimensions ? F2.pageContext.dimensions : b.PC, o2 = V.style[e3 + "_style"];
|
|
69
|
+
o2 && Object.assign(K.value, o2);
|
|
70
|
+
const t2 = V.style[e3 + "_class"];
|
|
71
|
+
t2 && (Q.value += " " + t2);
|
|
71
72
|
}
|
|
72
|
-
const
|
|
73
|
-
function
|
|
74
|
-
if (
|
|
73
|
+
const X = S();
|
|
74
|
+
function Y(e3) {
|
|
75
|
+
if (I.value = e3, e3 && !e3.show && (e3.show = function() {
|
|
75
76
|
L.value = "show";
|
|
76
77
|
}), e3 && !e3.hide && (e3.hide = function() {
|
|
77
78
|
L.value = "hide";
|
|
78
79
|
}), e3 && !e3.getConfigure && (e3.getConfigure = function() {
|
|
79
80
|
return F2.configure;
|
|
80
|
-
}), F2.configure.uuid && h(F2.pageContext, F2.configure.uuid,
|
|
81
|
-
else if ("table" === F2.configure.name) x(F2.pageContext, F2.configure.uuid,
|
|
81
|
+
}), F2.configure.uuid && h(F2.pageContext, F2.configure.uuid, I), F2.configure.code) x(F2.pageContext, F2.configure.code, I);
|
|
82
|
+
else if ("table" === F2.configure.name) x(F2.pageContext, F2.configure.uuid, I);
|
|
82
83
|
else if (F2.configure.props && F2.configure.props.base) {
|
|
83
84
|
const e4 = F2.configure.props.base;
|
|
84
85
|
if (e4.prop) {
|
|
85
86
|
let o3 = e4.prop;
|
|
86
|
-
o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), x(F2.pageContext, o3,
|
|
87
|
+
o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), x(F2.pageContext, o3, I);
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
const o2 = F2.configure.props ? F2.configure.props.base : null;
|
|
90
91
|
if (o2 && o2.prop) {
|
|
91
92
|
let e4 = o2.prop;
|
|
92
|
-
e4 = _(e4),
|
|
93
|
+
e4 = _(e4), w(F2.pageContext, e4), F2.pageContext.propTitleMap = F2.pageContext.propTitleMap || {}, F2.pageContext.propTitleMap[e4] = o2.title ? o2.title : e4;
|
|
93
94
|
}
|
|
94
95
|
!function() {
|
|
95
|
-
if (!
|
|
96
|
+
if (!I.value) return;
|
|
96
97
|
const e4 = A(F2.pageContext, F2.configure);
|
|
97
|
-
"table" !== F2.configure.name && e4 && e4.isCalcHeight &&
|
|
98
|
+
"table" !== F2.configure.name && e4 && e4.isCalcHeight && d(() => {
|
|
98
99
|
var _a2;
|
|
99
|
-
if (!(((_a2 =
|
|
100
|
+
if (!(((_a2 = I.value) == null ? void 0 : _a2.$el) || I.value)) return;
|
|
100
101
|
const e5 = (o3 = 0) => {
|
|
101
|
-
if (!
|
|
102
|
-
let t2 =
|
|
102
|
+
if (!I.value) return;
|
|
103
|
+
let t2 = I.value.$el || I.value;
|
|
103
104
|
if (!t2) return;
|
|
104
105
|
const n2 = t2.getBoundingClientRect();
|
|
105
|
-
null !==
|
|
106
|
+
null !== ee && Math.abs(n2.y - ee) < 1 ? Z() : o3 < 10 ? (ee = n2.y, oe = setTimeout(() => {
|
|
106
107
|
e5(o3 + 1);
|
|
107
|
-
}, 50)) :
|
|
108
|
+
}, 50)) : Z();
|
|
108
109
|
};
|
|
109
|
-
|
|
110
|
+
ee = null, e5();
|
|
110
111
|
});
|
|
111
112
|
}();
|
|
112
113
|
}
|
|
113
|
-
function
|
|
114
|
-
if (!
|
|
115
|
-
let e3 =
|
|
116
|
-
e3 || (e3 =
|
|
114
|
+
function Z() {
|
|
115
|
+
if (!I.value) return;
|
|
116
|
+
let e3 = I.value.$el;
|
|
117
|
+
e3 || (e3 = I.value);
|
|
117
118
|
const o2 = e3.parentNode;
|
|
118
119
|
if (!e3 || !o2) return;
|
|
119
120
|
const t2 = e3.getBoundingClientRect();
|
|
120
|
-
let n2 = window.innerHeight - t2.y - 30;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
let n2 = window.innerHeight - t2.y - 30, i2 = n2 + "";
|
|
122
|
+
if ("tabs" === F2.configure.name && F2.pageContext.isDialog && !R()) {
|
|
123
|
+
const o3 = e3.closest(".runtime-page-container");
|
|
124
|
+
if (o3) {
|
|
125
|
+
const e4 = o3.getBoundingClientRect(), s2 = t2.y - e4.y;
|
|
126
|
+
n2 = e4.height - s2 - 30, i2 = n2 + "px";
|
|
127
|
+
}
|
|
128
|
+
} else N(n2) && (i2 = n2 + "px");
|
|
129
|
+
K.value.height = i2, K.value["overflow-y"] = "auto", K.value["overflow-x"] = "hidden", F2.configure.sytle || (F2.configure.sytle = {}), F2.configure.sytle._heightStyle = i2;
|
|
124
130
|
}
|
|
125
131
|
i(() => {
|
|
126
132
|
var _a2, _b2, _c;
|
|
127
|
-
|
|
133
|
+
te(), X.countComponentsLoadedNumber(), ((_c = (_b2 = (_a2 = F2.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.autoAnchorConditions) == null ? void 0 : _c.length) > 0 && X.setAutoAnchorComponentConditions(F2.configure.uuid, F2.configure.props.base.autoAnchorConditions);
|
|
128
134
|
}), s(() => {
|
|
129
|
-
|
|
135
|
+
oe && clearTimeout(oe);
|
|
130
136
|
});
|
|
131
|
-
let
|
|
132
|
-
const
|
|
133
|
-
if (!
|
|
134
|
-
let e3 =
|
|
135
|
-
e3 || (e3 =
|
|
137
|
+
let ee = null, oe = null;
|
|
138
|
+
const te = () => {
|
|
139
|
+
if (!I.value) return;
|
|
140
|
+
let e3 = I.value.$el;
|
|
141
|
+
e3 || (e3 = I.value);
|
|
136
142
|
const o2 = e3.parentNode;
|
|
137
143
|
if (!e3 || !o2) return;
|
|
138
144
|
const t2 = F2.configure.props ? F2.configure.props : {}, n2 = F2.configure.style ? F2.configure.style : {}, i2 = t2.position;
|
|
139
145
|
"top" == i2 || "bottom" == i2 || n2.position;
|
|
140
146
|
};
|
|
141
|
-
return (e3, o2) => l(J) && l(
|
|
147
|
+
return (e3, o2) => l(J) && l(P)(e3.configure) ? r((p(), a(c(z.value), { key: 0, ref: Y, style: f(K.value), class: g(Q.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, l(W)]]) : u("", true);
|
|
142
148
|
} });
|
|
143
149
|
export {
|
|
144
150
|
F as default
|
|
@@ -7,12 +7,12 @@ import { initPageEvents as f } from "../utils/events/event-util.js";
|
|
|
7
7
|
import { setHomeChartInitConfigValue as v } from "../utils/charts/chart-util.js";
|
|
8
8
|
import { useI18n as C } from "vue-i18n";
|
|
9
9
|
const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ name: "HomeChart", inheritAttrs: false, __name: "home-chart", props: { chartUuid: { type: String, default: "" }, homeChartSettingUserId: { type: Number, default: 0 } }, setup(e2) {
|
|
10
|
-
const { t: b2 } = C(), I = e2, U = t(true),
|
|
10
|
+
const { t: b2 } = C(), I = e2, U = t(true), w = t(false), H = t(null);
|
|
11
11
|
let x, A = t(null);
|
|
12
12
|
return I.chartUuid && c.get(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-layout/" + I.chartUuid).then((e3) => {
|
|
13
13
|
var _a, _b;
|
|
14
14
|
if (e3 && e3.designJson) {
|
|
15
|
-
|
|
15
|
+
H.value = {};
|
|
16
16
|
const t2 = JSON.parse(e3.designJson);
|
|
17
17
|
let a2 = window.localStorage.getItem("HOME_MY_CHARTS_ALIAS");
|
|
18
18
|
if (a2) {
|
|
@@ -20,26 +20,26 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
|
|
|
20
20
|
e4[I.homeChartSettingUserId] && (t2.chartJson.runtime.headerInfo ? t2.chartJson.runtime.headerInfo.title = e4[I.homeChartSettingUserId] : t2.chartJson.runtime.headerInfo = { textAlign: "center", title: e4[I.homeChartSettingUserId] });
|
|
21
21
|
}
|
|
22
22
|
const i2 = window.frameElement;
|
|
23
|
-
|
|
23
|
+
H.value = t2.chartJson, H.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (H.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
|
|
24
24
|
const n2 = { showHomepageSearch: false, name: e3.pageName, code: e3.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e3.systemCode, uuid: e3.uuid, allChartUuids: [], backendUrl: e3.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e3.contextParam, system: e3.systemParam } };
|
|
25
|
-
if (((_a =
|
|
25
|
+
if (((_a = H.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = H.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
|
|
26
26
|
const e4 = n2.entity.page;
|
|
27
27
|
for (const a3 of t2.variables) a3.name && (a3.isArrayElement ? e4[a3.name] = [] : a3.defaultValue ? e4[a3.name] = a3.defaultValue : e4[a3.name] = void 0);
|
|
28
28
|
}
|
|
29
|
-
t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(
|
|
29
|
+
t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(H.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
|
|
30
30
|
!function(e4, t3) {
|
|
31
31
|
if (!t3 || 0 == t3.length) return;
|
|
32
32
|
e4.initChartData = {}, e4.initChartData.data = h(e4.entity.data), e4.initChartData.page = h(e4.entity.page), t3 && t3.length > 0 && p(e4, t3, null, true);
|
|
33
33
|
}(A.value, [t2.initChartServiceConfigs]);
|
|
34
34
|
}, 200);
|
|
35
|
-
} else
|
|
35
|
+
} else w.value = true, U.value = false;
|
|
36
36
|
}).finally(() => {
|
|
37
37
|
U.value = false;
|
|
38
38
|
}), a(() => {
|
|
39
39
|
x && clearTimeout(x);
|
|
40
40
|
}), (e3, t2) => {
|
|
41
41
|
const a2 = i("loading");
|
|
42
|
-
return n((o(), r("div", y, [!U.value &&
|
|
42
|
+
return n((o(), r("div", y, [!U.value && H.value ? (o(), s(g, { key: 0, configure: H.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || H.value ? l("", true) : (o(), r("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
|
|
43
43
|
};
|
|
44
44
|
} });
|
|
45
45
|
export {
|
|
@@ -10,7 +10,6 @@ const s = ["src"], d = { key: 1, class: "amb-super-page-runtime-dialog-iframe",
|
|
|
10
10
|
const e4 = JSON.parse(JSON.stringify(p.parentPageEventParams));
|
|
11
11
|
e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(b.value, e4);
|
|
12
12
|
} catch (e4) {
|
|
13
|
-
console.error(e4);
|
|
14
13
|
}
|
|
15
14
|
null !== w.value && void 0 !== w.value || (w.value = p.parentPageEventParams.id);
|
|
16
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, getCurrentInstance as t, onMounted as l, onUpdated as
|
|
1
|
+
import { defineComponent as e, ref as a, getCurrentInstance as t, onMounted as l, onUpdated as u, nextTick as o, onUnmounted as n, resolveDirective as i, withDirectives as s, createElementBlock as r, openBlock as v, normalizeStyle as p, normalizeClass as m, unref as c, createCommentVNode as g, createVNode as f, createBlock as d, createElementVNode as y, Fragment as h, renderList as C, watch as P } from "vue";
|
|
2
2
|
import b from "./assemblys/object-render.vue.js";
|
|
3
3
|
import { updateOptionDatasources as j, updateChartDatasources as k } from "../utils/page-helper-util.js";
|
|
4
|
-
import { queryPageDesignWhenPreview as x, queryPageDesignByCode as $, convertToPageContext as S, packageAdditionalMapWithLocationSearch as D, packageAdditionalMapWithRoute as
|
|
4
|
+
import { queryPageDesignWhenPreview as x, queryPageDesignByCode as $, convertToPageContext as S, packageAdditionalMapWithLocationSearch as D, packageAdditionalMapWithRoute as N, packageAdditionalMapWithPageRequest as w } from "../utils/page-init-util.js";
|
|
5
5
|
import { addComponentRef as q, removePageAllRef as T, initComponentRefState as R } from "../utils/global-refs.js";
|
|
6
6
|
import { removeCustomFuncFromWindow as _, handleEvent as O, initPageEvents as F, getCustomFunc as I } from "../utils/events/event-util.js";
|
|
7
7
|
import M from "./assemblys/common/export-form-report-dialog.vue.js";
|
|
@@ -9,7 +9,7 @@ import A from "./assemblys/common/task-informition-dialog.vue.js";
|
|
|
9
9
|
import E from "./assemblys/common/remove-signer-dialog.vue.js";
|
|
10
10
|
import V from "./assemblys/common/remove-transactor-dialog.vue.js";
|
|
11
11
|
import W from "../utils/eventBus.js";
|
|
12
|
-
import { doFileTaskFunc as B, getTaskInformitions as J, getRemoveSigner as U, getRemoveTransactor as
|
|
12
|
+
import { doFileTaskFunc as B, getTaskInformitions as J, getRemoveSigner as U, getRemoveTransactor as L, getFormData as H, exportFormReport as z, doImportFinally as Q, doAddSigner as G, doCreateCopyTask as K, doAssign as X, doAddTransactor as Y, doReturnTaskTo as Z, doRemoveSigners as ee, doRemoveTransactors as ae, updateValuesWhenCloseDialog as te, refreshFormOrListPage as le, saveChartConditionBase as ue, getAdditionalParamMap as oe } from "../utils/events/standard-event.js";
|
|
13
13
|
import "../utils/api/api-util.js";
|
|
14
14
|
import { ElMessage as ne } from "element-plus";
|
|
15
15
|
import { useI18n as ie } from "vue-i18n";
|
|
@@ -30,14 +30,14 @@ import ke from "./assemblys/page-bottom.vue.js";
|
|
|
30
30
|
import xe from "./assemblys/common/event-call-component.vue.js";
|
|
31
31
|
import { scrollIntoViewWithContainer as $e } from "../utils/anchor-util.js";
|
|
32
32
|
const Se = e({ __name: "super-page", props: { pageCode: { type: String, required: false }, pageVersion: { type: Number, required: false }, pageId: { type: Number, required: false }, dataId: { type: Number, required: false }, pageDesign: { type: Object, required: false }, isTest: { type: Boolean, required: false }, dimensions: { type: String, required: false }, publishVersion: { type: Number, required: false }, taskId: { type: Number, required: false }, pageRequest: { type: Object, required: false }, contentHeight: { type: [String, Number], default: null }, isDialog: { type: Boolean, required: false }, isPreview: { type: Boolean, required: false } }, emits: ["open", "opened", "close", "closed"], setup(e2, { expose: Se2, emit: De }) {
|
|
33
|
-
const
|
|
33
|
+
const Ne = Ce(), { t: we } = ie(), qe = e2, Te = a(false), Re = a(""), _e = { list: "list-page-container", form: "form-page-container" }, Oe = a(null), Fe = a([]), Ie = a(""), Me = a({}), Ae = a(null), Ee = a(null), Ve = a(false), We = a(false), Be = a(false), Je = a(false), Ue = a(false), Le = a(false), He = a(null), ze = a(false), Qe = a([]), Ge = a([]), Ke = a([]), Xe = a(false), Ye = a(false), Ze = a(null), ea = a(false), aa = a(false), ta = a(null), la = a(null), ua = a(null), oa = a(null);
|
|
34
34
|
let na = a(null);
|
|
35
35
|
const ia = a(null), sa = a(null), ra = pe(), va = a(0), pa = he();
|
|
36
36
|
let ma, ca;
|
|
37
37
|
const ga = a(false), fa = a(null), da = a(false), ya = a(null);
|
|
38
38
|
function ha(e3) {
|
|
39
39
|
const a2 = S(e3);
|
|
40
|
-
return a2.isTest = qe.isTest, a2.isTest && qe.dimensions && (a2.dimensions = qe.dimensions), qe.isDialog || (D(a2.entity.request),
|
|
40
|
+
return a2.isTest = qe.isTest, a2.isTest && qe.dimensions && (a2.dimensions = qe.dimensions), qe.isDialog || (D(a2.entity.request), N(ra, a2.entity.request)), w(qe.pageRequest, a2.entity.request), a2;
|
|
41
41
|
}
|
|
42
42
|
function Ca(e3) {
|
|
43
43
|
var _a2;
|
|
@@ -50,7 +50,7 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
50
50
|
t3 && t3.length > 0 && j(e4, t3, void 0);
|
|
51
51
|
}(na.value, e3.initOptionConfigs);
|
|
52
52
|
}, 0), ca = setTimeout(() => {
|
|
53
|
-
|
|
53
|
+
!function(e4, a3) {
|
|
54
54
|
if (!a3 || 0 == a3.length) return;
|
|
55
55
|
if (e4.initChartData = {}, e4.initChartData.data = de(e4.entity.data), e4.initChartData.page = de(e4.entity.page), a3 && a3.length > 0) {
|
|
56
56
|
const t3 = a3.filter((e5) => false !== e5.initializationQuery);
|
|
@@ -61,60 +61,59 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
61
61
|
const t2 = na.value.runtime ? na.value.runtime : {};
|
|
62
62
|
Ie.value = t2.class, Me.value = t2.style, F(e3, na.value), re(na.value.rules), O(null, na.value, e3, "beforeload");
|
|
63
63
|
const l2 = na.value.code;
|
|
64
|
-
return
|
|
64
|
+
return Ne.setPageContext(na.value), He.value = l2 + "_", W.$on(He.value + "export-form-report", (e4) => {
|
|
65
65
|
Ee.value = e4, ia.value = e4.configureObj, sa.value = e4.pageContext, da.value = false, Ve.value = true;
|
|
66
|
-
}), W.$on(
|
|
66
|
+
}), W.$on(He.value + "export-pdf-report", (e4) => {
|
|
67
67
|
Ee.value = e4, ia.value = e4.configureObj, sa.value = e4.pageContext, da.value = true, Ve.value = true;
|
|
68
|
-
}), W.$on(
|
|
68
|
+
}), W.$on(He.value + "import-file", (e4) => {
|
|
69
69
|
Ee.value = e4, $a.value.click();
|
|
70
|
-
}), W.$on(
|
|
71
|
-
Ee.value = e4, Ue.value = true,
|
|
72
|
-
}), W.$on(
|
|
73
|
-
Ee.value = e4, Je.value = true,
|
|
74
|
-
}), W.$on(
|
|
75
|
-
Ee.value = e4, We.value = true,
|
|
76
|
-
}), W.$on(
|
|
70
|
+
}), W.$on(He.value + "assign-task", (e4) => {
|
|
71
|
+
Ee.value = e4, Ue.value = true, Le.value = false;
|
|
72
|
+
}), W.$on(He.value + "copy-task", (e4) => {
|
|
73
|
+
Ee.value = e4, Je.value = true, Le.value = true;
|
|
74
|
+
}), W.$on(He.value + "add-signer", (e4) => {
|
|
75
|
+
Ee.value = e4, We.value = true, Le.value = true;
|
|
76
|
+
}), W.$on(He.value + "choose-return-node", (e4) => {
|
|
77
77
|
Ee.value = e4, J(e4).then((e5) => {
|
|
78
78
|
Qe.value = e5, ze.value = true;
|
|
79
79
|
}).catch((e5) => {
|
|
80
80
|
ze.value = false;
|
|
81
81
|
});
|
|
82
|
-
}), W.$on(
|
|
82
|
+
}), W.$on(He.value + "remove-signer", (e4) => {
|
|
83
83
|
Ee.value = e4, U(e4).then((a3) => {
|
|
84
84
|
Ze.value = e4.pageContext.completeTaskParam.taskId, Ge.value = a3, Xe.value = true;
|
|
85
85
|
}).catch((e5) => {
|
|
86
86
|
Xe.value = false;
|
|
87
87
|
});
|
|
88
|
-
}), W.$on(
|
|
89
|
-
Ee.value = e4, Be.value = true,
|
|
90
|
-
}), W.$on(
|
|
91
|
-
Ee.value = e4,
|
|
88
|
+
}), W.$on(He.value + "add-transactor", (e4) => {
|
|
89
|
+
Ee.value = e4, Be.value = true, Le.value = true;
|
|
90
|
+
}), W.$on(He.value + "remove-transactor", (e4) => {
|
|
91
|
+
Ee.value = e4, L(e4).then((a3) => {
|
|
92
92
|
Ze.value = e4.pageContext.completeTaskParam.taskId, Ke.value = a3, Ye.value = true;
|
|
93
93
|
}).catch((e5) => {
|
|
94
94
|
Ye.value = false;
|
|
95
95
|
});
|
|
96
|
-
}), W.$on(
|
|
97
|
-
}), W.$on(
|
|
96
|
+
}), W.$on(He.value + "prohibit-edit", (e4) => {
|
|
97
|
+
}), W.$on(He.value + "open-dialog", (e4) => {
|
|
98
98
|
var a3, t3, l3;
|
|
99
|
-
la.value = e4.pageContext,
|
|
100
|
-
return new Promise((l4,
|
|
99
|
+
la.value = e4.pageContext, ua.value = e4.configureObj, oa.value = e4.eventParams, a3 = ua.value, t3 = oa.value, l3 = e4.jumpPageSetting, function(e5, a4, t4) {
|
|
100
|
+
return new Promise((l4, u2) => {
|
|
101
101
|
var _a3;
|
|
102
102
|
if (t4) l4(t4);
|
|
103
103
|
else {
|
|
104
104
|
const t5 = e5 && e5.props && e5.props.linkPage ? e5.props.linkPage : null;
|
|
105
105
|
if (t5 && t5.jumpPageUrl) {
|
|
106
106
|
false !== t5.isNewPage && true !== t5.isNewPage && (t5.isNewPage = true);
|
|
107
|
-
const e6 =
|
|
108
|
-
|
|
109
|
-
let u2 = o3 && a4 ? a4.id : null, n2 = o3 && a4 ? a4.ids : null, i2 = a4 ? a4.selections : [], s2 = a4 ? a4.row : null;
|
|
107
|
+
const e6 = oe(na), u3 = !!((_a3 = ua.value.props.linkPage) == null ? void 0 : _a3.isNeedId);
|
|
108
|
+
let o2 = u3 && a4 ? a4.id : null, n2 = u3 && a4 ? a4.ids : null, i2 = a4 ? a4.selections : [], s2 = a4 ? a4.row : null;
|
|
110
109
|
if (!s2) if (s2 = {}, i2 && i2.length > 0) s2 = i2[0];
|
|
111
110
|
else {
|
|
112
111
|
const e7 = la.value.entity.data, a5 = la.value.entity.page;
|
|
113
112
|
a5 && Object.assign(s2, a5), e7 && Object.assign(s2, e7);
|
|
114
113
|
}
|
|
115
114
|
const r2 = de(la.value.entity.page);
|
|
116
|
-
t5._pageData = r2, ce(t5, null,
|
|
117
|
-
e7.isNeedId =
|
|
115
|
+
t5._pageData = r2, ce(t5, null, o2, s2, e6, n2).then((e7) => {
|
|
116
|
+
e7.isNeedId = u3, l4(e7);
|
|
118
117
|
});
|
|
119
118
|
} else l4(false);
|
|
120
119
|
}
|
|
@@ -124,12 +123,12 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
124
123
|
let t4 = {};
|
|
125
124
|
const l4 = a3 && a3.props && a3.props.linkPage ? a3.props.linkPage : null;
|
|
126
125
|
l4 && Object.assign(t4, de(l4)), Object.assign(t4, e5), ye(t4, pa);
|
|
127
|
-
const
|
|
128
|
-
if (
|
|
129
|
-
const e6 =
|
|
126
|
+
const u2 = t4.jumpMode, o2 = t4;
|
|
127
|
+
if (oa.value || (oa.value = {}), oa.value.paramStoreId = t4.paramStoreId, o2.parentPageCode = la.value.code, o2.parentPageVersion = la.value.version, o2.isNewPage = true, "popup" === u2 || "refresh" === u2) {
|
|
128
|
+
const e6 = o2.linkType;
|
|
130
129
|
(function(e7, a4) {
|
|
131
130
|
const t5 = fe();
|
|
132
|
-
return new Promise((l5,
|
|
131
|
+
return new Promise((l5, u3) => {
|
|
133
132
|
if (t5) if ("popup" !== a4 && !pa || la.value.systemCode === e7.customSystem) l5(true);
|
|
134
133
|
else if (e7.customSystem) {
|
|
135
134
|
const a5 = e7.customSystem;
|
|
@@ -138,38 +137,41 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
138
137
|
}).catch(() => {
|
|
139
138
|
l5(true);
|
|
140
139
|
});
|
|
141
|
-
} else ne({ showClose: true, type: "error", message:
|
|
140
|
+
} else ne({ showClose: true, type: "error", message: we("superPageRuntimeMessage.popMsg") }), l5(false);
|
|
142
141
|
else l5(true);
|
|
143
142
|
});
|
|
144
|
-
})(
|
|
145
|
-
a4 && (pa && (la.value.systemCode !==
|
|
146
|
-
}), W.$on(
|
|
143
|
+
})(o2, u2).then((a4) => {
|
|
144
|
+
a4 && (pa && (la.value.systemCode !== o2.customSystem || e6 && "url" === e6) ? (o2._isIframe = true, "refresh" === u2 && (o2.dialogType = "drawer", o2.jumpPageWidth = "100%"), ta.value = o2, aa.value = true) : (o2._isIframe = false, "popup" === u2 ? (ta.value = o2, aa.value = true) : "refresh" === u2 && qa.push({ path: "/dsc/page", query: o2 })));
|
|
145
|
+
}), W.$on(He.value + "close-dialog", (e7) => {
|
|
147
146
|
!function(e8) {
|
|
148
147
|
const a4 = e8.jumpMode;
|
|
149
148
|
a4 && "popup" === a4 ? Ta(e8) : qa.go(-1);
|
|
150
149
|
}(e7);
|
|
151
150
|
});
|
|
152
151
|
}
|
|
153
|
-
}
|
|
152
|
+
}
|
|
154
153
|
});
|
|
155
|
-
}), W.$on(
|
|
154
|
+
}), W.$on(He.value + "save-chart-condition", (e4) => {
|
|
156
155
|
ga.value = true;
|
|
157
156
|
}), W.$on("pageLoaded", () => {
|
|
158
157
|
const e4 = { runtime: { events: na.value.events }, systemCode: "", systemVersion: 0, code: "", version: 0, workflowCode: "", workflowVersion: 0, name: "", uuid: "", label: "" };
|
|
159
|
-
O(null, na.value, e4, "load"), $e(
|
|
160
|
-
}), W.$on(
|
|
158
|
+
O(null, na.value, e4, "load"), $e(Ne.getAutoAnchorComponentConditions(), na.value);
|
|
159
|
+
}), W.$on(He.value + "event-call-component", (e4) => {
|
|
161
160
|
var _a3;
|
|
162
161
|
(_a3 = ya.value) == null ? void 0 : _a3.renderComponent(e4.componentName, e4.componentProps);
|
|
163
162
|
}), P(() => na.value.isRefresh, (e4) => {
|
|
164
163
|
e4 && (va.value++, na.value.isRefresh = false);
|
|
165
|
-
}),
|
|
164
|
+
}), H(na.value, null, (_a2 = qe.pageRequest) == null ? void 0 : _a2.isNeedId);
|
|
166
165
|
}
|
|
167
166
|
const Pa = t();
|
|
168
167
|
function ba() {
|
|
169
|
-
|
|
168
|
+
o(() => {
|
|
170
169
|
var _a2, _b;
|
|
171
170
|
const e3 = Oe.value.parentNode ? Oe.value.parentNode : Oe.value;
|
|
172
|
-
na.value && (na.value.pageRuntimeStyle || (na.value.pageRuntimeStyle = {}),
|
|
171
|
+
if (na.value && (na.value.pageRuntimeStyle || (na.value.pageRuntimeStyle = {}), !pa)) {
|
|
172
|
+
let a2 = qe.contentHeight;
|
|
173
|
+
Number(a2) && (a2 += "px"), na.value.pageRuntimeStyle.height = a2 ?? ((_b = (_a2 = e3 == null ? void 0 : e3.getBoundingClientRect) == null ? void 0 : _a2.call(e3)) == null ? void 0 : _b.height) ?? 0;
|
|
174
|
+
}
|
|
173
175
|
});
|
|
174
176
|
}
|
|
175
177
|
function ja() {
|
|
@@ -184,7 +186,7 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
184
186
|
}
|
|
185
187
|
l(() => {
|
|
186
188
|
!function() {
|
|
187
|
-
if (
|
|
189
|
+
if (Ne.resetComponentCounters(), Ne.resetAutoAnchorComponentConditions(), qe.isPreview && qe.pageDesign) {
|
|
188
190
|
Te.value = true;
|
|
189
191
|
let e3 = qe.pageDesign;
|
|
190
192
|
const a2 = ha(e3);
|
|
@@ -208,12 +210,12 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
208
210
|
Te.value = false, "form" === na.value.pageType && je.setPageToChatStore(Pa, na.value);
|
|
209
211
|
}));
|
|
210
212
|
}();
|
|
211
|
-
}),
|
|
212
|
-
|
|
213
|
+
}), u(() => {
|
|
214
|
+
o(() => {
|
|
213
215
|
na.value && Oe.value && q(na.value, "-1", Oe);
|
|
214
216
|
});
|
|
215
217
|
}), n(() => {
|
|
216
|
-
T(na.value), Ae.value && _(Ae.value), W.$off(
|
|
218
|
+
T(na.value), Ae.value && _(Ae.value), W.$off(He.value + "export-form-report"), W.$off(He.value + "export-pdf-report"), W.$off(He.value + "import-file"), W.$off(He.value + "assign-task"), W.$off(He.value + "copy-task"), W.$off(He.value + "add-signer"), W.$off(He.value + "choose-return-node"), W.$off(He.value + "remove-signer"), W.$off(He.value + "prohibit-edit"), W.$off(He.value + "open-dialog"), W.$off(He.value + "save-chart-condition"), W.$off("pageLoaded"), na.value && O(null, na.value, na.value, "onUnmounted"), ma && clearTimeout(ma), ca && clearTimeout(ca);
|
|
217
219
|
});
|
|
218
220
|
const $a = a(null);
|
|
219
221
|
function Sa(e3) {
|
|
@@ -222,41 +224,41 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
222
224
|
function Da(e3) {
|
|
223
225
|
Qe.value = [], ze.value = false, Z(Ee.value, e3);
|
|
224
226
|
}
|
|
225
|
-
function
|
|
227
|
+
function Na(e3) {
|
|
226
228
|
Ge.value = [], Xe.value = false, ee(Ee.value, e3);
|
|
227
229
|
}
|
|
228
|
-
function
|
|
230
|
+
function wa(e3) {
|
|
229
231
|
Ke.value = [], Ye.value = false, ae(Ee.value, e3);
|
|
230
232
|
}
|
|
231
233
|
const qa = me();
|
|
232
234
|
function Ta(e3) {
|
|
233
235
|
var _a2, _b;
|
|
234
236
|
const a2 = ta.value.closeEvent, t2 = ta.value.isRefreshWhenClosePopup;
|
|
235
|
-
let l2,
|
|
236
|
-
const
|
|
237
|
+
let l2, u2;
|
|
238
|
+
const o2 = la.value.tableName;
|
|
237
239
|
let n2;
|
|
238
|
-
const i2 =
|
|
240
|
+
const i2 = oa.value.columnProp ? oa.value.columnProp : null;
|
|
239
241
|
if (i2) {
|
|
240
|
-
const e4 = (_b = (_a2 =
|
|
242
|
+
const e4 = (_b = (_a2 = ua.value) == null ? void 0 : _a2.items) == null ? void 0 : _b.filter((e5) => {
|
|
241
243
|
var _a3, _b2, _c, _d;
|
|
242
244
|
return ((_b2 = (_a3 = e5.props) == null ? void 0 : _a3.base) == null ? void 0 : _b2.prop) && ((_d = (_c = e5.props) == null ? void 0 : _c.base) == null ? void 0 : _d.prop) === i2;
|
|
243
245
|
});
|
|
244
246
|
n2 = e4 && e4.length > 0 ? e4[0] : null;
|
|
245
|
-
} else n2 =
|
|
247
|
+
} else n2 = ua.value;
|
|
246
248
|
if (e3) {
|
|
247
249
|
const a3 = e3.isNeedValueMapping;
|
|
248
|
-
l2 = e3.dataModel,
|
|
250
|
+
l2 = e3.dataModel, u2 = e3.sourceTableName, a3 && te(la.value, n2, l2, u2, ta.value ? ta.value.valueMappings : null);
|
|
249
251
|
}
|
|
250
|
-
O(null, la.value, n2, "closePopup", { sourceModel: l2, sourceTableName:
|
|
252
|
+
O(null, la.value, n2, "closePopup", { sourceModel: l2, sourceTableName: u2, jumpPageSetting: ta.value, entity: la.value.entity.data, targetTableName: o2, pageContext: na.value, parentPageContext: la.value, parentConfigureObj: n2, columnProp: i2 }), function(e4, a3, t3) {
|
|
251
253
|
if (e4) {
|
|
252
254
|
const l3 = I(la.value, e4);
|
|
253
255
|
l3 && l3.apply(l3, [{ pageContext: na.value, parentPageContext: la.value, parentConfigureObj: t3, jumpPageSetting: ta.value, columnProp: a3 }]);
|
|
254
256
|
}
|
|
255
|
-
}(a2, i2, n2), le(la.value,
|
|
257
|
+
}(a2, i2, n2), le(la.value, ua.value, t2, void 0 !== t2 && false === t2 ? "noOperation" : null), la.value = null, ua.value = null, oa.value = null, W.$off(He.value + "close-dialog"), aa.value = false;
|
|
256
258
|
}
|
|
257
259
|
function Ra(e3) {
|
|
258
|
-
|
|
259
|
-
ne({ showClose: true, type: "success", message:
|
|
260
|
+
ue(na.value, e3).then((e4) => {
|
|
261
|
+
ne({ showClose: true, type: "success", message: we("superPageRuntimeMessage.successfulSave") }), fa.value.refreshConditionList();
|
|
260
262
|
});
|
|
261
263
|
}
|
|
262
264
|
function _a(e3) {
|
|
@@ -276,15 +278,16 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
276
278
|
}, getFormFormatData: function() {
|
|
277
279
|
return je.getFormFormatDataUtil(na.value);
|
|
278
280
|
} }), (e3, a2) => {
|
|
281
|
+
var _a2;
|
|
279
282
|
const t2 = i("loading");
|
|
280
|
-
return s((v(), r("div", { class:
|
|
283
|
+
return s((v(), r("div", { class: m(["app-container runtime-page-container", [Re.value]]), style: p((_a2 = c(na)) == null ? void 0 : _a2.pageRuntimeStyle), "element-loading-text": "拼命加载中" }, [ea.value ? (v(), r("div", { ref_key: "thisRef", ref: Oe, key: va.value, class: m(["runtime-page-container-view", Ie.value]), style: p(Me.value) }, [(v(true), r(h, null, C(Fe.value, (e4, a3) => (v(), d(b, { key: e4.uuid, configure: e4, pageContext: c(na) }, null, 8, ["configure", "pageContext"]))), 128)), f(ke, { pageContext: c(na) }, null, 8, ["pageContext"]), Ve.value ? (v(), d(M, { key: 0, configure: ia.value, pageContext: sa.value, onClose: ka, onExport: xa }, null, 8, ["configure", "pageContext"])) : g("", true), y("input", { ref_key: "_selectFile_", ref: $a, type: "file", name: "_selectFile_", style: { display: "none" }, onChange: a2[0] || (a2[0] = (e4) => function() {
|
|
281
284
|
if (Ee.value) {
|
|
282
285
|
if (!$a.value) return;
|
|
283
286
|
if ("" === $a.value.value || null === $a.value.value) return;
|
|
284
287
|
const e5 = $a.value.files[0];
|
|
285
|
-
e5 ? ($a.value.value = null, Q(Ee.value, e5)) : ne({ showClose: true, type: "warning", message:
|
|
288
|
+
e5 ? ($a.value.value = null, Q(Ee.value, e5)) : ne({ showClose: true, type: "warning", message: we("superPageRuntimeMessage.noFileSelected") });
|
|
286
289
|
}
|
|
287
|
-
}()) }, null, 544), We.value || Je.value || Ue.value || Be.value ? (v(),
|
|
290
|
+
}()) }, null, 544), We.value || Je.value || Ue.value || Be.value ? (v(), d(c(se), { key: 1, width: "60%", multiple: Le.value, onClose: Sa }, null, 8, ["multiple"])) : g("", true), ze.value ? (v(), d(A, { key: 2, "task-informitions": Qe.value, onClose: a2[1] || (a2[1] = (e4) => ze.value = false), onResult: Da }, null, 8, ["task-informitions"])) : g("", true), Xe.value ? (v(), d(E, { key: 3, "task-id": Ze.value, "active-tasks": Ge.value, onClose: a2[2] || (a2[2] = (e4) => Xe.value = false), onResult: Na }, null, 8, ["task-id", "active-tasks"])) : g("", true), Ye.value ? (v(), d(V, { key: 4, "task-id": Ze.value, "transactor-info": Ke.value, onClose: a2[3] || (a2[3] = (e4) => Ye.value = false), onResult: wa }, null, 8, ["task-id", "transactor-info"])) : g("", true), aa.value ? (v(), d(ve, { key: 5, parentPageContext: la.value, parentPageEventParams: oa.value, jumpPageSetting: ta.value, onClose: a2[4] || (a2[4] = (e4) => Ta()) }, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : g("", true), ga.value ? (v(), d(be, { key: 6, ref_key: "chartCondtionRef", ref: fa, pageContext: c(na), onClose: a2[5] || (a2[5] = (e4) => ga.value = false), onSave: Ra, onConfirm: _a }, null, 8, ["pageContext"])) : g("", true), f(xe, { ref_key: "eventCallComponentRef", ref: ya }, null, 512)], 6)) : g("", true)], 6)), [[t2, Te.value]]);
|
|
288
291
|
};
|
|
289
292
|
} });
|
|
290
293
|
export {
|
package/dist/es/i18n/langs/cn.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseInputRemark: "请输入备注", remark: "备注", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件", popMsg: "弹框参数缺少customSystem参数", noChartSetting: "未查询到图表定义", xxxNotEmpty: "{label}不能为空", successfulStart: "起草成功", successfulInitiateExtract: "发起成功", successfulCancelExtract: "取消成功", taskMeaage1: "当前任务为子流程,不能进行减少办理人操作", taskMeaage2: "当前流程已结束或已取消或当前任务为并发环节,不能进行减少办理人操作", taskMeaage3: "当前任务只有一个办理人,不能再减少", taskMeaage4: "流程已结束或有并发环节,无法跳转环节", taskMeaage5: "以下任务请使用修改办理人", delTransactor: "减少办理人", handledBy: "办理人为", pleaseSelectRemoverTransactors: "请选择要减少的办理人", copySuccess: "复制成功",
|
|
1
|
+
const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseInputRemark: "请输入备注", remark: "备注", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件", popMsg: "弹框参数缺少customSystem参数", noChartSetting: "未查询到图表定义", xxxNotEmpty: "{label}不能为空", successfulStart: "起草成功", successfulInitiateExtract: "发起成功", successfulCancelExtract: "取消成功", taskMeaage1: "当前任务为子流程,不能进行减少办理人操作", taskMeaage2: "当前流程已结束或已取消或当前任务为并发环节,不能进行减少办理人操作", taskMeaage3: "当前任务只有一个办理人,不能再减少", taskMeaage4: "流程已结束或有并发环节,无法跳转环节", taskMeaage5: "以下任务请使用修改办理人", delTransactor: "减少办理人", handledBy: "办理人为", pleaseSelectRemoverTransactors: "请选择要减少的办理人", copySuccess: "复制成功", transactorNames: "办理人姓名", doingExtractFormData: "抽单办理中", nodeTrustorName: "委托人:", logTip: "日志提示", hasReadTip: "已读", success: "成功", fail: "失败", partSucess: "部分成功", doing: "进行中", asyncExportType: "异步导出", asyncImportType: "异步导入", startExecute: "开始执行", endExecute: "执行结束" }, chartMessage: { saveAsImage: "保存为图片", restore: "还原", dataView: "数据视图", zoomIn: "放大", zoomOut: "缩小", magicType: "动态类型切换", brush: "刷选", close: "关闭", refresh: "刷新" } };
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|