@yoooloo42/joker 1.0.73 → 1.0.74
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/dist/bundle.css +3 -43
- package/dist/index.cjs.js +240 -144
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +240 -144
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -22451,15 +22451,15 @@ script$h.__file = "src/form/LabelBox.vue";
|
|
|
22451
22451
|
|
|
22452
22452
|
const _hoisted_1$e = { key: 12 };
|
|
22453
22453
|
const _hoisted_2$d = { key: 0 };
|
|
22454
|
-
const _hoisted_3$
|
|
22455
|
-
const _hoisted_4$
|
|
22456
|
-
const _hoisted_5$
|
|
22457
|
-
const _hoisted_6$
|
|
22458
|
-
const _hoisted_7$
|
|
22459
|
-
const _hoisted_8$
|
|
22460
|
-
const _hoisted_9$
|
|
22461
|
-
const _hoisted_10$
|
|
22462
|
-
const _hoisted_11
|
|
22454
|
+
const _hoisted_3$6 = { key: 13 };
|
|
22455
|
+
const _hoisted_4$5 = { key: 0 };
|
|
22456
|
+
const _hoisted_5$4 = { key: 14 };
|
|
22457
|
+
const _hoisted_6$4 = { key: 0 };
|
|
22458
|
+
const _hoisted_7$4 = { key: 16 };
|
|
22459
|
+
const _hoisted_8$3 = ["innerHTML"];
|
|
22460
|
+
const _hoisted_9$2 = { key: 17 };
|
|
22461
|
+
const _hoisted_10$1 = ["width", "height", "poster"];
|
|
22462
|
+
const _hoisted_11 = ["src"];
|
|
22463
22463
|
const _hoisted_12 = ["src"];
|
|
22464
22464
|
const _hoisted_13 = ["src"];
|
|
22465
22465
|
const _hoisted_14 = { key: 0 };
|
|
@@ -22985,7 +22985,7 @@ return (_ctx, _cache) => {
|
|
|
22985
22985
|
createCommentVNode(" 图片&富文本&视频 "),
|
|
22986
22986
|
createCommentVNode(" 图片 "),
|
|
22987
22987
|
(__props.item.inputType === 'image')
|
|
22988
|
-
? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
22988
|
+
? (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
22989
22989
|
createElementVNode("div", null, [
|
|
22990
22990
|
createVNode(_component_el_image, {
|
|
22991
22991
|
style: normalizeStyle(style.image(__props.item, __props.myProps)),
|
|
@@ -22997,7 +22997,7 @@ return (_ctx, _cache) => {
|
|
|
22997
22997
|
]),
|
|
22998
22998
|
createCommentVNode(" 设置了图片删除功能,同时图片不为空 "),
|
|
22999
22999
|
(!!__props.item.imageDelete && !!__props.dataBox.fieldsValue[__props.item.fieldName])
|
|
23000
|
-
? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
23000
|
+
? (openBlock(), createElementBlock("div", _hoisted_4$5, [
|
|
23001
23001
|
createVNode(_component_el_button, {
|
|
23002
23002
|
size: "small",
|
|
23003
23003
|
icon: !__props.dataBox.fieldsValue[__props.item.imageDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
@@ -23014,7 +23014,7 @@ return (_ctx, _cache) => {
|
|
|
23014
23014
|
: createCommentVNode("v-if", true),
|
|
23015
23015
|
createCommentVNode(" 多个图片 "),
|
|
23016
23016
|
(__props.item.inputType === 'images')
|
|
23017
|
-
? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
23017
|
+
? (openBlock(), createElementBlock("div", _hoisted_5$4, [
|
|
23018
23018
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.dataBox.fieldsValue[__props.item.fieldName], (itemImages, indexImages) => {
|
|
23019
23019
|
return (openBlock(), createElementBlock("div", {
|
|
23020
23020
|
key: indexImages,
|
|
@@ -23028,7 +23028,7 @@ return (_ctx, _cache) => {
|
|
|
23028
23028
|
}, null, 8 /* PROPS */, ["style", "src", "preview-src-list"])
|
|
23029
23029
|
]),
|
|
23030
23030
|
(!!__props.item.imageDelete)
|
|
23031
|
-
? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
23031
|
+
? (openBlock(), createElementBlock("div", _hoisted_6$4, [
|
|
23032
23032
|
createVNode(_component_el_button, {
|
|
23033
23033
|
size: "small",
|
|
23034
23034
|
icon: "el-icon-delete",
|
|
@@ -23060,15 +23060,15 @@ return (_ctx, _cache) => {
|
|
|
23060
23060
|
: createCommentVNode("v-if", true),
|
|
23061
23061
|
createCommentVNode(" 富文本show "),
|
|
23062
23062
|
(__props.item.inputType === 'richtextShow')
|
|
23063
|
-
? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
23063
|
+
? (openBlock(), createElementBlock("div", _hoisted_7$4, [
|
|
23064
23064
|
createElementVNode("div", {
|
|
23065
23065
|
innerHTML: __props.dataBox.fieldsValue[__props.item.fieldName]
|
|
23066
|
-
}, null, 8 /* PROPS */, _hoisted_8$
|
|
23066
|
+
}, null, 8 /* PROPS */, _hoisted_8$3)
|
|
23067
23067
|
]))
|
|
23068
23068
|
: createCommentVNode("v-if", true),
|
|
23069
23069
|
createCommentVNode(" 视频 "),
|
|
23070
23070
|
(__props.item.inputType === 'video')
|
|
23071
|
-
? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
23071
|
+
? (openBlock(), createElementBlock("div", _hoisted_9$2, [
|
|
23072
23072
|
createElementVNode("div", null, [
|
|
23073
23073
|
createElementVNode("video", {
|
|
23074
23074
|
width: style.video(__props.item, __props.myProps).width,
|
|
@@ -23079,7 +23079,7 @@ return (_ctx, _cache) => {
|
|
|
23079
23079
|
createElementVNode("source", {
|
|
23080
23080
|
src: video.src,
|
|
23081
23081
|
type: "video/mp4"
|
|
23082
|
-
}, null, 8 /* PROPS */, _hoisted_11
|
|
23082
|
+
}, null, 8 /* PROPS */, _hoisted_11),
|
|
23083
23083
|
createCommentVNode(" MP4/H.264/AAC - 最广泛支持 "),
|
|
23084
23084
|
createElementVNode("source", {
|
|
23085
23085
|
src: video.src,
|
|
@@ -23091,7 +23091,7 @@ return (_ctx, _cache) => {
|
|
|
23091
23091
|
type: "video/ogg"
|
|
23092
23092
|
}, null, 8 /* PROPS */, _hoisted_13),
|
|
23093
23093
|
createCommentVNode(" Ogg/Theora/Vorbis - 较旧的开源格式 ")
|
|
23094
|
-
], 8 /* PROPS */, _hoisted_10$
|
|
23094
|
+
], 8 /* PROPS */, _hoisted_10$1)
|
|
23095
23095
|
]),
|
|
23096
23096
|
createCommentVNode(" 设置了视频删除功能,同时视频不为空 "),
|
|
23097
23097
|
(!!__props.item.videoDelete && !!__props.dataBox.fieldsValue[__props.item.fieldName])
|
|
@@ -23270,8 +23270,8 @@ script$g.__file = "src/form/InputBox.vue";
|
|
|
23270
23270
|
|
|
23271
23271
|
const _hoisted_1$d = { key: 0 };
|
|
23272
23272
|
const _hoisted_2$c = ["colspan"];
|
|
23273
|
-
const _hoisted_3$
|
|
23274
|
-
const _hoisted_4$
|
|
23273
|
+
const _hoisted_3$5 = { key: 0 };
|
|
23274
|
+
const _hoisted_4$4 = ["colspan"];
|
|
23275
23275
|
|
|
23276
23276
|
|
|
23277
23277
|
var script$f = {
|
|
@@ -23363,7 +23363,7 @@ return (_ctx, _cache) => {
|
|
|
23363
23363
|
? item2.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue)
|
|
23364
23364
|
: true
|
|
23365
23365
|
)
|
|
23366
|
-
? (openBlock(), createElementBlock("tr", _hoisted_3$
|
|
23366
|
+
? (openBlock(), createElementBlock("tr", _hoisted_3$5, [
|
|
23367
23367
|
(item2.label)
|
|
23368
23368
|
? (openBlock(), createElementBlock("td", {
|
|
23369
23369
|
key: 0,
|
|
@@ -23387,7 +23387,7 @@ return (_ctx, _cache) => {
|
|
|
23387
23387
|
dataBox: __props.dataBox,
|
|
23388
23388
|
item: item2
|
|
23389
23389
|
}, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
|
|
23390
|
-
], 12 /* STYLE, PROPS */, _hoisted_4$
|
|
23390
|
+
], 12 /* STYLE, PROPS */, _hoisted_4$4)
|
|
23391
23391
|
]))
|
|
23392
23392
|
: createCommentVNode("v-if", true)
|
|
23393
23393
|
], 64 /* STABLE_FRAGMENT */))
|
|
@@ -41716,7 +41716,7 @@ var script$6 = {
|
|
|
41716
41716
|
|
|
41717
41717
|
const _hoisted_1$6 = { class: "el-upload__tip" };
|
|
41718
41718
|
const _hoisted_2$6 = ["src"];
|
|
41719
|
-
const _hoisted_3$
|
|
41719
|
+
const _hoisted_3$4 = {
|
|
41720
41720
|
key: 0,
|
|
41721
41721
|
style: {"font-size":"xx-small"}
|
|
41722
41722
|
};
|
|
@@ -41767,7 +41767,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41767
41767
|
_: 1 /* STABLE */
|
|
41768
41768
|
}, 8 /* PROPS */, ["modelValue"]),
|
|
41769
41769
|
(_ctx.fileList.length>0)
|
|
41770
|
-
? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
41770
|
+
? (openBlock(), createElementBlock("div", _hoisted_3$4, toDisplayString("已上传"+_ctx.fileList.length+"个图片"), 1 /* TEXT */))
|
|
41771
41771
|
: createCommentVNode("v-if", true),
|
|
41772
41772
|
(_ctx.fileList.length>0)
|
|
41773
41773
|
? (openBlock(), createBlock(_component_el_button, {
|
|
@@ -42157,19 +42157,19 @@ const _hoisted_2$4 = {
|
|
|
42157
42157
|
class: "el-icon-edit",
|
|
42158
42158
|
style: {"color":"blue"}
|
|
42159
42159
|
};
|
|
42160
|
-
const _hoisted_3$
|
|
42161
|
-
const _hoisted_4$
|
|
42160
|
+
const _hoisted_3$3 = { key: 1 };
|
|
42161
|
+
const _hoisted_4$3 = {
|
|
42162
42162
|
key: 0,
|
|
42163
42163
|
class: "el-icon-edit",
|
|
42164
42164
|
style: {"color":"blue"}
|
|
42165
42165
|
};
|
|
42166
|
-
const _hoisted_5$
|
|
42166
|
+
const _hoisted_5$3 = {
|
|
42167
42167
|
key: 0,
|
|
42168
42168
|
class: "value-item"
|
|
42169
42169
|
};
|
|
42170
|
-
const _hoisted_6$
|
|
42171
|
-
const _hoisted_7$
|
|
42172
|
-
const _hoisted_8$
|
|
42170
|
+
const _hoisted_6$3 = { style: {"width":"100%"} };
|
|
42171
|
+
const _hoisted_7$3 = { style: {"width":"50px"} };
|
|
42172
|
+
const _hoisted_8$2 = { class: "select-submit" };
|
|
42173
42173
|
|
|
42174
42174
|
|
|
42175
42175
|
var script$4 = {
|
|
@@ -42233,17 +42233,17 @@ return (_ctx, _cache) => {
|
|
|
42233
42233
|
]),
|
|
42234
42234
|
_cache[2] || (_cache[2] = createElementVNode("td", null, "[未分类]", -1 /* CACHED */))
|
|
42235
42235
|
]))
|
|
42236
|
-
: (openBlock(), createElementBlock("tr", _hoisted_3$
|
|
42236
|
+
: (openBlock(), createElementBlock("tr", _hoisted_3$3, [
|
|
42237
42237
|
createElementVNode("td", null, [
|
|
42238
42238
|
(!__props.myProps.readOnly)
|
|
42239
|
-
? (openBlock(), createElementBlock("i", _hoisted_4$
|
|
42239
|
+
? (openBlock(), createElementBlock("i", _hoisted_4$3))
|
|
42240
42240
|
: createCommentVNode("v-if", true)
|
|
42241
42241
|
]),
|
|
42242
42242
|
createElementVNode("td", null, [
|
|
42243
42243
|
(openBlock(true), createElementBlock(Fragment, null, renderList(value.value, (item, index) => {
|
|
42244
42244
|
return (openBlock(), createElementBlock(Fragment, null, [
|
|
42245
42245
|
(!!item)
|
|
42246
|
-
? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
42246
|
+
? (openBlock(), createElementBlock("div", _hoisted_5$3, toDisplayString(item), 1 /* TEXT */))
|
|
42247
42247
|
: createCommentVNode("v-if", true)
|
|
42248
42248
|
], 64 /* STABLE_FRAGMENT */))
|
|
42249
42249
|
}), 256 /* UNKEYED_FRAGMENT */))
|
|
@@ -42262,7 +42262,7 @@ return (_ctx, _cache) => {
|
|
|
42262
42262
|
"destroy-on-close": true
|
|
42263
42263
|
}, {
|
|
42264
42264
|
default: withCtx(() => [
|
|
42265
|
-
createElementVNode("table", _hoisted_6$
|
|
42265
|
+
createElementVNode("table", _hoisted_6$3, [
|
|
42266
42266
|
createElementVNode("tbody", null, [
|
|
42267
42267
|
createElementVNode("tr", null, [
|
|
42268
42268
|
createElementVNode("td", null, [
|
|
@@ -42300,7 +42300,7 @@ return (_ctx, _cache) => {
|
|
|
42300
42300
|
]),
|
|
42301
42301
|
createElementVNode("tr", null, [
|
|
42302
42302
|
_cache[4] || (_cache[4] = createElementVNode("td", null, null, -1 /* CACHED */)),
|
|
42303
|
-
createElementVNode("td", _hoisted_7$
|
|
42303
|
+
createElementVNode("td", _hoisted_7$3, [
|
|
42304
42304
|
createVNode(_component_el_button, {
|
|
42305
42305
|
type: "primary",
|
|
42306
42306
|
circle: "",
|
|
@@ -42323,7 +42323,7 @@ return (_ctx, _cache) => {
|
|
|
42323
42323
|
])
|
|
42324
42324
|
]),
|
|
42325
42325
|
_cache[6] || (_cache[6] = createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
|
|
42326
|
-
createElementVNode("div", _hoisted_8$
|
|
42326
|
+
createElementVNode("div", _hoisted_8$2, [
|
|
42327
42327
|
createVNode(_component_el_button, {
|
|
42328
42328
|
type: "danger",
|
|
42329
42329
|
plain: "",
|
|
@@ -42353,17 +42353,17 @@ const _hoisted_2$3 = {
|
|
|
42353
42353
|
class: "el-icon-edit",
|
|
42354
42354
|
style: {"color":"blue"}
|
|
42355
42355
|
};
|
|
42356
|
-
const _hoisted_3$
|
|
42356
|
+
const _hoisted_3$2 = {
|
|
42357
42357
|
key: 0,
|
|
42358
42358
|
class: "el-icon-edit",
|
|
42359
42359
|
style: {"color":"blue"}
|
|
42360
42360
|
};
|
|
42361
|
-
const _hoisted_4$
|
|
42362
|
-
const _hoisted_5$
|
|
42363
|
-
const _hoisted_6$
|
|
42364
|
-
const _hoisted_7$
|
|
42365
|
-
const _hoisted_8$
|
|
42366
|
-
const _hoisted_9$
|
|
42361
|
+
const _hoisted_4$2 = { class: "item-value" };
|
|
42362
|
+
const _hoisted_5$2 = { class: "item-value" };
|
|
42363
|
+
const _hoisted_6$2 = { class: "item-value" };
|
|
42364
|
+
const _hoisted_7$2 = { class: "item-value" };
|
|
42365
|
+
const _hoisted_8$1 = { style: {"width":"100%"} };
|
|
42366
|
+
const _hoisted_9$1 = { class: "select-submit" };
|
|
42367
42367
|
|
|
42368
42368
|
|
|
42369
42369
|
var script$3 = {
|
|
@@ -42454,7 +42454,7 @@ return (_ctx, _cache) => {
|
|
|
42454
42454
|
return (openBlock(), createElementBlock("tr", { key: index }, [
|
|
42455
42455
|
createElementVNode("td", null, [
|
|
42456
42456
|
(!__props.myProps.readOnly && index === 0)
|
|
42457
|
-
? (openBlock(), createElementBlock("i", _hoisted_3$
|
|
42457
|
+
? (openBlock(), createElementBlock("i", _hoisted_3$2))
|
|
42458
42458
|
: createCommentVNode("v-if", true)
|
|
42459
42459
|
]),
|
|
42460
42460
|
createElementVNode("td", null, [
|
|
@@ -42462,19 +42462,19 @@ return (_ctx, _cache) => {
|
|
|
42462
42462
|
createElementVNode("tbody", null, [
|
|
42463
42463
|
createElementVNode("tr", null, [
|
|
42464
42464
|
_cache[3] || (_cache[3] = createElementVNode("td", { class: "item-label" }, "国内行政区划", -1 /* CACHED */)),
|
|
42465
|
-
createElementVNode("td", _hoisted_4$
|
|
42465
|
+
createElementVNode("td", _hoisted_4$2, toDisplayString(item.gbt2260text), 1 /* TEXT */)
|
|
42466
42466
|
]),
|
|
42467
42467
|
createElementVNode("tr", null, [
|
|
42468
42468
|
_cache[4] || (_cache[4] = createElementVNode("td", { class: "item-label" }, "详细地址", -1 /* CACHED */)),
|
|
42469
|
-
createElementVNode("td", _hoisted_5$
|
|
42469
|
+
createElementVNode("td", _hoisted_5$2, toDisplayString(item.address), 1 /* TEXT */)
|
|
42470
42470
|
]),
|
|
42471
42471
|
createElementVNode("tr", null, [
|
|
42472
42472
|
_cache[5] || (_cache[5] = createElementVNode("td", { class: "item-label" }, "联系电话", -1 /* CACHED */)),
|
|
42473
|
-
createElementVNode("td", _hoisted_6$
|
|
42473
|
+
createElementVNode("td", _hoisted_6$2, toDisplayString(item.tel), 1 /* TEXT */)
|
|
42474
42474
|
]),
|
|
42475
42475
|
createElementVNode("tr", null, [
|
|
42476
42476
|
_cache[6] || (_cache[6] = createElementVNode("td", { class: "item-label" }, "联系人", -1 /* CACHED */)),
|
|
42477
|
-
createElementVNode("td", _hoisted_7$
|
|
42477
|
+
createElementVNode("td", _hoisted_7$2, toDisplayString(item.name), 1 /* TEXT */)
|
|
42478
42478
|
])
|
|
42479
42479
|
])
|
|
42480
42480
|
])
|
|
@@ -42494,7 +42494,7 @@ return (_ctx, _cache) => {
|
|
|
42494
42494
|
"destroy-on-close": true
|
|
42495
42495
|
}, {
|
|
42496
42496
|
default: withCtx(() => [
|
|
42497
|
-
createElementVNode("table", _hoisted_8$
|
|
42497
|
+
createElementVNode("table", _hoisted_8$1, [
|
|
42498
42498
|
createElementVNode("tbody", null, [
|
|
42499
42499
|
_cache[11] || (_cache[11] = createElementVNode("tr", null, [
|
|
42500
42500
|
createElementVNode("th", null, "国内行政区划"),
|
|
@@ -42564,7 +42564,7 @@ return (_ctx, _cache) => {
|
|
|
42564
42564
|
])
|
|
42565
42565
|
]),
|
|
42566
42566
|
_cache[13] || (_cache[13] = createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
|
|
42567
|
-
createElementVNode("div", _hoisted_9$
|
|
42567
|
+
createElementVNode("div", _hoisted_9$1, [
|
|
42568
42568
|
createVNode(_component_el_button, {
|
|
42569
42569
|
type: "danger",
|
|
42570
42570
|
plain: "",
|
|
@@ -42593,70 +42593,59 @@ var _imports_0$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAA
|
|
|
42593
42593
|
var _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAEeRJREFUeF7tnUt2HEcORbM4lbUmUztpe9DuXVjahaSBrJ2YXlOrpyyfLDPVqWJ+4gMgEIGriX0O43sBvAAis6ouE/8gUEjgv//6z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Dlnhw2XZYAXBDmmJi2pgQ6OPXXPIYQAO4GTF2cyXYIeK7194w2lADMm7zdDVwvjzwpIE7NCHR26g+bAXA3YObyTDQT6DjwFwMOlwFwP0BsWhDoMd3f4jK8AHA/YBEOgebo5HY/1SJhBAAhSHUJ2m2flNf3b758/jAanXACgBCM5sKK+xmgxj+jE1YAEIIz1wj89wCBH+YSMNWNebU4ldTA7QIFPgKw48ezEPzzhOfyfmBXZ2trAgEDHwE4CYH5K8keHp5/RggG1YrAQb+2aPg7gBT3JitIodRBG4L+lZEQgEy/RQwygbVuTtAfWgABqHBQxKACnmbXl6Cfp/D09VuaWy4dGwEoJXfXDzEQAlkyzHV6ulyuT8/PD38R8HkAEYA8Xkmtv18g8qnEJF7Zja7T7Us1vX3BZvY+HHRAAAyMsAjCzWl5vJhPnIDPZ5bYAwFIBCXZ7AdBIEv4Ee0q2KnhJb1ueywEQJ9x8gzLPcJLejv2l5oQ6Ml+odkQAdCkKzT2OmPoShxegnxe83JJx6ku5BRCwyAAQiBbDjMLxDz//Obieh23r0bb+pf7wyqrQF6GmwN6+f/59n35f27hW3pC/tx/AwGGn4jHVHwsAAAAAElFTkSuQmCC";
|
|
42594
42594
|
|
|
42595
42595
|
const _hoisted_1$2 = { key: 0 };
|
|
42596
|
-
const _hoisted_2$2 = {
|
|
42597
|
-
key: 0,
|
|
42598
|
-
class: "el-icon-edit",
|
|
42599
|
-
style: {"color":"blue"}
|
|
42600
|
-
};
|
|
42601
|
-
const _hoisted_3$2 = {
|
|
42602
|
-
key: 0,
|
|
42603
|
-
class: "el-icon-edit",
|
|
42604
|
-
style: {"color":"blue"}
|
|
42605
|
-
};
|
|
42606
|
-
const _hoisted_4$2 = {
|
|
42607
|
-
key: 0,
|
|
42608
|
-
class: "value-name"
|
|
42609
|
-
};
|
|
42610
|
-
const _hoisted_5$2 = {
|
|
42611
|
-
key: 1,
|
|
42612
|
-
class: "value-name-empty"
|
|
42613
|
-
};
|
|
42614
|
-
const _hoisted_6$2 = { class: "value-price" };
|
|
42615
|
-
const _hoisted_7$2 = {
|
|
42616
|
-
key: 2,
|
|
42617
|
-
class: "value-member",
|
|
42618
|
-
src: _imports_0$1
|
|
42619
|
-
};
|
|
42620
|
-
const _hoisted_8$1 = {
|
|
42621
|
-
key: 3,
|
|
42622
|
-
class: "value-hot",
|
|
42623
|
-
src: _imports_1
|
|
42624
|
-
};
|
|
42625
|
-
const _hoisted_9$1 = { class: "value-note" };
|
|
42626
|
-
const _hoisted_10$1 = { style: {"width":"100%"} };
|
|
42627
|
-
const _hoisted_11 = { class: "select-submit" };
|
|
42596
|
+
const _hoisted_2$2 = { style: {"width":"100%"} };
|
|
42628
42597
|
|
|
42598
|
+
// 遵循 Vue 3 v-model 规范,使用 modelValue
|
|
42629
42599
|
|
|
42630
42600
|
var script$2 = {
|
|
42631
42601
|
__name: 'index',
|
|
42632
|
-
props:
|
|
42633
|
-
|
|
42602
|
+
props: {
|
|
42603
|
+
// modelValue: 外部 v-model 绑定的值
|
|
42604
|
+
modelValue: {
|
|
42605
|
+
type: Array,
|
|
42606
|
+
default: () => []
|
|
42607
|
+
},
|
|
42608
|
+
myProps: {
|
|
42609
|
+
readOnly: {
|
|
42610
|
+
type: Boolean,
|
|
42611
|
+
default: false
|
|
42612
|
+
},
|
|
42613
|
+
_id: [String, Number] // 允许传入一个 _id 用于回传,可选
|
|
42614
|
+
}
|
|
42615
|
+
|
|
42616
|
+
},
|
|
42617
|
+
emits: ['update:modelValue', 'change'],
|
|
42634
42618
|
setup(__props, { emit: __emit }) {
|
|
42635
42619
|
|
|
42636
42620
|
const props = __props;
|
|
42621
|
+
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
42637
42622
|
const emit = __emit;
|
|
42638
42623
|
|
|
42639
|
-
const value =
|
|
42624
|
+
const value = computed(() => props.modelValue || []);
|
|
42625
|
+
const nameEmpty = ref('[未设置标价名称]');
|
|
42626
|
+
|
|
42640
42627
|
const popup = ref({
|
|
42641
42628
|
visible: false,
|
|
42642
|
-
value:
|
|
42629
|
+
value: []
|
|
42643
42630
|
});
|
|
42644
|
-
const nameEmpty = ref('[未设置标价名称]');
|
|
42645
42631
|
|
|
42646
42632
|
const hdl = {
|
|
42647
42633
|
popup() {
|
|
42648
|
-
if (
|
|
42649
|
-
|
|
42650
|
-
popup.value.value.forEach(i => {
|
|
42651
|
-
i.price = Math.floor(i.price) / 100;
|
|
42652
|
-
});
|
|
42653
|
-
popup.value.visible = true;
|
|
42634
|
+
if (props.myProps.readOnly) {
|
|
42635
|
+
return
|
|
42654
42636
|
}
|
|
42637
|
+
const copiedValue = JSON.parse(JSON.stringify(value.value));
|
|
42638
|
+
popup.value.value = copiedValue.map(item => ({
|
|
42639
|
+
...item,
|
|
42640
|
+
// 价格从“分”转换为“元”
|
|
42641
|
+
price: item.price / 100
|
|
42642
|
+
}));
|
|
42643
|
+
popup.value.visible = true;
|
|
42655
42644
|
},
|
|
42656
42645
|
append() {
|
|
42657
42646
|
popup.value.value.push({
|
|
42658
42647
|
name: '',
|
|
42659
|
-
price: 0,
|
|
42648
|
+
price: 0, // 初始价格为 0 元
|
|
42660
42649
|
member: false,
|
|
42661
42650
|
hot: false,
|
|
42662
42651
|
note: '',
|
|
@@ -42665,23 +42654,71 @@ const hdl = {
|
|
|
42665
42654
|
delete(index) {
|
|
42666
42655
|
popup.value.value.splice(index, 1);
|
|
42667
42656
|
},
|
|
42668
|
-
|
|
42669
|
-
|
|
42670
|
-
|
|
42671
|
-
|
|
42672
|
-
|
|
42673
|
-
emit("get-value", {
|
|
42674
|
-
value: JSON.parse(JSON.stringify(popup.value.value)),
|
|
42675
|
-
_id: props.myProps._id ?? null
|
|
42657
|
+
submit() {
|
|
42658
|
+
const submittingValue = JSON.parse(JSON.stringify(popup.value.value));
|
|
42659
|
+
submittingValue.forEach(item => {
|
|
42660
|
+
// 确保 price 是数字,然后转为“分”
|
|
42661
|
+
item.price = Math.floor(Number(item.price) * 100);
|
|
42676
42662
|
});
|
|
42663
|
+
// 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
|
|
42664
|
+
emit("update:modelValue", submittingValue);
|
|
42677
42665
|
popup.value.visible = false;
|
|
42678
42666
|
},
|
|
42679
42667
|
};
|
|
42680
42668
|
|
|
42669
|
+
const style = reactive({
|
|
42670
|
+
value: {
|
|
42671
|
+
name: {},
|
|
42672
|
+
name_empty: {
|
|
42673
|
+
color: '#919191'
|
|
42674
|
+
},
|
|
42675
|
+
price: {
|
|
42676
|
+
'margin-left': '10px',
|
|
42677
|
+
color: 'blue'
|
|
42678
|
+
},
|
|
42679
|
+
member: {
|
|
42680
|
+
'margin-left': '10px',
|
|
42681
|
+
width: '32px',
|
|
42682
|
+
height: '32px'
|
|
42683
|
+
},
|
|
42684
|
+
hot: {
|
|
42685
|
+
'margin-left': '10px',
|
|
42686
|
+
width: '20px',
|
|
42687
|
+
height: '20px'
|
|
42688
|
+
},
|
|
42689
|
+
note: {
|
|
42690
|
+
'margin-left': '10px'
|
|
42691
|
+
}
|
|
42692
|
+
},
|
|
42693
|
+
input: {
|
|
42694
|
+
name: {
|
|
42695
|
+
width: '200px',
|
|
42696
|
+
'margin-bottom': '10px'
|
|
42697
|
+
},
|
|
42698
|
+
price: {
|
|
42699
|
+
width: '120px'
|
|
42700
|
+
},
|
|
42701
|
+
note: {
|
|
42702
|
+
width: '200px'
|
|
42703
|
+
}
|
|
42704
|
+
},
|
|
42705
|
+
line: {
|
|
42706
|
+
height: '1px',
|
|
42707
|
+
'background-color': '#6a6a6a',
|
|
42708
|
+
'margin-top': '10px',
|
|
42709
|
+
'margin-bottom': '10px'
|
|
42710
|
+
}
|
|
42711
|
+
});
|
|
42712
|
+
|
|
42681
42713
|
return (_ctx, _cache) => {
|
|
42714
|
+
const _component_Edit = resolveComponent("Edit");
|
|
42715
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
42682
42716
|
const _component_el_input = resolveComponent("el-input");
|
|
42717
|
+
const _component_el_input_number = resolveComponent("el-input-number");
|
|
42683
42718
|
const _component_el_switch = resolveComponent("el-switch");
|
|
42719
|
+
const _component_Delete = resolveComponent("Delete");
|
|
42684
42720
|
const _component_el_button = resolveComponent("el-button");
|
|
42721
|
+
const _component_Plus = resolveComponent("Plus");
|
|
42685
42722
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
42686
42723
|
|
|
42687
42724
|
return (openBlock(), createElementBlock("div", {
|
|
@@ -42693,34 +42730,74 @@ return (_ctx, _cache) => {
|
|
|
42693
42730
|
? (openBlock(), createElementBlock("tr", _hoisted_1$2, [
|
|
42694
42731
|
createElementVNode("td", null, [
|
|
42695
42732
|
(!__props.myProps.readOnly)
|
|
42696
|
-
? (openBlock(),
|
|
42733
|
+
? (openBlock(), createBlock(_component_el_icon, {
|
|
42734
|
+
key: 0,
|
|
42735
|
+
class: "edit-icon",
|
|
42736
|
+
size: 16,
|
|
42737
|
+
color: "blue"
|
|
42738
|
+
}, {
|
|
42739
|
+
default: withCtx(() => [
|
|
42740
|
+
createVNode(_component_Edit)
|
|
42741
|
+
]),
|
|
42742
|
+
_: 1 /* STABLE */
|
|
42743
|
+
}))
|
|
42697
42744
|
: createCommentVNode("v-if", true)
|
|
42698
42745
|
]),
|
|
42699
42746
|
_cache[2] || (_cache[2] = createElementVNode("td", null, "[未标价]", -1 /* CACHED */))
|
|
42700
42747
|
]))
|
|
42701
42748
|
: createCommentVNode("v-if", true),
|
|
42702
42749
|
(openBlock(true), createElementBlock(Fragment, null, renderList(value.value, (item, index) => {
|
|
42703
|
-
return (openBlock(), createElementBlock("tr",
|
|
42750
|
+
return (openBlock(), createElementBlock("tr", { key: index }, [
|
|
42704
42751
|
createElementVNode("td", null, [
|
|
42705
42752
|
(!__props.myProps.readOnly && index === 0)
|
|
42706
|
-
? (openBlock(),
|
|
42753
|
+
? (openBlock(), createBlock(_component_el_icon, {
|
|
42754
|
+
key: 0,
|
|
42755
|
+
class: "edit-icon",
|
|
42756
|
+
size: 16,
|
|
42757
|
+
color: "blue"
|
|
42758
|
+
}, {
|
|
42759
|
+
default: withCtx(() => [
|
|
42760
|
+
createVNode(_component_Edit)
|
|
42761
|
+
]),
|
|
42762
|
+
_: 1 /* STABLE */
|
|
42763
|
+
}))
|
|
42707
42764
|
: createCommentVNode("v-if", true)
|
|
42708
42765
|
]),
|
|
42709
42766
|
createElementVNode("td", null, [
|
|
42710
42767
|
(!!item.name)
|
|
42711
|
-
? (openBlock(), createElementBlock("span",
|
|
42712
|
-
|
|
42713
|
-
|
|
42768
|
+
? (openBlock(), createElementBlock("span", {
|
|
42769
|
+
key: 0,
|
|
42770
|
+
style: normalizeStyle(style.value.name)
|
|
42771
|
+
}, toDisplayString(item.name), 5 /* TEXT, STYLE */))
|
|
42772
|
+
: (openBlock(), createElementBlock("span", {
|
|
42773
|
+
key: 1,
|
|
42774
|
+
style: normalizeStyle(style.value.name_empty)
|
|
42775
|
+
}, toDisplayString(nameEmpty.value), 5 /* TEXT, STYLE */)),
|
|
42776
|
+
createElementVNode("span", {
|
|
42777
|
+
style: normalizeStyle(style.value.price)
|
|
42778
|
+
}, "¥" + toDisplayString((item.price / 100).toFixed(2)), 5 /* TEXT, STYLE */),
|
|
42714
42779
|
(!!item.member)
|
|
42715
|
-
? (openBlock(), createElementBlock("img",
|
|
42780
|
+
? (openBlock(), createElementBlock("img", {
|
|
42781
|
+
key: 2,
|
|
42782
|
+
style: normalizeStyle(style.value.member),
|
|
42783
|
+
src: _imports_0$1,
|
|
42784
|
+
alt: "会员"
|
|
42785
|
+
}, null, 4 /* STYLE */))
|
|
42716
42786
|
: createCommentVNode("v-if", true),
|
|
42717
42787
|
(!!item.hot)
|
|
42718
|
-
? (openBlock(), createElementBlock("img",
|
|
42788
|
+
? (openBlock(), createElementBlock("img", {
|
|
42789
|
+
key: 3,
|
|
42790
|
+
style: normalizeStyle(style.value.hot),
|
|
42791
|
+
src: _imports_1,
|
|
42792
|
+
alt: "热点"
|
|
42793
|
+
}, null, 4 /* STYLE */))
|
|
42719
42794
|
: createCommentVNode("v-if", true),
|
|
42720
|
-
createElementVNode("span",
|
|
42795
|
+
createElementVNode("span", {
|
|
42796
|
+
style: normalizeStyle(style.value.note)
|
|
42797
|
+
}, toDisplayString(item.note || ''), 5 /* TEXT, STYLE */)
|
|
42721
42798
|
])
|
|
42722
42799
|
]))
|
|
42723
|
-
}),
|
|
42800
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
42724
42801
|
])
|
|
42725
42802
|
]),
|
|
42726
42803
|
createVNode(_component_el_dialog, {
|
|
@@ -42734,33 +42811,36 @@ return (_ctx, _cache) => {
|
|
|
42734
42811
|
"destroy-on-close": true
|
|
42735
42812
|
}, {
|
|
42736
42813
|
default: withCtx(() => [
|
|
42737
|
-
createElementVNode("table",
|
|
42814
|
+
createElementVNode("table", _hoisted_2$2, [
|
|
42738
42815
|
createElementVNode("tbody", null, [
|
|
42739
|
-
_cache[
|
|
42816
|
+
_cache[4] || (_cache[4] = createElementVNode("tr", null, [
|
|
42740
42817
|
createElementVNode("th", null, "标价名称"),
|
|
42741
|
-
createElementVNode("th", null, "
|
|
42818
|
+
createElementVNode("th", null, "单价(元)"),
|
|
42742
42819
|
createElementVNode("th", null, "会员标注"),
|
|
42743
42820
|
createElementVNode("th", null, "热点标注"),
|
|
42744
42821
|
createElementVNode("th", null, "备注"),
|
|
42745
42822
|
createElementVNode("th")
|
|
42746
42823
|
], -1 /* CACHED */)),
|
|
42747
42824
|
(openBlock(true), createElementBlock(Fragment, null, renderList(popup.value.value, (item, index) => {
|
|
42748
|
-
return (openBlock(), createElementBlock("tr",
|
|
42749
|
-
createElementVNode("
|
|
42825
|
+
return (openBlock(), createElementBlock("tr", { key: index }, [
|
|
42826
|
+
createElementVNode("td", null, [
|
|
42750
42827
|
createVNode(_component_el_input, {
|
|
42751
|
-
|
|
42828
|
+
style: normalizeStyle(style.input.name),
|
|
42752
42829
|
modelValue: item.name,
|
|
42753
42830
|
"onUpdate:modelValue": $event => ((item.name) = $event)
|
|
42754
|
-
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42831
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42755
42832
|
]),
|
|
42756
|
-
createElementVNode("
|
|
42757
|
-
createVNode(
|
|
42758
|
-
|
|
42833
|
+
createElementVNode("td", null, [
|
|
42834
|
+
createVNode(_component_el_input_number, {
|
|
42835
|
+
style: normalizeStyle(style.input.price),
|
|
42759
42836
|
modelValue: item.price,
|
|
42760
|
-
"onUpdate:modelValue": $event => ((item.price) = $event)
|
|
42761
|
-
|
|
42837
|
+
"onUpdate:modelValue": $event => ((item.price) = $event),
|
|
42838
|
+
min: 0,
|
|
42839
|
+
precision: 2,
|
|
42840
|
+
"controls-position": "right"
|
|
42841
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42762
42842
|
]),
|
|
42763
|
-
createElementVNode("
|
|
42843
|
+
createElementVNode("td", null, [
|
|
42764
42844
|
createVNode(_component_el_switch, {
|
|
42765
42845
|
modelValue: item.member,
|
|
42766
42846
|
"onUpdate:modelValue": $event => ((item.member) = $event),
|
|
@@ -42770,7 +42850,7 @@ return (_ctx, _cache) => {
|
|
|
42770
42850
|
"inactive-value": false
|
|
42771
42851
|
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42772
42852
|
]),
|
|
42773
|
-
createElementVNode("
|
|
42853
|
+
createElementVNode("td", null, [
|
|
42774
42854
|
createVNode(_component_el_switch, {
|
|
42775
42855
|
modelValue: item.hot,
|
|
42776
42856
|
"onUpdate:modelValue": $event => ((item.hot) = $event),
|
|
@@ -42780,51 +42860,67 @@ return (_ctx, _cache) => {
|
|
|
42780
42860
|
"inactive-value": false
|
|
42781
42861
|
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42782
42862
|
]),
|
|
42783
|
-
createElementVNode("
|
|
42863
|
+
createElementVNode("td", null, [
|
|
42784
42864
|
createVNode(_component_el_input, {
|
|
42785
|
-
|
|
42865
|
+
style: normalizeStyle(style.input.note),
|
|
42786
42866
|
modelValue: item.note,
|
|
42787
42867
|
"onUpdate:modelValue": $event => ((item.note) = $event)
|
|
42788
|
-
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42868
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42789
42869
|
]),
|
|
42790
|
-
createElementVNode("
|
|
42870
|
+
createElementVNode("td", null, [
|
|
42791
42871
|
createVNode(_component_el_button, {
|
|
42792
42872
|
type: "danger",
|
|
42793
|
-
icon: "el-icon-delete",
|
|
42794
42873
|
circle: "",
|
|
42795
42874
|
size: "small",
|
|
42796
42875
|
onClick: $event => (hdl.delete(index))
|
|
42797
|
-
},
|
|
42876
|
+
}, {
|
|
42877
|
+
default: withCtx(() => [
|
|
42878
|
+
createVNode(_component_el_icon, null, {
|
|
42879
|
+
default: withCtx(() => [
|
|
42880
|
+
createVNode(_component_Delete)
|
|
42881
|
+
]),
|
|
42882
|
+
_: 1 /* STABLE */
|
|
42883
|
+
})
|
|
42884
|
+
]),
|
|
42885
|
+
_: 1 /* STABLE */
|
|
42886
|
+
}, 8 /* PROPS */, ["onClick"])
|
|
42798
42887
|
])
|
|
42799
42888
|
]))
|
|
42800
|
-
}),
|
|
42889
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
42801
42890
|
createElementVNode("tr", null, [
|
|
42802
|
-
_cache[3] || (_cache[3] = createElementVNode("
|
|
42803
|
-
|
|
42804
|
-
_cache[5] || (_cache[5] = createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42805
|
-
_cache[6] || (_cache[6] = createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42806
|
-
_cache[7] || (_cache[7] = createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42807
|
-
createElementVNode("th", null, [
|
|
42891
|
+
_cache[3] || (_cache[3] = createElementVNode("td", { colspan: "5" }, null, -1 /* CACHED */)),
|
|
42892
|
+
createElementVNode("td", null, [
|
|
42808
42893
|
createVNode(_component_el_button, {
|
|
42809
42894
|
type: "primary",
|
|
42810
|
-
icon: "el-icon-plus",
|
|
42811
42895
|
circle: "",
|
|
42812
42896
|
size: "small",
|
|
42813
42897
|
style: {"margin-top":"20px"},
|
|
42814
42898
|
onClick: hdl.append
|
|
42815
|
-
},
|
|
42899
|
+
}, {
|
|
42900
|
+
default: withCtx(() => [
|
|
42901
|
+
createVNode(_component_el_icon, null, {
|
|
42902
|
+
default: withCtx(() => [
|
|
42903
|
+
createVNode(_component_Plus)
|
|
42904
|
+
]),
|
|
42905
|
+
_: 1 /* STABLE */
|
|
42906
|
+
})
|
|
42907
|
+
]),
|
|
42908
|
+
_: 1 /* STABLE */
|
|
42909
|
+
}, 8 /* PROPS */, ["onClick"])
|
|
42816
42910
|
])
|
|
42817
42911
|
])
|
|
42818
42912
|
])
|
|
42819
42913
|
]),
|
|
42820
|
-
|
|
42821
|
-
|
|
42914
|
+
createElementVNode("div", {
|
|
42915
|
+
style: normalizeStyle(style.line)
|
|
42916
|
+
}, null, 4 /* STYLE */),
|
|
42917
|
+
createElementVNode("div", null, [
|
|
42822
42918
|
createVNode(_component_el_button, {
|
|
42823
42919
|
type: "danger",
|
|
42824
42920
|
plain: "",
|
|
42825
42921
|
onClick: hdl.submit
|
|
42826
42922
|
}, {
|
|
42827
|
-
default: withCtx(() => [...(_cache[
|
|
42923
|
+
default: withCtx(() => [...(_cache[5] || (_cache[5] = [
|
|
42828
42924
|
createTextVNode("确认", -1 /* CACHED */)
|
|
42829
42925
|
]))]),
|
|
42830
42926
|
_: 1 /* STABLE */
|