@fecp/designer 5.4.63 → 5.4.65
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/packages/dialog/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/form/property/widgets.vue.mjs +2 -2
- package/es/designer.css +24 -20
- package/es/packages/vue/src/components/details/header/Header.vue.mjs +9 -2
- package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +1 -1
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +5 -5
- package/es/packages/vue/src/components/forms/text/Text.vue.mjs +1 -1
- package/es/packages/vue/src/components/layout/Layout.vue.mjs +17 -4
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +1 -1
- package/es/packages/vue/src/composables/usePageEvents.mjs +1 -1
- package/es/packages/vue/src/utils/datasource.mjs +1 -1
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/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/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +24 -20
- package/lib/packages/vue/src/components/details/header/Header.vue.js +9 -2
- package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +1 -1
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +5 -5
- package/lib/packages/vue/src/components/forms/text/Text.vue.js +1 -1
- package/lib/packages/vue/src/components/layout/Layout.vue.js +17 -4
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +1 -1
- package/lib/packages/vue/src/composables/usePageEvents.js +1 -1
- package/lib/packages/vue/src/utils/datasource.js +1 -1
- package/package.json +2 -2
|
@@ -28,7 +28,7 @@ import { computed, useModel, ref, watch, createBlock, openBlock, withCtx, create
|
|
|
28
28
|
import { VueDraggable as lo } from "../../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.mjs";
|
|
29
29
|
import { Plus as plus_default, Close as close_default, Check as check_default, Delete as delete_default, Rank as rank_default, Edit as edit_default } from "../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
30
30
|
import { getEditConfigData, cloneDeep, getEditConfigDialogs, setEditConfigDialogs } from "../utils/common.mjs";
|
|
31
|
-
import TemplateSelector from "../../components/TemplateSelector.
|
|
31
|
+
import TemplateSelector from "../../components/TemplateSelector.vue2.mjs";
|
|
32
32
|
import api from "../../api/index.mjs";
|
|
33
33
|
import ParamsConfig from "../../components/ParamsConfig.vue2.mjs";
|
|
34
34
|
import _sfc_main$1 from "../../components/DataSourceSelect.vue.mjs";
|
|
@@ -28,7 +28,7 @@ import { computed, useModel, ref, watch, createBlock, openBlock, unref, withCtx,
|
|
|
28
28
|
import { VueDraggable as lo } from "../../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.mjs";
|
|
29
29
|
import { Loading as loading_default, Plus as plus_default, Close as close_default, Check as check_default, Delete as delete_default, Rank as rank_default, Edit as edit_default } from "../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
30
30
|
import { getEditConfigData, cloneDeep } from "../utils/common.mjs";
|
|
31
|
-
import TemplateSelector from "../../components/TemplateSelector.
|
|
31
|
+
import TemplateSelector from "../../components/TemplateSelector.vue2.mjs";
|
|
32
32
|
import api from "../../api/index.mjs";
|
|
33
33
|
import ParamsConfig from "../../components/ParamsConfig.vue2.mjs";
|
|
34
34
|
import _sfc_main$1 from "../../components/DataSourceSelect.vue.mjs";
|
|
@@ -52,8 +52,8 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
52
52
|
import "../../../components/TemplateSelector.vue.mjs";
|
|
53
53
|
import "../../table/default.mjs";
|
|
54
54
|
/* empty css */
|
|
55
|
-
/* empty css
|
|
56
|
-
/* empty css
|
|
55
|
+
/* empty css */
|
|
56
|
+
/* empty css */
|
|
57
57
|
import store from "../../../store/index.mjs";
|
|
58
58
|
/* empty css */
|
|
59
59
|
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
|
package/es/designer.css
CHANGED
|
@@ -5850,7 +5850,7 @@ body,
|
|
|
5850
5850
|
[data-v-3657e72b] .el-form-item__label {
|
|
5851
5851
|
padding: 0 8px 0 0;
|
|
5852
5852
|
}
|
|
5853
|
-
.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{justify-content:space-between;align-items:center;line-height:24px;display:flex}.el-page-header__left{align-items:center;margin-right:40px;display:flex;position:relative}.el-page-header__back{cursor:pointer;align-items:center;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;margin-right:10px;font-size:16px;display:flex}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.fec-header[data-v-
|
|
5853
|
+
.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{justify-content:space-between;align-items:center;line-height:24px;display:flex}.el-page-header__left{align-items:center;margin-right:40px;display:flex;position:relative}.el-page-header__back{cursor:pointer;align-items:center;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;margin-right:10px;font-size:16px;display:flex}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.fec-header[data-v-9c9b2c67] {
|
|
5854
5854
|
padding: 0 20px;
|
|
5855
5855
|
background-color: #fff;
|
|
5856
5856
|
border-bottom: 1px solid #e4e7ed;
|
|
@@ -5859,33 +5859,36 @@ body,
|
|
|
5859
5859
|
align-items: center;
|
|
5860
5860
|
flex-shrink: 0;
|
|
5861
5861
|
}
|
|
5862
|
-
.fec-header[data-v-
|
|
5862
|
+
.fec-header[data-v-9c9b2c67] .el-page-header__header {
|
|
5863
5863
|
height: 100%;
|
|
5864
5864
|
width: 100%;
|
|
5865
5865
|
display: flex;
|
|
5866
5866
|
align-items: center;
|
|
5867
5867
|
}
|
|
5868
|
-
.fec-header[data-v-
|
|
5868
|
+
.fec-header[data-v-9c9b2c67] .el-page-header__header .el-page-header__title {
|
|
5869
5869
|
display: none;
|
|
5870
5870
|
}
|
|
5871
|
-
.fec-header[data-v-
|
|
5871
|
+
.fec-header[data-v-9c9b2c67] .el-page-header__header .el-page-header__icon {
|
|
5872
5872
|
margin-right: 0;
|
|
5873
5873
|
font-size: 16px;
|
|
5874
5874
|
}
|
|
5875
|
-
.fec-header .fec-header__title[data-v-
|
|
5875
|
+
.fec-header .fec-header__title[data-v-9c9b2c67] {
|
|
5876
5876
|
font-size: 16px;
|
|
5877
5877
|
font-weight: 600;
|
|
5878
5878
|
color: #303133;
|
|
5879
5879
|
margin-right: 12px;
|
|
5880
5880
|
}
|
|
5881
|
-
.fec-header .fec-header__subtitle[data-v-
|
|
5881
|
+
.fec-header .fec-header__subtitle[data-v-9c9b2c67] {
|
|
5882
5882
|
font-size: 12px;
|
|
5883
5883
|
color: #606266;
|
|
5884
5884
|
}
|
|
5885
|
-
.can-not-back[data-v-
|
|
5885
|
+
.can-not-back[data-v-9c9b2c67] .el-subTitle {
|
|
5886
5886
|
display: none;
|
|
5887
5887
|
}
|
|
5888
|
-
[data-v-
|
|
5888
|
+
.can-not-back[data-v-9c9b2c67] .el-divider {
|
|
5889
|
+
display: none;
|
|
5890
|
+
}
|
|
5891
|
+
[data-v-9c9b2c67] .el-page-header__content {
|
|
5889
5892
|
color: #606266;
|
|
5890
5893
|
font-size: 14px;
|
|
5891
5894
|
line-height: 1.5;
|
|
@@ -5904,27 +5907,27 @@ body,
|
|
|
5904
5907
|
width: 80px;
|
|
5905
5908
|
font-size: var(--el-font-size-extra-small);
|
|
5906
5909
|
}
|
|
5907
|
-
.fec-form[data-v-
|
|
5910
|
+
.fec-form[data-v-93f83bd7] {
|
|
5908
5911
|
height: 100%;
|
|
5909
5912
|
}
|
|
5910
|
-
[data-v-
|
|
5913
|
+
[data-v-93f83bd7] .vgl-item {
|
|
5911
5914
|
transition: none;
|
|
5912
5915
|
}
|
|
5913
|
-
[data-v-
|
|
5916
|
+
[data-v-93f83bd7] .vgl-item > .el-form-item {
|
|
5914
5917
|
width: 100%;
|
|
5915
5918
|
padding: 12px 8px 0 8px;
|
|
5916
5919
|
height: calc(100% - 15px);
|
|
5917
5920
|
display: flex;
|
|
5918
5921
|
}
|
|
5919
|
-
[data-v-
|
|
5922
|
+
[data-v-93f83bd7] .vgl-item > .el-form-item.el-form-item--label-top {
|
|
5920
5923
|
flex-direction: column;
|
|
5921
5924
|
}
|
|
5922
|
-
[data-v-
|
|
5925
|
+
[data-v-93f83bd7] .vgl-item > .el-form-item .el-form-item__label {
|
|
5923
5926
|
line-height: 20px;
|
|
5924
5927
|
display: flex;
|
|
5925
5928
|
align-items: center;
|
|
5926
5929
|
}
|
|
5927
|
-
[data-v-
|
|
5930
|
+
[data-v-93f83bd7] .vgl-item > .el-container {
|
|
5928
5931
|
height: auto !important;
|
|
5929
5932
|
}.cell-content .cell-text[data-v-3e5372d4] {
|
|
5930
5933
|
display: inline-block;
|
|
@@ -6260,17 +6263,18 @@ body,
|
|
|
6260
6263
|
max-height: 90% !important;
|
|
6261
6264
|
padding: 0 !important;
|
|
6262
6265
|
}
|
|
6263
|
-
.fec-layout-row[data-v-
|
|
6266
|
+
.fec-layout-row[data-v-4817cb98] {
|
|
6264
6267
|
width: 100%;
|
|
6265
6268
|
height: 100%;
|
|
6269
|
+
overflow: hidden;
|
|
6266
6270
|
}
|
|
6267
|
-
.fec-layout-row[data-v-
|
|
6271
|
+
.fec-layout-row[data-v-4817cb98] .el-col {
|
|
6268
6272
|
height: 100%;
|
|
6269
6273
|
}
|
|
6270
|
-
.fec-layout-row[data-v-
|
|
6274
|
+
.fec-layout-row[data-v-4817cb98] .el-col .el-scrollbar__bar {
|
|
6271
6275
|
display: none;
|
|
6272
6276
|
}
|
|
6273
|
-
.grid-content[data-v-
|
|
6277
|
+
.grid-content[data-v-4817cb98] {
|
|
6274
6278
|
border-radius: 9px 9px 4px 4px;
|
|
6275
6279
|
background-color: #fff;
|
|
6276
6280
|
position: relative;
|
|
@@ -6281,7 +6285,7 @@ body,
|
|
|
6281
6285
|
padding: 16px 16px 16px 16px;
|
|
6282
6286
|
} */
|
|
6283
6287
|
}
|
|
6284
|
-
.grid-content-statistics[data-v-
|
|
6288
|
+
.grid-content-statistics[data-v-4817cb98] {
|
|
6285
6289
|
height: 100%;
|
|
6286
6290
|
display: flex;
|
|
6287
6291
|
flex-direction: column;
|
|
@@ -6292,7 +6296,7 @@ body,
|
|
|
6292
6296
|
height: 100%;
|
|
6293
6297
|
} */
|
|
6294
6298
|
}
|
|
6295
|
-
.grid-content-statistics[data-v-
|
|
6299
|
+
.grid-content-statistics[data-v-4817cb98] .fec-layout-card:last-child {
|
|
6296
6300
|
margin-bottom: 0 !important;
|
|
6297
6301
|
flex: 1;
|
|
6298
6302
|
}
|
|
@@ -23,6 +23,10 @@ const _sfc_main = {
|
|
|
23
23
|
isApproval: {
|
|
24
24
|
type: Boolean,
|
|
25
25
|
default: false
|
|
26
|
+
},
|
|
27
|
+
showBack: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: false
|
|
26
30
|
}
|
|
27
31
|
},
|
|
28
32
|
emits: ["action-click"],
|
|
@@ -32,7 +36,10 @@ const _sfc_main = {
|
|
|
32
36
|
const emit = __emit;
|
|
33
37
|
const canBack = computed(() => {
|
|
34
38
|
var _a;
|
|
35
|
-
|
|
39
|
+
if (props.showBack) {
|
|
40
|
+
return !props.isApproval && ((_a = props.pageHeaderConfig) == null ? void 0 : _a.canBack);
|
|
41
|
+
}
|
|
42
|
+
return false;
|
|
36
43
|
});
|
|
37
44
|
const getButtonType = (btnStyle) => {
|
|
38
45
|
return "primary";
|
|
@@ -105,7 +112,7 @@ const _sfc_main = {
|
|
|
105
112
|
};
|
|
106
113
|
}
|
|
107
114
|
};
|
|
108
|
-
const component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
115
|
+
const component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9c9b2c67"]]);
|
|
109
116
|
export {
|
|
110
117
|
component as default
|
|
111
118
|
};
|
|
@@ -9,9 +9,9 @@ import { Form } from "../forms/form/index.mjs";
|
|
|
9
9
|
import { parseRouteParams } from "../../utils/parseRouteParams.mjs";
|
|
10
10
|
import { calculate } from "../../utils/formulajs/calculate.mjs";
|
|
11
11
|
import { useEventFlow, executeEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
|
|
12
|
-
/* empty css */
|
|
13
12
|
/* empty css */
|
|
14
13
|
/* empty css */
|
|
14
|
+
/* empty css */
|
|
15
15
|
import { loadComponentByPath } from "../../utils/common.mjs";
|
|
16
16
|
/* empty css */
|
|
17
17
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -1015,11 +1015,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1015
1015
|
"data-version": "v5"
|
|
1016
1016
|
}, {
|
|
1017
1017
|
default: withCtx(() => [
|
|
1018
|
-
|
|
1019
|
-
|
|
1018
|
+
createVNode(unref(header), {
|
|
1019
|
+
showBack: !__props.isSubForm && !__props.isDialog,
|
|
1020
1020
|
isApproval: __props.isApproval,
|
|
1021
1021
|
pageHeaderConfig: localConfig.value.pageHeaderConfig
|
|
1022
|
-
}, null, 8, ["isApproval", "pageHeaderConfig"])
|
|
1022
|
+
}, null, 8, ["showBack", "isApproval", "pageHeaderConfig"]),
|
|
1023
1023
|
createVNode(unref(main), null, {
|
|
1024
1024
|
default: withCtx(() => [
|
|
1025
1025
|
createVNode(_component_el_form, {
|
|
@@ -1076,7 +1076,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1076
1076
|
_: 1
|
|
1077
1077
|
}),
|
|
1078
1078
|
!__props.isSubForm && !__props.isDialog && !__props.isApproval ? (openBlock(), createBlock(unref(footer), {
|
|
1079
|
-
key:
|
|
1079
|
+
key: 0,
|
|
1080
1080
|
formMode: formMode.value,
|
|
1081
1081
|
pageFooterConfig: localConfig.value.pageFooterConfig,
|
|
1082
1082
|
onCustomButtonClick: handleCustomButtonClick
|
|
@@ -1087,7 +1087,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1087
1087
|
};
|
|
1088
1088
|
}
|
|
1089
1089
|
});
|
|
1090
|
-
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1090
|
+
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-93f83bd7"]]);
|
|
1091
1091
|
export {
|
|
1092
1092
|
_Form as default
|
|
1093
1093
|
};
|
|
@@ -3,9 +3,9 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { computed, getCurrentInstance, inject, createElementBlock, openBlock, createVNode, createCommentVNode, mergeProps, toHandlers, createSlots, withCtx, createElementVNode, toDisplayString, createBlock, createTextVNode, unref } from "vue";
|
|
6
|
-
/* empty css */
|
|
7
6
|
/* empty css */
|
|
8
7
|
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
9
|
import { openDialog } from "../../dialog/index.mjs";
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
@@ -27,16 +27,26 @@ const _sfc_main = {
|
|
|
27
27
|
initFormData: {
|
|
28
28
|
type: Object,
|
|
29
29
|
default: {}
|
|
30
|
+
},
|
|
31
|
+
isDialog: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: false
|
|
30
34
|
}
|
|
31
35
|
},
|
|
32
36
|
emits: ["loaded"],
|
|
33
37
|
setup(__props, { emit: __emit }) {
|
|
34
38
|
const props = __props;
|
|
39
|
+
const layoutRowRef = ref();
|
|
35
40
|
const formData = ref(props.initFormData);
|
|
36
41
|
const emit = __emit;
|
|
37
42
|
const showCard = ref(false);
|
|
38
43
|
function loaded(option, formData2) {
|
|
39
44
|
showCard.value = true;
|
|
45
|
+
let offsetHeight = layoutRowRef.value.$el.offsetHeight;
|
|
46
|
+
const cols = layoutRowRef.value.$el.querySelectorAll(".el-col");
|
|
47
|
+
cols.forEach((col) => {
|
|
48
|
+
col.style.height = offsetHeight + "px";
|
|
49
|
+
});
|
|
40
50
|
emit("loaded", cloneDeep(formData2));
|
|
41
51
|
}
|
|
42
52
|
return (_ctx, _cache) => {
|
|
@@ -46,7 +56,9 @@ const _sfc_main = {
|
|
|
46
56
|
const _directive_fec_layout = resolveDirective("fec-layout");
|
|
47
57
|
return withDirectives((openBlock(), createBlock(_component_el_row, {
|
|
48
58
|
gutter: 8,
|
|
49
|
-
class: "fec-layout-row"
|
|
59
|
+
class: "fec-layout-row",
|
|
60
|
+
ref_key: "layoutRowRef",
|
|
61
|
+
ref: layoutRowRef
|
|
50
62
|
}, {
|
|
51
63
|
default: withCtx(() => [
|
|
52
64
|
createVNode(_component_el_col, { span: 18 }, {
|
|
@@ -60,8 +72,9 @@ const _sfc_main = {
|
|
|
60
72
|
modelValue: unref(formData),
|
|
61
73
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(formData) ? formData.value = $event : null),
|
|
62
74
|
onLoaded: loaded,
|
|
63
|
-
initFormMode: __props.initFormMode
|
|
64
|
-
|
|
75
|
+
initFormMode: __props.initFormMode,
|
|
76
|
+
isDialog: __props.isDialog
|
|
77
|
+
}, null, 8, ["templateKey", "modelValue", "initFormMode", "isDialog"])
|
|
65
78
|
]),
|
|
66
79
|
_: 1
|
|
67
80
|
}, 512)
|
|
@@ -85,7 +98,7 @@ const _sfc_main = {
|
|
|
85
98
|
};
|
|
86
99
|
}
|
|
87
100
|
};
|
|
88
|
-
const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
101
|
+
const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4817cb98"]]);
|
|
89
102
|
export {
|
|
90
103
|
_Layout as default
|
|
91
104
|
};
|
|
@@ -7,10 +7,10 @@ import "../../../../../node_modules/vxe-table/es/components.mjs";
|
|
|
7
7
|
import { CopyDocument as copy_document_default } from "../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
8
8
|
import { checkFilterMatch } from "../../utils/parseFilterConfig.mjs";
|
|
9
9
|
import { removeEmptyValues } from "../../utils/common.mjs";
|
|
10
|
-
/* empty css */
|
|
11
10
|
/* empty css */
|
|
12
11
|
/* empty css */
|
|
13
12
|
/* empty css */
|
|
13
|
+
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
15
|
import "./index.mjs";
|
|
16
16
|
import "../forms/form/index.mjs";
|
|
@@ -2,9 +2,9 @@ import { reactive } from "vue";
|
|
|
2
2
|
import { parseRouteParams } from "./parseRouteParams.mjs";
|
|
3
3
|
import "../../../../node_modules/element-plus/es/index.mjs";
|
|
4
4
|
/* empty css */
|
|
5
|
-
/* empty css */
|
|
6
5
|
/* empty css */
|
|
7
6
|
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
8
|
import { ElLoading } from "../../../../node_modules/element-plus/es/components/loading/index.mjs";
|
|
9
9
|
import { ElMessage } from "../../../../node_modules/element-plus/es/components/message/index.mjs";
|
|
10
10
|
class DataSourceManager {
|
|
@@ -30,7 +30,7 @@ const vue = require("vue");
|
|
|
30
30
|
const vueDraggablePlus = require("../../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js");
|
|
31
31
|
const index$4 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
32
32
|
const common = require("../utils/common.js");
|
|
33
|
-
const TemplateSelector = require("../../components/TemplateSelector.
|
|
33
|
+
const TemplateSelector = require("../../components/TemplateSelector.vue2.js");
|
|
34
34
|
const index = require("../../api/index.js");
|
|
35
35
|
const ParamsConfig = require("../../components/ParamsConfig.vue2.js");
|
|
36
36
|
const DataSourceSelect = require("../../components/DataSourceSelect.vue.js");
|
|
@@ -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);
|
|
@@ -30,7 +30,7 @@ const vue = require("vue");
|
|
|
30
30
|
const vueDraggablePlus = require("../../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js");
|
|
31
31
|
const index$5 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
32
32
|
const common = require("../utils/common.js");
|
|
33
|
-
const TemplateSelector = require("../../components/TemplateSelector.
|
|
33
|
+
const TemplateSelector = require("../../components/TemplateSelector.vue2.js");
|
|
34
34
|
const index = require("../../api/index.js");
|
|
35
35
|
const ParamsConfig = require("../../components/ParamsConfig.vue2.js");
|
|
36
36
|
const DataSourceSelect = require("../../components/DataSourceSelect.vue.js");
|
|
@@ -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);
|
|
@@ -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
|
const index = require("../../../store/index.js");
|
|
60
60
|
;/* empty css */
|
|
61
61
|
const index$3 = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
package/lib/designer.css
CHANGED
|
@@ -5850,7 +5850,7 @@ body,
|
|
|
5850
5850
|
[data-v-3657e72b] .el-form-item__label {
|
|
5851
5851
|
padding: 0 8px 0 0;
|
|
5852
5852
|
}
|
|
5853
|
-
.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{justify-content:space-between;align-items:center;line-height:24px;display:flex}.el-page-header__left{align-items:center;margin-right:40px;display:flex;position:relative}.el-page-header__back{cursor:pointer;align-items:center;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;margin-right:10px;font-size:16px;display:flex}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.fec-header[data-v-
|
|
5853
|
+
.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{justify-content:space-between;align-items:center;line-height:24px;display:flex}.el-page-header__left{align-items:center;margin-right:40px;display:flex;position:relative}.el-page-header__back{cursor:pointer;align-items:center;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;margin-right:10px;font-size:16px;display:flex}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.fec-header[data-v-9c9b2c67] {
|
|
5854
5854
|
padding: 0 20px;
|
|
5855
5855
|
background-color: #fff;
|
|
5856
5856
|
border-bottom: 1px solid #e4e7ed;
|
|
@@ -5859,33 +5859,36 @@ body,
|
|
|
5859
5859
|
align-items: center;
|
|
5860
5860
|
flex-shrink: 0;
|
|
5861
5861
|
}
|
|
5862
|
-
.fec-header[data-v-
|
|
5862
|
+
.fec-header[data-v-9c9b2c67] .el-page-header__header {
|
|
5863
5863
|
height: 100%;
|
|
5864
5864
|
width: 100%;
|
|
5865
5865
|
display: flex;
|
|
5866
5866
|
align-items: center;
|
|
5867
5867
|
}
|
|
5868
|
-
.fec-header[data-v-
|
|
5868
|
+
.fec-header[data-v-9c9b2c67] .el-page-header__header .el-page-header__title {
|
|
5869
5869
|
display: none;
|
|
5870
5870
|
}
|
|
5871
|
-
.fec-header[data-v-
|
|
5871
|
+
.fec-header[data-v-9c9b2c67] .el-page-header__header .el-page-header__icon {
|
|
5872
5872
|
margin-right: 0;
|
|
5873
5873
|
font-size: 16px;
|
|
5874
5874
|
}
|
|
5875
|
-
.fec-header .fec-header__title[data-v-
|
|
5875
|
+
.fec-header .fec-header__title[data-v-9c9b2c67] {
|
|
5876
5876
|
font-size: 16px;
|
|
5877
5877
|
font-weight: 600;
|
|
5878
5878
|
color: #303133;
|
|
5879
5879
|
margin-right: 12px;
|
|
5880
5880
|
}
|
|
5881
|
-
.fec-header .fec-header__subtitle[data-v-
|
|
5881
|
+
.fec-header .fec-header__subtitle[data-v-9c9b2c67] {
|
|
5882
5882
|
font-size: 12px;
|
|
5883
5883
|
color: #606266;
|
|
5884
5884
|
}
|
|
5885
|
-
.can-not-back[data-v-
|
|
5885
|
+
.can-not-back[data-v-9c9b2c67] .el-subTitle {
|
|
5886
5886
|
display: none;
|
|
5887
5887
|
}
|
|
5888
|
-
[data-v-
|
|
5888
|
+
.can-not-back[data-v-9c9b2c67] .el-divider {
|
|
5889
|
+
display: none;
|
|
5890
|
+
}
|
|
5891
|
+
[data-v-9c9b2c67] .el-page-header__content {
|
|
5889
5892
|
color: #606266;
|
|
5890
5893
|
font-size: 14px;
|
|
5891
5894
|
line-height: 1.5;
|
|
@@ -5904,27 +5907,27 @@ body,
|
|
|
5904
5907
|
width: 80px;
|
|
5905
5908
|
font-size: var(--el-font-size-extra-small);
|
|
5906
5909
|
}
|
|
5907
|
-
.fec-form[data-v-
|
|
5910
|
+
.fec-form[data-v-93f83bd7] {
|
|
5908
5911
|
height: 100%;
|
|
5909
5912
|
}
|
|
5910
|
-
[data-v-
|
|
5913
|
+
[data-v-93f83bd7] .vgl-item {
|
|
5911
5914
|
transition: none;
|
|
5912
5915
|
}
|
|
5913
|
-
[data-v-
|
|
5916
|
+
[data-v-93f83bd7] .vgl-item > .el-form-item {
|
|
5914
5917
|
width: 100%;
|
|
5915
5918
|
padding: 12px 8px 0 8px;
|
|
5916
5919
|
height: calc(100% - 15px);
|
|
5917
5920
|
display: flex;
|
|
5918
5921
|
}
|
|
5919
|
-
[data-v-
|
|
5922
|
+
[data-v-93f83bd7] .vgl-item > .el-form-item.el-form-item--label-top {
|
|
5920
5923
|
flex-direction: column;
|
|
5921
5924
|
}
|
|
5922
|
-
[data-v-
|
|
5925
|
+
[data-v-93f83bd7] .vgl-item > .el-form-item .el-form-item__label {
|
|
5923
5926
|
line-height: 20px;
|
|
5924
5927
|
display: flex;
|
|
5925
5928
|
align-items: center;
|
|
5926
5929
|
}
|
|
5927
|
-
[data-v-
|
|
5930
|
+
[data-v-93f83bd7] .vgl-item > .el-container {
|
|
5928
5931
|
height: auto !important;
|
|
5929
5932
|
}.cell-content .cell-text[data-v-3e5372d4] {
|
|
5930
5933
|
display: inline-block;
|
|
@@ -6260,17 +6263,18 @@ body,
|
|
|
6260
6263
|
max-height: 90% !important;
|
|
6261
6264
|
padding: 0 !important;
|
|
6262
6265
|
}
|
|
6263
|
-
.fec-layout-row[data-v-
|
|
6266
|
+
.fec-layout-row[data-v-4817cb98] {
|
|
6264
6267
|
width: 100%;
|
|
6265
6268
|
height: 100%;
|
|
6269
|
+
overflow: hidden;
|
|
6266
6270
|
}
|
|
6267
|
-
.fec-layout-row[data-v-
|
|
6271
|
+
.fec-layout-row[data-v-4817cb98] .el-col {
|
|
6268
6272
|
height: 100%;
|
|
6269
6273
|
}
|
|
6270
|
-
.fec-layout-row[data-v-
|
|
6274
|
+
.fec-layout-row[data-v-4817cb98] .el-col .el-scrollbar__bar {
|
|
6271
6275
|
display: none;
|
|
6272
6276
|
}
|
|
6273
|
-
.grid-content[data-v-
|
|
6277
|
+
.grid-content[data-v-4817cb98] {
|
|
6274
6278
|
border-radius: 9px 9px 4px 4px;
|
|
6275
6279
|
background-color: #fff;
|
|
6276
6280
|
position: relative;
|
|
@@ -6281,7 +6285,7 @@ body,
|
|
|
6281
6285
|
padding: 16px 16px 16px 16px;
|
|
6282
6286
|
} */
|
|
6283
6287
|
}
|
|
6284
|
-
.grid-content-statistics[data-v-
|
|
6288
|
+
.grid-content-statistics[data-v-4817cb98] {
|
|
6285
6289
|
height: 100%;
|
|
6286
6290
|
display: flex;
|
|
6287
6291
|
flex-direction: column;
|
|
@@ -6292,7 +6296,7 @@ body,
|
|
|
6292
6296
|
height: 100%;
|
|
6293
6297
|
} */
|
|
6294
6298
|
}
|
|
6295
|
-
.grid-content-statistics[data-v-
|
|
6299
|
+
.grid-content-statistics[data-v-4817cb98] .fec-layout-card:last-child {
|
|
6296
6300
|
margin-bottom: 0 !important;
|
|
6297
6301
|
flex: 1;
|
|
6298
6302
|
}
|
|
@@ -25,6 +25,10 @@ const _sfc_main = {
|
|
|
25
25
|
isApproval: {
|
|
26
26
|
type: Boolean,
|
|
27
27
|
default: false
|
|
28
|
+
},
|
|
29
|
+
showBack: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: false
|
|
28
32
|
}
|
|
29
33
|
},
|
|
30
34
|
emits: ["action-click"],
|
|
@@ -34,7 +38,10 @@ const _sfc_main = {
|
|
|
34
38
|
const emit = __emit;
|
|
35
39
|
const canBack = vue.computed(() => {
|
|
36
40
|
var _a;
|
|
37
|
-
|
|
41
|
+
if (props.showBack) {
|
|
42
|
+
return !props.isApproval && ((_a = props.pageHeaderConfig) == null ? void 0 : _a.canBack);
|
|
43
|
+
}
|
|
44
|
+
return false;
|
|
38
45
|
});
|
|
39
46
|
const getButtonType = (btnStyle) => {
|
|
40
47
|
return "primary";
|
|
@@ -107,5 +114,5 @@ const _sfc_main = {
|
|
|
107
114
|
};
|
|
108
115
|
}
|
|
109
116
|
};
|
|
110
|
-
const component = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
117
|
+
const component = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-9c9b2c67"]]);
|
|
111
118
|
exports.default = component;
|
|
@@ -11,9 +11,9 @@ const index$2 = require("../forms/form/index.js");
|
|
|
11
11
|
const parseRouteParams = require("../../utils/parseRouteParams.js");
|
|
12
12
|
const calculate = require("../../utils/formulajs/calculate.js");
|
|
13
13
|
const eventFlowHandler = require("../../utils/eventFlow/eventFlowHandler.js");
|
|
14
|
-
;/* empty css */
|
|
15
14
|
;/* empty css */
|
|
16
15
|
;/* empty css */
|
|
16
|
+
;/* empty css */
|
|
17
17
|
const common = require("../../utils/common.js");
|
|
18
18
|
;/* empty css */
|
|
19
19
|
const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
@@ -1017,11 +1017,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1017
1017
|
"data-version": "v5"
|
|
1018
1018
|
}, {
|
|
1019
1019
|
default: vue.withCtx(() => [
|
|
1020
|
-
|
|
1021
|
-
|
|
1020
|
+
vue.createVNode(vue.unref(index$3.header), {
|
|
1021
|
+
showBack: !__props.isSubForm && !__props.isDialog,
|
|
1022
1022
|
isApproval: __props.isApproval,
|
|
1023
1023
|
pageHeaderConfig: localConfig.value.pageHeaderConfig
|
|
1024
|
-
}, null, 8, ["isApproval", "pageHeaderConfig"])
|
|
1024
|
+
}, null, 8, ["showBack", "isApproval", "pageHeaderConfig"]),
|
|
1025
1025
|
vue.createVNode(vue.unref(index$4.main), null, {
|
|
1026
1026
|
default: vue.withCtx(() => [
|
|
1027
1027
|
vue.createVNode(_component_el_form, {
|
|
@@ -1078,7 +1078,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1078
1078
|
_: 1
|
|
1079
1079
|
}),
|
|
1080
1080
|
!__props.isSubForm && !__props.isDialog && !__props.isApproval ? (vue.openBlock(), vue.createBlock(vue.unref(index$6.footer), {
|
|
1081
|
-
key:
|
|
1081
|
+
key: 0,
|
|
1082
1082
|
formMode: formMode.value,
|
|
1083
1083
|
pageFooterConfig: localConfig.value.pageFooterConfig,
|
|
1084
1084
|
onCustomButtonClick: handleCustomButtonClick
|
|
@@ -1089,5 +1089,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1089
1089
|
};
|
|
1090
1090
|
}
|
|
1091
1091
|
});
|
|
1092
|
-
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1092
|
+
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-93f83bd7"]]);
|
|
1093
1093
|
exports.default = _Form;
|
|
@@ -5,9 +5,9 @@ require("../../../../../../node_modules/element-plus/es/index.js");
|
|
|
5
5
|
;/* empty css */
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const vue = require("vue");
|
|
8
|
-
;/* empty css */
|
|
9
8
|
;/* empty css */
|
|
10
9
|
;/* empty css */
|
|
10
|
+
;/* empty css */
|
|
11
11
|
const index$3 = require("../../dialog/index.js");
|
|
12
12
|
;/* empty css */
|
|
13
13
|
;/* empty css */
|
|
@@ -29,16 +29,26 @@ const _sfc_main = {
|
|
|
29
29
|
initFormData: {
|
|
30
30
|
type: Object,
|
|
31
31
|
default: {}
|
|
32
|
+
},
|
|
33
|
+
isDialog: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: false
|
|
32
36
|
}
|
|
33
37
|
},
|
|
34
38
|
emits: ["loaded"],
|
|
35
39
|
setup(__props, { emit: __emit }) {
|
|
36
40
|
const props = __props;
|
|
41
|
+
const layoutRowRef = vue.ref();
|
|
37
42
|
const formData = vue.ref(props.initFormData);
|
|
38
43
|
const emit = __emit;
|
|
39
44
|
const showCard = vue.ref(false);
|
|
40
45
|
function loaded(option, formData2) {
|
|
41
46
|
showCard.value = true;
|
|
47
|
+
let offsetHeight = layoutRowRef.value.$el.offsetHeight;
|
|
48
|
+
const cols = layoutRowRef.value.$el.querySelectorAll(".el-col");
|
|
49
|
+
cols.forEach((col) => {
|
|
50
|
+
col.style.height = offsetHeight + "px";
|
|
51
|
+
});
|
|
42
52
|
emit("loaded", common.cloneDeep(formData2));
|
|
43
53
|
}
|
|
44
54
|
return (_ctx, _cache) => {
|
|
@@ -48,7 +58,9 @@ const _sfc_main = {
|
|
|
48
58
|
const _directive_fec_layout = vue.resolveDirective("fec-layout");
|
|
49
59
|
return vue.withDirectives((vue.openBlock(), vue.createBlock(_component_el_row, {
|
|
50
60
|
gutter: 8,
|
|
51
|
-
class: "fec-layout-row"
|
|
61
|
+
class: "fec-layout-row",
|
|
62
|
+
ref_key: "layoutRowRef",
|
|
63
|
+
ref: layoutRowRef
|
|
52
64
|
}, {
|
|
53
65
|
default: vue.withCtx(() => [
|
|
54
66
|
vue.createVNode(_component_el_col, { span: 18 }, {
|
|
@@ -62,8 +74,9 @@ const _sfc_main = {
|
|
|
62
74
|
modelValue: vue.unref(formData),
|
|
63
75
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(formData) ? formData.value = $event : null),
|
|
64
76
|
onLoaded: loaded,
|
|
65
|
-
initFormMode: __props.initFormMode
|
|
66
|
-
|
|
77
|
+
initFormMode: __props.initFormMode,
|
|
78
|
+
isDialog: __props.isDialog
|
|
79
|
+
}, null, 8, ["templateKey", "modelValue", "initFormMode", "isDialog"])
|
|
67
80
|
]),
|
|
68
81
|
_: 1
|
|
69
82
|
}, 512)
|
|
@@ -87,5 +100,5 @@ const _sfc_main = {
|
|
|
87
100
|
};
|
|
88
101
|
}
|
|
89
102
|
};
|
|
90
|
-
const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
103
|
+
const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-4817cb98"]]);
|
|
91
104
|
exports.default = _Layout;
|
|
@@ -9,10 +9,10 @@ require("../../../../../node_modules/vxe-table/es/components.js");
|
|
|
9
9
|
const index$3 = require("../../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
10
10
|
const parseFilterConfig = require("../../utils/parseFilterConfig.js");
|
|
11
11
|
const common = require("../../utils/common.js");
|
|
12
|
-
;/* empty css */
|
|
13
12
|
;/* empty css */
|
|
14
13
|
;/* empty css */
|
|
15
14
|
;/* empty css */
|
|
15
|
+
;/* empty css */
|
|
16
16
|
;/* empty css */
|
|
17
17
|
require("./index.js");
|
|
18
18
|
require("../forms/form/index.js");
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
;/* empty css */
|
|
5
|
-
;/* empty css */
|
|
6
5
|
;/* empty css */
|
|
7
6
|
;/* empty css */
|
|
8
7
|
;/* empty css */
|
|
8
|
+
;/* empty css */
|
|
9
9
|
;/* empty css */
|
|
10
10
|
;/* empty css */
|
|
11
11
|
require("../components/table/index.js");
|
|
@@ -4,9 +4,9 @@ const vue = require("vue");
|
|
|
4
4
|
const parseRouteParams = require("./parseRouteParams.js");
|
|
5
5
|
require("../../../../node_modules/element-plus/es/index.js");
|
|
6
6
|
;/* empty css */
|
|
7
|
-
;/* empty css */
|
|
8
7
|
;/* empty css */
|
|
9
8
|
;/* empty css */
|
|
9
|
+
;/* empty css */
|
|
10
10
|
const index = require("../../../../node_modules/element-plus/es/components/loading/index.js");
|
|
11
11
|
const index$1 = require("../../../../node_modules/element-plus/es/components/message/index.js");
|
|
12
12
|
class DataSourceManager {
|