star-horse-lowcode 2.7.71 → 2.7.72
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/README.md +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +143 -77
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -70752,7 +70752,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
70752
70752
|
children: "children",
|
|
70753
70753
|
value: props.displayValue,
|
|
70754
70754
|
isLeaf: "leaf",
|
|
70755
|
-
class: (data, node) => renderClass(data
|
|
70755
|
+
class: (data, node) => renderClass(data)
|
|
70756
70756
|
};
|
|
70757
70757
|
const value = useVModel(props, "modelValue", emits);
|
|
70758
70758
|
const dataOptions = ref([]);
|
|
@@ -70777,13 +70777,9 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
70777
70777
|
}
|
|
70778
70778
|
};
|
|
70779
70779
|
const renderClass = (data, node) => {
|
|
70780
|
-
const isSelected = node.checked && !node.indeterminate;
|
|
70781
70780
|
let value2 = props.displayValue || "value";
|
|
70782
|
-
const
|
|
70783
|
-
return
|
|
70784
|
-
isSelected ? "is-selected" : "",
|
|
70785
|
-
isCustomSelected ? "is-active" : ""
|
|
70786
|
-
].join(" ").trim();
|
|
70781
|
+
const isSelected = dataOptions.value?.find((e) => e[value2] === data[value2]);
|
|
70782
|
+
return isSelected ? "is-active" : "";
|
|
70787
70783
|
};
|
|
70788
70784
|
const onNodeClick = (treeNode) => {
|
|
70789
70785
|
let value2 = props.displayValue || "value";
|
|
@@ -70796,7 +70792,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
70796
70792
|
dataOptions.value.push(temp);
|
|
70797
70793
|
}
|
|
70798
70794
|
node.children.forEach((child) => {
|
|
70799
|
-
const childIndex = dataOptions.value
|
|
70795
|
+
const childIndex = dataOptions.value?.findIndex((e) => e[value2] === child[value2]);
|
|
70800
70796
|
if (childIndex !== -1) {
|
|
70801
70797
|
dataOptions.value.splice(childIndex, 1);
|
|
70802
70798
|
}
|
|
@@ -70807,7 +70803,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
70807
70803
|
}
|
|
70808
70804
|
};
|
|
70809
70805
|
if (props.multiple) {
|
|
70810
|
-
const index = dataOptions.value
|
|
70806
|
+
const index = dataOptions.value?.findIndex((e) => e[value2] === data[value2]);
|
|
70811
70807
|
if (index === -1) {
|
|
70812
70808
|
if (props.checkStrictly) {
|
|
70813
70809
|
const tempNode = { ...data };
|
|
@@ -70817,11 +70813,11 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
70817
70813
|
processChildren(data);
|
|
70818
70814
|
}
|
|
70819
70815
|
} else {
|
|
70820
|
-
dataOptions.value
|
|
70816
|
+
dataOptions.value?.splice(index, 1);
|
|
70821
70817
|
}
|
|
70822
|
-
dataOptions.value
|
|
70818
|
+
dataOptions.value?.sort((a, b) => a[value2].localeCompare(b[value2]));
|
|
70823
70819
|
} else {
|
|
70824
|
-
const index = dataOptions.value
|
|
70820
|
+
const index = dataOptions.value?.findIndex((e) => e[value2] === data[value2]);
|
|
70825
70821
|
if (index === -1) {
|
|
70826
70822
|
delete data.children;
|
|
70827
70823
|
dataOptions.value = [data];
|
|
@@ -70851,7 +70847,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
70851
70847
|
totalPage: 0,
|
|
70852
70848
|
dataList: []
|
|
70853
70849
|
});
|
|
70854
|
-
const loadData = () => {
|
|
70850
|
+
const loadData = async () => {
|
|
70855
70851
|
if (!props.dataUrl) return;
|
|
70856
70852
|
let params = {
|
|
70857
70853
|
currentPage: pageInfo.currentPage,
|
|
@@ -70859,7 +70855,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
70859
70855
|
fieldList: [],
|
|
70860
70856
|
orderBy: []
|
|
70861
70857
|
};
|
|
70862
|
-
postRequest(props.dataUrl, params).then((res) => {
|
|
70858
|
+
await postRequest(props.dataUrl, params).then((res) => {
|
|
70863
70859
|
if (res?.data?.code) {
|
|
70864
70860
|
res && console.error(res?.data?.cnMessage);
|
|
70865
70861
|
return;
|
|
@@ -70877,23 +70873,23 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
70877
70873
|
const open = () => {
|
|
70878
70874
|
dialogVisible.value = true;
|
|
70879
70875
|
};
|
|
70880
|
-
const onOpen = () => {
|
|
70876
|
+
const onOpen = async () => {
|
|
70881
70877
|
dataOrgOptions.value = [];
|
|
70882
70878
|
if (props.datas?.length > 0) {
|
|
70883
70879
|
dataOrgOptions.value = props.datas;
|
|
70884
70880
|
} else {
|
|
70885
|
-
loadData();
|
|
70881
|
+
await loadData();
|
|
70886
70882
|
}
|
|
70887
|
-
dataOptions.value = value.value;
|
|
70883
|
+
dataOptions.value = Array.isArray(value.value) ? value.value : value.value ? [value.value] : [];
|
|
70888
70884
|
};
|
|
70889
70885
|
const handelConfirm = () => {
|
|
70890
70886
|
if (props.multiple) {
|
|
70891
70887
|
value.value = dataOptions.value;
|
|
70892
70888
|
} else {
|
|
70893
|
-
if (dataOptions.value
|
|
70894
|
-
value.value = dataOptions.value[0];
|
|
70889
|
+
if (dataOptions.value?.length > 0) {
|
|
70890
|
+
value.value = [dataOptions.value[0]];
|
|
70895
70891
|
} else {
|
|
70896
|
-
value.value =
|
|
70892
|
+
value.value = [];
|
|
70897
70893
|
}
|
|
70898
70894
|
}
|
|
70899
70895
|
dialogVisible.value = false;
|
|
@@ -71049,7 +71045,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
71049
71045
|
class: "org-card dialog-body"
|
|
71050
71046
|
}, {
|
|
71051
71047
|
header: withCtx(() => [
|
|
71052
|
-
createElementVNode("div", _hoisted_6$8, " 已选数据区[" + toDisplayString(dataOptions.value
|
|
71048
|
+
createElementVNode("div", _hoisted_6$8, " 已选数据区[" + toDisplayString(dataOptions.value?.length) + "] ", 1)
|
|
71053
71049
|
]),
|
|
71054
71050
|
default: withCtx(() => [
|
|
71055
71051
|
createVNode(_component_el_scrollbar, {
|
|
@@ -71109,7 +71105,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
71109
71105
|
|
|
71110
71106
|
/* unplugin-vue-components disabled */
|
|
71111
71107
|
|
|
71112
|
-
const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-
|
|
71108
|
+
const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-a8f3299b"]]);
|
|
71113
71109
|
|
|
71114
71110
|
const _hoisted_1$V = { class: "flex items-center" };
|
|
71115
71111
|
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
@@ -71138,7 +71134,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
71138
71134
|
const emits = __emit;
|
|
71139
71135
|
const value = useVModel(props, "modelValue", emits);
|
|
71140
71136
|
const emitData = useVModel(props, "selectedData", emits);
|
|
71141
|
-
const selectData = ref();
|
|
71137
|
+
const selectData = ref(props.multiple ? [] : "");
|
|
71142
71138
|
const valueArr = computed(() => {
|
|
71143
71139
|
if (selectData.value) {
|
|
71144
71140
|
return Array.isArray(selectData.value) ? selectData.value : [selectData.value];
|
|
@@ -71156,8 +71152,8 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
71156
71152
|
selectData.value.splice(selectData.value.indexOf(data), 1);
|
|
71157
71153
|
value.value.splice(selectData.value.indexOf(data[props.displayValue]), 1);
|
|
71158
71154
|
} else {
|
|
71159
|
-
selectData.value =
|
|
71160
|
-
value.value =
|
|
71155
|
+
selectData.value = [];
|
|
71156
|
+
value.value = props.multiple ? [] : "";
|
|
71161
71157
|
}
|
|
71162
71158
|
emits("selectedData", selectData.value);
|
|
71163
71159
|
};
|
|
@@ -71183,12 +71179,12 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
71183
71179
|
const init = () => {
|
|
71184
71180
|
if (props.datas) {
|
|
71185
71181
|
selectData.value = findInTree(props.datas, []);
|
|
71186
|
-
} else if (props.dataUrl) {
|
|
71182
|
+
} else if (props.dataUrl && value.value) {
|
|
71187
71183
|
let params = {
|
|
71188
71184
|
currentPage: 0,
|
|
71189
71185
|
pageSize: 100,
|
|
71190
71186
|
fieldList: [
|
|
71191
|
-
createCondition(props.displayValue, value.value, "in")
|
|
71187
|
+
createCondition(props.displayValue, Array.isArray(value.value) ? value.value : [value.value], "in")
|
|
71192
71188
|
],
|
|
71193
71189
|
orderBy: []
|
|
71194
71190
|
};
|
|
@@ -71212,9 +71208,12 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
71212
71208
|
if (props.multiple && Array.isArray(selectData.value)) {
|
|
71213
71209
|
selectData.value.push(temp);
|
|
71214
71210
|
} else {
|
|
71215
|
-
selectData.value = temp;
|
|
71211
|
+
selectData.value = [temp];
|
|
71216
71212
|
}
|
|
71217
71213
|
};
|
|
71214
|
+
const tagVisible = (val) => {
|
|
71215
|
+
return selectData?.value?.find((item) => item[props.displayValue] === val)?.[props.displayName] ?? val;
|
|
71216
|
+
};
|
|
71218
71217
|
onMounted(() => {
|
|
71219
71218
|
init();
|
|
71220
71219
|
});
|
|
@@ -71261,7 +71260,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
71261
71260
|
]),
|
|
71262
71261
|
tag: withCtx(({ value: value2 }) => [
|
|
71263
71262
|
createElementVNode("div", _hoisted_1$V, [
|
|
71264
|
-
createElementVNode("span", null, toDisplayString(value2
|
|
71263
|
+
createElementVNode("span", null, toDisplayString(tagVisible(value2)), 1)
|
|
71265
71264
|
])
|
|
71266
71265
|
]),
|
|
71267
71266
|
_: 1
|
|
@@ -71273,7 +71272,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
71273
71272
|
|
|
71274
71273
|
/* unplugin-vue-components disabled */
|
|
71275
71274
|
|
|
71276
|
-
const StarHorseDataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-
|
|
71275
|
+
const StarHorseDataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-5ca12682"]]);
|
|
71277
71276
|
|
|
71278
71277
|
const StarHorseDataSelector$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
71279
71278
|
__proto__: null,
|
|
@@ -128762,7 +128761,7 @@ const doInitCallEvent = (props, emits, formData) => {
|
|
|
128762
128761
|
return;
|
|
128763
128762
|
}
|
|
128764
128763
|
events?.forEach((event) => {
|
|
128765
|
-
allAction(props, emits, formData, event, true);
|
|
128764
|
+
allAction(props, emits, unref(formData), event, true);
|
|
128766
128765
|
});
|
|
128767
128766
|
};
|
|
128768
128767
|
|
|
@@ -129086,7 +129085,9 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
129086
129085
|
props.field.preps = {};
|
|
129087
129086
|
}
|
|
129088
129087
|
initData();
|
|
129089
|
-
|
|
129088
|
+
nextTick(() => {
|
|
129089
|
+
initCompCallEvent(props, emits, formData);
|
|
129090
|
+
});
|
|
129090
129091
|
});
|
|
129091
129092
|
const querySearch = async (queryString, cb) => {
|
|
129092
129093
|
let temp = props.field.preps;
|
|
@@ -129291,7 +129292,6 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
129291
129292
|
}
|
|
129292
129293
|
};
|
|
129293
129294
|
onMounted(() => {
|
|
129294
|
-
initCompCallEvent(props, emits, formData);
|
|
129295
129295
|
});
|
|
129296
129296
|
return (_ctx, _cache) => {
|
|
129297
129297
|
const _component_star_horse_form = _sfc_main$1v;
|
|
@@ -129365,7 +129365,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
129365
129365
|
|
|
129366
129366
|
/* unplugin-vue-components disabled */
|
|
129367
129367
|
|
|
129368
|
-
const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
129368
|
+
const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-eabc5069"]]);
|
|
129369
129369
|
|
|
129370
129370
|
const buttonItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
129371
129371
|
__proto__: null,
|
|
@@ -129514,7 +129514,9 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
129514
129514
|
};
|
|
129515
129515
|
}
|
|
129516
129516
|
initData();
|
|
129517
|
-
|
|
129517
|
+
nextTick(() => {
|
|
129518
|
+
initCompCallEvent(props, emits, formData);
|
|
129519
|
+
});
|
|
129518
129520
|
});
|
|
129519
129521
|
watch(formData.value[props.field.fieldName], (val) => {
|
|
129520
129522
|
if (val.length === 0) {
|
|
@@ -129641,7 +129643,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
129641
129643
|
|
|
129642
129644
|
/* unplugin-vue-components disabled */
|
|
129643
129645
|
|
|
129644
|
-
const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-
|
|
129646
|
+
const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-5d4a5961"]]);
|
|
129645
129647
|
|
|
129646
129648
|
const cascadeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
129647
129649
|
__proto__: null,
|
|
@@ -129704,7 +129706,9 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
129704
129706
|
props.field.preps = {};
|
|
129705
129707
|
}
|
|
129706
129708
|
initData();
|
|
129707
|
-
|
|
129709
|
+
nextTick(() => {
|
|
129710
|
+
allAction(props, emits, formData, "change", true);
|
|
129711
|
+
});
|
|
129708
129712
|
});
|
|
129709
129713
|
watch(
|
|
129710
129714
|
() => formData.value[props.field.fieldName + "OptionList"],
|
|
@@ -129807,7 +129811,9 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
129807
129811
|
allAction(props, emits, formData, prep);
|
|
129808
129812
|
};
|
|
129809
129813
|
onMounted(() => {
|
|
129810
|
-
|
|
129814
|
+
nextTick(() => {
|
|
129815
|
+
initCompCallEvent(props, emits, formData);
|
|
129816
|
+
});
|
|
129811
129817
|
});
|
|
129812
129818
|
return (_ctx, _cache) => {
|
|
129813
129819
|
const _component_el_color_picker = ElColorPicker;
|
|
@@ -132624,7 +132630,9 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
132624
132630
|
};
|
|
132625
132631
|
resetForm();
|
|
132626
132632
|
onMounted(() => {
|
|
132627
|
-
|
|
132633
|
+
nextTick(() => {
|
|
132634
|
+
initCompCallEvent(props, emits, formData);
|
|
132635
|
+
});
|
|
132628
132636
|
});
|
|
132629
132637
|
return (_ctx, _cache) => {
|
|
132630
132638
|
const _component_el_scrollbar = ElScrollbar;
|
|
@@ -132691,7 +132699,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
132691
132699
|
|
|
132692
132700
|
/* unplugin-vue-components disabled */
|
|
132693
132701
|
|
|
132694
|
-
const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-
|
|
132702
|
+
const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-5e249d7d"]]);
|
|
132695
132703
|
|
|
132696
132704
|
const cronItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
132697
132705
|
__proto__: null,
|
|
@@ -132763,7 +132771,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
132763
132771
|
props.field.preps["disabledDate"] = (date) => {
|
|
132764
132772
|
return disabledDate.value.includes(date.getDate().toString());
|
|
132765
132773
|
};
|
|
132766
|
-
|
|
132774
|
+
nextTick(() => {
|
|
132775
|
+
initCompCallEvent(props, emits, formData);
|
|
132776
|
+
});
|
|
132767
132777
|
});
|
|
132768
132778
|
return (_ctx, _cache) => {
|
|
132769
132779
|
const _component_el_date_picker = ElDatePicker;
|
|
@@ -132799,7 +132809,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
132799
132809
|
|
|
132800
132810
|
/* unplugin-vue-components disabled */
|
|
132801
132811
|
|
|
132802
|
-
const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-
|
|
132812
|
+
const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-c378c20c"]]);
|
|
132803
132813
|
|
|
132804
132814
|
const datetimeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
132805
132815
|
__proto__: null,
|
|
@@ -132990,7 +133000,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
132990
133000
|
});
|
|
132991
133001
|
inputPreps.searchFieldList = { fieldList: searchFieldList };
|
|
132992
133002
|
}
|
|
132993
|
-
|
|
133003
|
+
nextTick(() => {
|
|
133004
|
+
initCompCallEvent(props, emits, formData);
|
|
133005
|
+
});
|
|
132994
133006
|
});
|
|
132995
133007
|
return (_ctx, _cache) => {
|
|
132996
133008
|
const _component_star_horse_search_comp = __unplugin_components_0$4;
|
|
@@ -133080,7 +133092,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
133080
133092
|
|
|
133081
133093
|
/* unplugin-vue-components disabled */
|
|
133082
133094
|
|
|
133083
|
-
const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-
|
|
133095
|
+
const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-7b1e3156"]]);
|
|
133084
133096
|
|
|
133085
133097
|
const dialogInputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
133086
133098
|
__proto__: null,
|
|
@@ -150506,7 +150518,9 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
150506
150518
|
};
|
|
150507
150519
|
onMounted(() => {
|
|
150508
150520
|
init();
|
|
150509
|
-
|
|
150521
|
+
nextTick(() => {
|
|
150522
|
+
initCompCallEvent(props, emits, formData);
|
|
150523
|
+
});
|
|
150510
150524
|
});
|
|
150511
150525
|
watch(
|
|
150512
150526
|
() => formData.value[props.field.fieldName],
|
|
@@ -150617,7 +150631,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
150617
150631
|
|
|
150618
150632
|
/* unplugin-vue-components disabled */
|
|
150619
150633
|
|
|
150620
|
-
const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-
|
|
150634
|
+
const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-e4dde9fd"]]);
|
|
150621
150635
|
|
|
150622
150636
|
const iconItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
150623
150637
|
__proto__: null,
|
|
@@ -150694,7 +150708,9 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
150694
150708
|
emits("selfFunc", prep, uploadFile, uploadFiles, param);
|
|
150695
150709
|
};
|
|
150696
150710
|
onMounted(() => {
|
|
150697
|
-
|
|
150711
|
+
nextTick(() => {
|
|
150712
|
+
initCompCallEvent(props, emits, formData);
|
|
150713
|
+
});
|
|
150698
150714
|
});
|
|
150699
150715
|
return (_ctx, _cache) => {
|
|
150700
150716
|
const _component_star_horse_icon = __unplugin_components_0$a;
|
|
@@ -150851,7 +150867,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
150851
150867
|
|
|
150852
150868
|
/* unplugin-vue-components disabled */
|
|
150853
150869
|
|
|
150854
|
-
const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-
|
|
150870
|
+
const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-cff8aaa9"]]);
|
|
150855
150871
|
|
|
150856
150872
|
const imageItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
150857
150873
|
__proto__: null,
|
|
@@ -150997,7 +151013,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
150997
151013
|
dialogInputVisible.value = true;
|
|
150998
151014
|
};
|
|
150999
151015
|
onMounted(() => {
|
|
151000
|
-
|
|
151016
|
+
nextTick(() => {
|
|
151017
|
+
initCompCallEvent(props, emits, formData);
|
|
151018
|
+
});
|
|
151001
151019
|
initEvent();
|
|
151002
151020
|
});
|
|
151003
151021
|
return (_ctx, _cache) => {
|
|
@@ -151116,7 +151134,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
151116
151134
|
|
|
151117
151135
|
/* unplugin-vue-components disabled */
|
|
151118
151136
|
|
|
151119
|
-
const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-
|
|
151137
|
+
const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-eaf4b078"]]);
|
|
151120
151138
|
|
|
151121
151139
|
const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
151122
151140
|
__proto__: null,
|
|
@@ -151356,7 +151374,9 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
151356
151374
|
if (!props.field.preps) {
|
|
151357
151375
|
props.field.preps = {};
|
|
151358
151376
|
}
|
|
151359
|
-
|
|
151377
|
+
nextTick(() => {
|
|
151378
|
+
initCompCallEvent(props, emits, formData);
|
|
151379
|
+
});
|
|
151360
151380
|
});
|
|
151361
151381
|
return (_ctx, _cache) => {
|
|
151362
151382
|
const _component_base_json_item = __unplugin_components_0$2;
|
|
@@ -151431,7 +151451,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
151431
151451
|
if (!props.field.preps) {
|
|
151432
151452
|
props.field.preps = {};
|
|
151433
151453
|
}
|
|
151434
|
-
|
|
151454
|
+
nextTick(() => {
|
|
151455
|
+
initCompCallEvent(props, emits, formData);
|
|
151456
|
+
});
|
|
151435
151457
|
});
|
|
151436
151458
|
return (_ctx, _cache) => {
|
|
151437
151459
|
const _component_base_json_item = __unplugin_components_0$2;
|
|
@@ -151601,7 +151623,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
151601
151623
|
props.field.preps["step"] = props.field.preps["step"] || 1;
|
|
151602
151624
|
props.field.preps["min"] = props.field.preps["min"] || 0;
|
|
151603
151625
|
props.field.preps["precision"] = props.field.preps["precision"] || 0;
|
|
151604
|
-
|
|
151626
|
+
nextTick(() => {
|
|
151627
|
+
initCompCallEvent(props, emits, formData);
|
|
151628
|
+
});
|
|
151605
151629
|
initEvent();
|
|
151606
151630
|
});
|
|
151607
151631
|
return (_ctx, _cache) => {
|
|
@@ -151640,7 +151664,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
151640
151664
|
|
|
151641
151665
|
/* unplugin-vue-components disabled */
|
|
151642
151666
|
|
|
151643
|
-
const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
151667
|
+
const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-39dc4b94"]]);
|
|
151644
151668
|
|
|
151645
151669
|
const numberItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
151646
151670
|
__proto__: null,
|
|
@@ -151738,7 +151762,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
151738
151762
|
formData.value[minName.value] = Number(val[0]);
|
|
151739
151763
|
formData.value[maxName.value] = Number(val[1]);
|
|
151740
151764
|
}
|
|
151741
|
-
|
|
151765
|
+
nextTick(() => {
|
|
151766
|
+
initCompCallEvent(props, emits, formData);
|
|
151767
|
+
});
|
|
151742
151768
|
});
|
|
151743
151769
|
return (_ctx, _cache) => {
|
|
151744
151770
|
const _component_el_input_number = ElInputNumber;
|
|
@@ -151807,7 +151833,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
151807
151833
|
|
|
151808
151834
|
/* unplugin-vue-components disabled */
|
|
151809
151835
|
|
|
151810
|
-
const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-
|
|
151836
|
+
const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-44914c17"]]);
|
|
151811
151837
|
|
|
151812
151838
|
const numberRangeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
151813
151839
|
__proto__: null,
|
|
@@ -152081,7 +152107,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
152081
152107
|
inputPreps.searchFieldList = { fieldList: searchFieldList };
|
|
152082
152108
|
}
|
|
152083
152109
|
loadByPage(true);
|
|
152084
|
-
|
|
152110
|
+
nextTick(() => {
|
|
152111
|
+
initCompCallEvent(props, emits, formData);
|
|
152112
|
+
});
|
|
152085
152113
|
});
|
|
152086
152114
|
return (_ctx, _cache) => {
|
|
152087
152115
|
const _component_star_horse_search_comp = __unplugin_components_0$4;
|
|
@@ -152222,7 +152250,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
152222
152250
|
|
|
152223
152251
|
/* unplugin-vue-components disabled */
|
|
152224
152252
|
|
|
152225
|
-
const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
152253
|
+
const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-9b6761b7"]]);
|
|
152226
152254
|
|
|
152227
152255
|
const pageSelectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
152228
152256
|
__proto__: null,
|
|
@@ -152275,7 +152303,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
152275
152303
|
allAction(props, emits, formData, prep);
|
|
152276
152304
|
};
|
|
152277
152305
|
onMounted(() => {
|
|
152278
|
-
|
|
152306
|
+
nextTick(() => {
|
|
152307
|
+
initCompCallEvent(props, emits, formData);
|
|
152308
|
+
});
|
|
152279
152309
|
});
|
|
152280
152310
|
return (_ctx, _cache) => {
|
|
152281
152311
|
const _component_el_input = ElInput;
|
|
@@ -152359,12 +152389,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
152359
152389
|
props.field.preps["values"] = dataa;
|
|
152360
152390
|
}
|
|
152361
152391
|
};
|
|
152362
|
-
onMounted(() => {
|
|
152392
|
+
onMounted(async () => {
|
|
152363
152393
|
if (!props.field.preps) {
|
|
152364
152394
|
props.field.preps = {};
|
|
152365
152395
|
}
|
|
152366
|
-
initData();
|
|
152367
|
-
|
|
152396
|
+
await initData();
|
|
152397
|
+
nextTick(() => {
|
|
152398
|
+
allAction(props, emits, formData, "change", true);
|
|
152399
|
+
});
|
|
152368
152400
|
});
|
|
152369
152401
|
watch(
|
|
152370
152402
|
() => formData.value[props.field.fieldName + "OptionList"],
|
|
@@ -152479,7 +152511,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
152479
152511
|
allAction(props, emits, formData, "change");
|
|
152480
152512
|
};
|
|
152481
152513
|
onMounted(() => {
|
|
152482
|
-
|
|
152514
|
+
nextTick(() => {
|
|
152515
|
+
allAction(props, emits, formData, "change", true);
|
|
152516
|
+
});
|
|
152483
152517
|
});
|
|
152484
152518
|
return (_ctx, _cache) => {
|
|
152485
152519
|
const _component_el_rate = ElRate;
|
|
@@ -152626,7 +152660,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
152626
152660
|
props.field.preps["filterable"] = true;
|
|
152627
152661
|
props.field.preps["collapseTags"] = true;
|
|
152628
152662
|
initData();
|
|
152629
|
-
|
|
152663
|
+
nextTick(() => {
|
|
152664
|
+
initCompCallEvent(props, emits, formData);
|
|
152665
|
+
});
|
|
152630
152666
|
});
|
|
152631
152667
|
watch(
|
|
152632
152668
|
() => formData.value[props.field.fieldName + "OptionList"],
|
|
@@ -152754,7 +152790,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
152754
152790
|
|
|
152755
152791
|
/* unplugin-vue-components disabled */
|
|
152756
152792
|
|
|
152757
|
-
const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-
|
|
152793
|
+
const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-8f4415a4"]]);
|
|
152758
152794
|
|
|
152759
152795
|
const selectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
152760
152796
|
__proto__: null,
|
|
@@ -153396,7 +153432,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
153396
153432
|
allAction(props, emits, formData, "change");
|
|
153397
153433
|
};
|
|
153398
153434
|
onMounted(() => {
|
|
153399
|
-
|
|
153435
|
+
nextTick(() => {
|
|
153436
|
+
allAction(props, emits, formData, "change", true);
|
|
153437
|
+
});
|
|
153400
153438
|
});
|
|
153401
153439
|
return (_ctx, _cache) => {
|
|
153402
153440
|
const _component_el_slider = ElSlider;
|
|
@@ -153484,7 +153522,9 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
153484
153522
|
props.field.preps["inactiveText"] = props.field.preps["inactiveText"] ?? "否";
|
|
153485
153523
|
props.field.preps["activeValue"] = props.field.preps["activeValue"] ?? true;
|
|
153486
153524
|
props.field.preps["inactiveValue"] = props.field.preps["inactiveValue"] ?? false;
|
|
153487
|
-
|
|
153525
|
+
nextTick(() => {
|
|
153526
|
+
initCompCallEvent(props, emits, formData);
|
|
153527
|
+
});
|
|
153488
153528
|
});
|
|
153489
153529
|
return (_ctx, _cache) => {
|
|
153490
153530
|
const _component_el_switch = ElSwitch;
|
|
@@ -153749,7 +153789,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
153749
153789
|
formData.value[props.field.fieldName] = newContent;
|
|
153750
153790
|
};
|
|
153751
153791
|
onMounted(() => {
|
|
153752
|
-
|
|
153792
|
+
nextTick(() => {
|
|
153793
|
+
initCompCallEvent(props, emits, formData);
|
|
153794
|
+
});
|
|
153753
153795
|
});
|
|
153754
153796
|
return (_ctx, _cache) => {
|
|
153755
153797
|
const _component_el_input = ElInput;
|
|
@@ -153838,7 +153880,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
153838
153880
|
allAction(props, emits, formData, prep);
|
|
153839
153881
|
};
|
|
153840
153882
|
onMounted(() => {
|
|
153841
|
-
|
|
153883
|
+
nextTick(() => {
|
|
153884
|
+
initCompCallEvent(props, emits, formData);
|
|
153885
|
+
});
|
|
153842
153886
|
});
|
|
153843
153887
|
return (_ctx, _cache) => {
|
|
153844
153888
|
const _component_el_time_select = ElTimeSelect;
|
|
@@ -153871,7 +153915,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
153871
153915
|
|
|
153872
153916
|
/* unplugin-vue-components disabled */
|
|
153873
153917
|
|
|
153874
|
-
const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
153918
|
+
const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-cfa34dd0"]]);
|
|
153875
153919
|
|
|
153876
153920
|
const timeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
153877
153921
|
__proto__: null,
|
|
@@ -153924,7 +153968,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
153924
153968
|
allAction(props, emits, formData, prep);
|
|
153925
153969
|
};
|
|
153926
153970
|
onMounted(() => {
|
|
153927
|
-
|
|
153971
|
+
nextTick(() => {
|
|
153972
|
+
initCompCallEvent(props, emits, formData);
|
|
153973
|
+
});
|
|
153928
153974
|
});
|
|
153929
153975
|
return (_ctx, _cache) => {
|
|
153930
153976
|
const _component_el_time_picker = ElTimePicker;
|
|
@@ -153954,7 +154000,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
153954
154000
|
|
|
153955
154001
|
/* unplugin-vue-components disabled */
|
|
153956
154002
|
|
|
153957
|
-
const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
154003
|
+
const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-1c74744a"]]);
|
|
153958
154004
|
|
|
153959
154005
|
const timePickerItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
153960
154006
|
__proto__: null,
|
|
@@ -154019,7 +154065,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
154019
154065
|
props.field.preps = {};
|
|
154020
154066
|
}
|
|
154021
154067
|
initData();
|
|
154022
|
-
|
|
154068
|
+
nextTick(() => {
|
|
154069
|
+
initCompCallEvent(props, emits, formData);
|
|
154070
|
+
});
|
|
154023
154071
|
});
|
|
154024
154072
|
watch(
|
|
154025
154073
|
() => formData.value[props.field.fieldName + "OptionList"],
|
|
@@ -154188,7 +154236,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
154188
154236
|
value: "value"
|
|
154189
154237
|
};
|
|
154190
154238
|
initData();
|
|
154191
|
-
|
|
154239
|
+
nextTick(() => {
|
|
154240
|
+
initCompCallEvent(props, emits, formData);
|
|
154241
|
+
});
|
|
154192
154242
|
});
|
|
154193
154243
|
watch(
|
|
154194
154244
|
() => formData.value[props.field.fieldName + "OptionList"],
|
|
@@ -177703,9 +177753,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
177703
177753
|
const props = __props;
|
|
177704
177754
|
const emits = __emit;
|
|
177705
177755
|
const formData = useModel(__props, "formData");
|
|
177756
|
+
const pickerData = ref([]);
|
|
177706
177757
|
const itemAction = (prep) => {
|
|
177707
177758
|
allAction(props, emits, formData, prep);
|
|
177708
177759
|
};
|
|
177760
|
+
onMounted(() => {
|
|
177761
|
+
});
|
|
177762
|
+
watch(() => formData.value[props.field.fieldName], (val) => {
|
|
177763
|
+
if (val) {
|
|
177764
|
+
pickerData.value = props.field.preps?.multiple ? Array.isArray(val) ? val : [val] : val !== void 0 ? [val] : [];
|
|
177765
|
+
}
|
|
177766
|
+
}, { immediate: true, deep: true });
|
|
177767
|
+
watch(() => pickerData.value, (val) => {
|
|
177768
|
+
if (props.field.preps?.multiple) {
|
|
177769
|
+
formData.value[props.field.fieldName] = val;
|
|
177770
|
+
} else {
|
|
177771
|
+
formData.value[props.field.fieldName] = val[0];
|
|
177772
|
+
}
|
|
177773
|
+
}, { deep: true });
|
|
177709
177774
|
return (_ctx, _cache) => {
|
|
177710
177775
|
const _component_starhorse_form_item = __unplugin_components_0$3;
|
|
177711
177776
|
return openBlock(), createBlock(_component_starhorse_form_item, {
|
|
@@ -177718,10 +177783,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
177718
177783
|
}, {
|
|
177719
177784
|
default: withCtx(() => [
|
|
177720
177785
|
createVNode(unref(StarHorseDataSelector), mergeProps({
|
|
177721
|
-
modelValue:
|
|
177722
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
177786
|
+
modelValue: pickerData.value,
|
|
177787
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => pickerData.value = $event)
|
|
177723
177788
|
}, __props.field.preps, {
|
|
177724
|
-
|
|
177789
|
+
"onUpdate:selectedData": _cache[1] || (_cache[1] = (data) => itemAction("change")),
|
|
177790
|
+
onSelectedData: _cache[2] || (_cache[2] = (data) => itemAction("change"))
|
|
177725
177791
|
}), null, 16, ["modelValue"])
|
|
177726
177792
|
]),
|
|
177727
177793
|
_: 1
|