@fecp/designer 5.5.3 → 5.5.4
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/useDialogDialog.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 +20 -20
- package/es/packages/mobile/src/components/form/fieldRadio/FieldRadio.vue.mjs +7 -30
- package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +1 -1
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +1 -2
- package/es/packages/vue/src/components/forms/roleSelect/RoleSelect.vue.mjs +7 -3
- package/es/packages/vue/src/components/forms/text/Text.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/userSelect/UserSelect.vue.mjs +7 -3
- 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/useDialogDialog.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 +20 -20
- package/lib/packages/mobile/src/components/form/fieldRadio/FieldRadio.vue.js +6 -29
- package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +1 -1
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +1 -2
- package/lib/packages/vue/src/components/forms/roleSelect/RoleSelect.vue.js +7 -3
- package/lib/packages/vue/src/components/forms/text/Text.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/userSelect/UserSelect.vue.js +7 -3
- 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 +1 -1
|
@@ -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/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
|
@@ -5786,15 +5786,15 @@ body,
|
|
|
5786
5786
|
[data-v-fef25575] .el-upload-dragger {
|
|
5787
5787
|
padding: 20px;
|
|
5788
5788
|
}
|
|
5789
|
-
.text-field-wrapper[data-v-
|
|
5789
|
+
.text-field-wrapper[data-v-b75f4ba0] {
|
|
5790
5790
|
width: 100%;
|
|
5791
5791
|
}
|
|
5792
|
-
.prefix-content[data-v-
|
|
5793
|
-
.suffix-content[data-v-
|
|
5792
|
+
.prefix-content[data-v-b75f4ba0],
|
|
5793
|
+
.suffix-content[data-v-b75f4ba0] {
|
|
5794
5794
|
color: #909399;
|
|
5795
5795
|
font-size: 14px;
|
|
5796
5796
|
}
|
|
5797
|
-
.data-masking[data-v-
|
|
5797
|
+
.data-masking[data-v-b75f4ba0] {
|
|
5798
5798
|
margin-top: 4px;
|
|
5799
5799
|
padding: 8px;
|
|
5800
5800
|
background: #f5f7fa;
|
|
@@ -5802,27 +5802,27 @@ body,
|
|
|
5802
5802
|
font-size: 12px;
|
|
5803
5803
|
color: #909399;
|
|
5804
5804
|
}
|
|
5805
|
-
[data-v-
|
|
5805
|
+
[data-v-b75f4ba0] .el-input-group__append {
|
|
5806
5806
|
background-color: #409eff;
|
|
5807
5807
|
color: #fff;
|
|
5808
5808
|
padding: 0 18px;
|
|
5809
5809
|
box-shadow: 0 1px 0 0 #a8abb2 inset, 0 -1px 0 0 #a8abb2 inset, -1px 0 0 0 #a8abb2 inset;
|
|
5810
5810
|
}
|
|
5811
|
-
[data-v-
|
|
5811
|
+
[data-v-b75f4ba0] .el-input-group__append:hover {
|
|
5812
5812
|
background-color: #79bbff;
|
|
5813
5813
|
border-color: #79bbff;
|
|
5814
5814
|
color: #fff;
|
|
5815
5815
|
outline: none;
|
|
5816
5816
|
box-shadow: 0 1px 0 0 #c0c4cc inset, 0 -1px 0 0 #c0c4cc inset, -1px 0 0 0 #c0c4cc inset;
|
|
5817
|
-
}.text-field-wrapper[data-v-
|
|
5817
|
+
}.text-field-wrapper[data-v-1b45cabd] {
|
|
5818
5818
|
width: 100%;
|
|
5819
5819
|
}
|
|
5820
|
-
.prefix-content[data-v-
|
|
5821
|
-
.suffix-content[data-v-
|
|
5820
|
+
.prefix-content[data-v-1b45cabd],
|
|
5821
|
+
.suffix-content[data-v-1b45cabd] {
|
|
5822
5822
|
color: #909399;
|
|
5823
5823
|
font-size: 14px;
|
|
5824
5824
|
}
|
|
5825
|
-
.data-masking[data-v-
|
|
5825
|
+
.data-masking[data-v-1b45cabd] {
|
|
5826
5826
|
margin-top: 4px;
|
|
5827
5827
|
padding: 8px;
|
|
5828
5828
|
background: #f5f7fa;
|
|
@@ -5830,13 +5830,13 @@ body,
|
|
|
5830
5830
|
font-size: 12px;
|
|
5831
5831
|
color: #909399;
|
|
5832
5832
|
}
|
|
5833
|
-
[data-v-
|
|
5833
|
+
[data-v-1b45cabd] .el-input-group__append {
|
|
5834
5834
|
background-color: #409eff;
|
|
5835
5835
|
color: #fff;
|
|
5836
5836
|
padding: 0 18px;
|
|
5837
5837
|
box-shadow: 0 1px 0 0 #a8abb2 inset, 0 -1px 0 0 #a8abb2 inset, -1px 0 0 0 #a8abb2 inset;
|
|
5838
5838
|
}
|
|
5839
|
-
[data-v-
|
|
5839
|
+
[data-v-1b45cabd] .el-input-group__append:hover {
|
|
5840
5840
|
background-color: #79bbff;
|
|
5841
5841
|
border-color: #79bbff;
|
|
5842
5842
|
color: #fff;
|
|
@@ -5924,25 +5924,25 @@ body,
|
|
|
5924
5924
|
width: 80px;
|
|
5925
5925
|
font-size: var(--el-font-size-extra-small);
|
|
5926
5926
|
}
|
|
5927
|
-
.fec-form[data-v-
|
|
5927
|
+
.fec-form[data-v-df445e35] {
|
|
5928
5928
|
height: 100%;
|
|
5929
5929
|
}
|
|
5930
|
-
[data-v-
|
|
5930
|
+
[data-v-df445e35] .vgl-layout {
|
|
5931
5931
|
position: relative;
|
|
5932
5932
|
}
|
|
5933
|
-
[data-v-
|
|
5933
|
+
[data-v-df445e35] .vgl-item {
|
|
5934
5934
|
transition: none;
|
|
5935
5935
|
}
|
|
5936
|
-
[data-v-
|
|
5936
|
+
[data-v-df445e35] .vgl-item > .el-form-item {
|
|
5937
5937
|
width: 100%;
|
|
5938
5938
|
padding: 6px 8px 0 8px;
|
|
5939
5939
|
height: calc(100% - 15px);
|
|
5940
5940
|
display: flex;
|
|
5941
5941
|
}
|
|
5942
|
-
[data-v-
|
|
5942
|
+
[data-v-df445e35] .vgl-item > .el-form-item.el-form-item--label-top {
|
|
5943
5943
|
flex-direction: column;
|
|
5944
5944
|
}
|
|
5945
|
-
[data-v-
|
|
5945
|
+
[data-v-df445e35] .vgl-item > .el-form-item .el-form-item__label {
|
|
5946
5946
|
line-height: 20px;
|
|
5947
5947
|
display: flex;
|
|
5948
5948
|
align-items: center;
|
|
@@ -5951,12 +5951,12 @@ body,
|
|
|
5951
5951
|
flex-wrap: wrap;
|
|
5952
5952
|
white-space: normal;
|
|
5953
5953
|
}
|
|
5954
|
-
[data-v-
|
|
5954
|
+
[data-v-df445e35] .vgl-item > .el-form-item {
|
|
5955
5955
|
/* .el-form-item__error {
|
|
5956
5956
|
padding-top: 10px;
|
|
5957
5957
|
} */
|
|
5958
5958
|
}
|
|
5959
|
-
[data-v-
|
|
5959
|
+
[data-v-df445e35] .vgl-item > .el-container {
|
|
5960
5960
|
height: auto !important;
|
|
5961
5961
|
}.table-pagination[data-v-142fdd35] {
|
|
5962
5962
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useAttrs, ref,
|
|
1
|
+
import { getCurrentInstance, useAttrs, ref, computed, createBlock, openBlock, unref, mergeProps, isRef, withCtx, createElementBlock, toDisplayString } from "vue";
|
|
2
2
|
import { MobileField } from "../field/index.mjs";
|
|
3
3
|
import { getOptions } from "../../../utils/optionUtil.mjs";
|
|
4
4
|
import { MobileRadioGroup } from "../radioGroup/index.mjs";
|
|
@@ -10,17 +10,9 @@ const _sfc_main = {
|
|
|
10
10
|
type: [String, Number],
|
|
11
11
|
default: ""
|
|
12
12
|
},
|
|
13
|
-
|
|
14
|
-
type: Array,
|
|
15
|
-
default: []
|
|
16
|
-
},
|
|
17
|
-
fieldNames: {
|
|
13
|
+
optionConfig: {
|
|
18
14
|
type: Object,
|
|
19
|
-
default: {
|
|
20
|
-
text: "text",
|
|
21
|
-
value: "value",
|
|
22
|
-
disabled: "disabled"
|
|
23
|
-
}
|
|
15
|
+
default: () => ({})
|
|
24
16
|
},
|
|
25
17
|
readonly: {
|
|
26
18
|
type: Boolean,
|
|
@@ -29,31 +21,16 @@ const _sfc_main = {
|
|
|
29
21
|
},
|
|
30
22
|
emits: ["update:modelValue"],
|
|
31
23
|
setup(__props, { emit: __emit }) {
|
|
24
|
+
const currentInstance = getCurrentInstance();
|
|
25
|
+
currentInstance.proxy;
|
|
32
26
|
const props = __props;
|
|
33
|
-
|
|
27
|
+
useAttrs();
|
|
34
28
|
const finalOptions = ref([]);
|
|
35
29
|
getOptions({
|
|
36
|
-
...
|
|
37
|
-
staticOptions: props.options,
|
|
38
|
-
optionsFieldNames: props.fieldNames
|
|
30
|
+
...props.optionConfig
|
|
39
31
|
}).then((data) => {
|
|
40
32
|
finalOptions.value = data;
|
|
41
33
|
});
|
|
42
|
-
watch(
|
|
43
|
-
() => props.options,
|
|
44
|
-
() => {
|
|
45
|
-
getOptions({
|
|
46
|
-
...attrs,
|
|
47
|
-
staticOptions: props.options,
|
|
48
|
-
optionsFieldNames: props.fieldNames
|
|
49
|
-
}).then((data) => {
|
|
50
|
-
finalOptions.value = data;
|
|
51
|
-
});
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
deep: true
|
|
55
|
-
}
|
|
56
|
-
);
|
|
57
34
|
const emit = __emit;
|
|
58
35
|
const compValue = computed({
|
|
59
36
|
get: () => {
|
|
@@ -7,8 +7,8 @@ import { ref, computed, watch, resolveComponent, createBlock, openBlock, resolve
|
|
|
7
7
|
import { parseRouteParams } from "../../utils/parseRouteParams.mjs";
|
|
8
8
|
import { calculate } from "../../utils/formulajs/calculate.mjs";
|
|
9
9
|
import { useEventFlow, executeEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
|
|
10
|
-
/* empty css */
|
|
11
10
|
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { loadComponentByPath } from "../../utils/common.mjs";
|
|
14
14
|
/* empty css */
|
|
@@ -865,7 +865,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
865
865
|
layoutFieldItem.hidden = true;
|
|
866
866
|
}
|
|
867
867
|
});
|
|
868
|
-
debugger;
|
|
869
868
|
if (checkFilterMatch(item.filterConfig, formData.value, fields)) {
|
|
870
869
|
dataLinkFieldList.forEach((fieldId) => {
|
|
871
870
|
const layoutFieldItem = updatedLayoutData.find((g) => g.id == fieldId);
|
|
@@ -1095,7 +1094,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1095
1094
|
};
|
|
1096
1095
|
}
|
|
1097
1096
|
});
|
|
1098
|
-
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1097
|
+
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-df445e35"]]);
|
|
1099
1098
|
export {
|
|
1100
1099
|
_Form as default
|
|
1101
1100
|
};
|
|
@@ -55,6 +55,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
55
55
|
const inputValue = computed(
|
|
56
56
|
() => formData.value[props.config.displayFieldName]
|
|
57
57
|
);
|
|
58
|
+
function handleClear() {
|
|
59
|
+
formData.value[props.config.displayFieldName] = "";
|
|
60
|
+
formData.value[props.config.fieldName] = "";
|
|
61
|
+
}
|
|
58
62
|
const fieldsList = [
|
|
59
63
|
...(fieldsData == null ? void 0 : fieldsData.value) || [],
|
|
60
64
|
...(hiddenFields == null ? void 0 : hiddenFields.value) || []
|
|
@@ -96,9 +100,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
96
100
|
}, toHandlers(__props.config.eventHandlers), {
|
|
97
101
|
placeholder: __props.placeholder,
|
|
98
102
|
disabled: __props.disabled,
|
|
99
|
-
readonly: true,
|
|
100
103
|
onChange: handleChange,
|
|
101
|
-
clearable: ""
|
|
104
|
+
clearable: "",
|
|
105
|
+
onClear: handleClear
|
|
102
106
|
}), createSlots({ _: 2 }, [
|
|
103
107
|
__props.formMode != "query" ? {
|
|
104
108
|
name: "append",
|
|
@@ -120,7 +124,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
120
124
|
};
|
|
121
125
|
}
|
|
122
126
|
});
|
|
123
|
-
const _RoleSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
127
|
+
const _RoleSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1b45cabd"]]);
|
|
124
128
|
export {
|
|
125
129
|
_RoleSelect as default
|
|
126
130
|
};
|
|
@@ -3,8 +3,8 @@ 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 */
|
|
7
|
+
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { openDialog } from "../../dialog/index.mjs";
|
|
10
10
|
/* empty css */
|
|
@@ -55,6 +55,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
55
55
|
const inputValue = computed(
|
|
56
56
|
() => formData.value[props.config.displayFieldName]
|
|
57
57
|
);
|
|
58
|
+
function handleClear() {
|
|
59
|
+
formData.value[props.config.displayFieldName] = "";
|
|
60
|
+
formData.value[props.config.fieldName] = "";
|
|
61
|
+
}
|
|
58
62
|
const fieldsList = [
|
|
59
63
|
...(fieldsData == null ? void 0 : fieldsData.value) || [],
|
|
60
64
|
...(hiddenFields == null ? void 0 : hiddenFields.value) || []
|
|
@@ -96,9 +100,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
96
100
|
}, toHandlers(__props.config.eventHandlers), {
|
|
97
101
|
placeholder: __props.placeholder,
|
|
98
102
|
disabled: __props.disabled,
|
|
99
|
-
readonly: true,
|
|
100
103
|
onChange: handleChange,
|
|
101
|
-
clearable: ""
|
|
104
|
+
clearable: "",
|
|
105
|
+
onClear: handleClear
|
|
102
106
|
}), createSlots({ _: 2 }, [
|
|
103
107
|
__props.formMode != "query" ? {
|
|
104
108
|
name: "append",
|
|
@@ -120,7 +124,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
120
124
|
};
|
|
121
125
|
}
|
|
122
126
|
});
|
|
123
|
-
const _UserSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
127
|
+
const _UserSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b75f4ba0"]]);
|
|
124
128
|
export {
|
|
125
129
|
_UserSelect as default
|
|
126
130
|
};
|
|
@@ -7,8 +7,8 @@ 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 */
|
|
11
|
+
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
@@ -2,8 +2,8 @@ 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 */
|
|
6
|
+
/* empty css */
|
|
7
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";
|
|
@@ -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);
|
|
@@ -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");
|
package/lib/designer.css
CHANGED
|
@@ -5786,15 +5786,15 @@ body,
|
|
|
5786
5786
|
[data-v-fef25575] .el-upload-dragger {
|
|
5787
5787
|
padding: 20px;
|
|
5788
5788
|
}
|
|
5789
|
-
.text-field-wrapper[data-v-
|
|
5789
|
+
.text-field-wrapper[data-v-b75f4ba0] {
|
|
5790
5790
|
width: 100%;
|
|
5791
5791
|
}
|
|
5792
|
-
.prefix-content[data-v-
|
|
5793
|
-
.suffix-content[data-v-
|
|
5792
|
+
.prefix-content[data-v-b75f4ba0],
|
|
5793
|
+
.suffix-content[data-v-b75f4ba0] {
|
|
5794
5794
|
color: #909399;
|
|
5795
5795
|
font-size: 14px;
|
|
5796
5796
|
}
|
|
5797
|
-
.data-masking[data-v-
|
|
5797
|
+
.data-masking[data-v-b75f4ba0] {
|
|
5798
5798
|
margin-top: 4px;
|
|
5799
5799
|
padding: 8px;
|
|
5800
5800
|
background: #f5f7fa;
|
|
@@ -5802,27 +5802,27 @@ body,
|
|
|
5802
5802
|
font-size: 12px;
|
|
5803
5803
|
color: #909399;
|
|
5804
5804
|
}
|
|
5805
|
-
[data-v-
|
|
5805
|
+
[data-v-b75f4ba0] .el-input-group__append {
|
|
5806
5806
|
background-color: #409eff;
|
|
5807
5807
|
color: #fff;
|
|
5808
5808
|
padding: 0 18px;
|
|
5809
5809
|
box-shadow: 0 1px 0 0 #a8abb2 inset, 0 -1px 0 0 #a8abb2 inset, -1px 0 0 0 #a8abb2 inset;
|
|
5810
5810
|
}
|
|
5811
|
-
[data-v-
|
|
5811
|
+
[data-v-b75f4ba0] .el-input-group__append:hover {
|
|
5812
5812
|
background-color: #79bbff;
|
|
5813
5813
|
border-color: #79bbff;
|
|
5814
5814
|
color: #fff;
|
|
5815
5815
|
outline: none;
|
|
5816
5816
|
box-shadow: 0 1px 0 0 #c0c4cc inset, 0 -1px 0 0 #c0c4cc inset, -1px 0 0 0 #c0c4cc inset;
|
|
5817
|
-
}.text-field-wrapper[data-v-
|
|
5817
|
+
}.text-field-wrapper[data-v-1b45cabd] {
|
|
5818
5818
|
width: 100%;
|
|
5819
5819
|
}
|
|
5820
|
-
.prefix-content[data-v-
|
|
5821
|
-
.suffix-content[data-v-
|
|
5820
|
+
.prefix-content[data-v-1b45cabd],
|
|
5821
|
+
.suffix-content[data-v-1b45cabd] {
|
|
5822
5822
|
color: #909399;
|
|
5823
5823
|
font-size: 14px;
|
|
5824
5824
|
}
|
|
5825
|
-
.data-masking[data-v-
|
|
5825
|
+
.data-masking[data-v-1b45cabd] {
|
|
5826
5826
|
margin-top: 4px;
|
|
5827
5827
|
padding: 8px;
|
|
5828
5828
|
background: #f5f7fa;
|
|
@@ -5830,13 +5830,13 @@ body,
|
|
|
5830
5830
|
font-size: 12px;
|
|
5831
5831
|
color: #909399;
|
|
5832
5832
|
}
|
|
5833
|
-
[data-v-
|
|
5833
|
+
[data-v-1b45cabd] .el-input-group__append {
|
|
5834
5834
|
background-color: #409eff;
|
|
5835
5835
|
color: #fff;
|
|
5836
5836
|
padding: 0 18px;
|
|
5837
5837
|
box-shadow: 0 1px 0 0 #a8abb2 inset, 0 -1px 0 0 #a8abb2 inset, -1px 0 0 0 #a8abb2 inset;
|
|
5838
5838
|
}
|
|
5839
|
-
[data-v-
|
|
5839
|
+
[data-v-1b45cabd] .el-input-group__append:hover {
|
|
5840
5840
|
background-color: #79bbff;
|
|
5841
5841
|
border-color: #79bbff;
|
|
5842
5842
|
color: #fff;
|
|
@@ -5924,25 +5924,25 @@ body,
|
|
|
5924
5924
|
width: 80px;
|
|
5925
5925
|
font-size: var(--el-font-size-extra-small);
|
|
5926
5926
|
}
|
|
5927
|
-
.fec-form[data-v-
|
|
5927
|
+
.fec-form[data-v-df445e35] {
|
|
5928
5928
|
height: 100%;
|
|
5929
5929
|
}
|
|
5930
|
-
[data-v-
|
|
5930
|
+
[data-v-df445e35] .vgl-layout {
|
|
5931
5931
|
position: relative;
|
|
5932
5932
|
}
|
|
5933
|
-
[data-v-
|
|
5933
|
+
[data-v-df445e35] .vgl-item {
|
|
5934
5934
|
transition: none;
|
|
5935
5935
|
}
|
|
5936
|
-
[data-v-
|
|
5936
|
+
[data-v-df445e35] .vgl-item > .el-form-item {
|
|
5937
5937
|
width: 100%;
|
|
5938
5938
|
padding: 6px 8px 0 8px;
|
|
5939
5939
|
height: calc(100% - 15px);
|
|
5940
5940
|
display: flex;
|
|
5941
5941
|
}
|
|
5942
|
-
[data-v-
|
|
5942
|
+
[data-v-df445e35] .vgl-item > .el-form-item.el-form-item--label-top {
|
|
5943
5943
|
flex-direction: column;
|
|
5944
5944
|
}
|
|
5945
|
-
[data-v-
|
|
5945
|
+
[data-v-df445e35] .vgl-item > .el-form-item .el-form-item__label {
|
|
5946
5946
|
line-height: 20px;
|
|
5947
5947
|
display: flex;
|
|
5948
5948
|
align-items: center;
|
|
@@ -5951,12 +5951,12 @@ body,
|
|
|
5951
5951
|
flex-wrap: wrap;
|
|
5952
5952
|
white-space: normal;
|
|
5953
5953
|
}
|
|
5954
|
-
[data-v-
|
|
5954
|
+
[data-v-df445e35] .vgl-item > .el-form-item {
|
|
5955
5955
|
/* .el-form-item__error {
|
|
5956
5956
|
padding-top: 10px;
|
|
5957
5957
|
} */
|
|
5958
5958
|
}
|
|
5959
|
-
[data-v-
|
|
5959
|
+
[data-v-df445e35] .vgl-item > .el-container {
|
|
5960
5960
|
height: auto !important;
|
|
5961
5961
|
}.table-pagination[data-v-142fdd35] {
|
|
5962
5962
|
display: flex;
|
|
@@ -12,17 +12,9 @@ const _sfc_main = {
|
|
|
12
12
|
type: [String, Number],
|
|
13
13
|
default: ""
|
|
14
14
|
},
|
|
15
|
-
|
|
16
|
-
type: Array,
|
|
17
|
-
default: []
|
|
18
|
-
},
|
|
19
|
-
fieldNames: {
|
|
15
|
+
optionConfig: {
|
|
20
16
|
type: Object,
|
|
21
|
-
default: {
|
|
22
|
-
text: "text",
|
|
23
|
-
value: "value",
|
|
24
|
-
disabled: "disabled"
|
|
25
|
-
}
|
|
17
|
+
default: () => ({})
|
|
26
18
|
},
|
|
27
19
|
readonly: {
|
|
28
20
|
type: Boolean,
|
|
@@ -31,31 +23,16 @@ const _sfc_main = {
|
|
|
31
23
|
},
|
|
32
24
|
emits: ["update:modelValue"],
|
|
33
25
|
setup(__props, { emit: __emit }) {
|
|
26
|
+
const currentInstance = vue.getCurrentInstance();
|
|
27
|
+
currentInstance.proxy;
|
|
34
28
|
const props = __props;
|
|
35
|
-
|
|
29
|
+
vue.useAttrs();
|
|
36
30
|
const finalOptions = vue.ref([]);
|
|
37
31
|
optionUtil.getOptions({
|
|
38
|
-
...
|
|
39
|
-
staticOptions: props.options,
|
|
40
|
-
optionsFieldNames: props.fieldNames
|
|
32
|
+
...props.optionConfig
|
|
41
33
|
}).then((data) => {
|
|
42
34
|
finalOptions.value = data;
|
|
43
35
|
});
|
|
44
|
-
vue.watch(
|
|
45
|
-
() => props.options,
|
|
46
|
-
() => {
|
|
47
|
-
optionUtil.getOptions({
|
|
48
|
-
...attrs,
|
|
49
|
-
staticOptions: props.options,
|
|
50
|
-
optionsFieldNames: props.fieldNames
|
|
51
|
-
}).then((data) => {
|
|
52
|
-
finalOptions.value = data;
|
|
53
|
-
});
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
deep: true
|
|
57
|
-
}
|
|
58
|
-
);
|
|
59
36
|
const emit = __emit;
|
|
60
37
|
const compValue = vue.computed({
|
|
61
38
|
get: () => {
|
|
@@ -9,8 +9,8 @@ const vue = require("vue");
|
|
|
9
9
|
const parseRouteParams = require("../../utils/parseRouteParams.js");
|
|
10
10
|
const calculate = require("../../utils/formulajs/calculate.js");
|
|
11
11
|
const eventFlowHandler = require("../../utils/eventFlow/eventFlowHandler.js");
|
|
12
|
-
;/* empty css */
|
|
13
12
|
;/* empty css */
|
|
13
|
+
;/* empty css */
|
|
14
14
|
;/* empty css */
|
|
15
15
|
const common = require("../../utils/common.js");
|
|
16
16
|
;/* empty css */
|
|
@@ -867,7 +867,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
867
867
|
layoutFieldItem.hidden = true;
|
|
868
868
|
}
|
|
869
869
|
});
|
|
870
|
-
debugger;
|
|
871
870
|
if (parseFilterConfig.checkFilterMatch(item.filterConfig, formData.value, fields)) {
|
|
872
871
|
dataLinkFieldList.forEach((fieldId) => {
|
|
873
872
|
const layoutFieldItem = updatedLayoutData.find((g) => g.id == fieldId);
|
|
@@ -1097,5 +1096,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1097
1096
|
};
|
|
1098
1097
|
}
|
|
1099
1098
|
});
|
|
1100
|
-
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1099
|
+
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-df445e35"]]);
|
|
1101
1100
|
exports.default = _Form;
|
|
@@ -57,6 +57,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
57
57
|
const inputValue = vue.computed(
|
|
58
58
|
() => formData.value[props.config.displayFieldName]
|
|
59
59
|
);
|
|
60
|
+
function handleClear() {
|
|
61
|
+
formData.value[props.config.displayFieldName] = "";
|
|
62
|
+
formData.value[props.config.fieldName] = "";
|
|
63
|
+
}
|
|
60
64
|
const fieldsList = [
|
|
61
65
|
...(fieldsData == null ? void 0 : fieldsData.value) || [],
|
|
62
66
|
...(hiddenFields == null ? void 0 : hiddenFields.value) || []
|
|
@@ -98,9 +102,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
98
102
|
}, vue.toHandlers(__props.config.eventHandlers), {
|
|
99
103
|
placeholder: __props.placeholder,
|
|
100
104
|
disabled: __props.disabled,
|
|
101
|
-
readonly: true,
|
|
102
105
|
onChange: handleChange,
|
|
103
|
-
clearable: ""
|
|
106
|
+
clearable: "",
|
|
107
|
+
onClear: handleClear
|
|
104
108
|
}), vue.createSlots({ _: 2 }, [
|
|
105
109
|
__props.formMode != "query" ? {
|
|
106
110
|
name: "append",
|
|
@@ -122,5 +126,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
122
126
|
};
|
|
123
127
|
}
|
|
124
128
|
});
|
|
125
|
-
const _RoleSelect = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
129
|
+
const _RoleSelect = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-1b45cabd"]]);
|
|
126
130
|
exports.default = _RoleSelect;
|
|
@@ -5,8 +5,8 @@ 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 */
|
|
9
|
+
;/* empty css */
|
|
10
10
|
;/* empty css */
|
|
11
11
|
const index$3 = require("../../dialog/index.js");
|
|
12
12
|
;/* empty css */
|
|
@@ -57,6 +57,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
57
57
|
const inputValue = vue.computed(
|
|
58
58
|
() => formData.value[props.config.displayFieldName]
|
|
59
59
|
);
|
|
60
|
+
function handleClear() {
|
|
61
|
+
formData.value[props.config.displayFieldName] = "";
|
|
62
|
+
formData.value[props.config.fieldName] = "";
|
|
63
|
+
}
|
|
60
64
|
const fieldsList = [
|
|
61
65
|
...(fieldsData == null ? void 0 : fieldsData.value) || [],
|
|
62
66
|
...(hiddenFields == null ? void 0 : hiddenFields.value) || []
|
|
@@ -98,9 +102,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
98
102
|
}, vue.toHandlers(__props.config.eventHandlers), {
|
|
99
103
|
placeholder: __props.placeholder,
|
|
100
104
|
disabled: __props.disabled,
|
|
101
|
-
readonly: true,
|
|
102
105
|
onChange: handleChange,
|
|
103
|
-
clearable: ""
|
|
106
|
+
clearable: "",
|
|
107
|
+
onClear: handleClear
|
|
104
108
|
}), vue.createSlots({ _: 2 }, [
|
|
105
109
|
__props.formMode != "query" ? {
|
|
106
110
|
name: "append",
|
|
@@ -122,5 +126,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
122
126
|
};
|
|
123
127
|
}
|
|
124
128
|
});
|
|
125
|
-
const _UserSelect = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
129
|
+
const _UserSelect = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-b75f4ba0"]]);
|
|
126
130
|
exports.default = _UserSelect;
|
|
@@ -9,8 +9,8 @@ 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 */
|
|
13
|
+
;/* empty css */
|
|
14
14
|
;/* empty css */
|
|
15
15
|
;/* empty css */
|
|
16
16
|
;/* empty css */
|
|
@@ -4,8 +4,8 @@ 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 */
|
|
8
|
+
;/* empty css */
|
|
9
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");
|