@fecp/designer 5.5.121 → 5.6.1
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/assets/logo.png.mjs +1 -1
- package/es/designer/src/components/EventConfigButton.vue.mjs +2 -2
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/contract.vue.mjs +15 -1
- package/es/designer/src/packages/form/property/pageFooterBtn.vue.mjs +2 -2
- package/es/designer/src/packages/form/property/pageHeaderBtn.vue.mjs +2 -2
- package/es/designer/src/packages/form/property/widgets.vue.mjs +6 -6
- package/es/designer/src/packages/table/property/customBtn.vue.mjs +2 -2
- package/es/designer/src/packages/table/property/optBtn.vue.mjs +2 -2
- package/es/designer/src/packages/table/property/widgets.vue.mjs +2 -2
- package/es/designer.css +364 -363
- package/es/logo.ico +0 -0
- package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
- package/es/packages/mobile/src/components/custom/appDetail/AppDetail.vue.mjs +4 -3
- package/es/packages/mobile/src/components/custom/appTimeLine/AppTimeLine.vue.mjs +8 -4
- package/es/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.mjs +8 -6
- package/es/packages/mobile/src/components/custom/approvalList/ApprovalCard.vue.mjs +3 -3
- package/es/packages/mobile/src/components/custom/approvalList/ApprovalList.vue.mjs +32 -22
- package/es/packages/mobile/src/components/custom/document/Document.vue.mjs +2 -2
- package/es/packages/mobile/src/components/custom/userSelect/UserSelect.vue.mjs +2 -2
- package/es/packages/mobile/src/components/dataDisplay/cardList/CardList.vue.mjs +4 -3
- package/es/packages/mobile/src/components/dataDisplay/dataStat/DataStat.vue.mjs +109 -47
- package/es/packages/mobile/src/components/form/search/Search.vue.mjs +1 -1
- package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +7 -3
- package/es/packages/mobile/src/components/navigation/tabs/Tabs.vue.mjs +4 -2
- package/es/packages/mobile/src/page.vue.mjs +3 -3
- package/es/packages/mobile/src/utils/datasource.mjs +1 -1
- package/es/packages/mobile/src/utils/optionUtil.mjs +1 -1
- package/es/packages/vue/src/components/bus/contract/Contract.vue.mjs +12 -1
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +5 -2
- package/es/packages/vue/src/components/forms/roleSelect/RoleSelect.vue.mjs +2 -2
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +20 -26
- package/es/packages/vue/src/components/forms/userSelect/UserSelect.vue.mjs +2 -2
- package/es/packages/vue/src/components/table/Table.vue.mjs +5 -2
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +7 -9
- package/es/packages/vue/src/directive/auth.mjs +2 -1
- package/es/packages/vue/src/utils/parseRouteParams.mjs +2 -2
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/assets/logo.png.js +1 -1
- package/lib/designer/src/components/EventConfigButton.vue.js +2 -2
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/contract.vue.js +15 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +364 -363
- package/lib/logo.ico +0 -0
- package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
- package/lib/packages/mobile/src/components/custom/appDetail/AppDetail.vue.js +4 -3
- package/lib/packages/mobile/src/components/custom/appTimeLine/AppTimeLine.vue.js +8 -4
- package/lib/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.js +8 -6
- package/lib/packages/mobile/src/components/custom/approvalList/ApprovalCard.vue.js +3 -3
- package/lib/packages/mobile/src/components/custom/approvalList/ApprovalList.vue.js +32 -22
- package/lib/packages/mobile/src/components/custom/document/Document.vue.js +2 -2
- package/lib/packages/mobile/src/components/custom/userSelect/UserSelect.vue.js +2 -2
- package/lib/packages/mobile/src/components/dataDisplay/cardList/CardList.vue.js +4 -3
- package/lib/packages/mobile/src/components/dataDisplay/dataStat/DataStat.vue.js +109 -47
- package/lib/packages/mobile/src/components/form/search/Search.vue.js +1 -1
- package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +7 -3
- package/lib/packages/mobile/src/components/navigation/tabs/Tabs.vue.js +4 -2
- package/lib/packages/mobile/src/page.vue.js +3 -3
- package/lib/packages/mobile/src/utils/datasource.js +1 -1
- package/lib/packages/mobile/src/utils/optionUtil.js +1 -1
- package/lib/packages/vue/src/components/bus/contract/Contract.vue.js +12 -1
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +5 -2
- package/lib/packages/vue/src/components/forms/roleSelect/RoleSelect.vue.js +2 -2
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +20 -26
- package/lib/packages/vue/src/components/forms/userSelect/UserSelect.vue.js +2 -2
- package/lib/packages/vue/src/components/table/Table.vue.js +5 -2
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +7 -9
- package/lib/packages/vue/src/directive/auth.js +2 -1
- package/lib/packages/vue/src/utils/parseRouteParams.js +2 -2
- package/package.json +1 -1
|
@@ -31,10 +31,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
31
31
|
const ctx = getInstance.getCurrentVueInstance();
|
|
32
32
|
Vue.ref("");
|
|
33
33
|
const formData = Vue.inject("formData");
|
|
34
|
+
const getFormData = Vue.inject("getFormData");
|
|
34
35
|
Vue.inject("rowHeight");
|
|
35
36
|
Vue.inject("gridLayout");
|
|
36
37
|
Vue.inject("gridLayoutFieldsData");
|
|
37
38
|
const setFormItemHeight = Vue.inject("setFormItemHeight");
|
|
39
|
+
const handleEvent = Vue.inject("handleEvent");
|
|
38
40
|
const fieldsData = props.localConfig.fieldsData.map((item) => {
|
|
39
41
|
return item.component;
|
|
40
42
|
});
|
|
@@ -76,6 +78,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
76
78
|
visibleData
|
|
77
79
|
});
|
|
78
80
|
}
|
|
81
|
+
function savaFuncCallback() {
|
|
82
|
+
var _a;
|
|
83
|
+
handleEvent.value(
|
|
84
|
+
getFormData(),
|
|
85
|
+
config,
|
|
86
|
+
(_a = config.callbackEventConfig) == null ? void 0 : _a.find((item) => item.name == "Click")
|
|
87
|
+
);
|
|
88
|
+
}
|
|
79
89
|
return (_ctx, _cache) => {
|
|
80
90
|
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
81
91
|
(Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(Vue.unref(currentComponent)), {
|
|
@@ -86,7 +96,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
86
96
|
modeNo: __props.config.busSubject,
|
|
87
97
|
genType: __props.config.genType,
|
|
88
98
|
parmList: Vue.unref(parsedParams),
|
|
89
|
-
onLoaded: loaded
|
|
99
|
+
onLoaded: loaded,
|
|
100
|
+
savaData: savaFuncCallback
|
|
90
101
|
}, null, 40, ["id", "mode", "busNo", "contNo", "modeNo", "genType", "parmList"]))
|
|
91
102
|
]);
|
|
92
103
|
};
|
|
@@ -49,6 +49,7 @@ const RightAnchorNav = require("./RightAnchorNav.vue.js");
|
|
|
49
49
|
const parseFilterConfig = require("../../../utils/parseFilterConfig.js");
|
|
50
50
|
const moment = require("../../../../../../node_modules/moment/dist/moment.js");
|
|
51
51
|
const eventBus = require("../../../utils/eventBus.js");
|
|
52
|
+
const vuex_esmBundler = require("../../../../../../node_modules/vuex/dist/vuex.esm-bundler.js");
|
|
52
53
|
;/* empty css */
|
|
53
54
|
const index = require("../../../../../../node_modules/element-plus/es/hooks/use-locale/index.js");
|
|
54
55
|
const index$1 = require("../../../../../../node_modules/element-plus/es/components/message/index.js");
|
|
@@ -114,6 +115,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
114
115
|
"layoutUpdated"
|
|
115
116
|
],
|
|
116
117
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
118
|
+
const store = vuex_esmBundler.useStore();
|
|
119
|
+
window.$user = store.getters.user;
|
|
117
120
|
const props = __props;
|
|
118
121
|
index.useLocale();
|
|
119
122
|
const emit = __emit;
|
|
@@ -322,7 +325,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
322
325
|
try {
|
|
323
326
|
const keyName = Array.from(dictionaryKeys).join(",");
|
|
324
327
|
const response = await ctx.$http.postForm(
|
|
325
|
-
"/base
|
|
328
|
+
"/" + window.$servers.base + "/parm/sysParmDic/getDicListByKey",
|
|
326
329
|
{
|
|
327
330
|
keyName
|
|
328
331
|
}
|
|
@@ -1289,5 +1292,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1289
1292
|
};
|
|
1290
1293
|
}
|
|
1291
1294
|
});
|
|
1292
|
-
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1295
|
+
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-3ee0473d"]]);
|
|
1293
1296
|
exports.default = _Form;
|
|
@@ -70,7 +70,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
70
70
|
customTableConfig.dataSources.push({
|
|
71
71
|
id: "roleSelectDataSourceId",
|
|
72
72
|
name: "角色选择数据源",
|
|
73
|
-
serverName:
|
|
73
|
+
serverName: window.$servers.base,
|
|
74
74
|
url: "/sysRole/findByPageV5",
|
|
75
75
|
method: "post",
|
|
76
76
|
contentType: "json",
|
|
@@ -126,5 +126,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
|
-
const _RoleSelect = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
129
|
+
const _RoleSelect = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-aacdc4d9"]]);
|
|
130
130
|
exports.default = _RoleSelect;
|
|
@@ -155,19 +155,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
155
155
|
}, Vue.createSlots({
|
|
156
156
|
default: Vue.withCtx(() => [
|
|
157
157
|
__props.formMode != "query" ? (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, { key: 0 }, Vue.renderList(Vue.unref(rightButtons), (btn) => {
|
|
158
|
-
return Vue.openBlock(), Vue.
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
_: 2
|
|
169
|
-
}, 1032, ["onClick"])) : Vue.createCommentVNode("", true)
|
|
170
|
-
], 64);
|
|
158
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_button, {
|
|
159
|
+
link: "",
|
|
160
|
+
type: "primary",
|
|
161
|
+
onClick: ($event) => handleClick(btn, $event)
|
|
162
|
+
}, {
|
|
163
|
+
default: Vue.withCtx(() => [
|
|
164
|
+
Vue.createTextVNode(Vue.toDisplayString(btn.label), 1)
|
|
165
|
+
]),
|
|
166
|
+
_: 2
|
|
167
|
+
}, 1032, ["onClick"]);
|
|
171
168
|
}), 256)) : Vue.createCommentVNode("", true)
|
|
172
169
|
]),
|
|
173
170
|
_: 2
|
|
@@ -176,19 +173,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
176
173
|
name: "left",
|
|
177
174
|
fn: Vue.withCtx(() => [
|
|
178
175
|
__props.formMode != "query" ? (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, { key: 0 }, Vue.renderList(Vue.unref(leftButtons), (btn) => {
|
|
179
|
-
return Vue.openBlock(), Vue.
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
_: 2
|
|
190
|
-
}, 1032, ["onClick"])) : Vue.createCommentVNode("", true)
|
|
191
|
-
], 64);
|
|
176
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_button, {
|
|
177
|
+
link: "",
|
|
178
|
+
type: "primary",
|
|
179
|
+
onClick: ($event) => handleClick(btn, $event)
|
|
180
|
+
}, {
|
|
181
|
+
default: Vue.withCtx(() => [
|
|
182
|
+
Vue.createTextVNode(Vue.toDisplayString(btn.label), 1)
|
|
183
|
+
]),
|
|
184
|
+
_: 2
|
|
185
|
+
}, 1032, ["onClick"]);
|
|
192
186
|
}), 256)) : Vue.createCommentVNode("", true)
|
|
193
187
|
]),
|
|
194
188
|
key: "0"
|
|
@@ -70,7 +70,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
70
70
|
customTableConfig.dataSources.push({
|
|
71
71
|
id: "userSelectDataSourceId",
|
|
72
72
|
name: "用户选择数据源",
|
|
73
|
-
serverName:
|
|
73
|
+
serverName: window.$servers.base,
|
|
74
74
|
url: "/user/sysUser/findByPageV5",
|
|
75
75
|
method: "post",
|
|
76
76
|
contentType: "json",
|
|
@@ -126,5 +126,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
|
-
const _UserSelect = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
129
|
+
const _UserSelect = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-06dfa7f6"]]);
|
|
130
130
|
exports.default = _UserSelect;
|
|
@@ -44,6 +44,7 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
44
44
|
const getJsonAsyncUtil = require("../../utils/getJsonAsyncUtil.js");
|
|
45
45
|
const eventBus = require("../../utils/eventBus.js");
|
|
46
46
|
const decimal = require("../../../../../node_modules/decimal.js/decimal.js");
|
|
47
|
+
const vuex_esmBundler = require("../../../../../node_modules/vuex/dist/vuex.esm-bundler.js");
|
|
47
48
|
;/* empty css */
|
|
48
49
|
const index = require("../../../../../node_modules/element-plus/es/components/container/index.js");
|
|
49
50
|
const index$1 = require("../../../../../node_modules/element-plus/es/components/message/index.js");
|
|
@@ -141,6 +142,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
141
142
|
"height-loaded"
|
|
142
143
|
],
|
|
143
144
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
145
|
+
const store = vuex_esmBundler.useStore();
|
|
146
|
+
window.$user = store.getters.user;
|
|
144
147
|
const props = __props;
|
|
145
148
|
const emit = __emit;
|
|
146
149
|
const fecTableContainerRef = Vue.ref(null);
|
|
@@ -437,7 +440,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
437
440
|
try {
|
|
438
441
|
const keyName = Array.from(dictionaryKeys).join(",");
|
|
439
442
|
const response = await ctx.$http.postForm(
|
|
440
|
-
"/base
|
|
443
|
+
"/" + window.$servers.base + "/parm/sysParmDic/getDicListByKey",
|
|
441
444
|
{
|
|
442
445
|
keyName
|
|
443
446
|
}
|
|
@@ -1111,5 +1114,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1111
1114
|
};
|
|
1112
1115
|
}
|
|
1113
1116
|
});
|
|
1114
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1117
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-7f4898b0"]]);
|
|
1115
1118
|
exports.default = _Table;
|
|
@@ -40,7 +40,7 @@ const _hoisted_2 = {
|
|
|
40
40
|
key: 0,
|
|
41
41
|
class: "prefix-content"
|
|
42
42
|
};
|
|
43
|
-
const _hoisted_3 =
|
|
43
|
+
const _hoisted_3 = { key: 2 };
|
|
44
44
|
const _hoisted_4 = {
|
|
45
45
|
key: 3,
|
|
46
46
|
class: "suffix-content"
|
|
@@ -157,11 +157,12 @@ const _sfc_main = {
|
|
|
157
157
|
});
|
|
158
158
|
};
|
|
159
159
|
function hasPerm(permission) {
|
|
160
|
+
var _a;
|
|
160
161
|
if (permission === true || permission === void 0 || permission === "") {
|
|
161
162
|
return true;
|
|
162
163
|
}
|
|
163
164
|
let btnFlag = false;
|
|
164
|
-
const myBtns = window.$store.getters.funcAuthList;
|
|
165
|
+
const myBtns = ((_a = window.$store) == null ? void 0 : _a.getters.funcAuthList) || [];
|
|
165
166
|
for (let i in myBtns) {
|
|
166
167
|
if (myBtns[i] == permission) {
|
|
167
168
|
btnFlag = true;
|
|
@@ -274,7 +275,7 @@ const _sfc_main = {
|
|
|
274
275
|
resizable: false,
|
|
275
276
|
"show-header-overflow": "",
|
|
276
277
|
"show-footer-overflow": "",
|
|
277
|
-
"show-overflow": false,
|
|
278
|
+
"show-overflow": field.isOverflowWrap ? false : "tooltip",
|
|
278
279
|
"header-class-name": field.sortRule == "server" ? "serverSort" : ""
|
|
279
280
|
}, {
|
|
280
281
|
default: Vue.withCtx(({ row }) => [
|
|
@@ -295,10 +296,7 @@ const _sfc_main = {
|
|
|
295
296
|
Vue.createTextVNode(Vue.toDisplayString(__props.formatCellValue(row, field)), 1)
|
|
296
297
|
]),
|
|
297
298
|
_: 2
|
|
298
|
-
}, 1032, ["title", "onClick"])) : (Vue.openBlock(), Vue.createElementBlock("span",
|
|
299
|
-
key: 2,
|
|
300
|
-
title: __props.formatCellValue(row, field)
|
|
301
|
-
}, Vue.toDisplayString(__props.formatCellValue(row, field)), 9, _hoisted_3)),
|
|
299
|
+
}, 1032, ["title", "onClick"])) : (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_3, Vue.toDisplayString(__props.formatCellValue(row, field)), 1)),
|
|
302
300
|
field.suffix ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_4, Vue.toDisplayString(field.suffix), 1)) : Vue.createCommentVNode("", true),
|
|
303
301
|
field.canCopy ? (Vue.openBlock(), Vue.createBlock(_component_el_icon, {
|
|
304
302
|
key: 4,
|
|
@@ -313,7 +311,7 @@ const _sfc_main = {
|
|
|
313
311
|
], true)
|
|
314
312
|
]),
|
|
315
313
|
_: 2
|
|
316
|
-
}, 1032, ["field", "title", "width", "min-width", "fixed", "align", "header-align", "sortable", "header-class-name"]);
|
|
314
|
+
}, 1032, ["field", "title", "width", "min-width", "fixed", "align", "header-align", "sortable", "show-overflow", "header-class-name"]);
|
|
317
315
|
}), 128)),
|
|
318
316
|
!__props.readonly && shouldShowOptColumn.value ? (Vue.openBlock(), Vue.createBlock(Vue.unref(vxeTable.VxeColumn), {
|
|
319
317
|
key: 3,
|
|
@@ -345,5 +343,5 @@ const _sfc_main = {
|
|
|
345
343
|
};
|
|
346
344
|
}
|
|
347
345
|
};
|
|
348
|
-
const TableColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
346
|
+
const TableColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-fac941fe"]]);
|
|
349
347
|
exports.default = TableColumn;
|
|
@@ -9,11 +9,12 @@ const auth = {
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
hasPerm(permission) {
|
|
12
|
+
var _a;
|
|
12
13
|
if (permission === true || permission === void 0 || permission === "") {
|
|
13
14
|
return true;
|
|
14
15
|
}
|
|
15
16
|
let btnFlag = false;
|
|
16
|
-
const myBtns = window.$store.getters.funcAuthList;
|
|
17
|
+
const myBtns = ((_a = window.$store) == null ? void 0 : _a.getters.funcAuthList) || [];
|
|
17
18
|
for (let i in myBtns) {
|
|
18
19
|
if (myBtns[i] === permission) {
|
|
19
20
|
btnFlag = true;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const common = require("./common.js");
|
|
4
4
|
function parseSingleParamValue(value, data, fields) {
|
|
5
|
+
var _a;
|
|
5
6
|
if (typeof value !== "object" || value === null) {
|
|
6
7
|
return value;
|
|
7
8
|
}
|
|
@@ -16,8 +17,7 @@ function parseSingleParamValue(value, data, fields) {
|
|
|
16
17
|
}
|
|
17
18
|
return null;
|
|
18
19
|
} else if (type === "userInfo") {
|
|
19
|
-
|
|
20
|
-
return {};
|
|
20
|
+
return ((_a = window.$user) == null ? void 0 : _a[value.value]) || null;
|
|
21
21
|
} else if (type === "urlParam") {
|
|
22
22
|
const urlParams = new URLSearchParams(window.location.search);
|
|
23
23
|
return urlParams.get(value.value) || null;
|