star-horse-lowcode 2.7.47 → 2.7.48
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 +6 -2
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +301 -330
- package/dist/types/index.d.ts +212 -211
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -66346,7 +66346,7 @@ service.interceptors.response.use(
|
|
|
66346
66346
|
function download(url, param) {
|
|
66347
66347
|
return new Promise((resolve, reject) => {
|
|
66348
66348
|
service.post(url, param, { responseType: "blob" }).then((res) => {
|
|
66349
|
-
downloadData(res.data, decodeURI(res.headers["content-disposition"]
|
|
66349
|
+
downloadData(res.data, decodeURI(res.headers["content-disposition"]?.split("=")[1]));
|
|
66350
66350
|
resolve(null);
|
|
66351
66351
|
}).catch((err) => {
|
|
66352
66352
|
console.log(err);
|
|
@@ -92643,7 +92643,6 @@ function formFieldMapping(fieldList) {
|
|
|
92643
92643
|
if (item.actions) {
|
|
92644
92644
|
actions.push({
|
|
92645
92645
|
batchName: temp.batchName,
|
|
92646
|
-
actionNames: item.actionName,
|
|
92647
92646
|
actions: item.actions,
|
|
92648
92647
|
fieldName: item.fieldName
|
|
92649
92648
|
});
|
|
@@ -92671,7 +92670,6 @@ function formFieldMapping(fieldList) {
|
|
|
92671
92670
|
}
|
|
92672
92671
|
if (item.actions) {
|
|
92673
92672
|
actions.push({
|
|
92674
|
-
actionNames: item.actionName,
|
|
92675
92673
|
actions: item.actions,
|
|
92676
92674
|
fieldName: item.fieldName
|
|
92677
92675
|
});
|
|
@@ -92701,7 +92699,6 @@ function formFieldMapping(fieldList) {
|
|
|
92701
92699
|
}
|
|
92702
92700
|
if (temp.actions) {
|
|
92703
92701
|
actions.push({
|
|
92704
|
-
actionNames: temp.actionName,
|
|
92705
92702
|
actions: temp.actions,
|
|
92706
92703
|
fieldName: temp.fieldName
|
|
92707
92704
|
});
|
|
@@ -93046,6 +93043,16 @@ const batchModifyAction = (items, val, fieldName) => {
|
|
|
93046
93043
|
};
|
|
93047
93044
|
const inputType = ["input", "textarea", "password", "number", "view-markdown", "json", "json-array"];
|
|
93048
93045
|
const selectType = ["select", "tselect", "cascader", "autocomplete", "area", "cron", "transfer", "dialog-input", "page-select"];
|
|
93046
|
+
const dateType = ["year", "month", "date", "datetime", "week", "datetimerange", "daterange"];
|
|
93047
|
+
function selectCompList() {
|
|
93048
|
+
return selectType;
|
|
93049
|
+
}
|
|
93050
|
+
function inputCompList() {
|
|
93051
|
+
return inputType;
|
|
93052
|
+
}
|
|
93053
|
+
function dateCompList() {
|
|
93054
|
+
return dateType;
|
|
93055
|
+
}
|
|
93049
93056
|
function fieldPlaceholder(item, itemType) {
|
|
93050
93057
|
if (!item.preps) {
|
|
93051
93058
|
item.preps = {};
|
|
@@ -93080,16 +93087,23 @@ function itemCheck(item) {
|
|
|
93080
93087
|
item.label = item.label || item.preps?.label;
|
|
93081
93088
|
item.fieldName = item.fieldName || item.preps?.fieldName;
|
|
93082
93089
|
item.type = item.type || item.itemType;
|
|
93083
|
-
item.actionName = item.actionName || item.preps?.actionName;
|
|
93084
93090
|
item.actions = item.actions || item.preps?.actions;
|
|
93085
93091
|
fieldPlaceholder(item, item.type);
|
|
93086
93092
|
if (typeof item.actions === "string") {
|
|
93087
93093
|
try {
|
|
93088
|
-
item.actions =
|
|
93094
|
+
item.actions = {
|
|
93095
|
+
"click": new Function(item.actions)
|
|
93096
|
+
};
|
|
93089
93097
|
} catch (e) {
|
|
93090
93098
|
console.error("actions 字符串转函数失败:", e);
|
|
93091
93099
|
item.actions = null;
|
|
93092
93100
|
}
|
|
93101
|
+
} else if (isJson(item.actions)) {
|
|
93102
|
+
let tempRecord = {};
|
|
93103
|
+
Object.entries(item.actions).forEach(([key, value]) => {
|
|
93104
|
+
tempRecord[key] = new Function(value);
|
|
93105
|
+
});
|
|
93106
|
+
item.actions = tempRecord;
|
|
93093
93107
|
}
|
|
93094
93108
|
}
|
|
93095
93109
|
return item?.itemType + (item?.compType === "container" ? "-container" : "-item");
|
|
@@ -93155,6 +93169,31 @@ const useZIndex = (zIndexOverrides) => {
|
|
|
93155
93169
|
nextZIndex
|
|
93156
93170
|
};
|
|
93157
93171
|
};
|
|
93172
|
+
function getDynamicEvents(props, recall) {
|
|
93173
|
+
const events = {};
|
|
93174
|
+
const actions = props.field.actions;
|
|
93175
|
+
const actionNames = Object.keys(actions || {});
|
|
93176
|
+
const handleEvent = (eventName, e) => {
|
|
93177
|
+
if (eventName.includes(".")) {
|
|
93178
|
+
const [baseEvent, modifier] = eventName.split(".");
|
|
93179
|
+
if (modifier == e.key.toLowerCase()) {
|
|
93180
|
+
console.log("成功触发事件:");
|
|
93181
|
+
recall(modifier);
|
|
93182
|
+
}
|
|
93183
|
+
} else {
|
|
93184
|
+
recall(eventName);
|
|
93185
|
+
}
|
|
93186
|
+
};
|
|
93187
|
+
actionNames?.forEach((actionName) => {
|
|
93188
|
+
if (actionName.includes(".")) {
|
|
93189
|
+
const [baseEvent, modifier] = actionName.split(".");
|
|
93190
|
+
events[baseEvent] = (e) => handleEvent(actionName, e);
|
|
93191
|
+
} else {
|
|
93192
|
+
events[actionName] = (e) => handleEvent(actionName, e);
|
|
93193
|
+
}
|
|
93194
|
+
});
|
|
93195
|
+
return events;
|
|
93196
|
+
}
|
|
93158
93197
|
|
|
93159
93198
|
const useSelfOperationStore = defineStore("selfOperation", () => {
|
|
93160
93199
|
const formFieldList = ref({});
|
|
@@ -93865,15 +93904,10 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
93865
93904
|
bareFlag: { type: Boolean, default: false },
|
|
93866
93905
|
batchName: { type: String, default: "" },
|
|
93867
93906
|
compSize: { type: String, default: Config.compSize },
|
|
93868
|
-
isSearch: { type: Boolean, default: false },
|
|
93869
|
-
//是否查询数据
|
|
93870
93907
|
showLabel: { type: Boolean, default: true },
|
|
93871
93908
|
//是否显示标签
|
|
93872
|
-
|
|
93873
|
-
|
|
93874
|
-
isView: { type: Boolean, default: false },
|
|
93875
|
-
//是否视图数据
|
|
93876
|
-
isDesign: { type: Boolean, default: false }
|
|
93909
|
+
source: { type: Number, default: 1 }
|
|
93910
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
93877
93911
|
}, {
|
|
93878
93912
|
"dataForm": {},
|
|
93879
93913
|
"dataFormModifiers": {}
|
|
@@ -93886,9 +93920,6 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
93886
93920
|
const itemType = ref("input");
|
|
93887
93921
|
const emit = __emit;
|
|
93888
93922
|
const formFields = inject("formFields", {});
|
|
93889
|
-
const defaultAction = ref("normal");
|
|
93890
|
-
const typeList = ["select", "tselect", "date", "daterange"];
|
|
93891
|
-
const actionName = ref();
|
|
93892
93923
|
const componentRef = ref();
|
|
93893
93924
|
const isDragging = ref(false);
|
|
93894
93925
|
const startX = ref(0);
|
|
@@ -93896,21 +93927,22 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
93896
93927
|
const dragWidth = ref(null);
|
|
93897
93928
|
const bareStyle = computed(() => ({
|
|
93898
93929
|
height: itemType.value != "button" ? "100%" : "inherit",
|
|
93899
|
-
minWidth: props.
|
|
93900
|
-
maxHeight: props.
|
|
93901
|
-
width: props.
|
|
93930
|
+
minWidth: props.source == 4 ? "200px" : "unset",
|
|
93931
|
+
maxHeight: props.source == 4 ? "500px" : "unset",
|
|
93932
|
+
width: props.source == 4 ? dragWidth.value || props.item.minWidth || "inherit" : "100%",
|
|
93902
93933
|
position: "relative"
|
|
93903
93934
|
}));
|
|
93904
93935
|
const actionDispatcher = (act, ...params) => {
|
|
93905
|
-
if (props.
|
|
93906
|
-
if (!act
|
|
93936
|
+
if (props.source == 4) {
|
|
93937
|
+
if (!act) {
|
|
93907
93938
|
return;
|
|
93908
93939
|
}
|
|
93909
93940
|
emit("dataSearch", params);
|
|
93910
93941
|
} else {
|
|
93911
|
-
let
|
|
93912
|
-
|
|
93913
|
-
|
|
93942
|
+
let actions = props.item.actions;
|
|
93943
|
+
const eventNames = Object.keys(actions || {});
|
|
93944
|
+
if (eventNames?.length > 0 && eventNames.includes(act) && typeof actions[act] == "function") {
|
|
93945
|
+
actions[act](dataForm.value, params);
|
|
93914
93946
|
}
|
|
93915
93947
|
if (act == "focus") {
|
|
93916
93948
|
emit("focus", props.column, params);
|
|
@@ -93919,12 +93951,26 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
93919
93951
|
}
|
|
93920
93952
|
}
|
|
93921
93953
|
};
|
|
93922
|
-
const dateType = ["year", "month", "date", "datetime", "week", "datetimerange", "daterange"];
|
|
93923
93954
|
const fieldType = () => {
|
|
93924
93955
|
itemType.value = props.item?.type || props.item?.fieldType || "input";
|
|
93925
|
-
if (
|
|
93956
|
+
if (dateCompList().includes(itemType.value)) {
|
|
93926
93957
|
itemType.value = "datetime";
|
|
93927
93958
|
}
|
|
93959
|
+
if (!props.item.actions) {
|
|
93960
|
+
props.item["actions"] = {};
|
|
93961
|
+
}
|
|
93962
|
+
const keys = Object.keys(props.item.actions);
|
|
93963
|
+
if (props.source == 4) {
|
|
93964
|
+
const actionKey = inputCompList().includes(itemType.value) ? "keyup.enter" : "change";
|
|
93965
|
+
if (!keys.includes(actionKey)) {
|
|
93966
|
+
props.item.actions[actionKey] = actionKey;
|
|
93967
|
+
}
|
|
93968
|
+
} else if (props.source == 5) {
|
|
93969
|
+
const actionKey = inputCompList().includes(itemType.value) ? "blur" : selectCompList().includes(itemType.value) ? "change" : null;
|
|
93970
|
+
if (actionKey && !keys.includes(actionKey)) {
|
|
93971
|
+
props.item.actions[actionKey] = actionKey;
|
|
93972
|
+
}
|
|
93973
|
+
}
|
|
93928
93974
|
};
|
|
93929
93975
|
const init = () => {
|
|
93930
93976
|
fieldType();
|
|
@@ -93932,7 +93978,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
93932
93978
|
props.item["id"] = uuid();
|
|
93933
93979
|
}
|
|
93934
93980
|
props.item["clearable"] = true;
|
|
93935
|
-
props.item["readonly"] = props.item?.readonly || props.
|
|
93981
|
+
props.item["readonly"] = props.item?.readonly || props.source == 3;
|
|
93936
93982
|
fieldPlaceholder(props.item, itemType.value);
|
|
93937
93983
|
if (props.item.preps) {
|
|
93938
93984
|
let keys = Object.keys(props.item.preps);
|
|
@@ -93947,7 +93993,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
93947
93993
|
};
|
|
93948
93994
|
const compPreps = () => {
|
|
93949
93995
|
fieldType();
|
|
93950
|
-
if (
|
|
93996
|
+
if (props.source != 4 && formFields) {
|
|
93951
93997
|
let fieldName = props.item.fieldName;
|
|
93952
93998
|
if (props.batchName) {
|
|
93953
93999
|
let batchFields = formFields[props.batchName];
|
|
@@ -93964,7 +94010,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
93964
94010
|
formFields[fieldName] = props.item;
|
|
93965
94011
|
}
|
|
93966
94012
|
}
|
|
93967
|
-
if (
|
|
94013
|
+
if (props.source != 4) {
|
|
93968
94014
|
userOperation.addFormItem(props.item);
|
|
93969
94015
|
}
|
|
93970
94016
|
if (!dataForm.value[props.item?.fieldName] && props.item?.defaultValue) {
|
|
@@ -94002,10 +94048,6 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
94002
94048
|
}
|
|
94003
94049
|
};
|
|
94004
94050
|
onMounted(() => {
|
|
94005
|
-
if (typeList.includes(props.item?.type) || typeList.includes(props.item?.fieldType)) {
|
|
94006
|
-
defaultAction.value = "change";
|
|
94007
|
-
}
|
|
94008
|
-
actionName.value = props.item?.actionName ?? defaultAction.value;
|
|
94009
94051
|
init();
|
|
94010
94052
|
});
|
|
94011
94053
|
return (_ctx, _cache) => {
|
|
@@ -94017,7 +94059,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
94017
94059
|
onMouseup: stopDrag,
|
|
94018
94060
|
onMouseleave: stopDrag
|
|
94019
94061
|
}, [
|
|
94020
|
-
itemType.value != "button" && __props.
|
|
94062
|
+
itemType.value != "button" && __props.source == 4 ? (openBlock(), createElementBlock("div", {
|
|
94021
94063
|
key: 0,
|
|
94022
94064
|
class: "drag-handle",
|
|
94023
94065
|
onMousedown: withModifiers(startDrag, ["prevent"])
|
|
@@ -94029,15 +94071,14 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
94029
94071
|
(openBlock(), createBlock(resolveDynamicComponent((dataForm.value && dataForm.value["_" + __props.item.fieldName + "Type"] || itemType.value) + "-item"), {
|
|
94030
94072
|
key: __props.item.id,
|
|
94031
94073
|
onSelfFunc: actionDispatcher,
|
|
94032
|
-
isDesign: __props.isDesign,
|
|
94033
94074
|
ref_key: "componentRef",
|
|
94034
94075
|
ref: componentRef,
|
|
94035
|
-
isSearch: __props.
|
|
94076
|
+
isSearch: __props.source == 4,
|
|
94036
94077
|
bareFlag: __props.bareFlag,
|
|
94037
94078
|
field: __props.item,
|
|
94038
94079
|
formData: dataForm.value,
|
|
94039
94080
|
"onUpdate:formData": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event)
|
|
94040
|
-
}, null, 40, ["
|
|
94081
|
+
}, null, 40, ["isSearch", "bareFlag", "field", "formData"])),
|
|
94041
94082
|
__props.item.brotherNodes ? (openBlock(), createElementBlock("div", _hoisted_1$W)) : createCommentVNode("", true),
|
|
94042
94083
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.item.brotherNodes, (temp, key) => {
|
|
94043
94084
|
return openBlock(), createElementBlock(Fragment, {
|
|
@@ -94050,11 +94091,10 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
94050
94091
|
dataForm: dataForm.value,
|
|
94051
94092
|
"onUpdate:dataForm": _cache[1] || (_cache[1] = ($event) => dataForm.value = $event),
|
|
94052
94093
|
item: temp,
|
|
94053
|
-
isDesign: __props.isDesign,
|
|
94054
94094
|
dataIndex: __props.dataIndex,
|
|
94055
94095
|
bareFlag: true,
|
|
94056
|
-
|
|
94057
|
-
}, null, 8, ["primaryKey", "compSize", "dataForm", "item", "
|
|
94096
|
+
source: __props.source
|
|
94097
|
+
}, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "source"])) : createCommentVNode("", true)
|
|
94058
94098
|
], 64);
|
|
94059
94099
|
}), 128))
|
|
94060
94100
|
], 38);
|
|
@@ -94064,7 +94104,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
94064
94104
|
|
|
94065
94105
|
/* unplugin-vue-components disabled */
|
|
94066
94106
|
|
|
94067
|
-
const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-
|
|
94107
|
+
const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-49f5ae3e"]]);
|
|
94068
94108
|
|
|
94069
94109
|
const StarHorseItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
94070
94110
|
__proto__: null,
|
|
@@ -94081,11 +94121,12 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
94081
94121
|
primaryKey: { type: [String, Object] },
|
|
94082
94122
|
batchName: { type: String, default: "batchDataList" },
|
|
94083
94123
|
rules: { type: Object },
|
|
94084
|
-
size: { type: String, default: Config.compSize }
|
|
94124
|
+
size: { type: String, default: Config.compSize },
|
|
94125
|
+
source: { type: Number, default: 1 }
|
|
94126
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
94085
94127
|
},
|
|
94086
94128
|
setup(__props) {
|
|
94087
94129
|
const props = __props;
|
|
94088
|
-
const dialogProps = inject("dialogProps");
|
|
94089
94130
|
const dataFormat = (val) => {
|
|
94090
94131
|
const type = props.item.type;
|
|
94091
94132
|
if (val) {
|
|
@@ -94120,8 +94161,8 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
94120
94161
|
batchName: __props.batchName,
|
|
94121
94162
|
item: __props.item,
|
|
94122
94163
|
"data-form": __props.dataForm,
|
|
94123
|
-
|
|
94124
|
-
}, null, 8, ["primaryKey", "compSize", "batchName", "item", "data-form", "
|
|
94164
|
+
source: __props.source
|
|
94165
|
+
}, null, 8, ["primaryKey", "compSize", "batchName", "item", "data-form", "source"])
|
|
94125
94166
|
]),
|
|
94126
94167
|
_: 1
|
|
94127
94168
|
}, 8, ["size", "rules", "prop"]));
|
|
@@ -94228,6 +94269,8 @@ const zh_CN = {
|
|
|
94228
94269
|
"dialog.fullScreen": "最大化",
|
|
94229
94270
|
"dialog.resize": "还原",
|
|
94230
94271
|
"dialog.close": "关闭",
|
|
94272
|
+
"dialog.editTitle": "编辑",
|
|
94273
|
+
"dialog.viewTitle": "查看",
|
|
94231
94274
|
/**
|
|
94232
94275
|
* 流程设计器
|
|
94233
94276
|
*/
|
|
@@ -94307,6 +94350,8 @@ const en_US = {
|
|
|
94307
94350
|
"dialog.fullScreen": "FullScreen",
|
|
94308
94351
|
"dialog.resize": "Restore",
|
|
94309
94352
|
"dialog.close": "Close",
|
|
94353
|
+
"dialog.editTitle": "Edit",
|
|
94354
|
+
"dialog.viewTitle": "View",
|
|
94310
94355
|
/**
|
|
94311
94356
|
* 流程设计器
|
|
94312
94357
|
*/
|
|
@@ -94393,7 +94438,8 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
94393
94438
|
isShowReset: { type: Boolean, default: true },
|
|
94394
94439
|
isShowSave: { type: Boolean, default: false },
|
|
94395
94440
|
isShowBtnContinue: { type: Boolean, default: false },
|
|
94396
|
-
|
|
94441
|
+
source: { type: Number, default: 1 },
|
|
94442
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
94397
94443
|
draggable: { type: Boolean, default: true },
|
|
94398
94444
|
boxHeight: { type: String, default: "60%" },
|
|
94399
94445
|
boxWidth: { type: String, default: "60%" },
|
|
@@ -94439,7 +94485,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
94439
94485
|
if (props.dialogProps?.batchEditVisible || props.isBatch) {
|
|
94440
94486
|
props.dialogProps.batchEditVisible = false;
|
|
94441
94487
|
}
|
|
94442
|
-
if (props.dialogProps.viewVisible || props.
|
|
94488
|
+
if (props.dialogProps.viewVisible || props.source == 3) {
|
|
94443
94489
|
props.dialogProps.viewVisible = false;
|
|
94444
94490
|
}
|
|
94445
94491
|
if (props.dialogProps.editVisible) {
|
|
@@ -94506,7 +94552,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
94506
94552
|
style: normalizeStyle(dialogStyle.value)
|
|
94507
94553
|
}, {
|
|
94508
94554
|
header: withCtx(({ close }) => [
|
|
94509
|
-
createElementVNode("h3", { onDblclick: fullScreen }, toDisplayString(__props.title || __props.
|
|
94555
|
+
createElementVNode("h3", { onDblclick: fullScreen }, toDisplayString(__props.title || (__props.source == 3 ? unref(i18n)("dialog.viewTitle") : unref(i18n)("dialog.editTitle"))), 33),
|
|
94510
94556
|
createElementVNode("div", _hoisted_2$G, [
|
|
94511
94557
|
!__props.hideFullScreenIcon ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
94512
94558
|
!!unref(isFullScreen) && __props.draggable ? (openBlock(), createBlock(_component_el_button, {
|
|
@@ -94563,7 +94609,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
94563
94609
|
])
|
|
94564
94610
|
]),
|
|
94565
94611
|
footer: withCtx(() => [
|
|
94566
|
-
|
|
94612
|
+
__props.source != 3 ? (openBlock(), createElementBlock("span", _hoisted_5$f, [
|
|
94567
94613
|
renderSlot(_ctx.$slots, "extend", {}, void 0, true),
|
|
94568
94614
|
createVNode(_component_el_button, {
|
|
94569
94615
|
onClick: _cache[0] || (_cache[0] = ($event) => operation("merge", "close")),
|
|
@@ -94687,7 +94733,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
94687
94733
|
|
|
94688
94734
|
/* unplugin-vue-components disabled */
|
|
94689
94735
|
|
|
94690
|
-
const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-
|
|
94736
|
+
const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-ac561350"]]);
|
|
94691
94737
|
|
|
94692
94738
|
const StarHorseDialog = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
94693
94739
|
__proto__: null,
|
|
@@ -99626,7 +99672,9 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
99626
99672
|
staticColumn: { type: String, default: "Y" },
|
|
99627
99673
|
size: { type: String, default: Config.compSize },
|
|
99628
99674
|
batchName: { type: String, default: "batchDataList" },
|
|
99629
|
-
primaryKey: { type: [String, Object] }
|
|
99675
|
+
primaryKey: { type: [String, Object] },
|
|
99676
|
+
source: { type: Number, default: 1 }
|
|
99677
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
99630
99678
|
},
|
|
99631
99679
|
setup(__props) {
|
|
99632
99680
|
const _compKey = compKey;
|
|
@@ -99655,21 +99703,23 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
99655
99703
|
initRows: sitem["initRows"],
|
|
99656
99704
|
subFlag: true,
|
|
99657
99705
|
size: __props.size,
|
|
99706
|
+
source: __props.source,
|
|
99658
99707
|
defaultValues: unref(batchFieldDefaultValues)(sitem, scope.row),
|
|
99659
99708
|
"field-list": sitem["fieldList"],
|
|
99660
99709
|
rules: sitem["rules"] || __props.rules
|
|
99661
|
-
}, null, 8, ["dataForm", "onUpdate:dataForm", "compUrl", "primaryKey", "batchName", "initRows", "size", "defaultValues", "field-list", "rules"]);
|
|
99710
|
+
}, null, 8, ["dataForm", "onUpdate:dataForm", "compUrl", "primaryKey", "batchName", "initRows", "size", "source", "defaultValues", "field-list", "rules"]);
|
|
99662
99711
|
}), 128)) : (openBlock(), createBlock(_component_sh_table_list_column, {
|
|
99663
99712
|
key: 1,
|
|
99664
99713
|
primaryKey: __props.primaryKey,
|
|
99665
99714
|
batchName: __props.batchName,
|
|
99666
99715
|
dataForm: scope.row,
|
|
99667
99716
|
size: __props.size,
|
|
99717
|
+
source: __props.source,
|
|
99668
99718
|
rules: __props.rules,
|
|
99669
99719
|
staticColumn: __props.staticColumn,
|
|
99670
99720
|
item: __props.item,
|
|
99671
99721
|
index: scope.$index
|
|
99672
|
-
}, null, 8, ["primaryKey", "batchName", "dataForm", "size", "rules", "staticColumn", "item", "index"]))
|
|
99722
|
+
}, null, 8, ["primaryKey", "batchName", "dataForm", "size", "source", "rules", "staticColumn", "item", "index"]))
|
|
99673
99723
|
]),
|
|
99674
99724
|
_: 1
|
|
99675
99725
|
}, 8, ["prop", "label", "min-width"])) : createCommentVNode("", true);
|
|
@@ -99709,7 +99759,8 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
99709
99759
|
rules: { type: Object },
|
|
99710
99760
|
staticColumn: { type: String, default: "Y" },
|
|
99711
99761
|
size: { type: String, default: Config.compSize },
|
|
99712
|
-
|
|
99762
|
+
source: { type: Number, default: 1 },
|
|
99763
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
99713
99764
|
showCheckBox: { type: Boolean, default: false },
|
|
99714
99765
|
selectAll: { type: Boolean, default: false },
|
|
99715
99766
|
subFlag: { type: Boolean, default: false }
|
|
@@ -99935,7 +99986,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
99935
99986
|
title: "导入文件",
|
|
99936
99987
|
dialogVisible: unref(importDialogVisible),
|
|
99937
99988
|
boxWidth: "30%",
|
|
99938
|
-
|
|
99989
|
+
source: 3,
|
|
99939
99990
|
draggable: false,
|
|
99940
99991
|
onCloseAction: _cache[0] || (_cache[0] = ($event) => isRef(importDialogVisible) ? importDialogVisible.value = false : importDialogVisible = false)
|
|
99941
99992
|
}, {
|
|
@@ -100018,7 +100069,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
100018
100069
|
}, null, 8, ["message"])) : createCommentVNode("", true)
|
|
100019
100070
|
])) : createCommentVNode("", true),
|
|
100020
100071
|
createElementVNode("div", _hoisted_5$d, [
|
|
100021
|
-
|
|
100072
|
+
__props.source != 3 ? (openBlock(), createElementBlock("ul", _hoisted_6$7, [
|
|
100022
100073
|
__props.importInfo?.importDataUrl && !__props.subFlag ? (openBlock(), createElementBlock("li", {
|
|
100023
100074
|
key: 0,
|
|
100024
100075
|
onClick: excelOperation
|
|
@@ -100126,19 +100177,21 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
100126
100177
|
key: unref(compKey)(temp, skey),
|
|
100127
100178
|
size: __props.size,
|
|
100128
100179
|
rules: __props.rules,
|
|
100180
|
+
source: __props.source,
|
|
100129
100181
|
batchName: __props.batchName,
|
|
100130
100182
|
primaryKey: __props.primaryKey,
|
|
100131
100183
|
staticColumn: __props.staticColumn
|
|
100132
|
-
}, null, 8, ["item", "size", "rules", "batchName", "primaryKey", "staticColumn"]);
|
|
100184
|
+
}, null, 8, ["item", "size", "rules", "source", "batchName", "primaryKey", "staticColumn"]);
|
|
100133
100185
|
}), 128)) : item.formVisible ? (openBlock(), createBlock(_sfc_main$1z, {
|
|
100134
100186
|
key: 1,
|
|
100135
100187
|
item,
|
|
100136
100188
|
size: __props.size,
|
|
100137
100189
|
rules: __props.rules,
|
|
100190
|
+
source: __props.source,
|
|
100138
100191
|
batchName: __props.batchName,
|
|
100139
100192
|
primaryKey: __props.primaryKey,
|
|
100140
100193
|
staticColumn: __props.staticColumn
|
|
100141
|
-
}, null, 8, ["item", "size", "rules", "batchName", "primaryKey", "staticColumn"])) : createCommentVNode("", true)
|
|
100194
|
+
}, null, 8, ["item", "size", "rules", "source", "batchName", "primaryKey", "staticColumn"])) : createCommentVNode("", true)
|
|
100142
100195
|
], 64);
|
|
100143
100196
|
}), 128)),
|
|
100144
100197
|
createVNode(_component_el_table_column, {
|
|
@@ -100146,7 +100199,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
100146
100199
|
label: "操作",
|
|
100147
100200
|
width: "80"
|
|
100148
100201
|
}, createSlots({ _: 2 }, [
|
|
100149
|
-
|
|
100202
|
+
__props.source != 3 ? {
|
|
100150
100203
|
name: "default",
|
|
100151
100204
|
fn: withCtx((scope) => [
|
|
100152
100205
|
__props.staticColumn == "Y" ? (openBlock(), createBlock(__unplugin_components_0$b, {
|
|
@@ -100170,7 +100223,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
100170
100223
|
}, 8, ["data", "size", "row-class-name", "use-virtual"])), [
|
|
100171
100224
|
[_directive_loading, loading.value]
|
|
100172
100225
|
]),
|
|
100173
|
-
|
|
100226
|
+
__props.source != 3 ? (openBlock(), createElementBlock("div", {
|
|
100174
100227
|
key: 0,
|
|
100175
100228
|
class: "add-row",
|
|
100176
100229
|
onClick: _cache[1] || (_cache[1] = ($event) => handleAddDetails(null, 1))
|
|
@@ -100189,7 +100242,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
100189
100242
|
|
|
100190
100243
|
/* unplugin-vue-components disabled */
|
|
100191
100244
|
|
|
100192
|
-
const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-
|
|
100245
|
+
const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-62880445"]]);
|
|
100193
100246
|
|
|
100194
100247
|
const StarHorseFormList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
100195
100248
|
__proto__: null,
|
|
@@ -100202,7 +100255,9 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
100202
100255
|
item: { type: Object, required: true },
|
|
100203
100256
|
rules: { type: Object },
|
|
100204
100257
|
initRows: { type: Number, default: 0 },
|
|
100205
|
-
size: { type: String, default: Config.compSize }
|
|
100258
|
+
size: { type: String, default: Config.compSize },
|
|
100259
|
+
source: { type: Number, default: 1 }
|
|
100260
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
100206
100261
|
}, {
|
|
100207
100262
|
"dataForm": {},
|
|
100208
100263
|
"dataFormModifiers": {}
|
|
@@ -100244,8 +100299,9 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
100244
100299
|
ref_key: "currentTableRef",
|
|
100245
100300
|
ref: currentTableRef,
|
|
100246
100301
|
fieldList: __props.item["fieldList"],
|
|
100302
|
+
source: __props.source,
|
|
100247
100303
|
rules: __props.item["rules"] || __props.rules
|
|
100248
|
-
}, null, 8, ["dataForm", "compUrl", "primaryKey", "batchName", "initRows", "batchUrl", "title", "size", "helpMsg", "staticColumn", "downloadTemplateUrl", "importInfo", "defaultValues", "fieldList", "rules"])) : createCommentVNode("", true);
|
|
100304
|
+
}, null, 8, ["dataForm", "compUrl", "primaryKey", "batchName", "initRows", "batchUrl", "title", "size", "helpMsg", "staticColumn", "downloadTemplateUrl", "importInfo", "defaultValues", "fieldList", "source", "rules"])) : createCommentVNode("", true);
|
|
100249
100305
|
};
|
|
100250
100306
|
}
|
|
100251
100307
|
});
|
|
@@ -100269,7 +100325,8 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
100269
100325
|
primaryKey: { type: [String, Object], required: true },
|
|
100270
100326
|
rules: { type: Object },
|
|
100271
100327
|
compSize: { type: String, default: Config.compSize },
|
|
100272
|
-
|
|
100328
|
+
source: { type: Number, default: 1 }
|
|
100329
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
100273
100330
|
}, {
|
|
100274
100331
|
"dataForm": {},
|
|
100275
100332
|
"dataFormModifiers": {}
|
|
@@ -100360,8 +100417,8 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
100360
100417
|
primaryKey: { type: [String, Object] },
|
|
100361
100418
|
compSize: { type: String, default: Config.compSize },
|
|
100362
100419
|
rules: { type: Object },
|
|
100363
|
-
|
|
100364
|
-
|
|
100420
|
+
source: { type: Number, default: 1 }
|
|
100421
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
100365
100422
|
}, {
|
|
100366
100423
|
"dataForm": {},
|
|
100367
100424
|
"dataFormModifiers": {}
|
|
@@ -100369,7 +100426,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
100369
100426
|
emits: ["update:dataForm"],
|
|
100370
100427
|
setup(__props) {
|
|
100371
100428
|
const dataForm = useModel(__props, "dataForm");
|
|
100372
|
-
|
|
100429
|
+
inject("dialogProps", {});
|
|
100373
100430
|
const checkItemType = (item) => {
|
|
100374
100431
|
if (Array.isArray(item)) {
|
|
100375
100432
|
return "box-item";
|
|
@@ -100400,15 +100457,14 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
100400
100457
|
compSize: __props.compSize,
|
|
100401
100458
|
compUrl: __props.compUrl,
|
|
100402
100459
|
subFormFlag: __props.subFormFlag,
|
|
100403
|
-
|
|
100460
|
+
source: __props.source,
|
|
100404
100461
|
objectName: __props.objectName,
|
|
100405
100462
|
dataIndex: __props.dataIndex,
|
|
100406
100463
|
propPrefix: __props.propPrefix,
|
|
100407
100464
|
dataForm: dataForm.value,
|
|
100408
100465
|
"onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
|
|
100409
|
-
parentPreps: __props.fieldList.preps
|
|
100410
|
-
|
|
100411
|
-
}, null, 40, ["Key", "primary-key", "item", "rules", "batchFieldName", "batchName", "compSize", "compUrl", "subFormFlag", "isView", "objectName", "dataIndex", "propPrefix", "dataForm", "parentPreps", "isEdit"]);
|
|
100466
|
+
parentPreps: __props.fieldList.preps
|
|
100467
|
+
}, null, 40, ["Key", "primary-key", "item", "rules", "batchFieldName", "batchName", "compSize", "compUrl", "subFormFlag", "source", "objectName", "dataIndex", "propPrefix", "dataForm", "parentPreps"]);
|
|
100412
100468
|
}), 128)),
|
|
100413
100469
|
createVNode(_component_table_item, {
|
|
100414
100470
|
"primary-key": __props.primaryKey,
|
|
@@ -100419,15 +100475,14 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
100419
100475
|
compSize: __props.compSize,
|
|
100420
100476
|
compUrl: __props.compUrl,
|
|
100421
100477
|
subFormFlag: __props.subFormFlag,
|
|
100422
|
-
|
|
100478
|
+
source: __props.source,
|
|
100423
100479
|
objectName: __props.objectName,
|
|
100424
100480
|
dataIndex: __props.dataIndex,
|
|
100425
100481
|
propPrefix: __props.propPrefix,
|
|
100426
100482
|
dataForm: dataForm.value,
|
|
100427
100483
|
"onUpdate:dataForm": _cache[1] || (_cache[1] = ($event) => dataForm.value = $event),
|
|
100428
|
-
parentPreps: __props.fieldList.preps
|
|
100429
|
-
|
|
100430
|
-
}, null, 8, ["primary-key", "item", "rules", "batchFieldName", "batchName", "compSize", "compUrl", "subFormFlag", "isView", "objectName", "dataIndex", "propPrefix", "dataForm", "parentPreps", "isEdit"])
|
|
100484
|
+
parentPreps: __props.fieldList.preps
|
|
100485
|
+
}, null, 8, ["primary-key", "item", "rules", "batchFieldName", "batchName", "compSize", "compUrl", "subFormFlag", "source", "objectName", "dataIndex", "propPrefix", "dataForm", "parentPreps"])
|
|
100431
100486
|
], 64);
|
|
100432
100487
|
};
|
|
100433
100488
|
}
|
|
@@ -100453,7 +100508,6 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
100453
100508
|
labelPosition: { type: String, default: "left" },
|
|
100454
100509
|
typeModel: { type: String },
|
|
100455
100510
|
dynamicForm: { type: Boolean, default: false },
|
|
100456
|
-
isView: { type: Boolean, default: false },
|
|
100457
100511
|
selectData: {
|
|
100458
100512
|
type: Array,
|
|
100459
100513
|
default: () => {
|
|
@@ -100471,6 +100525,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
100471
100525
|
const emits = __emit;
|
|
100472
100526
|
const starHorseFormRef = ref(null);
|
|
100473
100527
|
const dataForm = ref({});
|
|
100528
|
+
const source = ref(1);
|
|
100474
100529
|
const exportData = () => {
|
|
100475
100530
|
emits("exportData", dataForm.value);
|
|
100476
100531
|
};
|
|
@@ -100726,8 +100781,10 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
100726
100781
|
(val) => {
|
|
100727
100782
|
console.log("ids", val);
|
|
100728
100783
|
if (!val || val == -1) {
|
|
100784
|
+
source.value = 1;
|
|
100729
100785
|
setFormData(dataForm.value);
|
|
100730
100786
|
} else {
|
|
100787
|
+
source.value = 2;
|
|
100731
100788
|
loadData();
|
|
100732
100789
|
}
|
|
100733
100790
|
},
|
|
@@ -100779,12 +100836,12 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
100779
100836
|
compSize: __props.formSize,
|
|
100780
100837
|
dataForm: dataForm.value,
|
|
100781
100838
|
"onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
|
|
100782
|
-
|
|
100839
|
+
source: source.value,
|
|
100783
100840
|
onAddRow: addRow,
|
|
100784
100841
|
onRemoveRow: removeRow,
|
|
100785
100842
|
batchName: __props.batchName,
|
|
100786
100843
|
batchFieldName: __props.batchFieldName
|
|
100787
|
-
}, null, 8, ["primaryKey", "compUrl", "fieldList", "rules", "compSize", "dataForm", "
|
|
100844
|
+
}, null, 8, ["primaryKey", "compUrl", "fieldList", "rules", "compSize", "dataForm", "source", "batchName", "batchFieldName"])
|
|
100788
100845
|
]),
|
|
100789
100846
|
_: 1
|
|
100790
100847
|
}, 8, ["model", "size", "rules", "label-position"])
|
|
@@ -100831,7 +100888,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
100831
100888
|
|
|
100832
100889
|
/* unplugin-vue-components disabled */
|
|
100833
100890
|
|
|
100834
|
-
const __unplugin_components_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-
|
|
100891
|
+
const __unplugin_components_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-fa2112eb"]]);
|
|
100835
100892
|
|
|
100836
100893
|
const StarHorseForm = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
100837
100894
|
__proto__: null,
|
|
@@ -146350,9 +146407,8 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
146350
146407
|
"onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => isRef(searchForm) ? searchForm.value = $event : searchForm = $event),
|
|
146351
146408
|
compSize: unref(compSize),
|
|
146352
146409
|
item,
|
|
146353
|
-
|
|
146354
|
-
onDataSearch: dataSearch
|
|
146355
|
-
isEdit: true
|
|
146410
|
+
source: 4,
|
|
146411
|
+
onDataSearch: dataSearch
|
|
146356
146412
|
}, null, 8, ["data-form", "compSize", "item"])
|
|
146357
146413
|
]),
|
|
146358
146414
|
_: 2
|
|
@@ -146392,9 +146448,8 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
146392
146448
|
"onUpdate:dataForm": _cache[1] || (_cache[1] = ($event) => isRef(searchForm) ? searchForm.value = $event : searchForm = $event),
|
|
146393
146449
|
compSize: unref(compSize),
|
|
146394
146450
|
item,
|
|
146395
|
-
|
|
146396
|
-
onDataSearch: dataSearch
|
|
146397
|
-
isEdit: true
|
|
146451
|
+
source: 4,
|
|
146452
|
+
onDataSearch: dataSearch
|
|
146398
146453
|
}, null, 8, ["data-form", "compSize", "item"])
|
|
146399
146454
|
]),
|
|
146400
146455
|
_: 2
|
|
@@ -146471,7 +146526,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
146471
146526
|
|
|
146472
146527
|
/* unplugin-vue-components disabled */
|
|
146473
146528
|
|
|
146474
|
-
const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-
|
|
146529
|
+
const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-eac357a7"]]);
|
|
146475
146530
|
|
|
146476
146531
|
const StarHorseSearchComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
146477
146532
|
__proto__: null,
|
|
@@ -157195,7 +157250,9 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157195
157250
|
isDynamic: { type: Boolean, default: false },
|
|
157196
157251
|
//是否显示排序
|
|
157197
157252
|
sortable: { type: Boolean, default: true },
|
|
157198
|
-
compSize: { type: String, default: Config.compSize }
|
|
157253
|
+
compSize: { type: String, default: Config.compSize },
|
|
157254
|
+
source: { type: Number, default: 5 }
|
|
157255
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
157199
157256
|
},
|
|
157200
157257
|
emits: ["focusEvent", "blurEvent"],
|
|
157201
157258
|
setup(__props, { emit: __emit }) {
|
|
@@ -157306,6 +157363,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157306
157363
|
};
|
|
157307
157364
|
};
|
|
157308
157365
|
return (_ctx, _cache) => {
|
|
157366
|
+
const _component_star_horse_item = __unplugin_components_0$a;
|
|
157309
157367
|
const _component_el_popover = ElPopover;
|
|
157310
157368
|
const _component_el_table_column = ElTableColumn;
|
|
157311
157369
|
return __props.item.listVisible ? (openBlock(), createBlock(_component_el_table_column, {
|
|
@@ -157328,7 +157386,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157328
157386
|
onShow: showOperation
|
|
157329
157387
|
}, {
|
|
157330
157388
|
reference: withCtx(() => [
|
|
157331
|
-
createVNode(
|
|
157389
|
+
createVNode(_component_star_horse_item, {
|
|
157332
157390
|
dataForm: scope.row,
|
|
157333
157391
|
item: __props.item,
|
|
157334
157392
|
column: scope.column,
|
|
@@ -157345,7 +157403,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157345
157403
|
}, null, 8, ["item", "data"])) : createCommentVNode("", true)
|
|
157346
157404
|
]),
|
|
157347
157405
|
_: 2
|
|
157348
|
-
}, 1032, ["placement"])) : (openBlock(), createBlock(
|
|
157406
|
+
}, 1032, ["placement"])) : (openBlock(), createBlock(_component_star_horse_item, mergeProps({
|
|
157349
157407
|
key: 1,
|
|
157350
157408
|
dataForm: scope.row,
|
|
157351
157409
|
item: __props.item,
|
|
@@ -157365,7 +157423,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157365
157423
|
field: createPreps(__props.item),
|
|
157366
157424
|
formData: scope.row
|
|
157367
157425
|
}, null, 8, ["callBack", "field", "formData"])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
157368
|
-
scope.row.isSelected && (scope.row.selectName == __props.item.hideName || scope.row.selectName == __props.item.fieldName) ? (openBlock(), createBlock(
|
|
157426
|
+
scope.row.isSelected && (scope.row.selectName == __props.item.hideName || scope.row.selectName == __props.item.fieldName) ? (openBlock(), createBlock(_component_star_horse_item, {
|
|
157369
157427
|
key: 0,
|
|
157370
157428
|
dataForm: scope.row,
|
|
157371
157429
|
item: __props.item,
|
|
@@ -157373,8 +157431,9 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157373
157431
|
batchName: __props.batchName,
|
|
157374
157432
|
onFocus: focusEvent,
|
|
157375
157433
|
compSize: __props.compSize,
|
|
157376
|
-
onBlur: blurEvent
|
|
157377
|
-
|
|
157434
|
+
onBlur: blurEvent,
|
|
157435
|
+
source: __props.source
|
|
157436
|
+
}, null, 8, ["dataForm", "item", "column", "batchName", "compSize", "source"])) : (openBlock(), createElementBlock("p", {
|
|
157378
157437
|
key: 1,
|
|
157379
157438
|
onClick: ($event) => cellClick(scope.row, scope.column)
|
|
157380
157439
|
}, toDisplayString(currentDataFormat(scope)), 9, _hoisted_1$K))
|
|
@@ -157388,7 +157447,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157388
157447
|
|
|
157389
157448
|
/* unplugin-vue-components disabled */
|
|
157390
157449
|
|
|
157391
|
-
const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-
|
|
157450
|
+
const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-4ff3477d"]]);
|
|
157392
157451
|
|
|
157393
157452
|
const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
157394
157453
|
__proto__: null,
|
|
@@ -159155,7 +159214,6 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
159155
159214
|
};
|
|
159156
159215
|
const loadByPage = () => {
|
|
159157
159216
|
let url = props.compUrl?.pageListUrl;
|
|
159158
|
-
console.log("url", url);
|
|
159159
159217
|
let params = createParams();
|
|
159160
159218
|
if (props.compUrl?.redirect) {
|
|
159161
159219
|
params = {
|
|
@@ -159759,7 +159817,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
159759
159817
|
|
|
159760
159818
|
/* unplugin-vue-components disabled */
|
|
159761
159819
|
|
|
159762
|
-
const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-
|
|
159820
|
+
const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-8463d6ef"]]);
|
|
159763
159821
|
|
|
159764
159822
|
const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
159765
159823
|
__proto__: null,
|
|
@@ -162656,7 +162714,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
162656
162714
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
162657
162715
|
createVNode(__unplugin_components_0$9, {
|
|
162658
162716
|
"box-width": "450px",
|
|
162659
|
-
|
|
162717
|
+
source: 3,
|
|
162660
162718
|
"full-screen": false,
|
|
162661
162719
|
title: "更换组件",
|
|
162662
162720
|
"self-func": true,
|
|
@@ -162849,7 +162907,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
162849
162907
|
|
|
162850
162908
|
/* unplugin-vue-components disabled */
|
|
162851
162909
|
|
|
162852
|
-
const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-
|
|
162910
|
+
const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-4ef3650e"]]);
|
|
162853
162911
|
|
|
162854
162912
|
const starhorseFormItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
162855
162913
|
__proto__: null,
|
|
@@ -162923,7 +162981,8 @@ const operationRelation = async (relation, actionName, formData, currentName) =>
|
|
|
162923
162981
|
};
|
|
162924
162982
|
const allAction = (context, emits, formData, actionName, isInit = false) => {
|
|
162925
162983
|
const currentData = isRef(formData) ? formData.value : formData;
|
|
162926
|
-
|
|
162984
|
+
console.log(currentData);
|
|
162985
|
+
context.field;
|
|
162927
162986
|
if (!isInit && actionName != "normal") {
|
|
162928
162987
|
try {
|
|
162929
162988
|
emits("selfFunc", actionName, currentData);
|
|
@@ -162931,10 +162990,9 @@ const allAction = (context, emits, formData, actionName, isInit = false) => {
|
|
|
162931
162990
|
error$1("事件触发异常:" + e);
|
|
162932
162991
|
}
|
|
162933
162992
|
}
|
|
162934
|
-
if (isDesign.value && isInit
|
|
162993
|
+
if (isDesign.value && isInit) {
|
|
162935
162994
|
return;
|
|
162936
162995
|
}
|
|
162937
|
-
const tempName = field.preps?.actionName;
|
|
162938
162996
|
switch (actionName) {
|
|
162939
162997
|
case "change":
|
|
162940
162998
|
change(context, currentData);
|
|
@@ -162956,9 +163014,6 @@ const allAction = (context, emits, formData, actionName, isInit = false) => {
|
|
|
162956
163014
|
console.log("不支持的事件:" + actionName);
|
|
162957
163015
|
return;
|
|
162958
163016
|
}
|
|
162959
|
-
if (actionName == "input" && actionName != tempName) {
|
|
162960
|
-
return;
|
|
162961
|
-
}
|
|
162962
163017
|
};
|
|
162963
163018
|
const buttonAction = (context, emits, formData, code) => {
|
|
162964
163019
|
const currentData = isRef(formData) ? formData.value : formData;
|
|
@@ -163078,14 +163133,12 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
163078
163133
|
createVNode(_component_el_cascader, mergeProps({
|
|
163079
163134
|
fid: __props.field.fieldName
|
|
163080
163135
|
}, __props.field.preps, {
|
|
163081
|
-
disabled: unref(checkIsDisabled)(props)
|
|
163082
|
-
|
|
163083
|
-
|
|
163084
|
-
|
|
163085
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
163086
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
163136
|
+
disabled: unref(checkIsDisabled)(props)
|
|
163137
|
+
}, {
|
|
163138
|
+
[toHandlerKey(__props.field.actionName)]: _cache[0] || (_cache[0] = ($event) => itemAction(__props.field.actionName))
|
|
163139
|
+
}, {
|
|
163087
163140
|
modelValue: formData.value[__props.field.fieldName],
|
|
163088
|
-
"onUpdate:modelValue": _cache[
|
|
163141
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
163089
163142
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
163090
163143
|
]),
|
|
163091
163144
|
_: 1
|
|
@@ -163096,7 +163149,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
163096
163149
|
|
|
163097
163150
|
/* unplugin-vue-components disabled */
|
|
163098
163151
|
|
|
163099
|
-
const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-
|
|
163152
|
+
const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-a70c90ef"]]);
|
|
163100
163153
|
|
|
163101
163154
|
const areaItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
163102
163155
|
__proto__: null,
|
|
@@ -163331,13 +163384,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
163331
163384
|
disabled: unref(checkIsDisabled)(props),
|
|
163332
163385
|
"fetch-suggestions": querySearch
|
|
163333
163386
|
}, __props.field.preps, {
|
|
163334
|
-
|
|
163335
|
-
|
|
163336
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
163337
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
163338
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
163387
|
+
[toHandlerKey(__props.field.actionName)]: _cache[0] || (_cache[0] = ($event) => itemAction(__props.field.actionName))
|
|
163388
|
+
}, {
|
|
163339
163389
|
modelValue: formData.value[__props.field.fieldName],
|
|
163340
|
-
"onUpdate:modelValue": _cache[
|
|
163390
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
163341
163391
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
163342
163392
|
]),
|
|
163343
163393
|
_: 1
|
|
@@ -163654,14 +163704,10 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
163654
163704
|
createVNode(_component_el_cascader, mergeProps({
|
|
163655
163705
|
fid: __props.field.fieldName
|
|
163656
163706
|
}, __props.field.preps, {
|
|
163657
|
-
disabled: unref(checkIsDisabled)(props)
|
|
163658
|
-
|
|
163659
|
-
onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
|
|
163660
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
163661
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
163662
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
163707
|
+
disabled: unref(checkIsDisabled)(props)
|
|
163708
|
+
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
163663
163709
|
modelValue: formData.value[__props.field.fieldName],
|
|
163664
|
-
"onUpdate:modelValue": _cache[
|
|
163710
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
163665
163711
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
163666
163712
|
]),
|
|
163667
163713
|
_: 1
|
|
@@ -163672,7 +163718,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
163672
163718
|
|
|
163673
163719
|
/* unplugin-vue-components disabled */
|
|
163674
163720
|
|
|
163675
|
-
const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-
|
|
163721
|
+
const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-05f2279b"]]);
|
|
163676
163722
|
|
|
163677
163723
|
const cascadeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
163678
163724
|
__proto__: null,
|
|
@@ -163845,13 +163891,9 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
163845
163891
|
createVNode(_component_el_color_picker, mergeProps({
|
|
163846
163892
|
fid: __props.field.fieldName,
|
|
163847
163893
|
disabled: unref(checkIsDisabled)(props)
|
|
163848
|
-
}, __props.field.preps, {
|
|
163849
|
-
onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
|
|
163850
|
-
onKeydown: _cache[1] || (_cache[1] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
163851
|
-
onFocus: _cache[2] || (_cache[2] = ($event) => itemAction("focus")),
|
|
163852
|
-
onBlur: _cache[3] || (_cache[3] = ($event) => itemAction("blur")),
|
|
163894
|
+
}, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
163853
163895
|
modelValue: formData.value[__props.field.fieldName],
|
|
163854
|
-
"onUpdate:modelValue": _cache[
|
|
163896
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
163855
163897
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
163856
163898
|
]),
|
|
163857
163899
|
_: 1
|
|
@@ -163870,7 +163912,7 @@ const _hoisted_2$n = { class: "popup-result-scroll" };
|
|
|
163870
163912
|
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
163871
163913
|
__name: "Crontab-Result",
|
|
163872
163914
|
props: {
|
|
163873
|
-
ex: { type:
|
|
163915
|
+
ex: { type: String }
|
|
163874
163916
|
},
|
|
163875
163917
|
setup(__props) {
|
|
163876
163918
|
const props = __props;
|
|
@@ -164368,7 +164410,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
164368
164410
|
|
|
164369
164411
|
/* unplugin-vue-components disabled */
|
|
164370
164412
|
|
|
164371
|
-
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-
|
|
164413
|
+
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-622d18f9"]]);
|
|
164372
164414
|
|
|
164373
164415
|
const _hoisted_1$s = { class: "cron-content" };
|
|
164374
164416
|
const _hoisted_2$m = { class: "cron-item" };
|
|
@@ -166617,11 +166659,12 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
166617
166659
|
});
|
|
166618
166660
|
return (_ctx, _cache) => {
|
|
166619
166661
|
const _component_el_scrollbar = ElScrollbar;
|
|
166662
|
+
const _component_star_horse_dialog = __unplugin_components_0$9;
|
|
166620
166663
|
const _component_el_button = ElButton;
|
|
166621
166664
|
const _component_el_input = ElInput;
|
|
166622
166665
|
const _component_starhorse_form_item = __unplugin_components_0$3;
|
|
166623
166666
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
166624
|
-
createVNode(
|
|
166667
|
+
createVNode(_component_star_horse_dialog, {
|
|
166625
166668
|
title: "Crontab 配置器",
|
|
166626
166669
|
"box-width": "50%",
|
|
166627
166670
|
"self-func": true,
|
|
@@ -166653,16 +166696,12 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
166653
166696
|
parentField: __props.parentField
|
|
166654
166697
|
}, {
|
|
166655
166698
|
default: withCtx(() => [
|
|
166656
|
-
createVNode(_component_el_input, {
|
|
166657
|
-
fid: __props.field.fieldName
|
|
166658
|
-
|
|
166659
|
-
onInput: _cache[2] || (_cache[2] = ($event) => itemAction("input")),
|
|
166660
|
-
onKeydown: _cache[3] || (_cache[3] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
166661
|
-
onFocus: _cache[4] || (_cache[4] = ($event) => itemAction("focus")),
|
|
166662
|
-
onBlur: _cache[5] || (_cache[5] = ($event) => itemAction("blur")),
|
|
166699
|
+
createVNode(_component_el_input, mergeProps({
|
|
166700
|
+
fid: __props.field.fieldName
|
|
166701
|
+
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
166663
166702
|
modelValue: formData.value[__props.field.fieldName],
|
|
166664
|
-
"onUpdate:modelValue": _cache[
|
|
166665
|
-
}, {
|
|
166703
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
166704
|
+
}), {
|
|
166666
166705
|
append: withCtx(() => [
|
|
166667
166706
|
createVNode(_component_el_button, {
|
|
166668
166707
|
icon: "Clock",
|
|
@@ -166671,7 +166710,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
166671
166710
|
}, null, 8, ["disabled"])
|
|
166672
166711
|
]),
|
|
166673
166712
|
_: 1
|
|
166674
|
-
},
|
|
166713
|
+
}, 16, ["fid", "modelValue"])
|
|
166675
166714
|
]),
|
|
166676
166715
|
_: 1
|
|
166677
166716
|
}, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"])
|
|
@@ -166682,7 +166721,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
166682
166721
|
|
|
166683
166722
|
/* unplugin-vue-components disabled */
|
|
166684
166723
|
|
|
166685
|
-
const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-
|
|
166724
|
+
const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-0d61b7ed"]]);
|
|
166686
166725
|
|
|
166687
166726
|
const cronItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
166688
166727
|
__proto__: null,
|
|
@@ -166775,14 +166814,10 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
166775
166814
|
format: __props.field.preps?.format || "YYYY-MM-DD HH:mm:ss",
|
|
166776
166815
|
"value-format": __props.field.preps?.valueFormat,
|
|
166777
166816
|
"date-format": "YYYY-MM-DD",
|
|
166778
|
-
"time-format": "HH:mm"
|
|
166779
|
-
|
|
166780
|
-
onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
|
|
166781
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
166782
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
166783
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
166817
|
+
"time-format": "HH:mm"
|
|
166818
|
+
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
166784
166819
|
modelValue: formData.value[__props.field.fieldName],
|
|
166785
|
-
"onUpdate:modelValue": _cache[
|
|
166820
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
166786
166821
|
}), null, 16, ["fid", "disabled", "format", "value-format", "modelValue"])
|
|
166787
166822
|
]),
|
|
166788
166823
|
_: 1
|
|
@@ -166793,7 +166828,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
166793
166828
|
|
|
166794
166829
|
/* unplugin-vue-components disabled */
|
|
166795
166830
|
|
|
166796
|
-
const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-
|
|
166831
|
+
const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-6fbfb2a1"]]);
|
|
166797
166832
|
|
|
166798
166833
|
const datetimeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
166799
166834
|
__proto__: null,
|
|
@@ -167044,14 +167079,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
167044
167079
|
disabled: unref(checkIsDisabled)(props),
|
|
167045
167080
|
type: "text"
|
|
167046
167081
|
}, __props.field.preps, {
|
|
167047
|
-
fid: __props.field.fieldName
|
|
167048
|
-
|
|
167049
|
-
onInput: _cache[2] || (_cache[2] = ($event) => itemAction("input")),
|
|
167050
|
-
onKeydown: _cache[3] || (_cache[3] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
167051
|
-
onFocus: _cache[4] || (_cache[4] = ($event) => itemAction("focus")),
|
|
167052
|
-
onBlur: _cache[5] || (_cache[5] = ($event) => itemAction("blur")),
|
|
167082
|
+
fid: __props.field.fieldName
|
|
167083
|
+
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
167053
167084
|
modelValue: formData.value[__props.field.fieldName],
|
|
167054
|
-
"onUpdate:modelValue": _cache[
|
|
167085
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
167055
167086
|
}), {
|
|
167056
167087
|
append: withCtx(() => [
|
|
167057
167088
|
createVNode(_component_el_button, {
|
|
@@ -167072,7 +167103,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
167072
167103
|
|
|
167073
167104
|
/* unplugin-vue-components disabled */
|
|
167074
167105
|
|
|
167075
|
-
const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-
|
|
167106
|
+
const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-018f532d"]]);
|
|
167076
167107
|
|
|
167077
167108
|
const dialogInputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
167078
167109
|
__proto__: null,
|
|
@@ -167134,16 +167165,16 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
167134
167165
|
parentField: __props.parentField
|
|
167135
167166
|
}, {
|
|
167136
167167
|
default: withCtx(() => [
|
|
167137
|
-
createVNode(_component_el_divider, {
|
|
167138
|
-
direction: __props.field.preps?.direction || "horizontal"
|
|
167139
|
-
|
|
167168
|
+
createVNode(_component_el_divider, mergeProps({
|
|
167169
|
+
direction: __props.field.preps?.direction || "horizontal"
|
|
167170
|
+
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
167140
167171
|
"content-position": __props.field.preps?.contentPosition || "center"
|
|
167141
|
-
}, {
|
|
167172
|
+
}), {
|
|
167142
167173
|
default: withCtx(() => [
|
|
167143
167174
|
createTextVNode(toDisplayString(__props.field.preps?.content), 1)
|
|
167144
167175
|
]),
|
|
167145
167176
|
_: 1
|
|
167146
|
-
},
|
|
167177
|
+
}, 16, ["direction", "content-position"])
|
|
167147
167178
|
]),
|
|
167148
167179
|
_: 1
|
|
167149
167180
|
}, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
@@ -184376,21 +184407,17 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
184376
184407
|
}, {
|
|
184377
184408
|
default: withCtx(() => [
|
|
184378
184409
|
createElementVNode("div", _hoisted_1$i, [
|
|
184379
|
-
createVNode(unref(QuillEditor), {
|
|
184380
|
-
style:
|
|
184381
|
-
modules
|
|
184382
|
-
|
|
184383
|
-
onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
|
|
184384
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
184385
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
184386
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
184410
|
+
createVNode(unref(QuillEditor), mergeProps({
|
|
184411
|
+
style: { height: __props.field.preps?.height || "300px", "overflow-y": "hidden" },
|
|
184412
|
+
modules
|
|
184413
|
+
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
184387
184414
|
modelValue: formData.value[__props.field.fieldName],
|
|
184388
|
-
"onUpdate:modelValue": _cache[
|
|
184415
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event),
|
|
184389
184416
|
theme: "snow",
|
|
184390
184417
|
toolbar: "full",
|
|
184391
184418
|
fid: __props.field.fieldName,
|
|
184392
184419
|
onOnCreated: handleCreated
|
|
184393
|
-
}, null,
|
|
184420
|
+
}), null, 16, ["style", "modelValue", "fid"])
|
|
184394
184421
|
])
|
|
184395
184422
|
]),
|
|
184396
184423
|
_: 1
|
|
@@ -184506,16 +184533,17 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
184506
184533
|
trigger: "click"
|
|
184507
184534
|
}, {
|
|
184508
184535
|
reference: withCtx(() => [
|
|
184509
|
-
unref(iconType) == "system" ? (openBlock(), createBlock(_component_el_avatar, {
|
|
184536
|
+
unref(iconType) == "system" ? (openBlock(), createBlock(_component_el_avatar, mergeProps({
|
|
184510
184537
|
key: 0,
|
|
184511
184538
|
fit: "fill",
|
|
184512
184539
|
shape: "square",
|
|
184513
|
-
style:
|
|
184540
|
+
style: {
|
|
184514
184541
|
"font-size": __props.field.preps?.listView ? "22px" : "24px",
|
|
184515
184542
|
background: __props.field.preps?.listView ? "unset" : "var(--el-avatar-bg-color)"
|
|
184516
|
-
}
|
|
184543
|
+
}
|
|
184544
|
+
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
184517
184545
|
icon: formData.value[__props.field.fieldName]
|
|
184518
|
-
}, null,
|
|
184546
|
+
}), null, 16, ["style", "icon"])) : (openBlock(), createBlock(__unplugin_components_0$b, {
|
|
184519
184547
|
key: 1,
|
|
184520
184548
|
"icon-class": formData.value[__props.field.fieldName],
|
|
184521
184549
|
size: "30px",
|
|
@@ -184588,7 +184616,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
184588
184616
|
|
|
184589
184617
|
/* unplugin-vue-components disabled */
|
|
184590
184618
|
|
|
184591
|
-
const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-
|
|
184619
|
+
const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-166941e0"]]);
|
|
184592
184620
|
|
|
184593
184621
|
const iconItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
184594
184622
|
__proto__: null,
|
|
@@ -184958,13 +184986,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
184958
184986
|
initEvent();
|
|
184959
184987
|
});
|
|
184960
184988
|
return (_ctx, _cache) => {
|
|
184989
|
+
const _component_EditDataDialog = _sfc_main$K;
|
|
184961
184990
|
const _component_el_option = ElOption;
|
|
184962
184991
|
const _component_el_select = ElSelect;
|
|
184963
184992
|
const _component_star_horse_icon = __unplugin_components_0$b;
|
|
184964
184993
|
const _component_el_input = ElInput;
|
|
184965
184994
|
const _component_starhorse_form_item = __unplugin_components_0$3;
|
|
184966
184995
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
184967
|
-
createVNode(
|
|
184996
|
+
createVNode(_component_EditDataDialog, {
|
|
184968
184997
|
modelValue: dialogInputVisible.value,
|
|
184969
184998
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dialogInputVisible.value = $event),
|
|
184970
184999
|
disabled: unref(checkIsDisabled)(props),
|
|
@@ -184986,15 +185015,11 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
184986
185015
|
ref_key: "inputItemRef",
|
|
184987
185016
|
ref: inputItemRef,
|
|
184988
185017
|
fid: __props.field.fieldName,
|
|
184989
|
-
class: "input-with-select"
|
|
184990
|
-
|
|
184991
|
-
onInput: _cache[5] || (_cache[5] = ($event) => itemAction("input")),
|
|
184992
|
-
onKeydown: _cache[6] || (_cache[6] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
184993
|
-
onFocus: _cache[7] || (_cache[7] = ($event) => itemAction("focus")),
|
|
184994
|
-
onBlur: _cache[8] || (_cache[8] = ($event) => itemAction("blur")),
|
|
185018
|
+
class: "input-with-select"
|
|
185019
|
+
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
184995
185020
|
onDblclick: editContent,
|
|
184996
185021
|
modelValue: formData.value[__props.field.fieldName],
|
|
184997
|
-
"onUpdate:modelValue": _cache[
|
|
185022
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
184998
185023
|
}), createSlots({ _: 2 }, [
|
|
184999
185024
|
__props.field.preps?.prependText ? {
|
|
185000
185025
|
name: "prepend",
|
|
@@ -185075,7 +185100,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
185075
185100
|
|
|
185076
185101
|
/* unplugin-vue-components disabled */
|
|
185077
185102
|
|
|
185078
|
-
const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-
|
|
185103
|
+
const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-12eed1e4"]]);
|
|
185079
185104
|
|
|
185080
185105
|
const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
185081
185106
|
__proto__: null,
|
|
@@ -185199,26 +185224,22 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
185199
185224
|
type: "textarea",
|
|
185200
185225
|
resize: "vertical",
|
|
185201
185226
|
readonly: ""
|
|
185202
|
-
},
|
|
185203
|
-
onChange: _cache[1] || (_cache[1] = ($event) => itemAction("change")),
|
|
185204
|
-
onInput: _cache[2] || (_cache[2] = ($event) => itemAction("input")),
|
|
185205
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
185206
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
185227
|
+
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
185207
185228
|
modelValue: formData.value[__props.field.fieldName],
|
|
185208
|
-
"onUpdate:modelValue": _cache[
|
|
185229
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
185209
185230
|
}), null, 16, ["fid", "disabled", "rows", "modelValue"])
|
|
185210
185231
|
]),
|
|
185211
185232
|
createElementVNode("div", _hoisted_3$4, [
|
|
185212
185233
|
createVNode(_component_star_horse_icon, {
|
|
185213
185234
|
class: "w-full",
|
|
185214
|
-
onClick: _cache[
|
|
185235
|
+
onClick: _cache[2] || (_cache[2] = ($event) => editJsonData(false)),
|
|
185215
185236
|
"icon-class": "edit",
|
|
185216
185237
|
style: { "cursor": "pointer" },
|
|
185217
185238
|
title: "设计模式编辑"
|
|
185218
185239
|
}),
|
|
185219
|
-
_cache[
|
|
185240
|
+
_cache[4] || (_cache[4] = createElementVNode("div", { class: "h-[10px]" }, null, -1)),
|
|
185220
185241
|
createVNode(_component_star_horse_icon, {
|
|
185221
|
-
onClick: _cache[
|
|
185242
|
+
onClick: _cache[3] || (_cache[3] = ($event) => editJsonData(true)),
|
|
185222
185243
|
"icon-class": "code",
|
|
185223
185244
|
style: { "cursor": "pointer" },
|
|
185224
185245
|
title: "开发模式编辑"
|
|
@@ -185235,7 +185256,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
185235
185256
|
|
|
185236
185257
|
/* unplugin-vue-components disabled */
|
|
185237
185258
|
|
|
185238
|
-
const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
185259
|
+
const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-7df92781"]]);
|
|
185239
185260
|
|
|
185240
185261
|
const baseJsonItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
185241
185262
|
__proto__: null,
|
|
@@ -185546,14 +185567,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
185546
185567
|
createVNode(_component_el_input_number, mergeProps({
|
|
185547
185568
|
fid: __props.field.fieldName,
|
|
185548
185569
|
disabled: unref(checkIsDisabled)(props)
|
|
185549
|
-
}, __props.field.preps, {
|
|
185550
|
-
onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
|
|
185551
|
-
onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
|
|
185552
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
185553
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
185554
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
185570
|
+
}, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
185555
185571
|
modelValue: formData.value[__props.field.fieldName],
|
|
185556
|
-
"onUpdate:modelValue": _cache[
|
|
185572
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
185557
185573
|
}), {
|
|
185558
185574
|
prefix: withCtx(() => [
|
|
185559
185575
|
__props.field.preps?.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$e, toDisplayString(__props.field.preps["prefix"]), 1)) : createCommentVNode("", true)
|
|
@@ -185572,7 +185588,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
185572
185588
|
|
|
185573
185589
|
/* unplugin-vue-components disabled */
|
|
185574
185590
|
|
|
185575
|
-
const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-
|
|
185591
|
+
const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-dc058d7c"]]);
|
|
185576
185592
|
|
|
185577
185593
|
const numberItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
185578
185594
|
__proto__: null,
|
|
@@ -185966,14 +185982,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
185966
185982
|
createVNode(_component_el_select, mergeProps({
|
|
185967
185983
|
fid: __props.field.fieldName
|
|
185968
185984
|
}, __props.field.preps, {
|
|
185969
|
-
disabled: unref(checkIsDisabled)(props)
|
|
185970
|
-
|
|
185971
|
-
onInput: _cache[5] || (_cache[5] = ($event) => itemAction("input")),
|
|
185972
|
-
onKeydown: _cache[6] || (_cache[6] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
185973
|
-
onFocus: _cache[7] || (_cache[7] = ($event) => itemAction("focus")),
|
|
185974
|
-
onBlur: _cache[8] || (_cache[8] = ($event) => itemAction("blur")),
|
|
185985
|
+
disabled: unref(checkIsDisabled)(props)
|
|
185986
|
+
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
185975
185987
|
modelValue: formData.value[__props.field.fieldName],
|
|
185976
|
-
"onUpdate:modelValue": _cache[
|
|
185988
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
185977
185989
|
}), {
|
|
185978
185990
|
empty: withCtx(() => [
|
|
185979
185991
|
createVNode(_component_el_card, {
|
|
@@ -186068,7 +186080,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
186068
186080
|
|
|
186069
186081
|
/* unplugin-vue-components disabled */
|
|
186070
186082
|
|
|
186071
|
-
const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
186083
|
+
const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-e6e29722"]]);
|
|
186072
186084
|
|
|
186073
186085
|
const pageSelectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
186074
186086
|
__proto__: null,
|
|
@@ -186137,15 +186149,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
186137
186149
|
createVNode(_component_el_input, mergeProps({
|
|
186138
186150
|
fid: __props.field.fieldName,
|
|
186139
186151
|
disabled: unref(checkIsDisabled)(props)
|
|
186140
|
-
}, __props.field.preps, {
|
|
186141
|
-
type: "password",
|
|
186142
|
-
onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
|
|
186143
|
-
onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
|
|
186144
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
186145
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
186146
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
186152
|
+
}, __props.field.preps, { type: "password" }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
186147
186153
|
modelValue: formData.value[__props.field.fieldName],
|
|
186148
|
-
"onUpdate:modelValue": _cache[
|
|
186154
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
186149
186155
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
186150
186156
|
]),
|
|
186151
186157
|
_: 1
|
|
@@ -186448,15 +186454,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
186448
186454
|
createVNode(_component_el_select, mergeProps({
|
|
186449
186455
|
fid: __props.field.fieldName,
|
|
186450
186456
|
disabled: unref(checkIsDisabled)(props)
|
|
186451
|
-
}, __props.field.preps, {
|
|
186452
|
-
"remote-method": remoteMethod,
|
|
186453
|
-
onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
|
|
186454
|
-
onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
|
|
186455
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
186456
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
186457
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
186457
|
+
}, __props.field.preps, { "remote-method": remoteMethod }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
186458
186458
|
modelValue: formData.value[__props.field.fieldName],
|
|
186459
|
-
"onUpdate:modelValue": _cache[
|
|
186459
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
186460
186460
|
}), {
|
|
186461
186461
|
default: withCtx(() => [
|
|
186462
186462
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps?.values, (items) => {
|
|
@@ -186479,7 +186479,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
186479
186479
|
|
|
186480
186480
|
/* unplugin-vue-components disabled */
|
|
186481
186481
|
|
|
186482
|
-
const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-
|
|
186482
|
+
const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-0c27dda5"]]);
|
|
186483
186483
|
|
|
186484
186484
|
const selectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
186485
186485
|
__proto__: null,
|
|
@@ -186974,7 +186974,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
186974
186974
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
186975
186975
|
createVNode(__unplugin_components_0$9, {
|
|
186976
186976
|
"dialog-visible": unref(previewDialog),
|
|
186977
|
-
|
|
186977
|
+
source: 3,
|
|
186978
186978
|
"self-func": true,
|
|
186979
186979
|
onCloseAction: _cache[0] || (_cache[0] = ($event) => isRef(previewDialog) ? previewDialog.value = false : previewDialog = false)
|
|
186980
186980
|
}, {
|
|
@@ -187063,7 +187063,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
187063
187063
|
|
|
187064
187064
|
/* unplugin-vue-components disabled */
|
|
187065
187065
|
|
|
187066
|
-
const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
187066
|
+
const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-f59077d6"]]);
|
|
187067
187067
|
|
|
187068
187068
|
const signatureItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
187069
187069
|
__proto__: null,
|
|
@@ -187215,10 +187215,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
187215
187215
|
createVNode(_component_el_switch, mergeProps({
|
|
187216
187216
|
fid: __props.field.fieldName,
|
|
187217
187217
|
disabled: unref(checkIsDisabled)(props)
|
|
187218
|
-
}, __props.field.preps, {
|
|
187219
|
-
onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
|
|
187218
|
+
}, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
187220
187219
|
modelValue: formData.value[__props.field.fieldName],
|
|
187221
|
-
"onUpdate:modelValue": _cache[
|
|
187220
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
187222
187221
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
187223
187222
|
]),
|
|
187224
187223
|
_: 1
|
|
@@ -187483,15 +187482,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
187483
187482
|
onDblclick: maxEdit,
|
|
187484
187483
|
disabled: unref(checkIsDisabled)(props),
|
|
187485
187484
|
fid: __props.field.fieldName
|
|
187486
|
-
}, __props.field.preps, {
|
|
187487
|
-
type: "textarea",
|
|
187488
|
-
onChange: _cache[1] || (_cache[1] = ($event) => itemAction("change")),
|
|
187489
|
-
onInput: _cache[2] || (_cache[2] = ($event) => itemAction("input")),
|
|
187490
|
-
onKeydown: _cache[3] || (_cache[3] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
187491
|
-
onFocus: _cache[4] || (_cache[4] = ($event) => itemAction("focus")),
|
|
187492
|
-
onBlur: _cache[5] || (_cache[5] = ($event) => itemAction("blur")),
|
|
187485
|
+
}, __props.field.preps, { type: "textarea" }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
187493
187486
|
modelValue: formData.value[__props.field.fieldName],
|
|
187494
|
-
"onUpdate:modelValue": _cache[
|
|
187487
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
187495
187488
|
}), null, 16, ["disabled", "fid", "modelValue"])
|
|
187496
187489
|
]),
|
|
187497
187490
|
_: 1
|
|
@@ -187571,14 +187564,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
187571
187564
|
start: __props.field.preps?.start || "00:00",
|
|
187572
187565
|
end: __props.field.preps?.end || "24:00",
|
|
187573
187566
|
step: __props.field.preps?.step || "00:05"
|
|
187574
|
-
}, __props.field.preps, {
|
|
187575
|
-
onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
|
|
187576
|
-
onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
|
|
187577
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
187578
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
187579
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
187567
|
+
}, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
187580
187568
|
modelValue: formData.value[__props.field.fieldName],
|
|
187581
|
-
"onUpdate:modelValue": _cache[
|
|
187569
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
187582
187570
|
}), null, 16, ["fid", "disabled", "start", "end", "step", "modelValue"])
|
|
187583
187571
|
]),
|
|
187584
187572
|
_: 1
|
|
@@ -187589,7 +187577,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
187589
187577
|
|
|
187590
187578
|
/* unplugin-vue-components disabled */
|
|
187591
187579
|
|
|
187592
|
-
const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
187580
|
+
const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-23cb2e56"]]);
|
|
187593
187581
|
|
|
187594
187582
|
const timeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
187595
187583
|
__proto__: null,
|
|
@@ -187658,14 +187646,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
187658
187646
|
createVNode(_component_el_time_picker, mergeProps({
|
|
187659
187647
|
fid: __props.field.fieldName,
|
|
187660
187648
|
disabled: unref(checkIsDisabled)(props)
|
|
187661
|
-
}, __props.field.preps, {
|
|
187662
|
-
onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
|
|
187663
|
-
onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
|
|
187664
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
187665
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
187666
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
187649
|
+
}, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
187667
187650
|
modelValue: formData.value[__props.field.fieldName],
|
|
187668
|
-
"onUpdate:modelValue": _cache[
|
|
187651
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
187669
187652
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
187670
187653
|
]),
|
|
187671
187654
|
_: 1
|
|
@@ -187676,7 +187659,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
187676
187659
|
|
|
187677
187660
|
/* unplugin-vue-components disabled */
|
|
187678
187661
|
|
|
187679
|
-
const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
187662
|
+
const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-ef18c53e"]]);
|
|
187680
187663
|
|
|
187681
187664
|
const timePickerItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
187682
187665
|
__proto__: null,
|
|
@@ -187763,14 +187746,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
187763
187746
|
default: withCtx(() => [
|
|
187764
187747
|
createVNode(_component_el_transfer, mergeProps({
|
|
187765
187748
|
fid: __props.field?.preps["name"]
|
|
187766
|
-
}, __props.field.preps, {
|
|
187767
|
-
onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
|
|
187768
|
-
onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
|
|
187769
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
187770
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
187771
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
187749
|
+
}, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
187772
187750
|
modelValue: formData.value[__props.field.fieldName],
|
|
187773
|
-
"onUpdate:modelValue": _cache[
|
|
187751
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
187774
187752
|
}), null, 16, ["fid", "modelValue"])
|
|
187775
187753
|
]),
|
|
187776
187754
|
_: 1
|
|
@@ -187885,14 +187863,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
187885
187863
|
"default-expand-all": true
|
|
187886
187864
|
}, __props.field.preps, {
|
|
187887
187865
|
"filter-node-method": filterNodeMethod,
|
|
187888
|
-
"render-content": renderContent
|
|
187889
|
-
|
|
187890
|
-
onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
|
|
187891
|
-
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
187892
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
187893
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
187866
|
+
"render-content": renderContent
|
|
187867
|
+
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
187894
187868
|
modelValue: formData.value[__props.field.fieldName],
|
|
187895
|
-
"onUpdate:modelValue": _cache[
|
|
187869
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
187896
187870
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
187897
187871
|
]),
|
|
187898
187872
|
_: 1
|
|
@@ -188284,13 +188258,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
188284
188258
|
options: unref(userOptionList),
|
|
188285
188259
|
whole: true,
|
|
188286
188260
|
fid: __props.field.fieldName
|
|
188287
|
-
}, __props.field.preps, {
|
|
188288
|
-
onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
|
|
188289
|
-
onKeydown: _cache[1] || (_cache[1] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
188290
|
-
onFocus: _cache[2] || (_cache[2] = ($event) => itemAction("focus")),
|
|
188291
|
-
onBlur: _cache[3] || (_cache[3] = ($event) => itemAction("blur")),
|
|
188261
|
+
}, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
188292
188262
|
modelValue: formData.value[__props.field.fieldName],
|
|
188293
|
-
"onUpdate:modelValue": _cache[
|
|
188263
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
188294
188264
|
}), {
|
|
188295
188265
|
append: withCtx(() => [
|
|
188296
188266
|
createVNode(_component_star_horse_icon, {
|
|
@@ -199172,8 +199142,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
199172
199142
|
primaryKey: { type: [String, Object] },
|
|
199173
199143
|
rules: { type: Object },
|
|
199174
199144
|
compSize: { type: String, default: Config.compSize },
|
|
199175
|
-
|
|
199176
|
-
|
|
199145
|
+
source: { type: Number, default: 1 }
|
|
199146
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
199177
199147
|
}, {
|
|
199178
199148
|
"dataForm": {},
|
|
199179
199149
|
"dataFormModifiers": {}
|
|
@@ -199219,8 +199189,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
199219
199189
|
"onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
|
|
199220
199190
|
item: sitem,
|
|
199221
199191
|
dataIndex: __props.dataIndex,
|
|
199222
|
-
|
|
199223
|
-
}, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "
|
|
199192
|
+
source: __props.source
|
|
199193
|
+
}, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "source"])
|
|
199224
199194
|
]),
|
|
199225
199195
|
_: 2
|
|
199226
199196
|
}, 1032, ["size", "label", "required", "prop", "labelPosition", "rules"])) : sitem.viewVisible || unref(checkVisible)(sitem, dataForm.value) ? (openBlock(), createBlock(_component_star_horse_item, {
|
|
@@ -199231,8 +199201,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
199231
199201
|
"onUpdate:dataForm": _cache[1] || (_cache[1] = ($event) => dataForm.value = $event),
|
|
199232
199202
|
item: sitem,
|
|
199233
199203
|
dataIndex: __props.dataIndex,
|
|
199234
|
-
|
|
199235
|
-
}, null, 8, ["compSize", "primaryKey", "dataForm", "item", "dataIndex", "
|
|
199204
|
+
source: __props.source
|
|
199205
|
+
}, null, 8, ["compSize", "primaryKey", "dataForm", "item", "dataIndex", "source"])) : createCommentVNode("", true)
|
|
199236
199206
|
]),
|
|
199237
199207
|
_: 2
|
|
199238
199208
|
}, 1032, ["span"])) : (openBlock(), createBlock(_component_el_col, {
|
|
@@ -199247,8 +199217,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
199247
199217
|
"onUpdate:dataForm": _cache[2] || (_cache[2] = ($event) => dataForm.value = $event),
|
|
199248
199218
|
item: sitem,
|
|
199249
199219
|
dataIndex: __props.dataIndex,
|
|
199250
|
-
|
|
199251
|
-
}, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "
|
|
199220
|
+
source: __props.source
|
|
199221
|
+
}, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "source"])
|
|
199252
199222
|
]),
|
|
199253
199223
|
_: 2
|
|
199254
199224
|
}, 1032, ["span"]))
|
|
@@ -199285,8 +199255,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
199285
199255
|
primaryKey: { type: [String, Object] },
|
|
199286
199256
|
rules: { type: Object },
|
|
199287
199257
|
compSize: { type: String, default: Config.compSize },
|
|
199288
|
-
|
|
199289
|
-
|
|
199258
|
+
source: { type: Number, default: 1 }
|
|
199259
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
199290
199260
|
}, {
|
|
199291
199261
|
"dataForm": {},
|
|
199292
199262
|
"dataFormModifiers": {}
|
|
@@ -199346,14 +199316,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
199346
199316
|
style: { "flex": "1" },
|
|
199347
199317
|
compSize: __props.compSize,
|
|
199348
199318
|
bareFlag: true,
|
|
199349
|
-
|
|
199319
|
+
source: __props.source,
|
|
199350
199320
|
primaryKey: __props.primaryKey,
|
|
199351
199321
|
item: headerItem,
|
|
199352
199322
|
dataForm: unref(getFormData)(cardItem, dataForm.value, __props.propPrefix, __props.dataIndex, key2),
|
|
199353
199323
|
dataIndex: unref(getDataIndex)(cardItem, __props.propPrefix, __props.dataIndex, key2),
|
|
199354
|
-
propPrefix: unref(getPrefix)(cardItem, __props.propPrefix, __props.dataIndex, key2)
|
|
199355
|
-
|
|
199356
|
-
}, null, 8, ["compSize", "isView", "primaryKey", "item", "dataForm", "dataIndex", "propPrefix", "isEdit"])
|
|
199324
|
+
propPrefix: unref(getPrefix)(cardItem, __props.propPrefix, __props.dataIndex, key2)
|
|
199325
|
+
}, null, 8, ["compSize", "source", "primaryKey", "item", "dataForm", "dataIndex", "propPrefix"])
|
|
199357
199326
|
]),
|
|
199358
199327
|
_: 2
|
|
199359
199328
|
}, 1032, ["size", "label", "required", "prop", "labelPosition", "rules"])) : createCommentVNode("", true)
|
|
@@ -199363,7 +199332,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
199363
199332
|
]),
|
|
199364
199333
|
default: withCtx(() => [
|
|
199365
199334
|
createVNode(_sfc_main$1v, {
|
|
199366
|
-
|
|
199335
|
+
source: __props.source,
|
|
199367
199336
|
compUrl: __props.compUrl,
|
|
199368
199337
|
compSize: __props.compSize,
|
|
199369
199338
|
dataForm: unref(getFormData)(cardItem, dataForm.value, __props.propPrefix, __props.dataIndex, key),
|
|
@@ -199378,7 +199347,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
199378
199347
|
rules: __props.rules,
|
|
199379
199348
|
subFormFlag: cardItem.subFormFlag,
|
|
199380
199349
|
primaryKey: __props.primaryKey
|
|
199381
|
-
}, null, 8, ["
|
|
199350
|
+
}, null, 8, ["source", "compUrl", "compSize", "dataForm", "dataIndex", "propPrefix", "objectName", "fieldList", "rules", "subFormFlag", "primaryKey"])
|
|
199382
199351
|
]),
|
|
199383
199352
|
_: 2
|
|
199384
199353
|
}, 1032, ["index"])) : createCommentVNode("", true)
|
|
@@ -199390,7 +199359,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
199390
199359
|
|
|
199391
199360
|
/* unplugin-vue-components disabled */
|
|
199392
199361
|
|
|
199393
|
-
const cardItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
199362
|
+
const cardItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-924441a1"]]);
|
|
199394
199363
|
|
|
199395
199364
|
const cardItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
199396
199365
|
__proto__: null,
|
|
@@ -199416,8 +199385,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
199416
199385
|
primaryKey: { type: [String, Object] },
|
|
199417
199386
|
rules: { type: Object },
|
|
199418
199387
|
compSize: { type: String, default: Config.compSize },
|
|
199419
|
-
|
|
199420
|
-
|
|
199388
|
+
source: { type: Number, default: 1 }
|
|
199389
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
199421
199390
|
}, {
|
|
199422
199391
|
"dataForm": {},
|
|
199423
199392
|
"dataFormModifiers": {}
|
|
@@ -199479,7 +199448,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
199479
199448
|
]),
|
|
199480
199449
|
default: withCtx(() => [
|
|
199481
199450
|
createVNode(_sfc_main$1v, {
|
|
199482
|
-
|
|
199451
|
+
source: __props.source,
|
|
199483
199452
|
compUrl: __props.compUrl,
|
|
199484
199453
|
compSize: __props.compSize,
|
|
199485
199454
|
onAddRow: addRow,
|
|
@@ -199494,7 +199463,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
199494
199463
|
rules: __props.rules,
|
|
199495
199464
|
subFormFlag: collapseItem.subFormFlag,
|
|
199496
199465
|
primaryKey: __props.primaryKey
|
|
199497
|
-
}, null, 8, ["
|
|
199466
|
+
}, null, 8, ["source", "compUrl", "compSize", "objectName", "dataForm", "dataIndex", "propPrefix", "fieldList", "rules", "subFormFlag", "primaryKey"])
|
|
199498
199467
|
]),
|
|
199499
199468
|
_: 2
|
|
199500
199469
|
}, 1032, ["name", "disabled", "index"])) : createCommentVNode("", true)
|
|
@@ -199512,7 +199481,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
199512
199481
|
|
|
199513
199482
|
/* unplugin-vue-components disabled */
|
|
199514
199483
|
|
|
199515
|
-
const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
199484
|
+
const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b909d458"]]);
|
|
199516
199485
|
|
|
199517
199486
|
const collapseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
199518
199487
|
__proto__: null,
|
|
@@ -199542,8 +199511,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
199542
199511
|
primaryKey: { type: [String, Object] },
|
|
199543
199512
|
rules: { type: Object },
|
|
199544
199513
|
compSize: { type: String, default: Config.compSize },
|
|
199545
|
-
|
|
199546
|
-
|
|
199514
|
+
source: { type: Number, default: 1 }
|
|
199515
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
199547
199516
|
}, {
|
|
199548
199517
|
"dataForm": {},
|
|
199549
199518
|
"dataFormModifiers": {}
|
|
@@ -199565,7 +199534,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
199565
199534
|
}, [
|
|
199566
199535
|
(openBlock(true), createElementBlock(Fragment, null, renderList(row, (sitem, colIndex) => {
|
|
199567
199536
|
return openBlock(), createElementBlock("td", {
|
|
199568
|
-
key: (colIndex),
|
|
199537
|
+
key: unref(compKey)(sitem, colIndex),
|
|
199569
199538
|
colspan: sitem.preps?.colspan || 1,
|
|
199570
199539
|
rowspan: sitem.preps?.rowspan || 1,
|
|
199571
199540
|
class: normalizeClass({ "title-style": sitem.preps?.labelFlag == "Y" }),
|
|
@@ -199595,8 +199564,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
199595
199564
|
"onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
|
|
199596
199565
|
item: sitem,
|
|
199597
199566
|
dataIndex: __props.dataIndex,
|
|
199598
|
-
|
|
199599
|
-
}, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "
|
|
199567
|
+
source: __props.source
|
|
199568
|
+
}, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "source"])
|
|
199600
199569
|
]),
|
|
199601
199570
|
_: 2
|
|
199602
199571
|
}, 1032, ["size", "label", "required", "prop", "labelPosition", "rules"])) : sitem.formVisible || sitem.viewVisible ? (openBlock(), createBlock(_component_star_horse_item, {
|
|
@@ -199608,8 +199577,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
199608
199577
|
item: sitem,
|
|
199609
199578
|
style: { "width": "100%", "height": "100%" },
|
|
199610
199579
|
dataIndex: __props.dataIndex,
|
|
199611
|
-
|
|
199612
|
-
}, null, 8, ["compSize", "primaryKey", "dataForm", "item", "dataIndex", "
|
|
199580
|
+
source: __props.source
|
|
199581
|
+
}, null, 8, ["compSize", "primaryKey", "dataForm", "item", "dataIndex", "source"])) : createCommentVNode("", true)
|
|
199613
199582
|
], 14, _hoisted_2$3);
|
|
199614
199583
|
}), 128))
|
|
199615
199584
|
]);
|
|
@@ -199622,7 +199591,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
199622
199591
|
|
|
199623
199592
|
/* unplugin-vue-components disabled */
|
|
199624
199593
|
|
|
199625
|
-
const dytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
199594
|
+
const dytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-7ce25e08"]]);
|
|
199626
199595
|
|
|
199627
199596
|
const dytableItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
199628
199597
|
__proto__: null,
|
|
@@ -199646,8 +199615,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
199646
199615
|
primaryKey: { type: [String, Object] },
|
|
199647
199616
|
rules: { type: Object },
|
|
199648
199617
|
compSize: { type: String, default: Config.compSize },
|
|
199649
|
-
|
|
199650
|
-
|
|
199618
|
+
source: { type: Number, default: 1 }
|
|
199619
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
199651
199620
|
}, {
|
|
199652
199621
|
"dataForm": {},
|
|
199653
199622
|
"dataFormModifiers": {}
|
|
@@ -199670,8 +199639,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
199670
199639
|
dataIndex: __props.dataIndex,
|
|
199671
199640
|
bareFlag: true,
|
|
199672
199641
|
compSize: __props.compSize,
|
|
199673
|
-
|
|
199674
|
-
}, null, 8, ["primaryKey", "dataForm", "item", "dataIndex", "compSize", "
|
|
199642
|
+
source: __props.source
|
|
199643
|
+
}, null, 8, ["primaryKey", "dataForm", "item", "dataIndex", "compSize", "source"])) : createCommentVNode("", true)
|
|
199675
199644
|
], 64)) : unref(checkVisible)(__props.item, dataForm.value) ? (openBlock(), createBlock(_component_el_form_item, {
|
|
199676
199645
|
key: 1,
|
|
199677
199646
|
size: __props.compSize,
|
|
@@ -199689,8 +199658,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
199689
199658
|
"onUpdate:dataForm": _cache[1] || (_cache[1] = ($event) => dataForm.value = $event),
|
|
199690
199659
|
item: __props.item,
|
|
199691
199660
|
dataIndex: __props.dataIndex,
|
|
199692
|
-
|
|
199693
|
-
}, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "
|
|
199661
|
+
source: __props.source
|
|
199662
|
+
}, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "source"])
|
|
199694
199663
|
]),
|
|
199695
199664
|
_: 1
|
|
199696
199665
|
}, 8, ["size", "label", "required", "rules", "prop", "label-position"])) : createCommentVNode("", true);
|
|
@@ -199716,7 +199685,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
199716
199685
|
propPrefix: { type: String, default: "" },
|
|
199717
199686
|
rules: { type: Object },
|
|
199718
199687
|
compSize: { type: String, default: Config.compSize },
|
|
199719
|
-
|
|
199688
|
+
source: { type: Number, default: 1 },
|
|
199689
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
199720
199690
|
parentType: { type: String, default: "" }
|
|
199721
199691
|
}, {
|
|
199722
199692
|
"dataForm": {},
|
|
@@ -199763,7 +199733,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
199763
199733
|
}, {
|
|
199764
199734
|
default: withCtx(() => [
|
|
199765
199735
|
createVNode(_component_star_horse_form_item, {
|
|
199766
|
-
|
|
199736
|
+
source: __props.source,
|
|
199767
199737
|
compUrl: __props.compUrl,
|
|
199768
199738
|
compSize: __props.compSize,
|
|
199769
199739
|
onAddRow: addRow,
|
|
@@ -199776,7 +199746,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
199776
199746
|
rules: __props.rules,
|
|
199777
199747
|
subFormFlag: __props.item.subFormFlag,
|
|
199778
199748
|
primaryKey: __props.item.primaryKey
|
|
199779
|
-
}, null, 8, ["
|
|
199749
|
+
}, null, 8, ["source", "compUrl", "compSize", "objectName", "dataForm", "dataIndex", "propPrefix", "fieldList", "rules", "subFormFlag", "primaryKey"])
|
|
199780
199750
|
]),
|
|
199781
199751
|
_: 1
|
|
199782
199752
|
})) : __props.parentType == "batch" || __props.item.tableFlag == "Y" ? (openBlock(), createBlock(_component_star_horse_form_table, {
|
|
@@ -199798,7 +199768,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
199798
199768
|
|
|
199799
199769
|
/* unplugin-vue-components disabled */
|
|
199800
199770
|
|
|
199801
|
-
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
199771
|
+
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-5b1cf92f"]]);
|
|
199802
199772
|
|
|
199803
199773
|
const tabPanelItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
199804
199774
|
__proto__: null,
|
|
@@ -199822,7 +199792,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
199822
199792
|
primaryKey: { type: [String, Object] },
|
|
199823
199793
|
rules: { type: Object },
|
|
199824
199794
|
compSize: { type: String, default: Config.compSize },
|
|
199825
|
-
|
|
199795
|
+
source: { type: Number, default: 1 }
|
|
199796
|
+
//调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
|
|
199826
199797
|
}, {
|
|
199827
199798
|
"dataForm": {},
|
|
199828
199799
|
"dataFormModifiers": {}
|
|
@@ -199872,7 +199843,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
199872
199843
|
item: tabItem,
|
|
199873
199844
|
dataIndex: __props.dataIndex,
|
|
199874
199845
|
itemKey: key,
|
|
199875
|
-
|
|
199846
|
+
source: __props.source,
|
|
199876
199847
|
parentType: "tab",
|
|
199877
199848
|
compUrl: __props.compUrl,
|
|
199878
199849
|
compSize: __props.compSize,
|
|
@@ -199882,7 +199853,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
199882
199853
|
"onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
|
|
199883
199854
|
onRemoveRow: removeRow,
|
|
199884
199855
|
rules: __props.rules
|
|
199885
|
-
}, null, 8, ["item", "dataIndex", "itemKey", "
|
|
199856
|
+
}, null, 8, ["item", "dataIndex", "itemKey", "source", "compUrl", "compSize", "propPrefix", "dataForm", "rules"]);
|
|
199886
199857
|
}), 128))
|
|
199887
199858
|
]),
|
|
199888
199859
|
_: 1
|
|
@@ -199900,7 +199871,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
199900
199871
|
item: sitem,
|
|
199901
199872
|
dataIndex: __props.dataIndex,
|
|
199902
199873
|
itemKey: key,
|
|
199903
|
-
|
|
199874
|
+
source: __props.source,
|
|
199904
199875
|
compUrl: __props.compUrl,
|
|
199905
199876
|
compSize: __props.compSize,
|
|
199906
199877
|
parentType: "batch",
|
|
@@ -199910,7 +199881,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
199910
199881
|
"onUpdate:dataForm": _cache[2] || (_cache[2] = ($event) => dataForm.value = $event),
|
|
199911
199882
|
onRemoveRow: removeRow,
|
|
199912
199883
|
rules: __props.rules
|
|
199913
|
-
}, null, 8, ["item", "dataIndex", "itemKey", "
|
|
199884
|
+
}, null, 8, ["item", "dataIndex", "itemKey", "source", "compUrl", "compSize", "propPrefix", "dataForm", "rules"]);
|
|
199914
199885
|
}), 128))
|
|
199915
199886
|
]),
|
|
199916
199887
|
_: 1
|
|
@@ -199937,7 +199908,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
199937
199908
|
|
|
199938
199909
|
/* unplugin-vue-components disabled */
|
|
199939
199910
|
|
|
199940
|
-
const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
199911
|
+
const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-45c223e5"]]);
|
|
199941
199912
|
|
|
199942
199913
|
const tabItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
199943
199914
|
__proto__: null,
|
|
@@ -200294,7 +200265,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
200294
200265
|
dataForm: dataForm.value,
|
|
200295
200266
|
"onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
|
|
200296
200267
|
item: __props.item,
|
|
200297
|
-
|
|
200268
|
+
source: 3
|
|
200298
200269
|
}, null, 8, ["dataForm", "item"])) : createCommentVNode("", true)
|
|
200299
200270
|
], 64)) : createCommentVNode("", true),
|
|
200300
200271
|
__props.item.formVisible || __props.item.listVisible || __props.item.viewVisible ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -200595,4 +200566,4 @@ const stringStylesDT93GIY_ = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
|
|
|
200595
200566
|
fullWidthButton: e
|
|
200596
200567
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
200597
200568
|
|
|
200598
|
-
export { __unplugin_components_5 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, _sfc_main$1O as ShDynamicForm, ShForm, _sfc_main$1L as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, StarHorseDataView, __unplugin_components_0$7 as StarHorseDataViewItems, __unplugin_components_2$2 as StarHorseDataViewTable, __unplugin_components_0$9 as StarHorseDialog, StarHorseDraggable, __unplugin_components_1$2 as StarHorseForm, _sfc_main$1v as StarHorseFormItem, __unplugin_components_0$6 as StarHorseFormList, _sfc_main$1x as StarHorseFormTable, StarHorseHmenu, __unplugin_components_0$b as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, _sfc_main$1s as StarHorsePopover, __unplugin_components_0$4 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1G as StarHorseTableViewColumn, StarHorseTree, apiInstance, areaItem, _sfc_main$16 as audioItem, _sfc_main$15 as autocompleteItem, _sfc_main$h as barcodeItem, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$12 as checkboxItem, closeLoad, collapseContainer, _sfc_main$11 as colorItem, commonParseCodeToName, compDynamicData, compKey, convertToCamelCase, copy$1 as copy, copyText, createComponent, createCondition, createDate, createDatetime, createFilter, createTree, cronItem, currentDate, currentMonthRange, dateParse, dateTypes, datetimeItem, index as default, deleteByIds, _sfc_main$R as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$P as dividerItem, download, downloadData, dynamicUrlOperation, dytableContainer, error$1 as error, fieldPlaceholder, formFieldMapping, generateDeviceId, getFingerId, getMenuId, getRequest, htmlItem, _sfc_main$N as htmleditorItem, httpRequest, iconItem, imageItem, inputItem, isDark, isJson, isPromise, itemCheck, _sfc_main$H as jsonArrayItem, _sfc_main$G as jsonItem, load, loadById, loadData, loadGetData, markdownItem, message, monthRange, numberItem, numberRangeItem, operationConfirm, pageSelectItem, parseDateByType, _sfc_main$B as passwordItem, piniaInstance, postRequest, _sfc_main$i as qrcodeItem, _sfc_main$A as radioItem, _sfc_main$z as rateItem, removeEmptyCondition, rowClassName, searchData, searchMatchList, selectItem, signatureItem, _sfc_main$w as sliderItem, success, _sfc_main$v as switchItem, tabContainer, tableContainer, _sfc_main$u as tagItem, textItem, textToPinYin, _sfc_main$s as textareaItem, timeItem, timePickerItem, toggle, _sfc_main$p as transferItem, trim, _sfc_main$o as tselectItem, _sfc_main$n as unknownItem, uploadItem, uploadRequest, useButtonPermissionStore, useConsumerViewStore, useContinusConfigStore, useCopyerOperationStore, useDesignFormStore, useDesignPageStore, useDynamicFormStore, useGlobalConfigStore, useSelfOperationStore, useUserInfoStore, useZIndex, userAction, userFunction, _sfc_main$l as userItem, _sfc_main$k as usercompItem, uuid, viewMarkdownItem, warning };
|
|
200569
|
+
export { __unplugin_components_5 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, _sfc_main$1O as ShDynamicForm, ShForm, _sfc_main$1L as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, StarHorseDataView, __unplugin_components_0$7 as StarHorseDataViewItems, __unplugin_components_2$2 as StarHorseDataViewTable, __unplugin_components_0$9 as StarHorseDialog, StarHorseDraggable, __unplugin_components_1$2 as StarHorseForm, _sfc_main$1v as StarHorseFormItem, __unplugin_components_0$6 as StarHorseFormList, _sfc_main$1x as StarHorseFormTable, StarHorseHmenu, __unplugin_components_0$b as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, _sfc_main$1s as StarHorsePopover, __unplugin_components_0$4 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1G as StarHorseTableViewColumn, StarHorseTree, apiInstance, areaItem, _sfc_main$16 as audioItem, _sfc_main$15 as autocompleteItem, _sfc_main$h as barcodeItem, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$12 as checkboxItem, closeLoad, collapseContainer, _sfc_main$11 as colorItem, commonParseCodeToName, compDynamicData, compKey, convertToCamelCase, copy$1 as copy, copyText, createComponent, createCondition, createDate, createDatetime, createFilter, createTree, cronItem, currentDate, currentMonthRange, dateCompList, dateParse, dateTypes, datetimeItem, index as default, deleteByIds, _sfc_main$R as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$P as dividerItem, download, downloadData, dynamicUrlOperation, dytableContainer, error$1 as error, fieldPlaceholder, formFieldMapping, generateDeviceId, getDynamicEvents, getFingerId, getMenuId, getRequest, htmlItem, _sfc_main$N as htmleditorItem, httpRequest, iconItem, imageItem, inputCompList, inputItem, isDark, isJson, isPromise, itemCheck, _sfc_main$H as jsonArrayItem, _sfc_main$G as jsonItem, load, loadById, loadData, loadGetData, markdownItem, message, monthRange, numberItem, numberRangeItem, operationConfirm, pageSelectItem, parseDateByType, _sfc_main$B as passwordItem, piniaInstance, postRequest, _sfc_main$i as qrcodeItem, _sfc_main$A as radioItem, _sfc_main$z as rateItem, removeEmptyCondition, rowClassName, searchData, searchMatchList, selectCompList, selectItem, signatureItem, _sfc_main$w as sliderItem, success, _sfc_main$v as switchItem, tabContainer, tableContainer, _sfc_main$u as tagItem, textItem, textToPinYin, _sfc_main$s as textareaItem, timeItem, timePickerItem, toggle, _sfc_main$p as transferItem, trim, _sfc_main$o as tselectItem, _sfc_main$n as unknownItem, uploadItem, uploadRequest, useButtonPermissionStore, useConsumerViewStore, useContinusConfigStore, useCopyerOperationStore, useDesignFormStore, useDesignPageStore, useDynamicFormStore, useGlobalConfigStore, useSelfOperationStore, useUserInfoStore, useZIndex, userAction, userFunction, _sfc_main$l as userItem, _sfc_main$k as usercompItem, uuid, viewMarkdownItem, warning };
|