@fecp/mobile-designer 1.0.6 → 1.0.8
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/_virtual/index.mjs +4 -4
- package/es/_virtual/index2.mjs +2 -5
- package/es/mobile-designer.css +30 -30
- package/es/mobileDesigner/index.mjs +4 -3
- package/es/mobileDesigner/package.json.mjs +1 -1
- package/es/mobileDesigner/src/axios/crypto.mjs +1 -1
- package/es/mobileDesigner/src/packages/dataLinkage/index.vue.mjs +37 -17
- package/es/mobileDesigner/src/views/designer/index.vue.mjs +2 -2
- package/es/node_modules/crypto-js/index.mjs +1 -1
- package/es/packages/mobile/src/components/dataDisplay/table/Table.vue.mjs +1 -2
- package/es/packages/mobile/src/utils/formatterUtil.mjs +1 -1
- package/lib/_virtual/index.js +4 -4
- package/lib/_virtual/index2.js +3 -6
- package/lib/mobile-designer.css +30 -30
- package/lib/mobileDesigner/index.js +2 -1
- package/lib/mobileDesigner/package.json.js +1 -1
- package/lib/mobileDesigner/src/axios/crypto.js +1 -1
- package/lib/mobileDesigner/src/packages/dataLinkage/index.vue.js +37 -17
- package/lib/mobileDesigner/src/views/designer/index.vue.js +2 -2
- package/lib/node_modules/crypto-js/index.js +1 -1
- package/lib/packages/mobile/src/components/dataDisplay/table/Table.vue.js +2 -3
- package/lib/packages/mobile/src/utils/formatterUtil.js +21 -21
- package/package.json +1 -1
package/es/_virtual/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
-
import { __require as
|
|
3
|
-
var
|
|
4
|
-
const
|
|
2
|
+
import { __require as requireCryptoJs } from "../node_modules/crypto-js/index.mjs";
|
|
3
|
+
var cryptoJsExports = requireCryptoJs();
|
|
4
|
+
const CryptoJS = /* @__PURE__ */ getDefaultExportFromCjs(cryptoJsExports);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
CryptoJS as default
|
|
7
7
|
};
|
package/es/_virtual/index2.mjs
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { __require as requireCryptoJs } from "../node_modules/crypto-js/index.mjs";
|
|
3
|
-
var cryptoJsExports = requireCryptoJs();
|
|
4
|
-
const CryptoJS = /* @__PURE__ */ getDefaultExportFromCjs(cryptoJsExports);
|
|
1
|
+
var cryptoJs = { exports: {} };
|
|
5
2
|
export {
|
|
6
|
-
|
|
3
|
+
cryptoJs as __module
|
|
7
4
|
};
|
package/es/mobile-designer.css
CHANGED
|
@@ -2753,69 +2753,69 @@ body,
|
|
|
2753
2753
|
}
|
|
2754
2754
|
.vue-formula[data-v-190ea4c0] .v-codemirror .cm-atomic-range .cm-cursor {
|
|
2755
2755
|
margin-left: 2px;
|
|
2756
|
-
}.tab-content[data-v-
|
|
2756
|
+
}.tab-content[data-v-1f231b0e] {
|
|
2757
2757
|
height: 600px;
|
|
2758
2758
|
overflow: auto;
|
|
2759
2759
|
padding: 12px 0;
|
|
2760
2760
|
}
|
|
2761
|
-
.tab-content .tab-link-content[data-v-
|
|
2761
|
+
.tab-content .tab-link-content[data-v-1f231b0e] {
|
|
2762
2762
|
display: flex;
|
|
2763
2763
|
flex-direction: column;
|
|
2764
2764
|
height: 100%;
|
|
2765
2765
|
}
|
|
2766
|
-
.tab-content .tab-link-content .rule-card[data-v-
|
|
2766
|
+
.tab-content .tab-link-content .rule-card[data-v-1f231b0e] {
|
|
2767
2767
|
border-radius: 8px;
|
|
2768
2768
|
transition: all 0.3s ease;
|
|
2769
2769
|
margin: 0 12px 16px;
|
|
2770
2770
|
}
|
|
2771
|
-
.tab-content .tab-link-content .rule-card[data-v-
|
|
2771
|
+
.tab-content .tab-link-content .rule-card[data-v-1f231b0e]:hover {
|
|
2772
2772
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
2773
2773
|
}
|
|
2774
|
-
.tab-content .tab-link-content .rule-card[data-v-
|
|
2774
|
+
.tab-content .tab-link-content .rule-card[data-v-1f231b0e] .el-card__body {
|
|
2775
2775
|
padding: 12px;
|
|
2776
2776
|
}
|
|
2777
|
-
.tab-content .tab-link-content .rule-card .rule-content[data-v-
|
|
2777
|
+
.tab-content .tab-link-content .rule-card .rule-content[data-v-1f231b0e] {
|
|
2778
2778
|
position: relative;
|
|
2779
2779
|
}
|
|
2780
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-actions[data-v-
|
|
2780
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-actions[data-v-1f231b0e] {
|
|
2781
2781
|
position: absolute;
|
|
2782
2782
|
top: 0;
|
|
2783
2783
|
right: 0;
|
|
2784
2784
|
display: flex;
|
|
2785
2785
|
z-index: 10;
|
|
2786
2786
|
}
|
|
2787
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-actions .el-button[data-v-
|
|
2787
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-actions .el-button[data-v-1f231b0e] {
|
|
2788
2788
|
padding: 4px 8px;
|
|
2789
2789
|
font-size: 13px;
|
|
2790
2790
|
}
|
|
2791
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section[data-v-
|
|
2791
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section[data-v-1f231b0e] {
|
|
2792
2792
|
margin-bottom: 12px;
|
|
2793
2793
|
}
|
|
2794
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section[data-v-
|
|
2794
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section[data-v-1f231b0e]:last-child {
|
|
2795
2795
|
margin-bottom: 0;
|
|
2796
2796
|
}
|
|
2797
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-section-title[data-v-
|
|
2797
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-section-title[data-v-1f231b0e] {
|
|
2798
2798
|
font-size: 13px;
|
|
2799
2799
|
color: #909399;
|
|
2800
2800
|
margin-bottom: 5px;
|
|
2801
2801
|
font-weight: 500;
|
|
2802
2802
|
}
|
|
2803
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-field-values[data-v-
|
|
2803
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-field-values[data-v-1f231b0e] {
|
|
2804
2804
|
display: flex;
|
|
2805
2805
|
flex-wrap: wrap;
|
|
2806
2806
|
align-items: center;
|
|
2807
2807
|
}
|
|
2808
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-field-values .field-value-item[data-v-
|
|
2808
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-field-values .field-value-item[data-v-1f231b0e] {
|
|
2809
2809
|
color: #1976d2;
|
|
2810
2810
|
font-weight: 500;
|
|
2811
2811
|
font-size: 14px;
|
|
2812
2812
|
}
|
|
2813
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-conditions .condition-item[data-v-
|
|
2813
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-conditions .condition-item[data-v-1f231b0e] {
|
|
2814
2814
|
border-radius: 6px;
|
|
2815
2815
|
font-size: 14px;
|
|
2816
2816
|
line-height: 1.8;
|
|
2817
2817
|
}
|
|
2818
|
-
.tab-content .tab-empty-state[data-v-
|
|
2818
|
+
.tab-content .tab-empty-state[data-v-1f231b0e] {
|
|
2819
2819
|
display: flex;
|
|
2820
2820
|
flex-direction: column;
|
|
2821
2821
|
align-items: center;
|
|
@@ -2824,24 +2824,24 @@ body,
|
|
|
2824
2824
|
padding: 40px;
|
|
2825
2825
|
gap: 20px;
|
|
2826
2826
|
}
|
|
2827
|
-
.add-rule-btn[data-v-
|
|
2827
|
+
.add-rule-btn[data-v-1f231b0e] {
|
|
2828
2828
|
margin-bottom: 16px;
|
|
2829
2829
|
display: flex;
|
|
2830
2830
|
align-items: flex-end;
|
|
2831
2831
|
padding: 0 12px;
|
|
2832
2832
|
gap: 12px;
|
|
2833
2833
|
}
|
|
2834
|
-
.data-link-tabs[data-v-
|
|
2834
|
+
.data-link-tabs[data-v-1f231b0e] {
|
|
2835
2835
|
background: #fff;
|
|
2836
2836
|
}
|
|
2837
|
-
.data-link-tabs[data-v-
|
|
2837
|
+
.data-link-tabs[data-v-1f231b0e] .el-tabs__header {
|
|
2838
2838
|
margin-bottom: 0px;
|
|
2839
2839
|
padding: 0 18px;
|
|
2840
2840
|
}
|
|
2841
|
-
.data-link-tabs[data-v-
|
|
2841
|
+
.data-link-tabs[data-v-1f231b0e] .el-tabs__nav-wrap:after {
|
|
2842
2842
|
height: 1px;
|
|
2843
2843
|
}
|
|
2844
|
-
.advanced-title[data-v-
|
|
2844
|
+
.advanced-title[data-v-1f231b0e] {
|
|
2845
2845
|
font-size: 14px;
|
|
2846
2846
|
color: #131d2e;
|
|
2847
2847
|
line-height: 24px;
|
|
@@ -2849,7 +2849,7 @@ body,
|
|
|
2849
2849
|
position: relative;
|
|
2850
2850
|
margin-bottom: 8px;
|
|
2851
2851
|
}
|
|
2852
|
-
.advanced-title[data-v-
|
|
2852
|
+
.advanced-title[data-v-1f231b0e]:before {
|
|
2853
2853
|
content: " ";
|
|
2854
2854
|
display: inline-block;
|
|
2855
2855
|
width: 3px;
|
|
@@ -2860,28 +2860,28 @@ body,
|
|
|
2860
2860
|
left: 0px;
|
|
2861
2861
|
border-radius: 4px;
|
|
2862
2862
|
}
|
|
2863
|
-
.field-assignment-area .field-assignment-list[data-v-
|
|
2863
|
+
.field-assignment-area .field-assignment-list[data-v-1f231b0e] {
|
|
2864
2864
|
margin-bottom: 12px;
|
|
2865
2865
|
}
|
|
2866
|
-
.field-assignment-area .field-assignment-item[data-v-
|
|
2866
|
+
.field-assignment-area .field-assignment-item[data-v-1f231b0e] {
|
|
2867
2867
|
margin-bottom: 12px;
|
|
2868
2868
|
display: flex;
|
|
2869
2869
|
align-items: center;
|
|
2870
2870
|
flex-wrap: wrap;
|
|
2871
2871
|
}
|
|
2872
|
-
.field-assignment-area .field-assignment-item .field-value-input[data-v-
|
|
2872
|
+
.field-assignment-area .field-assignment-item .field-value-input[data-v-1f231b0e] {
|
|
2873
2873
|
flex: 1;
|
|
2874
2874
|
min-width: 200px;
|
|
2875
2875
|
}
|
|
2876
|
-
.field-assignment-area .add-assignment-btn[data-v-
|
|
2876
|
+
.field-assignment-area .add-assignment-btn[data-v-1f231b0e] {
|
|
2877
2877
|
font-size: 14px;
|
|
2878
2878
|
}
|
|
2879
|
-
.field-assignments-display[data-v-
|
|
2879
|
+
.field-assignments-display[data-v-1f231b0e] {
|
|
2880
2880
|
display: flex;
|
|
2881
2881
|
flex-direction: column;
|
|
2882
2882
|
gap: 8px;
|
|
2883
2883
|
}
|
|
2884
|
-
.field-assignments-display .field-assignment-display-item[data-v-
|
|
2884
|
+
.field-assignments-display .field-assignment-display-item[data-v-1f231b0e] {
|
|
2885
2885
|
display: flex;
|
|
2886
2886
|
align-items: center;
|
|
2887
2887
|
gap: 8px;
|
|
@@ -2889,15 +2889,15 @@ body,
|
|
|
2889
2889
|
font-size: 14px;
|
|
2890
2890
|
line-height: 1.6;
|
|
2891
2891
|
}
|
|
2892
|
-
.field-assignments-display .field-assignment-display-item .field-name[data-v-
|
|
2892
|
+
.field-assignments-display .field-assignment-display-item .field-name[data-v-1f231b0e] {
|
|
2893
2893
|
color: #1976d2;
|
|
2894
2894
|
font-weight: 500;
|
|
2895
2895
|
}
|
|
2896
|
-
.field-assignments-display .field-assignment-display-item .field-operator[data-v-
|
|
2896
|
+
.field-assignments-display .field-assignment-display-item .field-operator[data-v-1f231b0e] {
|
|
2897
2897
|
color: #909399;
|
|
2898
2898
|
margin: 0 4px;
|
|
2899
2899
|
}
|
|
2900
|
-
.field-assignments-display .field-assignment-display-item .field-value-display[data-v-
|
|
2900
|
+
.field-assignments-display .field-assignment-display-item .field-value-display[data-v-1f231b0e] {
|
|
2901
2901
|
color: #303133;
|
|
2902
2902
|
}.advanced-title[data-v-86f3da95] {
|
|
2903
2903
|
font-size: 14px;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import fecMobileDesigner from "./src/views/designer/index.vue.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
const install = (app) => {
|
|
4
|
-
app.component("fecMobileDesigner",
|
|
4
|
+
app.component("fecMobileDesigner", fecMobileDesigner);
|
|
5
5
|
};
|
|
6
6
|
const index = {
|
|
7
|
-
install
|
|
7
|
+
install,
|
|
8
|
+
fecMobileDesigner
|
|
8
9
|
};
|
|
9
10
|
export {
|
|
10
11
|
index as default
|
|
@@ -71,20 +71,26 @@ const _hoisted_14 = { class: "field-name" };
|
|
|
71
71
|
const _hoisted_15 = { class: "field-value-display" };
|
|
72
72
|
const _hoisted_16 = {
|
|
73
73
|
key: 1,
|
|
74
|
+
class: "field-assignments-display"
|
|
75
|
+
};
|
|
76
|
+
const _hoisted_17 = { class: "field-name" };
|
|
77
|
+
const _hoisted_18 = { class: "field-value-display" };
|
|
78
|
+
const _hoisted_19 = {
|
|
79
|
+
key: 2,
|
|
74
80
|
class: "field-value-item"
|
|
75
81
|
};
|
|
76
|
-
const
|
|
82
|
+
const _hoisted_20 = {
|
|
77
83
|
key: 1,
|
|
78
84
|
class: "tab-empty-state"
|
|
79
85
|
};
|
|
80
|
-
const
|
|
81
|
-
const
|
|
82
|
-
const
|
|
86
|
+
const _hoisted_21 = { class: "advanced-title" };
|
|
87
|
+
const _hoisted_22 = { key: 0 };
|
|
88
|
+
const _hoisted_23 = {
|
|
83
89
|
key: 1,
|
|
84
90
|
class: "field-assignment-area"
|
|
85
91
|
};
|
|
86
|
-
const
|
|
87
|
-
const
|
|
92
|
+
const _hoisted_24 = { class: "field-assignment-list" };
|
|
93
|
+
const _hoisted_25 = {
|
|
88
94
|
key: 0,
|
|
89
95
|
class: "field-value-input"
|
|
90
96
|
};
|
|
@@ -210,7 +216,8 @@ const _sfc_main = {
|
|
|
210
216
|
required: "必填字段",
|
|
211
217
|
readonly: "只读字段",
|
|
212
218
|
disabled: "禁用字段",
|
|
213
|
-
property: "属性字段"
|
|
219
|
+
property: "属性字段",
|
|
220
|
+
options: "可选项字段"
|
|
214
221
|
};
|
|
215
222
|
return titleMap[tabName] || "联动字段";
|
|
216
223
|
};
|
|
@@ -243,10 +250,12 @@ const _sfc_main = {
|
|
|
243
250
|
filterTitle.value = `${tab.label}联动规则`;
|
|
244
251
|
filterConfig.value = cloneDeep(item.filterConfig);
|
|
245
252
|
dataLinkFieldList.value = [...item.dataLinkFieldList.map(String)];
|
|
246
|
-
if (tab.name == "dataLink" && item.fieldAssignments) {
|
|
253
|
+
if ((tab.name == "dataLink" || tab.name == "options") && item.fieldAssignments) {
|
|
247
254
|
fieldAssignments.value = cloneDeep(item.fieldAssignments);
|
|
248
255
|
} else if (tab.name == "dataLink") {
|
|
249
256
|
fieldAssignments.value = [];
|
|
257
|
+
} else if (tab.name == "options") {
|
|
258
|
+
fieldAssignments.value = [];
|
|
250
259
|
}
|
|
251
260
|
editingRuleIndex.value = index;
|
|
252
261
|
openAdvancedFilterDialog();
|
|
@@ -377,7 +386,18 @@ const _sfc_main = {
|
|
|
377
386
|
])
|
|
378
387
|
]);
|
|
379
388
|
}), 128))
|
|
380
|
-
])) :
|
|
389
|
+
])) : tab.name == "options" && item.fieldAssignments && item.fieldAssignments.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_16, [
|
|
390
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.fieldAssignments, (assignment, index) => {
|
|
391
|
+
return openBlock(), createElementBlock("div", {
|
|
392
|
+
key: index,
|
|
393
|
+
class: "field-assignment-display-item"
|
|
394
|
+
}, [
|
|
395
|
+
createElementVNode("span", _hoisted_17, "「" + toDisplayString(getFieldLabel(assignment.fieldId)) + "」", 1),
|
|
396
|
+
_cache[7] || (_cache[7] = createElementVNode("span", { class: "field-operator" }, "→", -1)),
|
|
397
|
+
createElementVNode("span", _hoisted_18, toDisplayString(assignment), 1)
|
|
398
|
+
]);
|
|
399
|
+
}), 128))
|
|
400
|
+
])) : (openBlock(), createElementBlock("span", _hoisted_19, toDisplayString(item.dataLinkFieldList.map((fieldId) => `${getFieldLabel(fieldId)}`).join(", ")), 1))
|
|
381
401
|
])
|
|
382
402
|
])
|
|
383
403
|
])
|
|
@@ -391,7 +411,7 @@ const _sfc_main = {
|
|
|
391
411
|
_: 2
|
|
392
412
|
}, 1024)
|
|
393
413
|
])) : createCommentVNode("", true),
|
|
394
|
-
!((_d = (_c = props.linkedConfig) == null ? void 0 : _c[tab.name]) == null ? void 0 : _d.length) ? (openBlock(), createElementBlock("div",
|
|
414
|
+
!((_d = (_c = props.linkedConfig) == null ? void 0 : _c[tab.name]) == null ? void 0 : _d.length) ? (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
395
415
|
createVNode(_component_el_empty, {
|
|
396
416
|
description: tab.desc
|
|
397
417
|
}, {
|
|
@@ -435,8 +455,8 @@ const _sfc_main = {
|
|
|
435
455
|
default: withCtx(({ filterConfigData }) => {
|
|
436
456
|
var _a, _b;
|
|
437
457
|
return [
|
|
438
|
-
createElementVNode("span",
|
|
439
|
-
unref(currentTab).name !== "dataLink" ? (openBlock(), createElementBlock("div",
|
|
458
|
+
createElementVNode("span", _hoisted_21, toDisplayString(unref(filterSuccessDesc)), 1),
|
|
459
|
+
unref(currentTab).name !== "dataLink" ? (openBlock(), createElementBlock("div", _hoisted_22, [
|
|
440
460
|
createVNode(_component_el_select, {
|
|
441
461
|
modelValue: unref(dataLinkFieldList),
|
|
442
462
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(dataLinkFieldList) ? dataLinkFieldList.value = $event : null),
|
|
@@ -456,8 +476,8 @@ const _sfc_main = {
|
|
|
456
476
|
]),
|
|
457
477
|
_: 2
|
|
458
478
|
}, 1032, ["modelValue", "placeholder", "disabled"])
|
|
459
|
-
])) : (openBlock(), createElementBlock("div",
|
|
460
|
-
createElementVNode("div",
|
|
479
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_23, [
|
|
480
|
+
createElementVNode("div", _hoisted_24, [
|
|
461
481
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(fieldAssignments), (assignment, index) => {
|
|
462
482
|
return openBlock(), createElementBlock("div", {
|
|
463
483
|
key: index,
|
|
@@ -504,7 +524,7 @@ const _sfc_main = {
|
|
|
504
524
|
]),
|
|
505
525
|
_: 2
|
|
506
526
|
}, 1032, ["modelValue", "onUpdate:modelValue"]),
|
|
507
|
-
assignment.fieldId ? (openBlock(), createElementBlock("div",
|
|
527
|
+
assignment.fieldId ? (openBlock(), createElementBlock("div", _hoisted_25, [
|
|
508
528
|
createVNode(unref(_sfc_main$1), {
|
|
509
529
|
title: "公式配置",
|
|
510
530
|
formulaConf: assignment.formula.value,
|
|
@@ -530,7 +550,7 @@ const _sfc_main = {
|
|
|
530
550
|
onClick: addFieldAssignment,
|
|
531
551
|
class: "add-assignment-btn"
|
|
532
552
|
}, {
|
|
533
|
-
default: withCtx(() => _cache[
|
|
553
|
+
default: withCtx(() => _cache[8] || (_cache[8] = [
|
|
534
554
|
createTextVNode(" 添加字段赋值 ")
|
|
535
555
|
])),
|
|
536
556
|
_: 1
|
|
@@ -544,7 +564,7 @@ const _sfc_main = {
|
|
|
544
564
|
};
|
|
545
565
|
}
|
|
546
566
|
};
|
|
547
|
-
const DataLinkage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
567
|
+
const DataLinkage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1f231b0e"]]);
|
|
548
568
|
export {
|
|
549
569
|
DataLinkage as default
|
|
550
570
|
};
|
|
@@ -160,7 +160,7 @@ const _sfc_main = {
|
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
|
-
const
|
|
163
|
+
const fecMobileDesigner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-54fafcf5"]]);
|
|
164
164
|
export {
|
|
165
|
-
|
|
165
|
+
fecMobileDesigner as default
|
|
166
166
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as cryptoJs$1 } from "../../_virtual/
|
|
1
|
+
import { __module as cryptoJs$1 } from "../../_virtual/index2.mjs";
|
|
2
2
|
import { __require as requireCore } from "./core.mjs";
|
|
3
3
|
import { __require as requireX64Core } from "./x64-core.mjs";
|
|
4
4
|
import { __require as requireLibTypedarrays } from "./lib-typedarrays.mjs";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { getCurrentInstance, computed, ref, onMounted, createVNode, render, nextTick, resolveComponent, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, unref, normalizeStyle, normalizeClass, withCtx, isRef, createSlots, createElementVNode, renderList, renderSlot } from "vue";
|
|
6
|
-
import "
|
|
6
|
+
import { VxeGrid } from "vxe-table";
|
|
7
7
|
import { createDataSource } from "../../../utils/datasource.mjs";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { textFormatter, dateFormatter, cascadeFormatter, multipleFormatter, selectFormatter } from "../../../utils/formatterUtil.mjs";
|
|
@@ -17,7 +17,6 @@ import { textFormatter, dateFormatter, cascadeFormatter, multipleFormatter, sele
|
|
|
17
17
|
/* empty css */
|
|
18
18
|
/* empty css */
|
|
19
19
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
20
|
-
import { VxeGrid } from "../../../../../../node_modules/vxe-table/es/grid/index.mjs";
|
|
21
20
|
import { SwipeCell } from "../../../../node_modules/vant/es/swipe-cell/index.mjs";
|
|
22
21
|
import { Button } from "../../../../node_modules/vant/es/button/index.mjs";
|
|
23
22
|
import { showConfirmDialog } from "../../../../node_modules/vant/es/dialog/function-call.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import hooks from "../../node_modules/moment/dist/moment.mjs";
|
|
2
2
|
import { parseDateFormatter } from "./dateUtil.mjs";
|
|
3
|
-
import XEUtils from "
|
|
3
|
+
import XEUtils from "xe-utils";
|
|
4
4
|
const selectFormatter = (value, options = []) => {
|
|
5
5
|
const item = options.find((item2) => item2.value === value);
|
|
6
6
|
return item ? item.label : value;
|
package/lib/_virtual/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const _commonjsHelpers = require("./_commonjsHelpers.js");
|
|
4
|
-
const index = require("../node_modules/
|
|
5
|
-
var
|
|
6
|
-
const
|
|
7
|
-
exports.default =
|
|
4
|
+
const index = require("../node_modules/crypto-js/index.js");
|
|
5
|
+
var cryptoJsExports = index.__require();
|
|
6
|
+
const CryptoJS = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(cryptoJsExports);
|
|
7
|
+
exports.default = CryptoJS;
|
package/lib/_virtual/index2.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var cryptoJsExports = index.__require();
|
|
6
|
-
const CryptoJS = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(cryptoJsExports);
|
|
7
|
-
exports.default = CryptoJS;
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
var cryptoJs = { exports: {} };
|
|
4
|
+
exports.__module = cryptoJs;
|
package/lib/mobile-designer.css
CHANGED
|
@@ -2753,69 +2753,69 @@ body,
|
|
|
2753
2753
|
}
|
|
2754
2754
|
.vue-formula[data-v-190ea4c0] .v-codemirror .cm-atomic-range .cm-cursor {
|
|
2755
2755
|
margin-left: 2px;
|
|
2756
|
-
}.tab-content[data-v-
|
|
2756
|
+
}.tab-content[data-v-1f231b0e] {
|
|
2757
2757
|
height: 600px;
|
|
2758
2758
|
overflow: auto;
|
|
2759
2759
|
padding: 12px 0;
|
|
2760
2760
|
}
|
|
2761
|
-
.tab-content .tab-link-content[data-v-
|
|
2761
|
+
.tab-content .tab-link-content[data-v-1f231b0e] {
|
|
2762
2762
|
display: flex;
|
|
2763
2763
|
flex-direction: column;
|
|
2764
2764
|
height: 100%;
|
|
2765
2765
|
}
|
|
2766
|
-
.tab-content .tab-link-content .rule-card[data-v-
|
|
2766
|
+
.tab-content .tab-link-content .rule-card[data-v-1f231b0e] {
|
|
2767
2767
|
border-radius: 8px;
|
|
2768
2768
|
transition: all 0.3s ease;
|
|
2769
2769
|
margin: 0 12px 16px;
|
|
2770
2770
|
}
|
|
2771
|
-
.tab-content .tab-link-content .rule-card[data-v-
|
|
2771
|
+
.tab-content .tab-link-content .rule-card[data-v-1f231b0e]:hover {
|
|
2772
2772
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
2773
2773
|
}
|
|
2774
|
-
.tab-content .tab-link-content .rule-card[data-v-
|
|
2774
|
+
.tab-content .tab-link-content .rule-card[data-v-1f231b0e] .el-card__body {
|
|
2775
2775
|
padding: 12px;
|
|
2776
2776
|
}
|
|
2777
|
-
.tab-content .tab-link-content .rule-card .rule-content[data-v-
|
|
2777
|
+
.tab-content .tab-link-content .rule-card .rule-content[data-v-1f231b0e] {
|
|
2778
2778
|
position: relative;
|
|
2779
2779
|
}
|
|
2780
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-actions[data-v-
|
|
2780
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-actions[data-v-1f231b0e] {
|
|
2781
2781
|
position: absolute;
|
|
2782
2782
|
top: 0;
|
|
2783
2783
|
right: 0;
|
|
2784
2784
|
display: flex;
|
|
2785
2785
|
z-index: 10;
|
|
2786
2786
|
}
|
|
2787
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-actions .el-button[data-v-
|
|
2787
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-actions .el-button[data-v-1f231b0e] {
|
|
2788
2788
|
padding: 4px 8px;
|
|
2789
2789
|
font-size: 13px;
|
|
2790
2790
|
}
|
|
2791
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section[data-v-
|
|
2791
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section[data-v-1f231b0e] {
|
|
2792
2792
|
margin-bottom: 12px;
|
|
2793
2793
|
}
|
|
2794
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section[data-v-
|
|
2794
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section[data-v-1f231b0e]:last-child {
|
|
2795
2795
|
margin-bottom: 0;
|
|
2796
2796
|
}
|
|
2797
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-section-title[data-v-
|
|
2797
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-section-title[data-v-1f231b0e] {
|
|
2798
2798
|
font-size: 13px;
|
|
2799
2799
|
color: #909399;
|
|
2800
2800
|
margin-bottom: 5px;
|
|
2801
2801
|
font-weight: 500;
|
|
2802
2802
|
}
|
|
2803
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-field-values[data-v-
|
|
2803
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-field-values[data-v-1f231b0e] {
|
|
2804
2804
|
display: flex;
|
|
2805
2805
|
flex-wrap: wrap;
|
|
2806
2806
|
align-items: center;
|
|
2807
2807
|
}
|
|
2808
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-field-values .field-value-item[data-v-
|
|
2808
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-field-values .field-value-item[data-v-1f231b0e] {
|
|
2809
2809
|
color: #1976d2;
|
|
2810
2810
|
font-weight: 500;
|
|
2811
2811
|
font-size: 14px;
|
|
2812
2812
|
}
|
|
2813
|
-
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-conditions .condition-item[data-v-
|
|
2813
|
+
.tab-content .tab-link-content .rule-card .rule-content .rule-section .rule-conditions .condition-item[data-v-1f231b0e] {
|
|
2814
2814
|
border-radius: 6px;
|
|
2815
2815
|
font-size: 14px;
|
|
2816
2816
|
line-height: 1.8;
|
|
2817
2817
|
}
|
|
2818
|
-
.tab-content .tab-empty-state[data-v-
|
|
2818
|
+
.tab-content .tab-empty-state[data-v-1f231b0e] {
|
|
2819
2819
|
display: flex;
|
|
2820
2820
|
flex-direction: column;
|
|
2821
2821
|
align-items: center;
|
|
@@ -2824,24 +2824,24 @@ body,
|
|
|
2824
2824
|
padding: 40px;
|
|
2825
2825
|
gap: 20px;
|
|
2826
2826
|
}
|
|
2827
|
-
.add-rule-btn[data-v-
|
|
2827
|
+
.add-rule-btn[data-v-1f231b0e] {
|
|
2828
2828
|
margin-bottom: 16px;
|
|
2829
2829
|
display: flex;
|
|
2830
2830
|
align-items: flex-end;
|
|
2831
2831
|
padding: 0 12px;
|
|
2832
2832
|
gap: 12px;
|
|
2833
2833
|
}
|
|
2834
|
-
.data-link-tabs[data-v-
|
|
2834
|
+
.data-link-tabs[data-v-1f231b0e] {
|
|
2835
2835
|
background: #fff;
|
|
2836
2836
|
}
|
|
2837
|
-
.data-link-tabs[data-v-
|
|
2837
|
+
.data-link-tabs[data-v-1f231b0e] .el-tabs__header {
|
|
2838
2838
|
margin-bottom: 0px;
|
|
2839
2839
|
padding: 0 18px;
|
|
2840
2840
|
}
|
|
2841
|
-
.data-link-tabs[data-v-
|
|
2841
|
+
.data-link-tabs[data-v-1f231b0e] .el-tabs__nav-wrap:after {
|
|
2842
2842
|
height: 1px;
|
|
2843
2843
|
}
|
|
2844
|
-
.advanced-title[data-v-
|
|
2844
|
+
.advanced-title[data-v-1f231b0e] {
|
|
2845
2845
|
font-size: 14px;
|
|
2846
2846
|
color: #131d2e;
|
|
2847
2847
|
line-height: 24px;
|
|
@@ -2849,7 +2849,7 @@ body,
|
|
|
2849
2849
|
position: relative;
|
|
2850
2850
|
margin-bottom: 8px;
|
|
2851
2851
|
}
|
|
2852
|
-
.advanced-title[data-v-
|
|
2852
|
+
.advanced-title[data-v-1f231b0e]:before {
|
|
2853
2853
|
content: " ";
|
|
2854
2854
|
display: inline-block;
|
|
2855
2855
|
width: 3px;
|
|
@@ -2860,28 +2860,28 @@ body,
|
|
|
2860
2860
|
left: 0px;
|
|
2861
2861
|
border-radius: 4px;
|
|
2862
2862
|
}
|
|
2863
|
-
.field-assignment-area .field-assignment-list[data-v-
|
|
2863
|
+
.field-assignment-area .field-assignment-list[data-v-1f231b0e] {
|
|
2864
2864
|
margin-bottom: 12px;
|
|
2865
2865
|
}
|
|
2866
|
-
.field-assignment-area .field-assignment-item[data-v-
|
|
2866
|
+
.field-assignment-area .field-assignment-item[data-v-1f231b0e] {
|
|
2867
2867
|
margin-bottom: 12px;
|
|
2868
2868
|
display: flex;
|
|
2869
2869
|
align-items: center;
|
|
2870
2870
|
flex-wrap: wrap;
|
|
2871
2871
|
}
|
|
2872
|
-
.field-assignment-area .field-assignment-item .field-value-input[data-v-
|
|
2872
|
+
.field-assignment-area .field-assignment-item .field-value-input[data-v-1f231b0e] {
|
|
2873
2873
|
flex: 1;
|
|
2874
2874
|
min-width: 200px;
|
|
2875
2875
|
}
|
|
2876
|
-
.field-assignment-area .add-assignment-btn[data-v-
|
|
2876
|
+
.field-assignment-area .add-assignment-btn[data-v-1f231b0e] {
|
|
2877
2877
|
font-size: 14px;
|
|
2878
2878
|
}
|
|
2879
|
-
.field-assignments-display[data-v-
|
|
2879
|
+
.field-assignments-display[data-v-1f231b0e] {
|
|
2880
2880
|
display: flex;
|
|
2881
2881
|
flex-direction: column;
|
|
2882
2882
|
gap: 8px;
|
|
2883
2883
|
}
|
|
2884
|
-
.field-assignments-display .field-assignment-display-item[data-v-
|
|
2884
|
+
.field-assignments-display .field-assignment-display-item[data-v-1f231b0e] {
|
|
2885
2885
|
display: flex;
|
|
2886
2886
|
align-items: center;
|
|
2887
2887
|
gap: 8px;
|
|
@@ -2889,15 +2889,15 @@ body,
|
|
|
2889
2889
|
font-size: 14px;
|
|
2890
2890
|
line-height: 1.6;
|
|
2891
2891
|
}
|
|
2892
|
-
.field-assignments-display .field-assignment-display-item .field-name[data-v-
|
|
2892
|
+
.field-assignments-display .field-assignment-display-item .field-name[data-v-1f231b0e] {
|
|
2893
2893
|
color: #1976d2;
|
|
2894
2894
|
font-weight: 500;
|
|
2895
2895
|
}
|
|
2896
|
-
.field-assignments-display .field-assignment-display-item .field-operator[data-v-
|
|
2896
|
+
.field-assignments-display .field-assignment-display-item .field-operator[data-v-1f231b0e] {
|
|
2897
2897
|
color: #909399;
|
|
2898
2898
|
margin: 0 4px;
|
|
2899
2899
|
}
|
|
2900
|
-
.field-assignments-display .field-assignment-display-item .field-value-display[data-v-
|
|
2900
|
+
.field-assignments-display .field-assignment-display-item .field-value-display[data-v-1f231b0e] {
|
|
2901
2901
|
color: #303133;
|
|
2902
2902
|
}.advanced-title[data-v-86f3da95] {
|
|
2903
2903
|
font-size: 14px;
|
|
@@ -73,20 +73,26 @@ const _hoisted_14 = { class: "field-name" };
|
|
|
73
73
|
const _hoisted_15 = { class: "field-value-display" };
|
|
74
74
|
const _hoisted_16 = {
|
|
75
75
|
key: 1,
|
|
76
|
+
class: "field-assignments-display"
|
|
77
|
+
};
|
|
78
|
+
const _hoisted_17 = { class: "field-name" };
|
|
79
|
+
const _hoisted_18 = { class: "field-value-display" };
|
|
80
|
+
const _hoisted_19 = {
|
|
81
|
+
key: 2,
|
|
76
82
|
class: "field-value-item"
|
|
77
83
|
};
|
|
78
|
-
const
|
|
84
|
+
const _hoisted_20 = {
|
|
79
85
|
key: 1,
|
|
80
86
|
class: "tab-empty-state"
|
|
81
87
|
};
|
|
82
|
-
const
|
|
83
|
-
const
|
|
84
|
-
const
|
|
88
|
+
const _hoisted_21 = { class: "advanced-title" };
|
|
89
|
+
const _hoisted_22 = { key: 0 };
|
|
90
|
+
const _hoisted_23 = {
|
|
85
91
|
key: 1,
|
|
86
92
|
class: "field-assignment-area"
|
|
87
93
|
};
|
|
88
|
-
const
|
|
89
|
-
const
|
|
94
|
+
const _hoisted_24 = { class: "field-assignment-list" };
|
|
95
|
+
const _hoisted_25 = {
|
|
90
96
|
key: 0,
|
|
91
97
|
class: "field-value-input"
|
|
92
98
|
};
|
|
@@ -212,7 +218,8 @@ const _sfc_main = {
|
|
|
212
218
|
required: "必填字段",
|
|
213
219
|
readonly: "只读字段",
|
|
214
220
|
disabled: "禁用字段",
|
|
215
|
-
property: "属性字段"
|
|
221
|
+
property: "属性字段",
|
|
222
|
+
options: "可选项字段"
|
|
216
223
|
};
|
|
217
224
|
return titleMap[tabName] || "联动字段";
|
|
218
225
|
};
|
|
@@ -245,10 +252,12 @@ const _sfc_main = {
|
|
|
245
252
|
filterTitle.value = `${tab.label}联动规则`;
|
|
246
253
|
filterConfig.value = common.cloneDeep(item.filterConfig);
|
|
247
254
|
dataLinkFieldList.value = [...item.dataLinkFieldList.map(String)];
|
|
248
|
-
if (tab.name == "dataLink" && item.fieldAssignments) {
|
|
255
|
+
if ((tab.name == "dataLink" || tab.name == "options") && item.fieldAssignments) {
|
|
249
256
|
fieldAssignments.value = common.cloneDeep(item.fieldAssignments);
|
|
250
257
|
} else if (tab.name == "dataLink") {
|
|
251
258
|
fieldAssignments.value = [];
|
|
259
|
+
} else if (tab.name == "options") {
|
|
260
|
+
fieldAssignments.value = [];
|
|
252
261
|
}
|
|
253
262
|
editingRuleIndex.value = index2;
|
|
254
263
|
openAdvancedFilterDialog();
|
|
@@ -379,7 +388,18 @@ const _sfc_main = {
|
|
|
379
388
|
])
|
|
380
389
|
]);
|
|
381
390
|
}), 128))
|
|
382
|
-
])) :
|
|
391
|
+
])) : tab.name == "options" && item.fieldAssignments && item.fieldAssignments.length > 0 ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_16, [
|
|
392
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(item.fieldAssignments, (assignment, index2) => {
|
|
393
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
394
|
+
key: index2,
|
|
395
|
+
class: "field-assignment-display-item"
|
|
396
|
+
}, [
|
|
397
|
+
Vue.createElementVNode("span", _hoisted_17, "「" + Vue.toDisplayString(getFieldLabel(assignment.fieldId)) + "」", 1),
|
|
398
|
+
_cache[7] || (_cache[7] = Vue.createElementVNode("span", { class: "field-operator" }, "→", -1)),
|
|
399
|
+
Vue.createElementVNode("span", _hoisted_18, Vue.toDisplayString(assignment), 1)
|
|
400
|
+
]);
|
|
401
|
+
}), 128))
|
|
402
|
+
])) : (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_19, Vue.toDisplayString(item.dataLinkFieldList.map((fieldId) => `${getFieldLabel(fieldId)}`).join(", ")), 1))
|
|
383
403
|
])
|
|
384
404
|
])
|
|
385
405
|
])
|
|
@@ -393,7 +413,7 @@ const _sfc_main = {
|
|
|
393
413
|
_: 2
|
|
394
414
|
}, 1024)
|
|
395
415
|
])) : Vue.createCommentVNode("", true),
|
|
396
|
-
!((_d = (_c = props.linkedConfig) == null ? void 0 : _c[tab.name]) == null ? void 0 : _d.length) ? (Vue.openBlock(), Vue.createElementBlock("div",
|
|
416
|
+
!((_d = (_c = props.linkedConfig) == null ? void 0 : _c[tab.name]) == null ? void 0 : _d.length) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_20, [
|
|
397
417
|
Vue.createVNode(_component_el_empty, {
|
|
398
418
|
description: tab.desc
|
|
399
419
|
}, {
|
|
@@ -437,8 +457,8 @@ const _sfc_main = {
|
|
|
437
457
|
default: Vue.withCtx(({ filterConfigData }) => {
|
|
438
458
|
var _a, _b;
|
|
439
459
|
return [
|
|
440
|
-
Vue.createElementVNode("span",
|
|
441
|
-
Vue.unref(currentTab).name !== "dataLink" ? (Vue.openBlock(), Vue.createElementBlock("div",
|
|
460
|
+
Vue.createElementVNode("span", _hoisted_21, Vue.toDisplayString(Vue.unref(filterSuccessDesc)), 1),
|
|
461
|
+
Vue.unref(currentTab).name !== "dataLink" ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_22, [
|
|
442
462
|
Vue.createVNode(_component_el_select, {
|
|
443
463
|
modelValue: Vue.unref(dataLinkFieldList),
|
|
444
464
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => Vue.isRef(dataLinkFieldList) ? dataLinkFieldList.value = $event : null),
|
|
@@ -458,8 +478,8 @@ const _sfc_main = {
|
|
|
458
478
|
]),
|
|
459
479
|
_: 2
|
|
460
480
|
}, 1032, ["modelValue", "placeholder", "disabled"])
|
|
461
|
-
])) : (Vue.openBlock(), Vue.createElementBlock("div",
|
|
462
|
-
Vue.createElementVNode("div",
|
|
481
|
+
])) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_23, [
|
|
482
|
+
Vue.createElementVNode("div", _hoisted_24, [
|
|
463
483
|
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(fieldAssignments), (assignment, index2) => {
|
|
464
484
|
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
465
485
|
key: index2,
|
|
@@ -506,7 +526,7 @@ const _sfc_main = {
|
|
|
506
526
|
]),
|
|
507
527
|
_: 2
|
|
508
528
|
}, 1032, ["modelValue", "onUpdate:modelValue"]),
|
|
509
|
-
assignment.fieldId ? (Vue.openBlock(), Vue.createElementBlock("div",
|
|
529
|
+
assignment.fieldId ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_25, [
|
|
510
530
|
Vue.createVNode(Vue.unref(FormulaEditorInput.default), {
|
|
511
531
|
title: "公式配置",
|
|
512
532
|
formulaConf: assignment.formula.value,
|
|
@@ -532,7 +552,7 @@ const _sfc_main = {
|
|
|
532
552
|
onClick: addFieldAssignment,
|
|
533
553
|
class: "add-assignment-btn"
|
|
534
554
|
}, {
|
|
535
|
-
default: Vue.withCtx(() => _cache[
|
|
555
|
+
default: Vue.withCtx(() => _cache[8] || (_cache[8] = [
|
|
536
556
|
Vue.createTextVNode(" 添加字段赋值 ")
|
|
537
557
|
])),
|
|
538
558
|
_: 1
|
|
@@ -546,5 +566,5 @@ const _sfc_main = {
|
|
|
546
566
|
};
|
|
547
567
|
}
|
|
548
568
|
};
|
|
549
|
-
const DataLinkage = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
569
|
+
const DataLinkage = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-1f231b0e"]]);
|
|
550
570
|
exports.default = DataLinkage;
|
|
@@ -162,5 +162,5 @@ const _sfc_main = {
|
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
|
-
const
|
|
166
|
-
exports.default =
|
|
165
|
+
const fecMobileDesigner = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-54fafcf5"]]);
|
|
166
|
+
exports.default = fecMobileDesigner;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../../_virtual/
|
|
3
|
+
const index = require("../../_virtual/index2.js");
|
|
4
4
|
const core = require("./core.js");
|
|
5
5
|
const x64Core = require("./x64-core.js");
|
|
6
6
|
const libTypedarrays = require("./lib-typedarrays.js");
|
|
@@ -5,7 +5,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
5
5
|
;/* empty css */
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const Vue = require("vue");
|
|
8
|
-
require("
|
|
8
|
+
const vxeTable = require("vxe-table");
|
|
9
9
|
const datasource = require("../../../utils/datasource.js");
|
|
10
10
|
;/* empty css */
|
|
11
11
|
const formatterUtil = require("../../../utils/formatterUtil.js");
|
|
@@ -19,7 +19,6 @@ const formatterUtil = require("../../../utils/formatterUtil.js");
|
|
|
19
19
|
;/* empty css */
|
|
20
20
|
;/* empty css */
|
|
21
21
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
22
|
-
const index$4 = require("../../../../../../node_modules/vxe-table/es/grid/index.js");
|
|
23
22
|
const index = require("../../../../node_modules/vant/es/swipe-cell/index.js");
|
|
24
23
|
const index$1 = require("../../../../node_modules/vant/es/button/index.js");
|
|
25
24
|
const functionCall = require("../../../../node_modules/vant/es/dialog/function-call.js");
|
|
@@ -480,7 +479,7 @@ const _sfc_main = {
|
|
|
480
479
|
onLoad
|
|
481
480
|
}, {
|
|
482
481
|
default: Vue.withCtx(() => [
|
|
483
|
-
Vue.createVNode(Vue.unref(
|
|
482
|
+
Vue.createVNode(Vue.unref(vxeTable.VxeGrid), {
|
|
484
483
|
ref_key: "gridRef",
|
|
485
484
|
ref: gridRef,
|
|
486
485
|
class: "fec-table",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const moment = require("../../node_modules/moment/dist/moment.js");
|
|
4
4
|
const dateUtil = require("./dateUtil.js");
|
|
5
|
-
const
|
|
5
|
+
const XEUtils = require("xe-utils");
|
|
6
6
|
const selectFormatter = (value, options = []) => {
|
|
7
7
|
const item = options.find((item2) => item2.value === value);
|
|
8
8
|
return item ? item.label : value;
|
|
@@ -53,20 +53,20 @@ const textFormatter = (value, dataFormatter) => {
|
|
|
53
53
|
case "money(yi)":
|
|
54
54
|
return moneyFormatter(value, dataFormatter);
|
|
55
55
|
case "bankCard":
|
|
56
|
-
value =
|
|
56
|
+
value = XEUtils.toValueString(value);
|
|
57
57
|
value = value.replace(/\s+/g, "");
|
|
58
|
-
return
|
|
58
|
+
return XEUtils.commafy(value, {
|
|
59
59
|
spaceNumber: 4,
|
|
60
60
|
separator: " "
|
|
61
61
|
});
|
|
62
62
|
case "percent":
|
|
63
|
-
value =
|
|
63
|
+
value = XEUtils.multiply(XEUtils.toNumber(value), 100);
|
|
64
64
|
return value;
|
|
65
65
|
case "thousand":
|
|
66
|
-
value =
|
|
66
|
+
value = XEUtils.multiply(XEUtils.toNumber(value), 1e3);
|
|
67
67
|
return value;
|
|
68
68
|
case "tenThousand":
|
|
69
|
-
value =
|
|
69
|
+
value = XEUtils.multiply(XEUtils.toNumber(value), 1e4);
|
|
70
70
|
return value;
|
|
71
71
|
default:
|
|
72
72
|
return value;
|
|
@@ -76,19 +76,19 @@ const moneyFormatter = (value, dataFormatter) => {
|
|
|
76
76
|
let moneyValue;
|
|
77
77
|
switch (dataFormatter) {
|
|
78
78
|
case "money(yuan)":
|
|
79
|
-
moneyValue =
|
|
79
|
+
moneyValue = XEUtils.toNumber(value);
|
|
80
80
|
break;
|
|
81
81
|
case "money(wan)":
|
|
82
|
-
moneyValue =
|
|
82
|
+
moneyValue = XEUtils.divide(XEUtils.toNumber(value), 1e4);
|
|
83
83
|
break;
|
|
84
84
|
case "money(yi)":
|
|
85
|
-
moneyValue =
|
|
85
|
+
moneyValue = XEUtils.divide(XEUtils.toNumber(value), 1e8);
|
|
86
86
|
break;
|
|
87
87
|
default:
|
|
88
|
-
moneyValue =
|
|
88
|
+
moneyValue = XEUtils.toNumber(value);
|
|
89
89
|
break;
|
|
90
90
|
}
|
|
91
|
-
return
|
|
91
|
+
return XEUtils.commafy(moneyValue, { digits: 2 });
|
|
92
92
|
};
|
|
93
93
|
const textFormatter4Input = (value, dataFormatter) => {
|
|
94
94
|
if (!value) {
|
|
@@ -98,12 +98,12 @@ const textFormatter4Input = (value, dataFormatter) => {
|
|
|
98
98
|
case "money(yuan)":
|
|
99
99
|
case "money(wan)":
|
|
100
100
|
case "money(yi)":
|
|
101
|
-
return
|
|
101
|
+
return XEUtils.toNumberString(XEUtils.toNumber(value)).replace(
|
|
102
102
|
/\B(?=(\d{3})+(?!\d))/g,
|
|
103
103
|
","
|
|
104
104
|
);
|
|
105
105
|
case "bankCard":
|
|
106
|
-
return
|
|
106
|
+
return XEUtils.toValueString(value.replace(/\s+/g, "")).replace(
|
|
107
107
|
/\B(?=(\d{4})+(?!\d))/g,
|
|
108
108
|
" "
|
|
109
109
|
);
|
|
@@ -123,13 +123,13 @@ const reverseTextFormatter = (value, dataFormatter) => {
|
|
|
123
123
|
case "bankCard":
|
|
124
124
|
return value.replace(/\s+/g, "");
|
|
125
125
|
case "percent":
|
|
126
|
-
value =
|
|
126
|
+
value = XEUtils.divide(XEUtils.toNumber(value), 100);
|
|
127
127
|
return value;
|
|
128
128
|
case "thousand":
|
|
129
|
-
value =
|
|
129
|
+
value = XEUtils.divide(XEUtils.toNumber(value), 1e3);
|
|
130
130
|
return value;
|
|
131
131
|
case "tenThousand":
|
|
132
|
-
value =
|
|
132
|
+
value = XEUtils.divide(XEUtils.toNumber(value), 1e4);
|
|
133
133
|
return value;
|
|
134
134
|
default:
|
|
135
135
|
return value;
|
|
@@ -140,19 +140,19 @@ const reverseMoneyFormatter = (value, dataFormatter) => {
|
|
|
140
140
|
value = value.replace(/,/gi, "");
|
|
141
141
|
switch (dataFormatter) {
|
|
142
142
|
case "money(yuan)":
|
|
143
|
-
moneyValue =
|
|
143
|
+
moneyValue = XEUtils.toNumber(value);
|
|
144
144
|
break;
|
|
145
145
|
case "money(wan)":
|
|
146
|
-
moneyValue =
|
|
146
|
+
moneyValue = XEUtils.multiply(XEUtils.toNumber(value), 1e4);
|
|
147
147
|
break;
|
|
148
148
|
case "money(yi)":
|
|
149
|
-
moneyValue =
|
|
149
|
+
moneyValue = XEUtils.multiply(XEUtils.toNumber(value), 1e8);
|
|
150
150
|
break;
|
|
151
151
|
default:
|
|
152
|
-
moneyValue =
|
|
152
|
+
moneyValue = XEUtils.toNumber(value);
|
|
153
153
|
break;
|
|
154
154
|
}
|
|
155
|
-
return
|
|
155
|
+
return XEUtils.toNumberString(moneyValue);
|
|
156
156
|
};
|
|
157
157
|
const getUnit = (dataFormatter) => {
|
|
158
158
|
switch (dataFormatter) {
|