@fecp/designer 5.5.121 → 5.6.2
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 +408 -393
- 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 +11 -7
- 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 +10 -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/idea/vue3sfc.mjs +3 -1
- package/es/packages/mobile/src/utils/optionUtil.mjs +1 -1
- package/es/packages/vue/src/components/bus/approvalHistory/timeLine.vue.mjs +1 -1
- package/es/packages/vue/src/components/bus/contract/Contract.vue.mjs +12 -1
- package/es/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.mjs +2 -2
- 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 +408 -393
- 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 +10 -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 +10 -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/idea/vue3sfc.js +3 -1
- package/lib/packages/mobile/src/utils/optionUtil.js +1 -1
- package/lib/packages/vue/src/components/bus/approvalHistory/timeLine.vue.js +1 -1
- package/lib/packages/vue/src/components/bus/contract/Contract.vue.js +12 -1
- package/lib/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.js +2 -2
- 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
|
@@ -251,7 +251,7 @@ const _sfc_main = {
|
|
|
251
251
|
try {
|
|
252
252
|
const keyName = Array.from(dictionaryKeys).join(",");
|
|
253
253
|
const response = await ctx.$http.postFormMobile(
|
|
254
|
-
"/base
|
|
254
|
+
"/" + window.$servers.base + "/parm/sysParmDic/getDicListByKey",
|
|
255
255
|
{
|
|
256
256
|
keyName
|
|
257
257
|
},
|
|
@@ -745,7 +745,7 @@ const _sfc_main = {
|
|
|
745
745
|
createVNode(_component_FecMobileHomeHeader, normalizeProps(guardReactiveProps(__props.parentPage.layoutData.homeHeader)), null, 16),
|
|
746
746
|
createVNode(_component_FecMobileMenuGrid, normalizeProps(guardReactiveProps(__props.parentPage.layoutData.menuGridProps)), null, 16),
|
|
747
747
|
createVNode(_component_FecMobileHomeTools, normalizeProps(guardReactiveProps(__props.parentPage.layoutData.homeTools)), null, 16),
|
|
748
|
-
createVNode(_component_FecMobileDataStat)
|
|
748
|
+
createVNode(_component_FecMobileDataStat, normalizeProps(guardReactiveProps(__props.parentPage.layoutData.dataStatProps)), null, 16)
|
|
749
749
|
], 4)) : __props.parentPage.type == "approval" ? (openBlock(), createBlock(_component_FecMobileAppDetail, mergeProps({ key: 1 }, __props.parentPage.layoutData.appDetailProps, {
|
|
750
750
|
actionBar: __props.parentPage.layoutData.actionBar,
|
|
751
751
|
params: __props.params
|
|
@@ -799,7 +799,7 @@ const _sfc_main = {
|
|
|
799
799
|
};
|
|
800
800
|
}
|
|
801
801
|
};
|
|
802
|
-
const MobilePage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
802
|
+
const MobilePage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-45126cab"]]);
|
|
803
803
|
export {
|
|
804
804
|
MobilePage as default
|
|
805
805
|
};
|
|
@@ -99,7 +99,7 @@ class DataSourceManager {
|
|
|
99
99
|
const currentDs = this.getCurrentDataSource();
|
|
100
100
|
if (!currentDs) return {};
|
|
101
101
|
const config = {
|
|
102
|
-
url: `/${currentDs.serverName}${currentDs.url}`,
|
|
102
|
+
url: `/${window.$servers[currentDs.serverName]}${currentDs.url}`,
|
|
103
103
|
method: currentDs.method
|
|
104
104
|
};
|
|
105
105
|
if (currentDs.contentType === "formData") {
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { loadModule as i } from "../../../../../node_modules/vue3-sfc-loader/dist/vue3-sfc-loader.esm.mjs";
|
|
2
2
|
import * as Vue from "vue";
|
|
3
3
|
import * as index from "../../../../../node_modules/vant/es/index.mjs";
|
|
4
|
+
import emitter from "../eventBus.mjs";
|
|
4
5
|
const vantExports = { ...index };
|
|
5
6
|
const options = {
|
|
6
7
|
moduleCache: {
|
|
7
8
|
vue: Vue,
|
|
8
|
-
vant: vantExports
|
|
9
|
+
vant: vantExports,
|
|
10
|
+
eventBus: emitter
|
|
9
11
|
},
|
|
10
12
|
getFile: (url) => {
|
|
11
13
|
return fetch(url).then((response) => {
|
|
@@ -42,7 +42,7 @@ const _hoisted_11 = {
|
|
|
42
42
|
class: "appContent"
|
|
43
43
|
};
|
|
44
44
|
const _hoisted_12 = { class: "openTask sign" };
|
|
45
|
-
const _hoisted_13 = { style: { "font-weight": "bold" } };
|
|
45
|
+
const _hoisted_13 = { style: { "font-weight": "bold", "display": "flex", "flex": "1", "width": "0", "margin-right": "12px" } };
|
|
46
46
|
const _hoisted_14 = { class: "appAssignee" };
|
|
47
47
|
const _hoisted_15 = { key: 0 };
|
|
48
48
|
const _hoisted_16 = {
|
|
@@ -29,10 +29,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
29
29
|
const ctx = getCurrentVueInstance();
|
|
30
30
|
ref("");
|
|
31
31
|
const formData = inject("formData");
|
|
32
|
+
const getFormData = inject("getFormData");
|
|
32
33
|
inject("rowHeight");
|
|
33
34
|
inject("gridLayout");
|
|
34
35
|
inject("gridLayoutFieldsData");
|
|
35
36
|
const setFormItemHeight = inject("setFormItemHeight");
|
|
37
|
+
const handleEvent = inject("handleEvent");
|
|
36
38
|
const fieldsData = props.localConfig.fieldsData.map((item) => {
|
|
37
39
|
return item.component;
|
|
38
40
|
});
|
|
@@ -74,6 +76,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
74
76
|
visibleData
|
|
75
77
|
});
|
|
76
78
|
}
|
|
79
|
+
function savaFuncCallback() {
|
|
80
|
+
var _a;
|
|
81
|
+
handleEvent.value(
|
|
82
|
+
getFormData(),
|
|
83
|
+
config,
|
|
84
|
+
(_a = config.callbackEventConfig) == null ? void 0 : _a.find((item) => item.name == "Click")
|
|
85
|
+
);
|
|
86
|
+
}
|
|
77
87
|
return (_ctx, _cache) => {
|
|
78
88
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
79
89
|
(openBlock(), createBlock(resolveDynamicComponent(unref(currentComponent)), {
|
|
@@ -84,7 +94,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
84
94
|
modeNo: __props.config.busSubject,
|
|
85
95
|
genType: __props.config.genType,
|
|
86
96
|
parmList: unref(parsedParams),
|
|
87
|
-
onLoaded: loaded
|
|
97
|
+
onLoaded: loaded,
|
|
98
|
+
savaData: savaFuncCallback
|
|
88
99
|
}, null, 40, ["id", "mode", "busNo", "contNo", "modeNo", "genType", "parmList"]))
|
|
89
100
|
]);
|
|
90
101
|
};
|
|
@@ -36,7 +36,7 @@ const _hoisted_12 = {
|
|
|
36
36
|
class: "appContent"
|
|
37
37
|
};
|
|
38
38
|
const _hoisted_13 = { class: "openTask sign" };
|
|
39
|
-
const _hoisted_14 = { style: { "font-weight": "bold" } };
|
|
39
|
+
const _hoisted_14 = { style: { "font-weight": "bold", "display": "flex", "flex": "1", "width": "0", "margin-right": "12px" } };
|
|
40
40
|
const _hoisted_15 = { class: "appAssignee" };
|
|
41
41
|
const _hoisted_16 = { key: 0 };
|
|
42
42
|
const _hoisted_17 = {
|
|
@@ -235,7 +235,7 @@ const _sfc_main = {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
|
-
const timeline = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
238
|
+
const timeline = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c69109fb"]]);
|
|
239
239
|
export {
|
|
240
240
|
timeline as default
|
|
241
241
|
};
|
|
@@ -47,6 +47,7 @@ import RightAnchorNav from "./RightAnchorNav.vue.mjs";
|
|
|
47
47
|
import { checkFilterMatch, checkFieldInFilterConfig, checkFieldInResultConfig } from "../../../utils/parseFilterConfig.mjs";
|
|
48
48
|
import hooks from "../../../../../../node_modules/moment/dist/moment.mjs";
|
|
49
49
|
import emitter from "../../../utils/eventBus.mjs";
|
|
50
|
+
import { useStore } from "../../../../../../node_modules/vuex/dist/vuex.esm-bundler.mjs";
|
|
50
51
|
/* empty css */
|
|
51
52
|
import { useLocale } from "../../../../../../node_modules/element-plus/es/hooks/use-locale/index.mjs";
|
|
52
53
|
import { ElMessage } from "../../../../../../node_modules/element-plus/es/components/message/index.mjs";
|
|
@@ -112,6 +113,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
112
113
|
"layoutUpdated"
|
|
113
114
|
],
|
|
114
115
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
116
|
+
const store = useStore();
|
|
117
|
+
window.$user = store.getters.user;
|
|
115
118
|
const props = __props;
|
|
116
119
|
useLocale();
|
|
117
120
|
const emit = __emit;
|
|
@@ -320,7 +323,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
320
323
|
try {
|
|
321
324
|
const keyName = Array.from(dictionaryKeys).join(",");
|
|
322
325
|
const response = await ctx.$http.postForm(
|
|
323
|
-
"/base
|
|
326
|
+
"/" + window.$servers.base + "/parm/sysParmDic/getDicListByKey",
|
|
324
327
|
{
|
|
325
328
|
keyName
|
|
326
329
|
}
|
|
@@ -1287,7 +1290,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1287
1290
|
};
|
|
1288
1291
|
}
|
|
1289
1292
|
});
|
|
1290
|
-
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1293
|
+
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3ee0473d"]]);
|
|
1291
1294
|
export {
|
|
1292
1295
|
_Form as default
|
|
1293
1296
|
};
|
|
@@ -68,7 +68,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
68
68
|
customTableConfig.dataSources.push({
|
|
69
69
|
id: "roleSelectDataSourceId",
|
|
70
70
|
name: "角色选择数据源",
|
|
71
|
-
serverName:
|
|
71
|
+
serverName: window.$servers.base,
|
|
72
72
|
url: "/sysRole/findByPageV5",
|
|
73
73
|
method: "post",
|
|
74
74
|
contentType: "json",
|
|
@@ -124,7 +124,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
|
-
const _RoleSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
127
|
+
const _RoleSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-aacdc4d9"]]);
|
|
128
128
|
export {
|
|
129
129
|
_RoleSelect as default
|
|
130
130
|
};
|
|
@@ -153,19 +153,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
153
153
|
}, createSlots({
|
|
154
154
|
default: withCtx(() => [
|
|
155
155
|
__props.formMode != "query" ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(rightButtons), (btn) => {
|
|
156
|
-
return openBlock(),
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
_: 2
|
|
167
|
-
}, 1032, ["onClick"])) : createCommentVNode("", true)
|
|
168
|
-
], 64);
|
|
156
|
+
return openBlock(), createBlock(_component_el_button, {
|
|
157
|
+
link: "",
|
|
158
|
+
type: "primary",
|
|
159
|
+
onClick: ($event) => handleClick(btn, $event)
|
|
160
|
+
}, {
|
|
161
|
+
default: withCtx(() => [
|
|
162
|
+
createTextVNode(toDisplayString(btn.label), 1)
|
|
163
|
+
]),
|
|
164
|
+
_: 2
|
|
165
|
+
}, 1032, ["onClick"]);
|
|
169
166
|
}), 256)) : createCommentVNode("", true)
|
|
170
167
|
]),
|
|
171
168
|
_: 2
|
|
@@ -174,19 +171,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
174
171
|
name: "left",
|
|
175
172
|
fn: withCtx(() => [
|
|
176
173
|
__props.formMode != "query" ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(leftButtons), (btn) => {
|
|
177
|
-
return openBlock(),
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
_: 2
|
|
188
|
-
}, 1032, ["onClick"])) : createCommentVNode("", true)
|
|
189
|
-
], 64);
|
|
174
|
+
return openBlock(), createBlock(_component_el_button, {
|
|
175
|
+
link: "",
|
|
176
|
+
type: "primary",
|
|
177
|
+
onClick: ($event) => handleClick(btn, $event)
|
|
178
|
+
}, {
|
|
179
|
+
default: withCtx(() => [
|
|
180
|
+
createTextVNode(toDisplayString(btn.label), 1)
|
|
181
|
+
]),
|
|
182
|
+
_: 2
|
|
183
|
+
}, 1032, ["onClick"]);
|
|
190
184
|
}), 256)) : createCommentVNode("", true)
|
|
191
185
|
]),
|
|
192
186
|
key: "0"
|
|
@@ -68,7 +68,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
68
68
|
customTableConfig.dataSources.push({
|
|
69
69
|
id: "userSelectDataSourceId",
|
|
70
70
|
name: "用户选择数据源",
|
|
71
|
-
serverName:
|
|
71
|
+
serverName: window.$servers.base,
|
|
72
72
|
url: "/user/sysUser/findByPageV5",
|
|
73
73
|
method: "post",
|
|
74
74
|
contentType: "json",
|
|
@@ -124,7 +124,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
|
-
const _UserSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
127
|
+
const _UserSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-06dfa7f6"]]);
|
|
128
128
|
export {
|
|
129
129
|
_UserSelect as default
|
|
130
130
|
};
|
|
@@ -42,6 +42,7 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
42
42
|
import getJsonAsyncUtil from "../../utils/getJsonAsyncUtil.mjs";
|
|
43
43
|
import emitter from "../../utils/eventBus.mjs";
|
|
44
44
|
import { Decimal } from "../../../../../node_modules/decimal.js/decimal.mjs";
|
|
45
|
+
import { useStore } from "../../../../../node_modules/vuex/dist/vuex.esm-bundler.mjs";
|
|
45
46
|
/* empty css */
|
|
46
47
|
import { ElContainer } from "../../../../../node_modules/element-plus/es/components/container/index.mjs";
|
|
47
48
|
import { ElMessage } from "../../../../../node_modules/element-plus/es/components/message/index.mjs";
|
|
@@ -139,6 +140,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
139
140
|
"height-loaded"
|
|
140
141
|
],
|
|
141
142
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
143
|
+
const store = useStore();
|
|
144
|
+
window.$user = store.getters.user;
|
|
142
145
|
const props = __props;
|
|
143
146
|
const emit = __emit;
|
|
144
147
|
const fecTableContainerRef = ref(null);
|
|
@@ -435,7 +438,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
435
438
|
try {
|
|
436
439
|
const keyName = Array.from(dictionaryKeys).join(",");
|
|
437
440
|
const response = await ctx.$http.postForm(
|
|
438
|
-
"/base
|
|
441
|
+
"/" + window.$servers.base + "/parm/sysParmDic/getDicListByKey",
|
|
439
442
|
{
|
|
440
443
|
keyName
|
|
441
444
|
}
|
|
@@ -1109,7 +1112,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1109
1112
|
};
|
|
1110
1113
|
}
|
|
1111
1114
|
});
|
|
1112
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1115
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7f4898b0"]]);
|
|
1113
1116
|
export {
|
|
1114
1117
|
_Table as default
|
|
1115
1118
|
};
|
|
@@ -38,7 +38,7 @@ const _hoisted_2 = {
|
|
|
38
38
|
key: 0,
|
|
39
39
|
class: "prefix-content"
|
|
40
40
|
};
|
|
41
|
-
const _hoisted_3 =
|
|
41
|
+
const _hoisted_3 = { key: 2 };
|
|
42
42
|
const _hoisted_4 = {
|
|
43
43
|
key: 3,
|
|
44
44
|
class: "suffix-content"
|
|
@@ -155,11 +155,12 @@ const _sfc_main = {
|
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
157
|
function hasPerm(permission) {
|
|
158
|
+
var _a;
|
|
158
159
|
if (permission === true || permission === void 0 || permission === "") {
|
|
159
160
|
return true;
|
|
160
161
|
}
|
|
161
162
|
let btnFlag = false;
|
|
162
|
-
const myBtns = window.$store.getters.funcAuthList;
|
|
163
|
+
const myBtns = ((_a = window.$store) == null ? void 0 : _a.getters.funcAuthList) || [];
|
|
163
164
|
for (let i in myBtns) {
|
|
164
165
|
if (myBtns[i] == permission) {
|
|
165
166
|
btnFlag = true;
|
|
@@ -272,7 +273,7 @@ const _sfc_main = {
|
|
|
272
273
|
resizable: false,
|
|
273
274
|
"show-header-overflow": "",
|
|
274
275
|
"show-footer-overflow": "",
|
|
275
|
-
"show-overflow": false,
|
|
276
|
+
"show-overflow": field.isOverflowWrap ? false : "tooltip",
|
|
276
277
|
"header-class-name": field.sortRule == "server" ? "serverSort" : ""
|
|
277
278
|
}, {
|
|
278
279
|
default: withCtx(({ row }) => [
|
|
@@ -293,10 +294,7 @@ const _sfc_main = {
|
|
|
293
294
|
createTextVNode(toDisplayString(__props.formatCellValue(row, field)), 1)
|
|
294
295
|
]),
|
|
295
296
|
_: 2
|
|
296
|
-
}, 1032, ["title", "onClick"])) : (openBlock(), createElementBlock("span",
|
|
297
|
-
key: 2,
|
|
298
|
-
title: __props.formatCellValue(row, field)
|
|
299
|
-
}, toDisplayString(__props.formatCellValue(row, field)), 9, _hoisted_3)),
|
|
297
|
+
}, 1032, ["title", "onClick"])) : (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(__props.formatCellValue(row, field)), 1)),
|
|
300
298
|
field.suffix ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(field.suffix), 1)) : createCommentVNode("", true),
|
|
301
299
|
field.canCopy ? (openBlock(), createBlock(_component_el_icon, {
|
|
302
300
|
key: 4,
|
|
@@ -311,7 +309,7 @@ const _sfc_main = {
|
|
|
311
309
|
], true)
|
|
312
310
|
]),
|
|
313
311
|
_: 2
|
|
314
|
-
}, 1032, ["field", "title", "width", "min-width", "fixed", "align", "header-align", "sortable", "header-class-name"]);
|
|
312
|
+
}, 1032, ["field", "title", "width", "min-width", "fixed", "align", "header-align", "sortable", "show-overflow", "header-class-name"]);
|
|
315
313
|
}), 128)),
|
|
316
314
|
!__props.readonly && shouldShowOptColumn.value ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
317
315
|
key: 3,
|
|
@@ -343,7 +341,7 @@ const _sfc_main = {
|
|
|
343
341
|
};
|
|
344
342
|
}
|
|
345
343
|
};
|
|
346
|
-
const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
344
|
+
const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fac941fe"]]);
|
|
347
345
|
export {
|
|
348
346
|
TableColumn as default
|
|
349
347
|
};
|
|
@@ -7,11 +7,12 @@ const auth = {
|
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
9
|
hasPerm(permission) {
|
|
10
|
+
var _a;
|
|
10
11
|
if (permission === true || permission === void 0 || permission === "") {
|
|
11
12
|
return true;
|
|
12
13
|
}
|
|
13
14
|
let btnFlag = false;
|
|
14
|
-
const myBtns = window.$store.getters.funcAuthList;
|
|
15
|
+
const myBtns = ((_a = window.$store) == null ? void 0 : _a.getters.funcAuthList) || [];
|
|
15
16
|
for (let i in myBtns) {
|
|
16
17
|
if (myBtns[i] === permission) {
|
|
17
18
|
btnFlag = true;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { removeEmptyValues } from "./common.mjs";
|
|
2
2
|
function parseSingleParamValue(value, data, fields) {
|
|
3
|
+
var _a;
|
|
3
4
|
if (typeof value !== "object" || value === null) {
|
|
4
5
|
return value;
|
|
5
6
|
}
|
|
@@ -14,8 +15,7 @@ function parseSingleParamValue(value, data, fields) {
|
|
|
14
15
|
}
|
|
15
16
|
return null;
|
|
16
17
|
} else if (type === "userInfo") {
|
|
17
|
-
|
|
18
|
-
return {};
|
|
18
|
+
return ((_a = window.$user) == null ? void 0 : _a[value.value]) || null;
|
|
19
19
|
} else if (type === "urlParam") {
|
|
20
20
|
const urlParams = new URLSearchParams(window.location.search);
|
|
21
21
|
return urlParams.get(value.value) || null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const _imports_0 = "data:image/png;base64,
|
|
3
|
+
const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAwCAYAAABe6Vn9AAAD/ElEQVR4AexZTWgTQRR+k1oUxKMnUdoKhVwE8SRaScBDL4IIiqJIa7WF/giCB1EkW0HBg5c2UdqmjQVBD4IIgqhgSpUeRRCJIqG9CIJ48eDB2ozfW2bibrpJ9jeobJjJzL5573vzfW+27DYJivgzNicPjubl4vCMzA9OyR0Rp6PICI1My+6RGXmvUqEXkqhHCBpob6Py8Ky8GiWp0AmNTciNIHIdUn0kQSdrNr9BSLo2kpflsVl5umYtlMtQCY3MycHKZiqDyOUmu+uqSJoHsZejMzLVxNfTciiEhvOyF5tbogpNkaRtHnaQloKKiC2AWKeHuLqugQjhRk9iM/cF0VNk2Ivut/XJBJVByjAMzPyiIC4QIdzoz4FxHD14kyRQrczX7TQRBCwQoSCJo4qNCUWlbFi4cYXCUjIqnLhCUSkbFm5cobCUjAonrlBUyoaFG6xCkh6GtRGF8wVP7O/V3NcQiFDunLggK7QbrwyP/GSvibm5ukY7gXmnxu7pMhAhznR7ULzFJo6A1GH0N2zz2B+INkrmzopL00Pih8fYde6eCb0qyRR6ET1jRQOpx+h78EpxHvZv6I2boCWRoF4QOZHtFx+0c7EkO4DN+EWea7vb0TUhBudEAC6i82uz8bokl2GzEcsOiMnEJuoiQbfgt74J+oxKDuUGxL7sGfFMOyj8zAaiZdgYP9VOxMQyvAabq9aUEIPxpi2JqsCSqIOINLEU5mabPCW+Y8MXxRrtArE/fzgk3di6hbpQyWnTUX1Z8A1lMgeNr4mZxiZfDQnVS1SLqRIXUbECC6DXs0PiHYgdpQodamujbhC5YhwTP/U68FOI4YrYiOh1PSp8U7jFkuzTdqfRkZDbRLWAkqjPSc3coHgy0S8+aX8mjRx8dIuI4SrrpYYj++L/FwUWgTGcnBNWIzv5SWTF4KS4NtUElu3+UvjW+wSu3hvn0MIxphXBRsjpPrE6e5lzUvgb1iMC/ALb0AM3ja8wq3g2QlXrPzyJCf3txYsrFFeoxQrER67FgntOF1fIs2QtDvjvK1T3Md6P0HgyXuFuiV2wzEOZ4plu3gpkq1BPUoz/IuLfOgMlViSM/UnRCcwqFuYaPwzhDOCJA0lxty4hXkgnxQoc02DeL4hWyPtHExl3ClX4mliVrJOvk03tKY09OuLbKmQFYOarRGnY3Kq5wNWtlwg4tqaIuRaOibDItVW3geKiLiGskUqq1XQkxongy4ql2R9zT82lcGbV2bcZeENCOpg3yspzBWAzj4kiYibCmmnDmq9Wg28VzrxPgO94vJySuSKkA1Vi85io0rtOpDEajQrfPBEsnhciGtcTIR3kpvTa18/IxLj7ifVFyE+iVsX8BgAA///JxSjYAAAABklEQVQDAIpOhHBBaLGIAAAAAElFTkSuQmCC";
|
|
4
4
|
exports.default = _imports_0;
|
|
@@ -91,5 +91,5 @@ const _sfc_main = {
|
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
|
-
const
|
|
95
|
-
exports.default =
|
|
94
|
+
const __unplugin_components_6 = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-db416ffc"]]);
|
|
95
|
+
exports.default = __unplugin_components_6;
|
|
@@ -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);
|
|
@@ -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);
|
|
@@ -5,6 +5,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
|
|
|
5
5
|
;/* empty css */
|
|
6
6
|
;/* empty css */
|
|
7
7
|
;/* empty css */
|
|
8
|
+
const EventConfigButton = require("../../../components/EventConfigButton.vue.js");
|
|
8
9
|
;/* empty css */
|
|
9
10
|
;/* empty css */
|
|
10
11
|
;/* empty css */
|
|
@@ -45,6 +46,9 @@ const _sfc_main = {
|
|
|
45
46
|
value: item.modeNo
|
|
46
47
|
}));
|
|
47
48
|
});
|
|
49
|
+
function handleEventConfirm(data) {
|
|
50
|
+
currentItem.value.callbackEventConfig = data;
|
|
51
|
+
}
|
|
48
52
|
return (_ctx, _cache) => {
|
|
49
53
|
const _component_el_input = index$3.ElInput;
|
|
50
54
|
const _component_el_form_item = index$2.ElFormItem;
|
|
@@ -52,6 +56,7 @@ const _sfc_main = {
|
|
|
52
56
|
const _component_el_radio_group = index$4.ElRadioGroup;
|
|
53
57
|
const _component_el_option = index$5.ElOption;
|
|
54
58
|
const _component_el_select = index$5.ElSelect;
|
|
59
|
+
const _component_EventConfigButton = EventConfigButton.default;
|
|
55
60
|
const _component_el_form = index$2.ElForm;
|
|
56
61
|
const _component_el_collapse_item = index$1.ElCollapseItem;
|
|
57
62
|
const _component_el_collapse = index$1.ElCollapse;
|
|
@@ -203,6 +208,15 @@ const _sfc_main = {
|
|
|
203
208
|
}, null, 8, ["modelValue"])
|
|
204
209
|
]),
|
|
205
210
|
_: 1
|
|
211
|
+
}),
|
|
212
|
+
Vue.createVNode(_component_el_form_item, { label: "回调事件" }, {
|
|
213
|
+
default: Vue.withCtx(() => [
|
|
214
|
+
Vue.createVNode(_component_EventConfigButton, {
|
|
215
|
+
config: currentItem.value.callbackEventConfig,
|
|
216
|
+
onConfirm: handleEventConfirm
|
|
217
|
+
}, null, 8, ["config"])
|
|
218
|
+
]),
|
|
219
|
+
_: 1
|
|
206
220
|
})
|
|
207
221
|
]),
|
|
208
222
|
_: 1
|
|
@@ -216,5 +230,5 @@ const _sfc_main = {
|
|
|
216
230
|
};
|
|
217
231
|
}
|
|
218
232
|
};
|
|
219
|
-
const contract = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
233
|
+
const contract = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-2745c569"]]);
|
|
220
234
|
exports.default = contract;
|
|
@@ -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");
|