@yoooloo42/joker 1.0.71 → 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 -145
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +240 -145
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -22455,15 +22455,15 @@ script$h.__file = "src/form/LabelBox.vue";
|
|
|
22455
22455
|
|
|
22456
22456
|
const _hoisted_1$e = { key: 12 };
|
|
22457
22457
|
const _hoisted_2$d = { key: 0 };
|
|
22458
|
-
const _hoisted_3$
|
|
22459
|
-
const _hoisted_4$
|
|
22460
|
-
const _hoisted_5$
|
|
22461
|
-
const _hoisted_6$
|
|
22462
|
-
const _hoisted_7$
|
|
22463
|
-
const _hoisted_8$
|
|
22464
|
-
const _hoisted_9$
|
|
22465
|
-
const _hoisted_10$
|
|
22466
|
-
const _hoisted_11
|
|
22458
|
+
const _hoisted_3$6 = { key: 13 };
|
|
22459
|
+
const _hoisted_4$5 = { key: 0 };
|
|
22460
|
+
const _hoisted_5$4 = { key: 14 };
|
|
22461
|
+
const _hoisted_6$4 = { key: 0 };
|
|
22462
|
+
const _hoisted_7$4 = { key: 16 };
|
|
22463
|
+
const _hoisted_8$3 = ["innerHTML"];
|
|
22464
|
+
const _hoisted_9$2 = { key: 17 };
|
|
22465
|
+
const _hoisted_10$1 = ["width", "height", "poster"];
|
|
22466
|
+
const _hoisted_11 = ["src"];
|
|
22467
22467
|
const _hoisted_12 = ["src"];
|
|
22468
22468
|
const _hoisted_13 = ["src"];
|
|
22469
22469
|
const _hoisted_14 = { key: 0 };
|
|
@@ -22989,7 +22989,7 @@ return (_ctx, _cache) => {
|
|
|
22989
22989
|
vue.createCommentVNode(" 图片&富文本&视频 "),
|
|
22990
22990
|
vue.createCommentVNode(" 图片 "),
|
|
22991
22991
|
(__props.item.inputType === 'image')
|
|
22992
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
22992
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, [
|
|
22993
22993
|
vue.createElementVNode("div", null, [
|
|
22994
22994
|
vue.createVNode(_component_el_image, {
|
|
22995
22995
|
style: vue.normalizeStyle(style.image(__props.item, __props.myProps)),
|
|
@@ -23001,7 +23001,7 @@ return (_ctx, _cache) => {
|
|
|
23001
23001
|
]),
|
|
23002
23002
|
vue.createCommentVNode(" 设置了图片删除功能,同时图片不为空 "),
|
|
23003
23003
|
(!!__props.item.imageDelete && !!__props.dataBox.fieldsValue[__props.item.fieldName])
|
|
23004
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
23004
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$5, [
|
|
23005
23005
|
vue.createVNode(_component_el_button, {
|
|
23006
23006
|
size: "small",
|
|
23007
23007
|
icon: !__props.dataBox.fieldsValue[__props.item.imageDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
@@ -23018,7 +23018,7 @@ return (_ctx, _cache) => {
|
|
|
23018
23018
|
: vue.createCommentVNode("v-if", true),
|
|
23019
23019
|
vue.createCommentVNode(" 多个图片 "),
|
|
23020
23020
|
(__props.item.inputType === 'images')
|
|
23021
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
23021
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [
|
|
23022
23022
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataBox.fieldsValue[__props.item.fieldName], (itemImages, indexImages) => {
|
|
23023
23023
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
23024
23024
|
key: indexImages,
|
|
@@ -23032,7 +23032,7 @@ return (_ctx, _cache) => {
|
|
|
23032
23032
|
}, null, 8 /* PROPS */, ["style", "src", "preview-src-list"])
|
|
23033
23033
|
]),
|
|
23034
23034
|
(!!__props.item.imageDelete)
|
|
23035
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
23035
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$4, [
|
|
23036
23036
|
vue.createVNode(_component_el_button, {
|
|
23037
23037
|
size: "small",
|
|
23038
23038
|
icon: "el-icon-delete",
|
|
@@ -23064,15 +23064,15 @@ return (_ctx, _cache) => {
|
|
|
23064
23064
|
: vue.createCommentVNode("v-if", true),
|
|
23065
23065
|
vue.createCommentVNode(" 富文本show "),
|
|
23066
23066
|
(__props.item.inputType === 'richtextShow')
|
|
23067
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$
|
|
23067
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$4, [
|
|
23068
23068
|
vue.createElementVNode("div", {
|
|
23069
23069
|
innerHTML: __props.dataBox.fieldsValue[__props.item.fieldName]
|
|
23070
|
-
}, null, 8 /* PROPS */, _hoisted_8$
|
|
23070
|
+
}, null, 8 /* PROPS */, _hoisted_8$3)
|
|
23071
23071
|
]))
|
|
23072
23072
|
: vue.createCommentVNode("v-if", true),
|
|
23073
23073
|
vue.createCommentVNode(" 视频 "),
|
|
23074
23074
|
(__props.item.inputType === 'video')
|
|
23075
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$
|
|
23075
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$2, [
|
|
23076
23076
|
vue.createElementVNode("div", null, [
|
|
23077
23077
|
vue.createElementVNode("video", {
|
|
23078
23078
|
width: style.video(__props.item, __props.myProps).width,
|
|
@@ -23083,7 +23083,7 @@ return (_ctx, _cache) => {
|
|
|
23083
23083
|
vue.createElementVNode("source", {
|
|
23084
23084
|
src: video.src,
|
|
23085
23085
|
type: "video/mp4"
|
|
23086
|
-
}, null, 8 /* PROPS */, _hoisted_11
|
|
23086
|
+
}, null, 8 /* PROPS */, _hoisted_11),
|
|
23087
23087
|
vue.createCommentVNode(" MP4/H.264/AAC - 最广泛支持 "),
|
|
23088
23088
|
vue.createElementVNode("source", {
|
|
23089
23089
|
src: video.src,
|
|
@@ -23095,7 +23095,7 @@ return (_ctx, _cache) => {
|
|
|
23095
23095
|
type: "video/ogg"
|
|
23096
23096
|
}, null, 8 /* PROPS */, _hoisted_13),
|
|
23097
23097
|
vue.createCommentVNode(" Ogg/Theora/Vorbis - 较旧的开源格式 ")
|
|
23098
|
-
], 8 /* PROPS */, _hoisted_10$
|
|
23098
|
+
], 8 /* PROPS */, _hoisted_10$1)
|
|
23099
23099
|
]),
|
|
23100
23100
|
vue.createCommentVNode(" 设置了视频删除功能,同时视频不为空 "),
|
|
23101
23101
|
(!!__props.item.videoDelete && !!__props.dataBox.fieldsValue[__props.item.fieldName])
|
|
@@ -23274,8 +23274,8 @@ script$g.__file = "src/form/InputBox.vue";
|
|
|
23274
23274
|
|
|
23275
23275
|
const _hoisted_1$d = { key: 0 };
|
|
23276
23276
|
const _hoisted_2$c = ["colspan"];
|
|
23277
|
-
const _hoisted_3$
|
|
23278
|
-
const _hoisted_4$
|
|
23277
|
+
const _hoisted_3$5 = { key: 0 };
|
|
23278
|
+
const _hoisted_4$4 = ["colspan"];
|
|
23279
23279
|
|
|
23280
23280
|
|
|
23281
23281
|
var script$f = {
|
|
@@ -23367,7 +23367,7 @@ return (_ctx, _cache) => {
|
|
|
23367
23367
|
? item2.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue)
|
|
23368
23368
|
: true
|
|
23369
23369
|
)
|
|
23370
|
-
? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_3$
|
|
23370
|
+
? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_3$5, [
|
|
23371
23371
|
(item2.label)
|
|
23372
23372
|
? (vue.openBlock(), vue.createElementBlock("td", {
|
|
23373
23373
|
key: 0,
|
|
@@ -23391,7 +23391,7 @@ return (_ctx, _cache) => {
|
|
|
23391
23391
|
dataBox: __props.dataBox,
|
|
23392
23392
|
item: item2
|
|
23393
23393
|
}, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
|
|
23394
|
-
], 12 /* STYLE, PROPS */, _hoisted_4$
|
|
23394
|
+
], 12 /* STYLE, PROPS */, _hoisted_4$4)
|
|
23395
23395
|
]))
|
|
23396
23396
|
: vue.createCommentVNode("v-if", true)
|
|
23397
23397
|
], 64 /* STABLE_FRAGMENT */))
|
|
@@ -41720,7 +41720,7 @@ var script$6 = {
|
|
|
41720
41720
|
|
|
41721
41721
|
const _hoisted_1$6 = { class: "el-upload__tip" };
|
|
41722
41722
|
const _hoisted_2$6 = ["src"];
|
|
41723
|
-
const _hoisted_3$
|
|
41723
|
+
const _hoisted_3$4 = {
|
|
41724
41724
|
key: 0,
|
|
41725
41725
|
style: {"font-size":"xx-small"}
|
|
41726
41726
|
};
|
|
@@ -41771,7 +41771,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41771
41771
|
_: 1 /* STABLE */
|
|
41772
41772
|
}, 8 /* PROPS */, ["modelValue"]),
|
|
41773
41773
|
(_ctx.fileList.length>0)
|
|
41774
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
41774
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$4, vue.toDisplayString("已上传"+_ctx.fileList.length+"个图片"), 1 /* TEXT */))
|
|
41775
41775
|
: vue.createCommentVNode("v-if", true),
|
|
41776
41776
|
(_ctx.fileList.length>0)
|
|
41777
41777
|
? (vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
@@ -41848,7 +41848,6 @@ vue.watch(() => props.myProps.value,
|
|
|
41848
41848
|
noSession: true,
|
|
41849
41849
|
storproName: 'ly0d3.gbt2260code2.init',
|
|
41850
41850
|
});
|
|
41851
|
-
console.log('测试 000', result2);
|
|
41852
41851
|
popup.select.arrCode2 = result2.arrCode2.filter(item => item.code2);
|
|
41853
41852
|
|
|
41854
41853
|
const result6 = await request.ly0.storpro({
|
|
@@ -42162,19 +42161,19 @@ const _hoisted_2$4 = {
|
|
|
42162
42161
|
class: "el-icon-edit",
|
|
42163
42162
|
style: {"color":"blue"}
|
|
42164
42163
|
};
|
|
42165
|
-
const _hoisted_3$
|
|
42166
|
-
const _hoisted_4$
|
|
42164
|
+
const _hoisted_3$3 = { key: 1 };
|
|
42165
|
+
const _hoisted_4$3 = {
|
|
42167
42166
|
key: 0,
|
|
42168
42167
|
class: "el-icon-edit",
|
|
42169
42168
|
style: {"color":"blue"}
|
|
42170
42169
|
};
|
|
42171
|
-
const _hoisted_5$
|
|
42170
|
+
const _hoisted_5$3 = {
|
|
42172
42171
|
key: 0,
|
|
42173
42172
|
class: "value-item"
|
|
42174
42173
|
};
|
|
42175
|
-
const _hoisted_6$
|
|
42176
|
-
const _hoisted_7$
|
|
42177
|
-
const _hoisted_8$
|
|
42174
|
+
const _hoisted_6$3 = { style: {"width":"100%"} };
|
|
42175
|
+
const _hoisted_7$3 = { style: {"width":"50px"} };
|
|
42176
|
+
const _hoisted_8$2 = { class: "select-submit" };
|
|
42178
42177
|
|
|
42179
42178
|
|
|
42180
42179
|
var script$4 = {
|
|
@@ -42238,17 +42237,17 @@ return (_ctx, _cache) => {
|
|
|
42238
42237
|
]),
|
|
42239
42238
|
_cache[2] || (_cache[2] = vue.createElementVNode("td", null, "[未分类]", -1 /* CACHED */))
|
|
42240
42239
|
]))
|
|
42241
|
-
: (vue.openBlock(), vue.createElementBlock("tr", _hoisted_3$
|
|
42240
|
+
: (vue.openBlock(), vue.createElementBlock("tr", _hoisted_3$3, [
|
|
42242
42241
|
vue.createElementVNode("td", null, [
|
|
42243
42242
|
(!__props.myProps.readOnly)
|
|
42244
|
-
? (vue.openBlock(), vue.createElementBlock("i", _hoisted_4$
|
|
42243
|
+
? (vue.openBlock(), vue.createElementBlock("i", _hoisted_4$3))
|
|
42245
42244
|
: vue.createCommentVNode("v-if", true)
|
|
42246
42245
|
]),
|
|
42247
42246
|
vue.createElementVNode("td", null, [
|
|
42248
42247
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(value.value, (item, index) => {
|
|
42249
42248
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
42250
42249
|
(!!item)
|
|
42251
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
42250
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$3, vue.toDisplayString(item), 1 /* TEXT */))
|
|
42252
42251
|
: vue.createCommentVNode("v-if", true)
|
|
42253
42252
|
], 64 /* STABLE_FRAGMENT */))
|
|
42254
42253
|
}), 256 /* UNKEYED_FRAGMENT */))
|
|
@@ -42267,7 +42266,7 @@ return (_ctx, _cache) => {
|
|
|
42267
42266
|
"destroy-on-close": true
|
|
42268
42267
|
}, {
|
|
42269
42268
|
default: vue.withCtx(() => [
|
|
42270
|
-
vue.createElementVNode("table", _hoisted_6$
|
|
42269
|
+
vue.createElementVNode("table", _hoisted_6$3, [
|
|
42271
42270
|
vue.createElementVNode("tbody", null, [
|
|
42272
42271
|
vue.createElementVNode("tr", null, [
|
|
42273
42272
|
vue.createElementVNode("td", null, [
|
|
@@ -42305,7 +42304,7 @@ return (_ctx, _cache) => {
|
|
|
42305
42304
|
]),
|
|
42306
42305
|
vue.createElementVNode("tr", null, [
|
|
42307
42306
|
_cache[4] || (_cache[4] = vue.createElementVNode("td", null, null, -1 /* CACHED */)),
|
|
42308
|
-
vue.createElementVNode("td", _hoisted_7$
|
|
42307
|
+
vue.createElementVNode("td", _hoisted_7$3, [
|
|
42309
42308
|
vue.createVNode(_component_el_button, {
|
|
42310
42309
|
type: "primary",
|
|
42311
42310
|
circle: "",
|
|
@@ -42328,7 +42327,7 @@ return (_ctx, _cache) => {
|
|
|
42328
42327
|
])
|
|
42329
42328
|
]),
|
|
42330
42329
|
_cache[6] || (_cache[6] = vue.createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
|
|
42331
|
-
vue.createElementVNode("div", _hoisted_8$
|
|
42330
|
+
vue.createElementVNode("div", _hoisted_8$2, [
|
|
42332
42331
|
vue.createVNode(_component_el_button, {
|
|
42333
42332
|
type: "danger",
|
|
42334
42333
|
plain: "",
|
|
@@ -42358,17 +42357,17 @@ const _hoisted_2$3 = {
|
|
|
42358
42357
|
class: "el-icon-edit",
|
|
42359
42358
|
style: {"color":"blue"}
|
|
42360
42359
|
};
|
|
42361
|
-
const _hoisted_3$
|
|
42360
|
+
const _hoisted_3$2 = {
|
|
42362
42361
|
key: 0,
|
|
42363
42362
|
class: "el-icon-edit",
|
|
42364
42363
|
style: {"color":"blue"}
|
|
42365
42364
|
};
|
|
42366
|
-
const _hoisted_4$
|
|
42367
|
-
const _hoisted_5$
|
|
42368
|
-
const _hoisted_6$
|
|
42369
|
-
const _hoisted_7$
|
|
42370
|
-
const _hoisted_8$
|
|
42371
|
-
const _hoisted_9$
|
|
42365
|
+
const _hoisted_4$2 = { class: "item-value" };
|
|
42366
|
+
const _hoisted_5$2 = { class: "item-value" };
|
|
42367
|
+
const _hoisted_6$2 = { class: "item-value" };
|
|
42368
|
+
const _hoisted_7$2 = { class: "item-value" };
|
|
42369
|
+
const _hoisted_8$1 = { style: {"width":"100%"} };
|
|
42370
|
+
const _hoisted_9$1 = { class: "select-submit" };
|
|
42372
42371
|
|
|
42373
42372
|
|
|
42374
42373
|
var script$3 = {
|
|
@@ -42459,7 +42458,7 @@ return (_ctx, _cache) => {
|
|
|
42459
42458
|
return (vue.openBlock(), vue.createElementBlock("tr", { key: index }, [
|
|
42460
42459
|
vue.createElementVNode("td", null, [
|
|
42461
42460
|
(!__props.myProps.readOnly && index === 0)
|
|
42462
|
-
? (vue.openBlock(), vue.createElementBlock("i", _hoisted_3$
|
|
42461
|
+
? (vue.openBlock(), vue.createElementBlock("i", _hoisted_3$2))
|
|
42463
42462
|
: vue.createCommentVNode("v-if", true)
|
|
42464
42463
|
]),
|
|
42465
42464
|
vue.createElementVNode("td", null, [
|
|
@@ -42467,19 +42466,19 @@ return (_ctx, _cache) => {
|
|
|
42467
42466
|
vue.createElementVNode("tbody", null, [
|
|
42468
42467
|
vue.createElementVNode("tr", null, [
|
|
42469
42468
|
_cache[3] || (_cache[3] = vue.createElementVNode("td", { class: "item-label" }, "国内行政区划", -1 /* CACHED */)),
|
|
42470
|
-
vue.createElementVNode("td", _hoisted_4$
|
|
42469
|
+
vue.createElementVNode("td", _hoisted_4$2, vue.toDisplayString(item.gbt2260text), 1 /* TEXT */)
|
|
42471
42470
|
]),
|
|
42472
42471
|
vue.createElementVNode("tr", null, [
|
|
42473
42472
|
_cache[4] || (_cache[4] = vue.createElementVNode("td", { class: "item-label" }, "详细地址", -1 /* CACHED */)),
|
|
42474
|
-
vue.createElementVNode("td", _hoisted_5$
|
|
42473
|
+
vue.createElementVNode("td", _hoisted_5$2, vue.toDisplayString(item.address), 1 /* TEXT */)
|
|
42475
42474
|
]),
|
|
42476
42475
|
vue.createElementVNode("tr", null, [
|
|
42477
42476
|
_cache[5] || (_cache[5] = vue.createElementVNode("td", { class: "item-label" }, "联系电话", -1 /* CACHED */)),
|
|
42478
|
-
vue.createElementVNode("td", _hoisted_6$
|
|
42477
|
+
vue.createElementVNode("td", _hoisted_6$2, vue.toDisplayString(item.tel), 1 /* TEXT */)
|
|
42479
42478
|
]),
|
|
42480
42479
|
vue.createElementVNode("tr", null, [
|
|
42481
42480
|
_cache[6] || (_cache[6] = vue.createElementVNode("td", { class: "item-label" }, "联系人", -1 /* CACHED */)),
|
|
42482
|
-
vue.createElementVNode("td", _hoisted_7$
|
|
42481
|
+
vue.createElementVNode("td", _hoisted_7$2, vue.toDisplayString(item.name), 1 /* TEXT */)
|
|
42483
42482
|
])
|
|
42484
42483
|
])
|
|
42485
42484
|
])
|
|
@@ -42499,7 +42498,7 @@ return (_ctx, _cache) => {
|
|
|
42499
42498
|
"destroy-on-close": true
|
|
42500
42499
|
}, {
|
|
42501
42500
|
default: vue.withCtx(() => [
|
|
42502
|
-
vue.createElementVNode("table", _hoisted_8$
|
|
42501
|
+
vue.createElementVNode("table", _hoisted_8$1, [
|
|
42503
42502
|
vue.createElementVNode("tbody", null, [
|
|
42504
42503
|
_cache[11] || (_cache[11] = vue.createElementVNode("tr", null, [
|
|
42505
42504
|
vue.createElementVNode("th", null, "国内行政区划"),
|
|
@@ -42569,7 +42568,7 @@ return (_ctx, _cache) => {
|
|
|
42569
42568
|
])
|
|
42570
42569
|
]),
|
|
42571
42570
|
_cache[13] || (_cache[13] = vue.createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
|
|
42572
|
-
vue.createElementVNode("div", _hoisted_9$
|
|
42571
|
+
vue.createElementVNode("div", _hoisted_9$1, [
|
|
42573
42572
|
vue.createVNode(_component_el_button, {
|
|
42574
42573
|
type: "danger",
|
|
42575
42574
|
plain: "",
|
|
@@ -42598,70 +42597,59 @@ var _imports_0$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAA
|
|
|
42598
42597
|
var _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAEeRJREFUeF7tnUt2HEcORbM4lbUmUztpe9DuXVjahaSBrJ2YXlOrpyyfLDPVqWJ+4gMgEIGriX0O43sBvAAis6ouE/8gUEjgv//6z+Plcv39er18ePv141PhMHRrSODScG6m7pTAEvjTZXqct3B9vrxDAPo0JgLQp93MVz0H/cPD88/X6+VxCfxlET99+YQfmVtEZkIMJ8Nx2FHuT/utjSIA/ZofAejXdqorTwl8MgBVE5gMjgCYYO5nkpzAv+3qOj399Mend/3skJWuCSAA+MONwP9+/fd8m/+qvj/FgwCcIvLcAAHwbB2Dtd0Cf7q8L54KAShG56EjAuDBCg3WUB34L2u+TNf3b758/tBgC0wpQAABEIDY0xBSgb/sGQHoyfqv14oA9G2/5NVLBz4CkIzedUMEwLV56heXfaufOSUZQCYwZ80RAGcGkVqOduCTAUhZqu04CEBb/uKzWwX+snA+ByBuQtMBEQBT3LqTffvltz/v39P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A8Xkmtv18g8qnEJF7Zja7T7Us1vX3BZvY+HHRAAAyMsAjCzWl5vJhPnIDPZ5bYAwFIBCXZ7AdBIEv4Ee0q2KnhJb1ueywEQJ9x8gzLPcJLejv2l5oQ6Ml+odkQAdCkKzT2OmPoShxegnxe83JJx6ku5BRCwyAAQiBbDjMLxDz//Obieh23r0bb+pf7wyqrQF6GmwN6+f/59n35f27hW3pC/tx/AwGGn4jHVHwsAAAAAElFTkSuQmCC";
|
|
42599
42598
|
|
|
42600
42599
|
const _hoisted_1$2 = { key: 0 };
|
|
42601
|
-
const _hoisted_2$2 = {
|
|
42602
|
-
key: 0,
|
|
42603
|
-
class: "el-icon-edit",
|
|
42604
|
-
style: {"color":"blue"}
|
|
42605
|
-
};
|
|
42606
|
-
const _hoisted_3$2 = {
|
|
42607
|
-
key: 0,
|
|
42608
|
-
class: "el-icon-edit",
|
|
42609
|
-
style: {"color":"blue"}
|
|
42610
|
-
};
|
|
42611
|
-
const _hoisted_4$2 = {
|
|
42612
|
-
key: 0,
|
|
42613
|
-
class: "value-name"
|
|
42614
|
-
};
|
|
42615
|
-
const _hoisted_5$2 = {
|
|
42616
|
-
key: 1,
|
|
42617
|
-
class: "value-name-empty"
|
|
42618
|
-
};
|
|
42619
|
-
const _hoisted_6$2 = { class: "value-price" };
|
|
42620
|
-
const _hoisted_7$2 = {
|
|
42621
|
-
key: 2,
|
|
42622
|
-
class: "value-member",
|
|
42623
|
-
src: _imports_0$1
|
|
42624
|
-
};
|
|
42625
|
-
const _hoisted_8$1 = {
|
|
42626
|
-
key: 3,
|
|
42627
|
-
class: "value-hot",
|
|
42628
|
-
src: _imports_1
|
|
42629
|
-
};
|
|
42630
|
-
const _hoisted_9$1 = { class: "value-note" };
|
|
42631
|
-
const _hoisted_10$1 = { style: {"width":"100%"} };
|
|
42632
|
-
const _hoisted_11 = { class: "select-submit" };
|
|
42600
|
+
const _hoisted_2$2 = { style: {"width":"100%"} };
|
|
42633
42601
|
|
|
42602
|
+
// 遵循 Vue 3 v-model 规范,使用 modelValue
|
|
42634
42603
|
|
|
42635
42604
|
var script$2 = {
|
|
42636
42605
|
__name: 'index',
|
|
42637
|
-
props:
|
|
42638
|
-
|
|
42606
|
+
props: {
|
|
42607
|
+
// modelValue: 外部 v-model 绑定的值
|
|
42608
|
+
modelValue: {
|
|
42609
|
+
type: Array,
|
|
42610
|
+
default: () => []
|
|
42611
|
+
},
|
|
42612
|
+
myProps: {
|
|
42613
|
+
readOnly: {
|
|
42614
|
+
type: Boolean,
|
|
42615
|
+
default: false
|
|
42616
|
+
},
|
|
42617
|
+
_id: [String, Number] // 允许传入一个 _id 用于回传,可选
|
|
42618
|
+
}
|
|
42619
|
+
|
|
42620
|
+
},
|
|
42621
|
+
emits: ['update:modelValue', 'change'],
|
|
42639
42622
|
setup(__props, { emit: __emit }) {
|
|
42640
42623
|
|
|
42641
42624
|
const props = __props;
|
|
42625
|
+
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
42642
42626
|
const emit = __emit;
|
|
42643
42627
|
|
|
42644
|
-
const value = vue.
|
|
42628
|
+
const value = vue.computed(() => props.modelValue || []);
|
|
42629
|
+
const nameEmpty = vue.ref('[未设置标价名称]');
|
|
42630
|
+
|
|
42645
42631
|
const popup = vue.ref({
|
|
42646
42632
|
visible: false,
|
|
42647
|
-
value:
|
|
42633
|
+
value: []
|
|
42648
42634
|
});
|
|
42649
|
-
const nameEmpty = vue.ref('[未设置标价名称]');
|
|
42650
42635
|
|
|
42651
42636
|
const hdl = {
|
|
42652
42637
|
popup() {
|
|
42653
|
-
if (
|
|
42654
|
-
|
|
42655
|
-
popup.value.value.forEach(i => {
|
|
42656
|
-
i.price = Math.floor(i.price) / 100;
|
|
42657
|
-
});
|
|
42658
|
-
popup.value.visible = true;
|
|
42638
|
+
if (props.myProps.readOnly) {
|
|
42639
|
+
return
|
|
42659
42640
|
}
|
|
42641
|
+
const copiedValue = JSON.parse(JSON.stringify(value.value));
|
|
42642
|
+
popup.value.value = copiedValue.map(item => ({
|
|
42643
|
+
...item,
|
|
42644
|
+
// 价格从“分”转换为“元”
|
|
42645
|
+
price: item.price / 100
|
|
42646
|
+
}));
|
|
42647
|
+
popup.value.visible = true;
|
|
42660
42648
|
},
|
|
42661
42649
|
append() {
|
|
42662
42650
|
popup.value.value.push({
|
|
42663
42651
|
name: '',
|
|
42664
|
-
price: 0,
|
|
42652
|
+
price: 0, // 初始价格为 0 元
|
|
42665
42653
|
member: false,
|
|
42666
42654
|
hot: false,
|
|
42667
42655
|
note: '',
|
|
@@ -42670,23 +42658,71 @@ const hdl = {
|
|
|
42670
42658
|
delete(index) {
|
|
42671
42659
|
popup.value.value.splice(index, 1);
|
|
42672
42660
|
},
|
|
42673
|
-
|
|
42674
|
-
|
|
42675
|
-
|
|
42676
|
-
|
|
42677
|
-
|
|
42678
|
-
emit("get-value", {
|
|
42679
|
-
value: JSON.parse(JSON.stringify(popup.value.value)),
|
|
42680
|
-
_id: props.myProps._id ?? null
|
|
42661
|
+
submit() {
|
|
42662
|
+
const submittingValue = JSON.parse(JSON.stringify(popup.value.value));
|
|
42663
|
+
submittingValue.forEach(item => {
|
|
42664
|
+
// 确保 price 是数字,然后转为“分”
|
|
42665
|
+
item.price = Math.floor(Number(item.price) * 100);
|
|
42681
42666
|
});
|
|
42667
|
+
// 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
|
|
42668
|
+
emit("update:modelValue", submittingValue);
|
|
42682
42669
|
popup.value.visible = false;
|
|
42683
42670
|
},
|
|
42684
42671
|
};
|
|
42685
42672
|
|
|
42673
|
+
const style = vue.reactive({
|
|
42674
|
+
value: {
|
|
42675
|
+
name: {},
|
|
42676
|
+
name_empty: {
|
|
42677
|
+
color: '#919191'
|
|
42678
|
+
},
|
|
42679
|
+
price: {
|
|
42680
|
+
'margin-left': '10px',
|
|
42681
|
+
color: 'blue'
|
|
42682
|
+
},
|
|
42683
|
+
member: {
|
|
42684
|
+
'margin-left': '10px',
|
|
42685
|
+
width: '32px',
|
|
42686
|
+
height: '32px'
|
|
42687
|
+
},
|
|
42688
|
+
hot: {
|
|
42689
|
+
'margin-left': '10px',
|
|
42690
|
+
width: '20px',
|
|
42691
|
+
height: '20px'
|
|
42692
|
+
},
|
|
42693
|
+
note: {
|
|
42694
|
+
'margin-left': '10px'
|
|
42695
|
+
}
|
|
42696
|
+
},
|
|
42697
|
+
input: {
|
|
42698
|
+
name: {
|
|
42699
|
+
width: '200px',
|
|
42700
|
+
'margin-bottom': '10px'
|
|
42701
|
+
},
|
|
42702
|
+
price: {
|
|
42703
|
+
width: '120px'
|
|
42704
|
+
},
|
|
42705
|
+
note: {
|
|
42706
|
+
width: '200px'
|
|
42707
|
+
}
|
|
42708
|
+
},
|
|
42709
|
+
line: {
|
|
42710
|
+
height: '1px',
|
|
42711
|
+
'background-color': '#6a6a6a',
|
|
42712
|
+
'margin-top': '10px',
|
|
42713
|
+
'margin-bottom': '10px'
|
|
42714
|
+
}
|
|
42715
|
+
});
|
|
42716
|
+
|
|
42686
42717
|
return (_ctx, _cache) => {
|
|
42718
|
+
const _component_Edit = vue.resolveComponent("Edit");
|
|
42719
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
42687
42720
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
42721
|
+
const _component_el_input_number = vue.resolveComponent("el-input-number");
|
|
42688
42722
|
const _component_el_switch = vue.resolveComponent("el-switch");
|
|
42723
|
+
const _component_Delete = vue.resolveComponent("Delete");
|
|
42689
42724
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
42725
|
+
const _component_Plus = vue.resolveComponent("Plus");
|
|
42690
42726
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
42691
42727
|
|
|
42692
42728
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -42698,34 +42734,74 @@ return (_ctx, _cache) => {
|
|
|
42698
42734
|
? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$2, [
|
|
42699
42735
|
vue.createElementVNode("td", null, [
|
|
42700
42736
|
(!__props.myProps.readOnly)
|
|
42701
|
-
? (vue.openBlock(), vue.
|
|
42737
|
+
? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
42738
|
+
key: 0,
|
|
42739
|
+
class: "edit-icon",
|
|
42740
|
+
size: 16,
|
|
42741
|
+
color: "blue"
|
|
42742
|
+
}, {
|
|
42743
|
+
default: vue.withCtx(() => [
|
|
42744
|
+
vue.createVNode(_component_Edit)
|
|
42745
|
+
]),
|
|
42746
|
+
_: 1 /* STABLE */
|
|
42747
|
+
}))
|
|
42702
42748
|
: vue.createCommentVNode("v-if", true)
|
|
42703
42749
|
]),
|
|
42704
42750
|
_cache[2] || (_cache[2] = vue.createElementVNode("td", null, "[未标价]", -1 /* CACHED */))
|
|
42705
42751
|
]))
|
|
42706
42752
|
: vue.createCommentVNode("v-if", true),
|
|
42707
42753
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(value.value, (item, index) => {
|
|
42708
|
-
return (vue.openBlock(), vue.createElementBlock("tr",
|
|
42754
|
+
return (vue.openBlock(), vue.createElementBlock("tr", { key: index }, [
|
|
42709
42755
|
vue.createElementVNode("td", null, [
|
|
42710
42756
|
(!__props.myProps.readOnly && index === 0)
|
|
42711
|
-
? (vue.openBlock(), vue.
|
|
42757
|
+
? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
42758
|
+
key: 0,
|
|
42759
|
+
class: "edit-icon",
|
|
42760
|
+
size: 16,
|
|
42761
|
+
color: "blue"
|
|
42762
|
+
}, {
|
|
42763
|
+
default: vue.withCtx(() => [
|
|
42764
|
+
vue.createVNode(_component_Edit)
|
|
42765
|
+
]),
|
|
42766
|
+
_: 1 /* STABLE */
|
|
42767
|
+
}))
|
|
42712
42768
|
: vue.createCommentVNode("v-if", true)
|
|
42713
42769
|
]),
|
|
42714
42770
|
vue.createElementVNode("td", null, [
|
|
42715
42771
|
(!!item.name)
|
|
42716
|
-
? (vue.openBlock(), vue.createElementBlock("span",
|
|
42717
|
-
|
|
42718
|
-
|
|
42772
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
42773
|
+
key: 0,
|
|
42774
|
+
style: vue.normalizeStyle(style.value.name)
|
|
42775
|
+
}, vue.toDisplayString(item.name), 5 /* TEXT, STYLE */))
|
|
42776
|
+
: (vue.openBlock(), vue.createElementBlock("span", {
|
|
42777
|
+
key: 1,
|
|
42778
|
+
style: vue.normalizeStyle(style.value.name_empty)
|
|
42779
|
+
}, vue.toDisplayString(nameEmpty.value), 5 /* TEXT, STYLE */)),
|
|
42780
|
+
vue.createElementVNode("span", {
|
|
42781
|
+
style: vue.normalizeStyle(style.value.price)
|
|
42782
|
+
}, "¥" + vue.toDisplayString((item.price / 100).toFixed(2)), 5 /* TEXT, STYLE */),
|
|
42719
42783
|
(!!item.member)
|
|
42720
|
-
? (vue.openBlock(), vue.createElementBlock("img",
|
|
42784
|
+
? (vue.openBlock(), vue.createElementBlock("img", {
|
|
42785
|
+
key: 2,
|
|
42786
|
+
style: vue.normalizeStyle(style.value.member),
|
|
42787
|
+
src: _imports_0$1,
|
|
42788
|
+
alt: "会员"
|
|
42789
|
+
}, null, 4 /* STYLE */))
|
|
42721
42790
|
: vue.createCommentVNode("v-if", true),
|
|
42722
42791
|
(!!item.hot)
|
|
42723
|
-
? (vue.openBlock(), vue.createElementBlock("img",
|
|
42792
|
+
? (vue.openBlock(), vue.createElementBlock("img", {
|
|
42793
|
+
key: 3,
|
|
42794
|
+
style: vue.normalizeStyle(style.value.hot),
|
|
42795
|
+
src: _imports_1,
|
|
42796
|
+
alt: "热点"
|
|
42797
|
+
}, null, 4 /* STYLE */))
|
|
42724
42798
|
: vue.createCommentVNode("v-if", true),
|
|
42725
|
-
vue.createElementVNode("span",
|
|
42799
|
+
vue.createElementVNode("span", {
|
|
42800
|
+
style: vue.normalizeStyle(style.value.note)
|
|
42801
|
+
}, vue.toDisplayString(item.note || ''), 5 /* TEXT, STYLE */)
|
|
42726
42802
|
])
|
|
42727
42803
|
]))
|
|
42728
|
-
}),
|
|
42804
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
42729
42805
|
])
|
|
42730
42806
|
]),
|
|
42731
42807
|
vue.createVNode(_component_el_dialog, {
|
|
@@ -42739,33 +42815,36 @@ return (_ctx, _cache) => {
|
|
|
42739
42815
|
"destroy-on-close": true
|
|
42740
42816
|
}, {
|
|
42741
42817
|
default: vue.withCtx(() => [
|
|
42742
|
-
vue.createElementVNode("table",
|
|
42818
|
+
vue.createElementVNode("table", _hoisted_2$2, [
|
|
42743
42819
|
vue.createElementVNode("tbody", null, [
|
|
42744
|
-
_cache[
|
|
42820
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("tr", null, [
|
|
42745
42821
|
vue.createElementVNode("th", null, "标价名称"),
|
|
42746
|
-
vue.createElementVNode("th", null, "
|
|
42822
|
+
vue.createElementVNode("th", null, "单价(元)"),
|
|
42747
42823
|
vue.createElementVNode("th", null, "会员标注"),
|
|
42748
42824
|
vue.createElementVNode("th", null, "热点标注"),
|
|
42749
42825
|
vue.createElementVNode("th", null, "备注"),
|
|
42750
42826
|
vue.createElementVNode("th")
|
|
42751
42827
|
], -1 /* CACHED */)),
|
|
42752
42828
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(popup.value.value, (item, index) => {
|
|
42753
|
-
return (vue.openBlock(), vue.createElementBlock("tr",
|
|
42754
|
-
vue.createElementVNode("
|
|
42829
|
+
return (vue.openBlock(), vue.createElementBlock("tr", { key: index }, [
|
|
42830
|
+
vue.createElementVNode("td", null, [
|
|
42755
42831
|
vue.createVNode(_component_el_input, {
|
|
42756
|
-
|
|
42832
|
+
style: vue.normalizeStyle(style.input.name),
|
|
42757
42833
|
modelValue: item.name,
|
|
42758
42834
|
"onUpdate:modelValue": $event => ((item.name) = $event)
|
|
42759
|
-
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42835
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42760
42836
|
]),
|
|
42761
|
-
vue.createElementVNode("
|
|
42762
|
-
vue.createVNode(
|
|
42763
|
-
|
|
42837
|
+
vue.createElementVNode("td", null, [
|
|
42838
|
+
vue.createVNode(_component_el_input_number, {
|
|
42839
|
+
style: vue.normalizeStyle(style.input.price),
|
|
42764
42840
|
modelValue: item.price,
|
|
42765
|
-
"onUpdate:modelValue": $event => ((item.price) = $event)
|
|
42766
|
-
|
|
42841
|
+
"onUpdate:modelValue": $event => ((item.price) = $event),
|
|
42842
|
+
min: 0,
|
|
42843
|
+
precision: 2,
|
|
42844
|
+
"controls-position": "right"
|
|
42845
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42767
42846
|
]),
|
|
42768
|
-
vue.createElementVNode("
|
|
42847
|
+
vue.createElementVNode("td", null, [
|
|
42769
42848
|
vue.createVNode(_component_el_switch, {
|
|
42770
42849
|
modelValue: item.member,
|
|
42771
42850
|
"onUpdate:modelValue": $event => ((item.member) = $event),
|
|
@@ -42775,7 +42854,7 @@ return (_ctx, _cache) => {
|
|
|
42775
42854
|
"inactive-value": false
|
|
42776
42855
|
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42777
42856
|
]),
|
|
42778
|
-
vue.createElementVNode("
|
|
42857
|
+
vue.createElementVNode("td", null, [
|
|
42779
42858
|
vue.createVNode(_component_el_switch, {
|
|
42780
42859
|
modelValue: item.hot,
|
|
42781
42860
|
"onUpdate:modelValue": $event => ((item.hot) = $event),
|
|
@@ -42785,51 +42864,67 @@ return (_ctx, _cache) => {
|
|
|
42785
42864
|
"inactive-value": false
|
|
42786
42865
|
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42787
42866
|
]),
|
|
42788
|
-
vue.createElementVNode("
|
|
42867
|
+
vue.createElementVNode("td", null, [
|
|
42789
42868
|
vue.createVNode(_component_el_input, {
|
|
42790
|
-
|
|
42869
|
+
style: vue.normalizeStyle(style.input.note),
|
|
42791
42870
|
modelValue: item.note,
|
|
42792
42871
|
"onUpdate:modelValue": $event => ((item.note) = $event)
|
|
42793
|
-
}, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])
|
|
42872
|
+
}, null, 8 /* PROPS */, ["style", "modelValue", "onUpdate:modelValue"])
|
|
42794
42873
|
]),
|
|
42795
|
-
vue.createElementVNode("
|
|
42874
|
+
vue.createElementVNode("td", null, [
|
|
42796
42875
|
vue.createVNode(_component_el_button, {
|
|
42797
42876
|
type: "danger",
|
|
42798
|
-
icon: "el-icon-delete",
|
|
42799
42877
|
circle: "",
|
|
42800
42878
|
size: "small",
|
|
42801
42879
|
onClick: $event => (hdl.delete(index))
|
|
42802
|
-
},
|
|
42880
|
+
}, {
|
|
42881
|
+
default: vue.withCtx(() => [
|
|
42882
|
+
vue.createVNode(_component_el_icon, null, {
|
|
42883
|
+
default: vue.withCtx(() => [
|
|
42884
|
+
vue.createVNode(_component_Delete)
|
|
42885
|
+
]),
|
|
42886
|
+
_: 1 /* STABLE */
|
|
42887
|
+
})
|
|
42888
|
+
]),
|
|
42889
|
+
_: 1 /* STABLE */
|
|
42890
|
+
}, 8 /* PROPS */, ["onClick"])
|
|
42803
42891
|
])
|
|
42804
42892
|
]))
|
|
42805
|
-
}),
|
|
42893
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
42806
42894
|
vue.createElementVNode("tr", null, [
|
|
42807
|
-
_cache[3] || (_cache[3] = vue.createElementVNode("
|
|
42808
|
-
|
|
42809
|
-
_cache[5] || (_cache[5] = vue.createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42810
|
-
_cache[6] || (_cache[6] = vue.createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42811
|
-
_cache[7] || (_cache[7] = vue.createElementVNode("th", null, null, -1 /* CACHED */)),
|
|
42812
|
-
vue.createElementVNode("th", null, [
|
|
42895
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("td", { colspan: "5" }, null, -1 /* CACHED */)),
|
|
42896
|
+
vue.createElementVNode("td", null, [
|
|
42813
42897
|
vue.createVNode(_component_el_button, {
|
|
42814
42898
|
type: "primary",
|
|
42815
|
-
icon: "el-icon-plus",
|
|
42816
42899
|
circle: "",
|
|
42817
42900
|
size: "small",
|
|
42818
42901
|
style: {"margin-top":"20px"},
|
|
42819
42902
|
onClick: hdl.append
|
|
42820
|
-
},
|
|
42903
|
+
}, {
|
|
42904
|
+
default: vue.withCtx(() => [
|
|
42905
|
+
vue.createVNode(_component_el_icon, null, {
|
|
42906
|
+
default: vue.withCtx(() => [
|
|
42907
|
+
vue.createVNode(_component_Plus)
|
|
42908
|
+
]),
|
|
42909
|
+
_: 1 /* STABLE */
|
|
42910
|
+
})
|
|
42911
|
+
]),
|
|
42912
|
+
_: 1 /* STABLE */
|
|
42913
|
+
}, 8 /* PROPS */, ["onClick"])
|
|
42821
42914
|
])
|
|
42822
42915
|
])
|
|
42823
42916
|
])
|
|
42824
42917
|
]),
|
|
42825
|
-
|
|
42826
|
-
|
|
42918
|
+
vue.createElementVNode("div", {
|
|
42919
|
+
style: vue.normalizeStyle(style.line)
|
|
42920
|
+
}, null, 4 /* STYLE */),
|
|
42921
|
+
vue.createElementVNode("div", null, [
|
|
42827
42922
|
vue.createVNode(_component_el_button, {
|
|
42828
42923
|
type: "danger",
|
|
42829
42924
|
plain: "",
|
|
42830
42925
|
onClick: hdl.submit
|
|
42831
42926
|
}, {
|
|
42832
|
-
default: vue.withCtx(() => [...(_cache[
|
|
42927
|
+
default: vue.withCtx(() => [...(_cache[5] || (_cache[5] = [
|
|
42833
42928
|
vue.createTextVNode("确认", -1 /* CACHED */)
|
|
42834
42929
|
]))]),
|
|
42835
42930
|
_: 1 /* STABLE */
|