@yoooloo42/joker 1.0.105 → 1.0.107
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/dist/index.cjs.js +182 -188
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +183 -189
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22516,15 +22516,15 @@ var script$h = {
|
|
|
22516
22516
|
default: () => ({})
|
|
22517
22517
|
}
|
|
22518
22518
|
},
|
|
22519
|
-
|
|
22520
|
-
setup(__props, { emit: __emit }) {
|
|
22519
|
+
setup(__props) {
|
|
22521
22520
|
|
|
22522
22521
|
const props = __props;
|
|
22523
|
-
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
22524
|
-
const emit = __emit;
|
|
22525
22522
|
|
|
22526
|
-
|
|
22527
|
-
|
|
22523
|
+
|
|
22524
|
+
// props属性包装,使得页面和js使用相同的命名
|
|
22525
|
+
const formData_box = props.modelValue;
|
|
22526
|
+
const scopeThis_box = props.scopeThis;
|
|
22527
|
+
const propsItem_box = props.item;
|
|
22528
22528
|
|
|
22529
22529
|
const style = vue.ref({
|
|
22530
22530
|
box: styleModule.label.box(propsItem_box),
|
|
@@ -22533,18 +22533,9 @@ const style = vue.ref({
|
|
|
22533
22533
|
|
|
22534
22534
|
const hdlClick = () => {
|
|
22535
22535
|
if(propsItem_box.hdlLabelClick){
|
|
22536
|
-
propsItem_box.hdlLabelClick({formData:
|
|
22536
|
+
propsItem_box.hdlLabelClick({formData: formData_box, scopeThis: scopeThis_box});
|
|
22537
22537
|
}
|
|
22538
22538
|
};
|
|
22539
|
-
|
|
22540
|
-
// 表单数据监听
|
|
22541
|
-
vue.watch(
|
|
22542
|
-
props.modelValue, // 监听 reactive 对象时,默认是深层监听
|
|
22543
|
-
(newVal, oldVal) => {
|
|
22544
|
-
// 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
|
|
22545
|
-
emit("update:modelValue", newVal);
|
|
22546
|
-
}
|
|
22547
|
-
);
|
|
22548
22539
|
|
|
22549
22540
|
return (_ctx, _cache) => {
|
|
22550
22541
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
@@ -22555,7 +22546,7 @@ return (_ctx, _cache) => {
|
|
|
22555
22546
|
}, [
|
|
22556
22547
|
vue.createElementVNode("span", {
|
|
22557
22548
|
style: vue.normalizeStyle(style.value.label)
|
|
22558
|
-
}, vue.toDisplayString(propsItem_box.label), 5 /* TEXT, STYLE */)
|
|
22549
|
+
}, vue.toDisplayString(vue.unref(propsItem_box).label), 5 /* TEXT, STYLE */)
|
|
22559
22550
|
], 4 /* STYLE */)
|
|
22560
22551
|
], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
|
|
22561
22552
|
}
|
|
@@ -22619,10 +22610,11 @@ var script$g = {
|
|
|
22619
22610
|
|
|
22620
22611
|
const props = __props;
|
|
22621
22612
|
|
|
22622
|
-
|
|
22623
|
-
const
|
|
22624
|
-
const
|
|
22625
|
-
const
|
|
22613
|
+
// props属性包装,使得页面和js使用相同的命名
|
|
22614
|
+
const formData_box = props.modelValue;
|
|
22615
|
+
const formProps_box = props.myProps;
|
|
22616
|
+
const scopeThis_box = props.scopeThis;
|
|
22617
|
+
const propsItem_box = props.item;
|
|
22626
22618
|
|
|
22627
22619
|
const input = vue.reactive({
|
|
22628
22620
|
placeholder: propsItem_box.placeholder || formProps_box.para.placeholder.input,
|
|
@@ -22861,77 +22853,77 @@ return (_ctx, _cache) => {
|
|
|
22861
22853
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
22862
22854
|
vue.createCommentVNode(" input-box "),
|
|
22863
22855
|
vue.createElementVNode("div", {
|
|
22864
|
-
style: vue.normalizeStyle(style.box(propsItem_box))
|
|
22856
|
+
style: vue.normalizeStyle(style.box(vue.unref(propsItem_box)))
|
|
22865
22857
|
}, [
|
|
22866
22858
|
vue.createCommentVNode(" 只读 "),
|
|
22867
|
-
(propsItem_box.inputType === 'text')
|
|
22859
|
+
(vue.unref(propsItem_box).inputType === 'text')
|
|
22868
22860
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22869
22861
|
key: 0,
|
|
22870
|
-
style: vue.normalizeStyle(style.text(propsItem_box, formProps_box))
|
|
22871
|
-
}, vue.toDisplayString(vue.unref(formData_box)[propsItem_box.fieldName] ? vue.unref(formData_box)[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22862
|
+
style: vue.normalizeStyle(style.text(vue.unref(propsItem_box), vue.unref(formProps_box)))
|
|
22863
|
+
}, vue.toDisplayString(vue.unref(formData_box)[vue.unref(propsItem_box).fieldName] ? vue.unref(formData_box)[vue.unref(propsItem_box).fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22872
22864
|
: vue.createCommentVNode("v-if", true),
|
|
22873
|
-
(propsItem_box.inputType === 'text0')
|
|
22865
|
+
(vue.unref(propsItem_box).inputType === 'text0')
|
|
22874
22866
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22875
22867
|
key: 1,
|
|
22876
|
-
style: vue.normalizeStyle(style.text0(propsItem_box))
|
|
22877
|
-
}, vue.toDisplayString(vue.unref(formData_box)[propsItem_box.fieldName] ? vue.unref(formData_box)[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22868
|
+
style: vue.normalizeStyle(style.text0(vue.unref(propsItem_box)))
|
|
22869
|
+
}, vue.toDisplayString(vue.unref(formData_box)[vue.unref(propsItem_box).fieldName] ? vue.unref(formData_box)[vue.unref(propsItem_box).fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22878
22870
|
: vue.createCommentVNode("v-if", true),
|
|
22879
|
-
(!propsItem_box.inputType)
|
|
22871
|
+
(!vue.unref(propsItem_box).inputType)
|
|
22880
22872
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22881
22873
|
key: 2,
|
|
22882
|
-
style: vue.normalizeStyle(style.text(propsItem_box, formProps_box))
|
|
22883
|
-
}, vue.toDisplayString(vue.unref(formData_box)[propsItem_box.fieldName] ? vue.unref(formData_box)[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22874
|
+
style: vue.normalizeStyle(style.text(vue.unref(propsItem_box), vue.unref(formProps_box)))
|
|
22875
|
+
}, vue.toDisplayString(vue.unref(formData_box)[vue.unref(propsItem_box).fieldName] ? vue.unref(formData_box)[vue.unref(propsItem_box).fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22884
22876
|
: vue.createCommentVNode("v-if", true),
|
|
22885
|
-
(propsItem_box.inputType === 'expression')
|
|
22877
|
+
(vue.unref(propsItem_box).inputType === 'expression')
|
|
22886
22878
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22887
22879
|
key: 3,
|
|
22888
|
-
style: vue.normalizeStyle(style.text(propsItem_box, formProps_box))
|
|
22889
|
-
}, vue.toDisplayString(propsItem_box.hdlExpression && propsItem_box.hdlExpression({formData: vue.unref(formData_box), scopeThis: __props.scopeThis})
|
|
22890
|
-
? propsItem_box.hdlExpression({formData: vue.unref(formData_box), scopeThis: scopeThis_box})
|
|
22880
|
+
style: vue.normalizeStyle(style.text(vue.unref(propsItem_box), vue.unref(formProps_box)))
|
|
22881
|
+
}, vue.toDisplayString(vue.unref(propsItem_box).hdlExpression && vue.unref(propsItem_box).hdlExpression({formData: vue.unref(formData_box), scopeThis: __props.scopeThis})
|
|
22882
|
+
? vue.unref(propsItem_box).hdlExpression({formData: vue.unref(formData_box), scopeThis: vue.unref(scopeThis_box)})
|
|
22891
22883
|
: ' '), 5 /* TEXT, STYLE */))
|
|
22892
22884
|
: vue.createCommentVNode("v-if", true),
|
|
22893
|
-
(propsItem_box.inputType === 'expression0')
|
|
22885
|
+
(vue.unref(propsItem_box).inputType === 'expression0')
|
|
22894
22886
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22895
22887
|
key: 4,
|
|
22896
|
-
style: vue.normalizeStyle(style.text0(propsItem_box))
|
|
22897
|
-
}, vue.toDisplayString(propsItem_box.hdlExpression && propsItem_box.hdlExpression({formData: vue.unref(formData_box), scopeThis: scopeThis_box})
|
|
22898
|
-
? propsItem_box.hdlExpression({formData: vue.unref(formData_box), scopeThis: scopeThis_box})
|
|
22888
|
+
style: vue.normalizeStyle(style.text0(vue.unref(propsItem_box)))
|
|
22889
|
+
}, vue.toDisplayString(vue.unref(propsItem_box).hdlExpression && vue.unref(propsItem_box).hdlExpression({formData: vue.unref(formData_box), scopeThis: vue.unref(scopeThis_box)})
|
|
22890
|
+
? vue.unref(propsItem_box).hdlExpression({formData: vue.unref(formData_box), scopeThis: vue.unref(scopeThis_box)})
|
|
22899
22891
|
: ' '), 5 /* TEXT, STYLE */))
|
|
22900
22892
|
: vue.createCommentVNode("v-if", true),
|
|
22901
|
-
(propsItem_box.inputType === 'line')
|
|
22893
|
+
(vue.unref(propsItem_box).inputType === 'line')
|
|
22902
22894
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22903
22895
|
key: 5,
|
|
22904
22896
|
style: vue.normalizeStyle(style.line)
|
|
22905
22897
|
}, null, 4 /* STYLE */))
|
|
22906
22898
|
: vue.createCommentVNode("v-if", true),
|
|
22907
22899
|
vue.createCommentVNode(" 修改数据 "),
|
|
22908
|
-
(propsItem_box.inputType === 'input')
|
|
22900
|
+
(vue.unref(propsItem_box).inputType === 'input')
|
|
22909
22901
|
? (vue.openBlock(), vue.createBlock(_component_el_input, {
|
|
22910
22902
|
key: 6,
|
|
22911
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22912
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
22903
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
22904
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
22913
22905
|
placeholder: input.placeholder,
|
|
22914
|
-
style: vue.normalizeStyle(style.input(propsItem_box, formProps_box)),
|
|
22906
|
+
style: vue.normalizeStyle(style.input(vue.unref(propsItem_box), vue.unref(formProps_box))),
|
|
22915
22907
|
onInput: input.hdlCannotInput,
|
|
22916
22908
|
"show-password": input.showPassword
|
|
22917
22909
|
}, null, 8 /* PROPS */, ["modelValue", "placeholder", "style", "onInput", "show-password"]))
|
|
22918
22910
|
: vue.createCommentVNode("v-if", true),
|
|
22919
|
-
(propsItem_box.inputType === 'select')
|
|
22911
|
+
(vue.unref(propsItem_box).inputType === 'select')
|
|
22920
22912
|
? (vue.openBlock(), vue.createBlock(_component_el_select, {
|
|
22921
22913
|
key: 7,
|
|
22922
22914
|
class: "deep-input",
|
|
22923
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22924
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
22915
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
22916
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
22925
22917
|
placeholder: select.placeholder,
|
|
22926
22918
|
filterable: "",
|
|
22927
|
-
style: vue.normalizeStyle(style.input(propsItem_box, formProps_box)),
|
|
22919
|
+
style: vue.normalizeStyle(style.input(vue.unref(propsItem_box), vue.unref(formProps_box))),
|
|
22928
22920
|
onChange: select.hdlChange
|
|
22929
22921
|
}, {
|
|
22930
22922
|
default: vue.withCtx(() => [
|
|
22931
22923
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(select.items, (item0, index0) => {
|
|
22932
22924
|
return (vue.openBlock(), vue.createBlock(_component_el_option, {
|
|
22933
|
-
label: item0[propsItem_box.item_fieldLabel],
|
|
22934
|
-
value: item0[propsItem_box.item_fieldValue],
|
|
22925
|
+
label: item0[vue.unref(propsItem_box).item_fieldLabel],
|
|
22926
|
+
value: item0[vue.unref(propsItem_box).item_fieldValue],
|
|
22935
22927
|
key: index0
|
|
22936
22928
|
}, null, 8 /* PROPS */, ["label", "value"]))
|
|
22937
22929
|
}), 128 /* KEYED_FRAGMENT */))
|
|
@@ -22939,61 +22931,61 @@ return (_ctx, _cache) => {
|
|
|
22939
22931
|
_: 1 /* STABLE */
|
|
22940
22932
|
}, 8 /* PROPS */, ["modelValue", "placeholder", "style", "onChange"]))
|
|
22941
22933
|
: vue.createCommentVNode("v-if", true),
|
|
22942
|
-
(propsItem_box.inputType === 'date-picker')
|
|
22934
|
+
(vue.unref(propsItem_box).inputType === 'date-picker')
|
|
22943
22935
|
? (vue.openBlock(), vue.createBlock(_component_el_date_picker, {
|
|
22944
22936
|
key: 8,
|
|
22945
22937
|
class: "deep-input",
|
|
22946
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22947
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
22948
|
-
type: propsItem_box.type ? propsItem_box.type : 'datetime',
|
|
22938
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
22939
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
22940
|
+
type: vue.unref(propsItem_box).type ? vue.unref(propsItem_box).type : 'datetime',
|
|
22949
22941
|
placeholder: datePicker.placeholder,
|
|
22950
22942
|
format: datePicker.format,
|
|
22951
|
-
style: vue.normalizeStyle(style.input(propsItem_box, formProps_box)),
|
|
22943
|
+
style: vue.normalizeStyle(style.input(vue.unref(propsItem_box), vue.unref(formProps_box))),
|
|
22952
22944
|
onChange: datePicker.hdlChange
|
|
22953
22945
|
}, null, 8 /* PROPS */, ["modelValue", "type", "placeholder", "format", "style", "onChange"]))
|
|
22954
22946
|
: vue.createCommentVNode("v-if", true),
|
|
22955
|
-
(propsItem_box.inputType === 'input-number')
|
|
22947
|
+
(vue.unref(propsItem_box).inputType === 'input-number')
|
|
22956
22948
|
? (vue.openBlock(), vue.createBlock(_component_el_input_number, {
|
|
22957
22949
|
key: 9,
|
|
22958
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22959
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
22960
|
-
size: style.input_number(propsItem_box).facade.size,
|
|
22961
|
-
min: 'min' in propsItem_box ? propsItem_box.min : 1,
|
|
22962
|
-
max: 'max' in propsItem_box ? propsItem_box.max : 100,
|
|
22963
|
-
step: 'step' in propsItem_box ? propsItem_box.step : 1,
|
|
22964
|
-
"step-strictly": 'step_strictly' in propsItem_box ? propsItem_box.step_strictly : true
|
|
22950
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
22951
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
22952
|
+
size: style.input_number(vue.unref(propsItem_box)).facade.size,
|
|
22953
|
+
min: 'min' in vue.unref(propsItem_box) ? vue.unref(propsItem_box).min : 1,
|
|
22954
|
+
max: 'max' in vue.unref(propsItem_box) ? vue.unref(propsItem_box).max : 100,
|
|
22955
|
+
step: 'step' in vue.unref(propsItem_box) ? vue.unref(propsItem_box).step : 1,
|
|
22956
|
+
"step-strictly": 'step_strictly' in vue.unref(propsItem_box) ? vue.unref(propsItem_box).step_strictly : true
|
|
22965
22957
|
}, null, 8 /* PROPS */, ["modelValue", "size", "min", "max", "step", "step-strictly"]))
|
|
22966
22958
|
: vue.createCommentVNode("v-if", true),
|
|
22967
|
-
(propsItem_box.inputType === 'switch')
|
|
22959
|
+
(vue.unref(propsItem_box).inputType === 'switch')
|
|
22968
22960
|
? (vue.openBlock(), vue.createBlock(_component_el_switch, {
|
|
22969
22961
|
key: 10,
|
|
22970
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22971
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
22972
|
-
"active-text": propsItem_box.activeText,
|
|
22973
|
-
"inactive-text": propsItem_box.inactiveText,
|
|
22974
|
-
"active-value": propsItem_box.activeValue,
|
|
22975
|
-
"inactive-value": propsItem_box.inactiveValue,
|
|
22976
|
-
"active-color": style.el_switch(propsItem_box).facade.active_color,
|
|
22977
|
-
disabled: !!('disabled' in propsItem_box && (propsItem_box.disabled === true || propsItem_box.disabled === 'true')),
|
|
22962
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
22963
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
22964
|
+
"active-text": vue.unref(propsItem_box).activeText,
|
|
22965
|
+
"inactive-text": vue.unref(propsItem_box).inactiveText,
|
|
22966
|
+
"active-value": vue.unref(propsItem_box).activeValue,
|
|
22967
|
+
"inactive-value": vue.unref(propsItem_box).inactiveValue,
|
|
22968
|
+
"active-color": style.el_switch(vue.unref(propsItem_box)).facade.active_color,
|
|
22969
|
+
disabled: !!('disabled' in vue.unref(propsItem_box) && (vue.unref(propsItem_box).disabled === true || vue.unref(propsItem_box).disabled === 'true')),
|
|
22978
22970
|
onChange: ly0switch.hdlChange
|
|
22979
22971
|
}, null, 8 /* PROPS */, ["modelValue", "active-text", "inactive-text", "active-value", "inactive-value", "active-color", "disabled", "onChange"]))
|
|
22980
22972
|
: vue.createCommentVNode("v-if", true),
|
|
22981
|
-
(propsItem_box.inputType === 'radio-group')
|
|
22973
|
+
(vue.unref(propsItem_box).inputType === 'radio-group')
|
|
22982
22974
|
? (vue.openBlock(), vue.createBlock(_component_el_radio_group, {
|
|
22983
22975
|
key: 11,
|
|
22984
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22985
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
22986
|
-
disabled: !!propsItem_box.disabled,
|
|
22976
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
22977
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
22978
|
+
disabled: !!vue.unref(propsItem_box).disabled,
|
|
22987
22979
|
onChange: radioGroup.hdlChange
|
|
22988
22980
|
}, {
|
|
22989
22981
|
default: vue.withCtx(() => [
|
|
22990
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(propsItem_box.items, (item0, index0) => {
|
|
22982
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(propsItem_box).items, (item0, index0) => {
|
|
22991
22983
|
return (vue.openBlock(), vue.createBlock(_component_el_radio, {
|
|
22992
22984
|
key: index0,
|
|
22993
|
-
label: item0[propsItem_box.item_fieldValue]
|
|
22985
|
+
label: item0[vue.unref(propsItem_box).item_fieldValue]
|
|
22994
22986
|
}, {
|
|
22995
22987
|
default: vue.withCtx(() => [
|
|
22996
|
-
vue.createTextVNode(vue.toDisplayString(item0[propsItem_box.item_fieldLabel]), 1 /* TEXT */)
|
|
22988
|
+
vue.createTextVNode(vue.toDisplayString(item0[vue.unref(propsItem_box).item_fieldLabel]), 1 /* TEXT */)
|
|
22997
22989
|
]),
|
|
22998
22990
|
_: 2 /* DYNAMIC */
|
|
22999
22991
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["label"]))
|
|
@@ -23002,9 +22994,9 @@ return (_ctx, _cache) => {
|
|
|
23002
22994
|
_: 1 /* STABLE */
|
|
23003
22995
|
}, 8 /* PROPS */, ["modelValue", "disabled", "onChange"]))
|
|
23004
22996
|
: vue.createCommentVNode("v-if", true),
|
|
23005
|
-
(propsItem_box.inputType === 'button-group' && propsItem_box.box && propsItem_box.box.length > 0)
|
|
22997
|
+
(vue.unref(propsItem_box).inputType === 'button-group' && vue.unref(propsItem_box).box && vue.unref(propsItem_box).box.length > 0)
|
|
23006
22998
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
|
|
23007
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(propsItem_box.box, (item0, index0) => {
|
|
22999
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(propsItem_box).box, (item0, index0) => {
|
|
23008
23000
|
return (vue.openBlock(), vue.createBlock(_component_el_button_group, {
|
|
23009
23001
|
key: index0,
|
|
23010
23002
|
style: vue.normalizeStyle(style.button_group().group.style)
|
|
@@ -23020,14 +23012,14 @@ return (_ctx, _cache) => {
|
|
|
23020
23012
|
}, {
|
|
23021
23013
|
default: vue.withCtx(() => [
|
|
23022
23014
|
(vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
23023
|
-
style: vue.normalizeStyle(style.button_group(propsItem_box, item0, item1).button.style),
|
|
23024
|
-
icon: style.button_group(propsItem_box, item0, item1).button.icon,
|
|
23025
|
-
type: style.button_group(propsItem_box, item0, item1).button.facade.type,
|
|
23026
|
-
size: style.button_group(propsItem_box, item0, item1).button.facade.size,
|
|
23027
|
-
plain: style.button_group(propsItem_box, item0, item1).button.facade.plain,
|
|
23028
|
-
round: style.button_group(propsItem_box, item0, item1).button.facade.round,
|
|
23029
|
-
circle: style.button_group(propsItem_box, item0, item1).button.facade.circle,
|
|
23030
|
-
onClick: $event => (item1.hdlClick ? item1.hdlClick({formData: vue.unref(formData_box), scopeThis: scopeThis_box}) : null),
|
|
23015
|
+
style: vue.normalizeStyle(style.button_group(vue.unref(propsItem_box), item0, item1).button.style),
|
|
23016
|
+
icon: style.button_group(vue.unref(propsItem_box), item0, item1).button.icon,
|
|
23017
|
+
type: style.button_group(vue.unref(propsItem_box), item0, item1).button.facade.type,
|
|
23018
|
+
size: style.button_group(vue.unref(propsItem_box), item0, item1).button.facade.size,
|
|
23019
|
+
plain: style.button_group(vue.unref(propsItem_box), item0, item1).button.facade.plain,
|
|
23020
|
+
round: style.button_group(vue.unref(propsItem_box), item0, item1).button.facade.round,
|
|
23021
|
+
circle: style.button_group(vue.unref(propsItem_box), item0, item1).button.facade.circle,
|
|
23022
|
+
onClick: $event => (item1.hdlClick ? item1.hdlClick({formData: vue.unref(formData_box), scopeThis: vue.unref(scopeThis_box)}) : null),
|
|
23031
23023
|
key: index1
|
|
23032
23024
|
}, {
|
|
23033
23025
|
default: vue.withCtx(() => [
|
|
@@ -23049,11 +23041,11 @@ return (_ctx, _cache) => {
|
|
|
23049
23041
|
: vue.createCommentVNode("v-if", true),
|
|
23050
23042
|
vue.createCommentVNode(" 图片&富文本&视频 "),
|
|
23051
23043
|
vue.createCommentVNode(" 图片 "),
|
|
23052
|
-
(propsItem_box.inputType === 'image')
|
|
23044
|
+
(vue.unref(propsItem_box).inputType === 'image')
|
|
23053
23045
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, [
|
|
23054
23046
|
vue.createElementVNode("div", null, [
|
|
23055
23047
|
vue.createVNode(_component_el_image, {
|
|
23056
|
-
style: vue.normalizeStyle(style.image(propsItem_box, formProps_box)),
|
|
23048
|
+
style: vue.normalizeStyle(style.image(vue.unref(propsItem_box), vue.unref(formProps_box))),
|
|
23057
23049
|
src: image.getSrc[0],
|
|
23058
23050
|
"preview-src-list": image.getSrc,
|
|
23059
23051
|
"preview-teleported": true,
|
|
@@ -23061,15 +23053,15 @@ return (_ctx, _cache) => {
|
|
|
23061
23053
|
}, null, 8 /* PROPS */, ["style", "src", "preview-src-list"])
|
|
23062
23054
|
]),
|
|
23063
23055
|
vue.createCommentVNode(" 设置了图片删除功能,同时图片不为空 "),
|
|
23064
|
-
(!!propsItem_box.imageDelete && !!vue.unref(formData_box)[propsItem_box.fieldName])
|
|
23056
|
+
(!!vue.unref(propsItem_box).imageDelete && !!vue.unref(formData_box)[vue.unref(propsItem_box).fieldName])
|
|
23065
23057
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$4, [
|
|
23066
23058
|
vue.createVNode(_component_el_button, {
|
|
23067
23059
|
size: "small",
|
|
23068
|
-
icon: !vue.unref(formData_box)[propsItem_box.imageDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
23060
|
+
icon: !vue.unref(formData_box)[vue.unref(propsItem_box).imageDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
23069
23061
|
onClick: image.delete
|
|
23070
23062
|
}, {
|
|
23071
23063
|
default: vue.withCtx(() => [
|
|
23072
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(formData_box)[propsItem_box.imageDelete] ? '图片已删除,恢复' : '删除'), 1 /* TEXT */)
|
|
23064
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(formData_box)[vue.unref(propsItem_box).imageDelete] ? '图片已删除,恢复' : '删除'), 1 /* TEXT */)
|
|
23073
23065
|
]),
|
|
23074
23066
|
_: 1 /* STABLE */
|
|
23075
23067
|
}, 8 /* PROPS */, ["icon", "onClick"])
|
|
@@ -23078,21 +23070,21 @@ return (_ctx, _cache) => {
|
|
|
23078
23070
|
]))
|
|
23079
23071
|
: vue.createCommentVNode("v-if", true),
|
|
23080
23072
|
vue.createCommentVNode(" 多个图片 "),
|
|
23081
|
-
(propsItem_box.inputType === 'images')
|
|
23073
|
+
(vue.unref(propsItem_box).inputType === 'images')
|
|
23082
23074
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$1, [
|
|
23083
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(formData_box)[propsItem_box.fieldName], (itemImages, indexImages) => {
|
|
23075
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(formData_box)[vue.unref(propsItem_box).fieldName], (itemImages, indexImages) => {
|
|
23084
23076
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
23085
23077
|
key: indexImages,
|
|
23086
|
-
style: vue.normalizeStyle(style.images(propsItem_box, formProps_box).itemBox)
|
|
23078
|
+
style: vue.normalizeStyle(style.images(vue.unref(propsItem_box), vue.unref(formProps_box)).itemBox)
|
|
23087
23079
|
}, [
|
|
23088
23080
|
vue.createElementVNode("div", null, [
|
|
23089
23081
|
vue.createVNode(_component_el_image, {
|
|
23090
|
-
style: vue.normalizeStyle(style.images(propsItem_box, formProps_box).itemThumb),
|
|
23082
|
+
style: vue.normalizeStyle(style.images(vue.unref(propsItem_box), vue.unref(formProps_box)).itemThumb),
|
|
23091
23083
|
src: images.getSrc(itemImages, indexImages),
|
|
23092
23084
|
"preview-src-list": images.show
|
|
23093
23085
|
}, null, 8 /* PROPS */, ["style", "src", "preview-src-list"])
|
|
23094
23086
|
]),
|
|
23095
|
-
(!!propsItem_box.imageDelete)
|
|
23087
|
+
(!!vue.unref(propsItem_box).imageDelete)
|
|
23096
23088
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
|
|
23097
23089
|
vue.createVNode(_component_el_button, {
|
|
23098
23090
|
size: "small",
|
|
@@ -23100,7 +23092,7 @@ return (_ctx, _cache) => {
|
|
|
23100
23092
|
onClick: $event => (images.delete(itemImages, indexImages))
|
|
23101
23093
|
}, {
|
|
23102
23094
|
default: vue.withCtx(() => [
|
|
23103
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(formData_box)[propsItem_box.imageDelete].includes(itemImages) ? '恢复' : '删除'), 1 /* TEXT */)
|
|
23095
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(formData_box)[vue.unref(propsItem_box).imageDelete].includes(itemImages) ? '恢复' : '删除'), 1 /* TEXT */)
|
|
23104
23096
|
]),
|
|
23105
23097
|
_: 2 /* DYNAMIC */
|
|
23106
23098
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"])
|
|
@@ -23111,33 +23103,33 @@ return (_ctx, _cache) => {
|
|
|
23111
23103
|
]))
|
|
23112
23104
|
: vue.createCommentVNode("v-if", true),
|
|
23113
23105
|
vue.createCommentVNode(" 富文本 "),
|
|
23114
|
-
(propsItem_box.inputType === 'richtext')
|
|
23106
|
+
(vue.unref(propsItem_box).inputType === 'richtext')
|
|
23115
23107
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
23116
23108
|
key: 15,
|
|
23117
|
-
style: vue.normalizeStyle(style.richtext(propsItem_box, formProps_box))
|
|
23109
|
+
style: vue.normalizeStyle(style.richtext(vue.unref(propsItem_box), vue.unref(formProps_box)))
|
|
23118
23110
|
}, [
|
|
23119
23111
|
vue.createVNode(_component_ly0Richtext, {
|
|
23120
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23121
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23112
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23113
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23122
23114
|
myProps: richtextProps.value
|
|
23123
23115
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23124
23116
|
], 4 /* STYLE */))
|
|
23125
23117
|
: vue.createCommentVNode("v-if", true),
|
|
23126
23118
|
vue.createCommentVNode(" 富文本show "),
|
|
23127
|
-
(propsItem_box.inputType === 'richtextShow')
|
|
23119
|
+
(vue.unref(propsItem_box).inputType === 'richtextShow')
|
|
23128
23120
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
23129
23121
|
vue.createElementVNode("div", {
|
|
23130
|
-
innerHTML: vue.unref(formData_box)[propsItem_box.fieldName]
|
|
23122
|
+
innerHTML: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]
|
|
23131
23123
|
}, null, 8 /* PROPS */, _hoisted_8)
|
|
23132
23124
|
]))
|
|
23133
23125
|
: vue.createCommentVNode("v-if", true),
|
|
23134
23126
|
vue.createCommentVNode(" 视频 "),
|
|
23135
|
-
(propsItem_box.inputType === 'video')
|
|
23127
|
+
(vue.unref(propsItem_box).inputType === 'video')
|
|
23136
23128
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
|
|
23137
23129
|
vue.createElementVNode("div", null, [
|
|
23138
23130
|
vue.createElementVNode("video", {
|
|
23139
|
-
width: style.video(propsItem_box, formProps_box).width,
|
|
23140
|
-
height: style.video(propsItem_box, formProps_box).height,
|
|
23131
|
+
width: style.video(vue.unref(propsItem_box), vue.unref(formProps_box)).width,
|
|
23132
|
+
height: style.video(vue.unref(propsItem_box), vue.unref(formProps_box)).height,
|
|
23141
23133
|
controls: "",
|
|
23142
23134
|
poster: video.poster
|
|
23143
23135
|
}, [
|
|
@@ -23159,15 +23151,15 @@ return (_ctx, _cache) => {
|
|
|
23159
23151
|
], 8 /* PROPS */, _hoisted_10)
|
|
23160
23152
|
]),
|
|
23161
23153
|
vue.createCommentVNode(" 设置了视频删除功能,同时视频不为空 "),
|
|
23162
|
-
(!!propsItem_box.videoDelete && !!vue.unref(formData_box)[propsItem_box.fieldName])
|
|
23154
|
+
(!!vue.unref(propsItem_box).videoDelete && !!vue.unref(formData_box)[vue.unref(propsItem_box).fieldName])
|
|
23163
23155
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
|
|
23164
23156
|
vue.createVNode(_component_el_button, {
|
|
23165
23157
|
size: "small",
|
|
23166
|
-
icon: !vue.unref(formData_box)[propsItem_box.videoDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
23158
|
+
icon: !vue.unref(formData_box)[vue.unref(propsItem_box).videoDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
23167
23159
|
onClick: video.delete
|
|
23168
23160
|
}, {
|
|
23169
23161
|
default: vue.withCtx(() => [
|
|
23170
|
-
vue.createTextVNode(vue.toDisplayString(!!vue.unref(formData_box)[propsItem_box.videoDelete] ? '视频已删除,恢复' : '删除'), 1 /* TEXT */)
|
|
23162
|
+
vue.createTextVNode(vue.toDisplayString(!!vue.unref(formData_box)[vue.unref(propsItem_box).videoDelete] ? '视频已删除,恢复' : '删除'), 1 /* TEXT */)
|
|
23171
23163
|
]),
|
|
23172
23164
|
_: 1 /* STABLE */
|
|
23173
23165
|
}, 8 /* PROPS */, ["icon", "onClick"])
|
|
@@ -23177,9 +23169,9 @@ return (_ctx, _cache) => {
|
|
|
23177
23169
|
: vue.createCommentVNode("v-if", true),
|
|
23178
23170
|
vue.createCommentVNode(" 上传及下载 "),
|
|
23179
23171
|
vue.createCommentVNode(" 下载 "),
|
|
23180
|
-
(propsItem_box.inputType === 'download')
|
|
23172
|
+
(vue.unref(propsItem_box).inputType === 'download')
|
|
23181
23173
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15, [
|
|
23182
|
-
(vue.unref(formData_box)[propsItem_box.fieldName])
|
|
23174
|
+
(vue.unref(formData_box)[vue.unref(propsItem_box).fieldName])
|
|
23183
23175
|
? (vue.openBlock(), vue.createElementBlock("a", {
|
|
23184
23176
|
key: 0,
|
|
23185
23177
|
style: vue.normalizeStyle(style.download.style),
|
|
@@ -23195,134 +23187,134 @@ return (_ctx, _cache) => {
|
|
|
23195
23187
|
]))
|
|
23196
23188
|
: vue.createCommentVNode("v-if", true),
|
|
23197
23189
|
vue.createCommentVNode(" 上传多个文件 "),
|
|
23198
|
-
(propsItem_box.inputType === 'upload')
|
|
23190
|
+
(vue.unref(propsItem_box).inputType === 'upload')
|
|
23199
23191
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17, [
|
|
23200
23192
|
vue.createVNode(_component_ly0Upload, {
|
|
23201
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23202
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23193
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23194
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23203
23195
|
myProps: {uploadUrl: upload.uploadUrl}
|
|
23204
23196
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23205
23197
|
]))
|
|
23206
23198
|
: vue.createCommentVNode("v-if", true),
|
|
23207
23199
|
vue.createCommentVNode(" 拖拽上传 "),
|
|
23208
|
-
(propsItem_box.inputType === 'upload-drag')
|
|
23200
|
+
(vue.unref(propsItem_box).inputType === 'upload-drag')
|
|
23209
23201
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18, [
|
|
23210
23202
|
vue.createVNode(_component_ly0Upload_drag, {
|
|
23211
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23212
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23203
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23204
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23213
23205
|
myProps: {uploadUrl: upload.uploadUrl}
|
|
23214
23206
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23215
23207
|
]))
|
|
23216
23208
|
: vue.createCommentVNode("v-if", true),
|
|
23217
23209
|
vue.createCommentVNode(" 图片列表 "),
|
|
23218
|
-
(propsItem_box.inputType === 'upload-picture')
|
|
23210
|
+
(vue.unref(propsItem_box).inputType === 'upload-picture')
|
|
23219
23211
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_19, [
|
|
23220
23212
|
vue.createVNode(_component_ly0Upload_picture, {
|
|
23221
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23222
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23213
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23214
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23223
23215
|
myProps: {uploadUrl: upload.uploadUrl_image}
|
|
23224
23216
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23225
23217
|
]))
|
|
23226
23218
|
: vue.createCommentVNode("v-if", true),
|
|
23227
23219
|
vue.createCommentVNode(" 图片墙 "),
|
|
23228
|
-
(propsItem_box.inputType === 'upload-picture-card')
|
|
23220
|
+
(vue.unref(propsItem_box).inputType === 'upload-picture-card')
|
|
23229
23221
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_20, [
|
|
23230
23222
|
vue.createVNode(_component_ly0Upload_pictureCard, {
|
|
23231
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23232
|
-
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23223
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23224
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23233
23225
|
myProps: {uploadUrl: upload.uploadUrl_image}
|
|
23234
23226
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23235
23227
|
]))
|
|
23236
23228
|
: vue.createCommentVNode("v-if", true),
|
|
23237
23229
|
vue.createCommentVNode(" 头像 "),
|
|
23238
|
-
(propsItem_box.inputType === 'upload-avatar')
|
|
23230
|
+
(vue.unref(propsItem_box).inputType === 'upload-avatar')
|
|
23239
23231
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_21, [
|
|
23240
23232
|
vue.createVNode(_component_ly0Upload_avatar, {
|
|
23241
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23242
|
-
"onUpdate:modelValue": _cache[11] || (_cache[11] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23233
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23234
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23243
23235
|
myProps: {uploadUrl: upload.uploadUrl_image}
|
|
23244
23236
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23245
23237
|
]))
|
|
23246
23238
|
: vue.createCommentVNode("v-if", true),
|
|
23247
23239
|
vue.createCommentVNode(" 车牌识别 "),
|
|
23248
|
-
(propsItem_box.inputType === 'upload-carplate')
|
|
23240
|
+
(vue.unref(propsItem_box).inputType === 'upload-carplate')
|
|
23249
23241
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22, [
|
|
23250
23242
|
vue.createVNode(_component_ly0Upload_carplate, {
|
|
23251
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23252
|
-
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23243
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23244
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23253
23245
|
myProps: {uploadUrl: upload.uploadUrl_carplate}
|
|
23254
23246
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23255
23247
|
]))
|
|
23256
23248
|
: vue.createCommentVNode("v-if", true),
|
|
23257
23249
|
vue.createCommentVNode(" 行政区划 "),
|
|
23258
|
-
(propsItem_box.inputType === 'd3gbt2260')
|
|
23250
|
+
(vue.unref(propsItem_box).inputType === 'd3gbt2260')
|
|
23259
23251
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_23, [
|
|
23260
23252
|
vue.createVNode(_component_ly0gbt2260, {
|
|
23261
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23262
|
-
"onUpdate:modelValue": _cache[13] || (_cache[13] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23263
|
-
myProps: {readOnly: propsItem_box.readOnly}
|
|
23253
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23254
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23255
|
+
myProps: {readOnly: vue.unref(propsItem_box).readOnly}
|
|
23264
23256
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23265
23257
|
]))
|
|
23266
23258
|
: vue.createCommentVNode("v-if", true),
|
|
23267
23259
|
vue.createCommentVNode(" 商品分类 "),
|
|
23268
|
-
(propsItem_box.inputType === 'd7group')
|
|
23260
|
+
(vue.unref(propsItem_box).inputType === 'd7group')
|
|
23269
23261
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_24, [
|
|
23270
23262
|
vue.createVNode(_component_ly0d7group, {
|
|
23271
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23272
|
-
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23273
|
-
myProps: {readOnly: propsItem_box.readOnly}
|
|
23263
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23264
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23265
|
+
myProps: {readOnly: vue.unref(propsItem_box).readOnly}
|
|
23274
23266
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23275
23267
|
]))
|
|
23276
23268
|
: vue.createCommentVNode("v-if", true),
|
|
23277
23269
|
vue.createCommentVNode(" 邮寄地址 "),
|
|
23278
|
-
(propsItem_box.inputType === 'd7postal')
|
|
23270
|
+
(vue.unref(propsItem_box).inputType === 'd7postal')
|
|
23279
23271
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_25, [
|
|
23280
23272
|
vue.createVNode(_component_ly0d7postal, {
|
|
23281
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23282
|
-
"onUpdate:modelValue": _cache[15] || (_cache[15] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23283
|
-
myProps: {readOnly: propsItem_box.readOnly}
|
|
23273
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23274
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23275
|
+
myProps: {readOnly: vue.unref(propsItem_box).readOnly}
|
|
23284
23276
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23285
23277
|
]))
|
|
23286
23278
|
: vue.createCommentVNode("v-if", true),
|
|
23287
23279
|
vue.createCommentVNode(" 商品标价 "),
|
|
23288
|
-
(propsItem_box.inputType === 'd7price')
|
|
23280
|
+
(vue.unref(propsItem_box).inputType === 'd7price')
|
|
23289
23281
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_26, [
|
|
23290
23282
|
vue.createVNode(_component_ly0d7price, {
|
|
23291
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23292
|
-
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23293
|
-
myProps: {readOnly: propsItem_box.readOnly}
|
|
23283
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23284
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23285
|
+
myProps: {readOnly: vue.unref(propsItem_box).readOnly}
|
|
23294
23286
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23295
23287
|
]))
|
|
23296
23288
|
: vue.createCommentVNode("v-if", true),
|
|
23297
23289
|
vue.createCommentVNode(" 商品规格 "),
|
|
23298
|
-
(propsItem_box.inputType === 'd7size')
|
|
23290
|
+
(vue.unref(propsItem_box).inputType === 'd7size')
|
|
23299
23291
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_27, [
|
|
23300
23292
|
vue.createVNode(_component_ly0d7size, {
|
|
23301
|
-
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23302
|
-
"onUpdate:modelValue": _cache[17] || (_cache[17] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23303
|
-
myProps: {readOnly: propsItem_box.readOnly}
|
|
23293
|
+
modelValue: vue.unref(formData_box)[vue.unref(propsItem_box).fieldName],
|
|
23294
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = $event => ((vue.unref(formData_box)[vue.unref(propsItem_box).fieldName]) = $event)),
|
|
23295
|
+
myProps: {readOnly: vue.unref(propsItem_box).readOnly}
|
|
23304
23296
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23305
23297
|
]))
|
|
23306
23298
|
: vue.createCommentVNode("v-if", true),
|
|
23307
23299
|
vue.createCommentVNode(" 商品缩略图 "),
|
|
23308
|
-
(propsItem_box.inputType === 'd7thumb')
|
|
23300
|
+
(vue.unref(propsItem_box).inputType === 'd7thumb')
|
|
23309
23301
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_28, [
|
|
23310
23302
|
vue.createVNode(_component_ly0d7thumb, {
|
|
23311
23303
|
modelValue: vue.unref(formData_box),
|
|
23312
|
-
"onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event :
|
|
23304
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : null)),
|
|
23313
23305
|
myProps: {
|
|
23314
23306
|
thumb: {
|
|
23315
|
-
fieldName: propsItem_box.thumb.fieldName || formProps_box.para.ly0d7thumb.thumb.fieldName,
|
|
23316
|
-
width: propsItem_box.thumb.width || formProps_box.para.ly0d7thumb.thumb.width,
|
|
23317
|
-
height: propsItem_box.thumb.height || formProps_box.para.ly0d7thumb.thumb.height
|
|
23307
|
+
fieldName: vue.unref(propsItem_box).thumb.fieldName || vue.unref(formProps_box).para.ly0d7thumb.thumb.fieldName,
|
|
23308
|
+
width: vue.unref(propsItem_box).thumb.width || vue.unref(formProps_box).para.ly0d7thumb.thumb.width,
|
|
23309
|
+
height: vue.unref(propsItem_box).thumb.height || vue.unref(formProps_box).para.ly0d7thumb.thumb.height
|
|
23318
23310
|
},
|
|
23319
23311
|
name: {
|
|
23320
|
-
fieldName: propsItem_box.name.fieldName || formProps_box.para.ly0d7thumb.name.fieldName,
|
|
23312
|
+
fieldName: vue.unref(propsItem_box).name.fieldName || vue.unref(formProps_box).para.ly0d7thumb.name.fieldName,
|
|
23321
23313
|
},
|
|
23322
23314
|
number: {
|
|
23323
|
-
fieldName: propsItem_box.number.fieldName || formProps_box.para.ly0d7thumb.number.fieldName,
|
|
23315
|
+
fieldName: vue.unref(propsItem_box).number.fieldName || vue.unref(formProps_box).para.ly0d7thumb.number.fieldName,
|
|
23324
23316
|
},
|
|
23325
|
-
readOnly: propsItem_box.readOnly
|
|
23317
|
+
readOnly: vue.unref(propsItem_box).readOnly
|
|
23326
23318
|
}
|
|
23327
23319
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23328
23320
|
]))
|
|
@@ -23363,9 +23355,10 @@ var script$f = {
|
|
|
23363
23355
|
|
|
23364
23356
|
const props = __props;
|
|
23365
23357
|
|
|
23366
|
-
|
|
23367
|
-
const
|
|
23368
|
-
const
|
|
23358
|
+
// props属性包装,使得页面和js使用相同的命名
|
|
23359
|
+
const formData_box = props.modelValue;
|
|
23360
|
+
const formProps_box = props.myProps;
|
|
23361
|
+
const scopeThis_box = props.scopeThis;
|
|
23369
23362
|
|
|
23370
23363
|
const style = vue.reactive({
|
|
23371
23364
|
collapse: styleModule.collapse,
|
|
@@ -23426,10 +23419,10 @@ return (_ctx, _cache) => {
|
|
|
23426
23419
|
|
|
23427
23420
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
23428
23421
|
vue.createCommentVNode(" 置顶菜单 "),
|
|
23429
|
-
(formProps_box.menu && formProps_box.menu.menu && formProps_box.menu.menu.length > 0)
|
|
23422
|
+
(vue.unref(formProps_box).menu && vue.unref(formProps_box).menu.menu && vue.unref(formProps_box).menu.menu.length > 0)
|
|
23430
23423
|
? (vue.openBlock(), vue.createBlock(_component_ly0Menu, {
|
|
23431
23424
|
key: 0,
|
|
23432
|
-
myProps: formProps_box.menu,
|
|
23425
|
+
myProps: vue.unref(formProps_box).menu,
|
|
23433
23426
|
scopeThis: __props.scopeThis
|
|
23434
23427
|
}, null, 8 /* PROPS */, ["myProps", "scopeThis"]))
|
|
23435
23428
|
: vue.createCommentVNode("v-if", true),
|
|
@@ -23437,13 +23430,13 @@ return (_ctx, _cache) => {
|
|
|
23437
23430
|
vue.createElementVNode("div", {
|
|
23438
23431
|
style: vue.normalizeStyle(style.root_box)
|
|
23439
23432
|
}, [
|
|
23440
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(formProps_box.cols, (item, index) => {
|
|
23433
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(formProps_box).cols, (item, index) => {
|
|
23441
23434
|
return (vue.openBlock(), vue.createElementBlock("div", { key: index }, [
|
|
23442
23435
|
vue.createElementVNode("table", null, [
|
|
23443
23436
|
vue.createElementVNode("tbody", null, [
|
|
23444
23437
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.items, (item0, index0) => {
|
|
23445
23438
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index0 }, [
|
|
23446
|
-
(item0.hdlVisible ? item0.hdlVisible({formData: vue.unref(formData_box), scopeThis: scopeThis_box}) : true)
|
|
23439
|
+
(item0.hdlVisible ? item0.hdlVisible({formData: vue.unref(formData_box), scopeThis: vue.unref(scopeThis_box)}) : true)
|
|
23447
23440
|
? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$c, [
|
|
23448
23441
|
(!!item0.label)
|
|
23449
23442
|
? (vue.openBlock(), vue.createElementBlock("td", {
|
|
@@ -23452,9 +23445,9 @@ return (_ctx, _cache) => {
|
|
|
23452
23445
|
}, [
|
|
23453
23446
|
vue.createVNode(script$h, {
|
|
23454
23447
|
modelValue: vue.unref(formData_box),
|
|
23455
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event :
|
|
23456
|
-
myProps: formProps_box,
|
|
23457
|
-
scopeThis: scopeThis_box,
|
|
23448
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : null)),
|
|
23449
|
+
myProps: vue.unref(formProps_box),
|
|
23450
|
+
scopeThis: vue.unref(scopeThis_box),
|
|
23458
23451
|
item: item0
|
|
23459
23452
|
}, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis", "item"])
|
|
23460
23453
|
], 4 /* STYLE */))
|
|
@@ -23477,7 +23470,7 @@ return (_ctx, _cache) => {
|
|
|
23477
23470
|
default: vue.withCtx(() => [
|
|
23478
23471
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item0.items, (item1, index1) => {
|
|
23479
23472
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index1 }, [
|
|
23480
|
-
(item1.hdlVisible ? item1.hdlVisible({formData: vue.unref(formData_box), scopeThis: scopeThis_box}) : true)
|
|
23473
|
+
(item1.hdlVisible ? item1.hdlVisible({formData: vue.unref(formData_box), scopeThis: vue.unref(scopeThis_box)}) : true)
|
|
23481
23474
|
? (vue.openBlock(), vue.createBlock(_component_el_collapse_item, {
|
|
23482
23475
|
key: 0,
|
|
23483
23476
|
title: item1.title,
|
|
@@ -23491,7 +23484,7 @@ return (_ctx, _cache) => {
|
|
|
23491
23484
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
23492
23485
|
(
|
|
23493
23486
|
item2.hdlVisible
|
|
23494
|
-
? item2.hdlVisible({formData: vue.unref(formData_box), scopeThis: scopeThis_box})
|
|
23487
|
+
? item2.hdlVisible({formData: vue.unref(formData_box), scopeThis: vue.unref(scopeThis_box)})
|
|
23495
23488
|
: true
|
|
23496
23489
|
)
|
|
23497
23490
|
? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_3$5, [
|
|
@@ -23502,9 +23495,9 @@ return (_ctx, _cache) => {
|
|
|
23502
23495
|
}, [
|
|
23503
23496
|
vue.createVNode(script$h, {
|
|
23504
23497
|
modelValue: vue.unref(formData_box),
|
|
23505
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event :
|
|
23506
|
-
myProps: formProps_box,
|
|
23507
|
-
scopeThis: scopeThis_box,
|
|
23498
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : null)),
|
|
23499
|
+
myProps: vue.unref(formProps_box),
|
|
23500
|
+
scopeThis: vue.unref(scopeThis_box),
|
|
23508
23501
|
item: item2
|
|
23509
23502
|
}, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis", "item"])
|
|
23510
23503
|
], 4 /* STYLE */))
|
|
@@ -23515,9 +23508,9 @@ return (_ctx, _cache) => {
|
|
|
23515
23508
|
}, [
|
|
23516
23509
|
vue.createVNode(script$g, {
|
|
23517
23510
|
modelValue: vue.unref(formData_box),
|
|
23518
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event :
|
|
23519
|
-
myProps: formProps_box,
|
|
23520
|
-
scopeThis: scopeThis_box,
|
|
23511
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : null)),
|
|
23512
|
+
myProps: vue.unref(formProps_box),
|
|
23513
|
+
scopeThis: vue.unref(scopeThis_box),
|
|
23521
23514
|
item: item2
|
|
23522
23515
|
}, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis", "item"])
|
|
23523
23516
|
], 12 /* STYLE, PROPS */, _hoisted_4$3)
|
|
@@ -23538,9 +23531,9 @@ return (_ctx, _cache) => {
|
|
|
23538
23531
|
: vue.createCommentVNode("v-if", true),
|
|
23539
23532
|
vue.createVNode(script$g, {
|
|
23540
23533
|
modelValue: vue.unref(formData_box),
|
|
23541
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event :
|
|
23542
|
-
myProps: formProps_box,
|
|
23543
|
-
scopeThis: scopeThis_box,
|
|
23534
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : null)),
|
|
23535
|
+
myProps: vue.unref(formProps_box),
|
|
23536
|
+
scopeThis: vue.unref(scopeThis_box),
|
|
23544
23537
|
item: item0
|
|
23545
23538
|
}, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis", "item"])
|
|
23546
23539
|
], 12 /* STYLE, PROPS */, _hoisted_2$c)
|
|
@@ -23554,7 +23547,7 @@ return (_ctx, _cache) => {
|
|
|
23554
23547
|
}), 128 /* KEYED_FRAGMENT */))
|
|
23555
23548
|
], 4 /* STYLE */),
|
|
23556
23549
|
vue.createCommentVNode(" 提交 "),
|
|
23557
|
-
(formProps_box.submit.switch)
|
|
23550
|
+
(vue.unref(formProps_box).submit.switch)
|
|
23558
23551
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
23559
23552
|
vue.createElementVNode("div", {
|
|
23560
23553
|
style: vue.normalizeStyle(style.line)
|
|
@@ -23604,9 +23597,10 @@ var script$e = {
|
|
|
23604
23597
|
|
|
23605
23598
|
const props = __props;
|
|
23606
23599
|
|
|
23607
|
-
|
|
23600
|
+
// props属性包装,使得页面和js使用相同的命名
|
|
23601
|
+
const formData_box = props.modelValue;
|
|
23608
23602
|
const formProps_box = vue.reactive(Object.assign({}, ly0default$2.myProps, props.myProps));
|
|
23609
|
-
const scopeThis_box =
|
|
23603
|
+
const scopeThis_box = props.scopeThis;
|
|
23610
23604
|
|
|
23611
23605
|
return (_ctx, _cache) => {
|
|
23612
23606
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
@@ -23627,9 +23621,9 @@ return (_ctx, _cache) => {
|
|
|
23627
23621
|
default: vue.withCtx(() => [
|
|
23628
23622
|
vue.createVNode(script$f, {
|
|
23629
23623
|
modelValue: vue.unref(formData_box),
|
|
23630
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event :
|
|
23624
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : null)),
|
|
23631
23625
|
myProps: formProps_box,
|
|
23632
|
-
scopeThis: scopeThis_box
|
|
23626
|
+
scopeThis: vue.unref(scopeThis_box)
|
|
23633
23627
|
}, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis"])
|
|
23634
23628
|
]),
|
|
23635
23629
|
_: 1 /* STABLE */
|
|
@@ -23637,9 +23631,9 @@ return (_ctx, _cache) => {
|
|
|
23637
23631
|
: (vue.openBlock(), vue.createBlock(script$f, {
|
|
23638
23632
|
key: 1,
|
|
23639
23633
|
modelValue: vue.unref(formData_box),
|
|
23640
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event :
|
|
23634
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : null)),
|
|
23641
23635
|
myProps: formProps_box,
|
|
23642
|
-
scopeThis: scopeThis_box
|
|
23636
|
+
scopeThis: vue.unref(scopeThis_box)
|
|
23643
23637
|
}, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis"]))
|
|
23644
23638
|
}
|
|
23645
23639
|
}
|