xyvcard-paper-buyer 0.0.11 → 0.0.13
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/{applyEdit-D38xp4fr.mjs → applyEdit-u3SPAGEW.mjs} +1 -1
- package/dist/{index-1iQKY0yJ.mjs → index-CT0KG-ax.mjs} +494 -512
- package/dist/{index-BrIvEMDo.mjs → index-DgoiWRx7.mjs} +1 -1
- package/dist/index-PoARbGVn.mjs +355 -0
- package/dist/index.mjs +2 -2
- package/dist/{info-BRVKRWmR.mjs → info-CVaS8hdZ.mjs} +1 -1
- package/dist/{orderPaper-_2Kq65vV.mjs → orderPaper-C6ua3CNE.mjs} +15 -15
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/index-BmhkFkvJ.mjs +0 -320
package/dist/index-BmhkFkvJ.mjs
DELETED
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Z, ref as U, reactive as A, onActivated as x, resolveComponent as a, resolveDirective as ee, createElementBlock as $, openBlock as m, createElementVNode as I, createVNode as t, createBlock as h, createCommentVNode as E, withCtx as l, withKeys as R, unref as r, createTextVNode as u, toDisplayString as p, withDirectives as g, isRef as T } from "vue";
|
|
2
|
-
import { useTableHooks as oe } from "jmash-core";
|
|
3
|
-
import { useI18n as te } from "vue-i18n";
|
|
4
|
-
import { o as le } from "./index-CIhWvEaK.mjs";
|
|
5
|
-
import ne from "./edit-DT79EUCr.mjs";
|
|
6
|
-
import { useRouter as re } from "vue-router";
|
|
7
|
-
const ae = { class: "app-container" }, se = { class: "search-container" }, de = ["onClick"], ie = ["onClick"], ve = /* @__PURE__ */ Z({
|
|
8
|
-
__name: "index",
|
|
9
|
-
setup(me) {
|
|
10
|
-
const { t: f } = te();
|
|
11
|
-
re();
|
|
12
|
-
const d = U({}), {
|
|
13
|
-
tableHooks: s,
|
|
14
|
-
multipleTableRef: S,
|
|
15
|
-
queryFormRef: j,
|
|
16
|
-
listLoading: z,
|
|
17
|
-
tableData: D,
|
|
18
|
-
total: _
|
|
19
|
-
} = oe(f, le, d);
|
|
20
|
-
let c = U([
|
|
21
|
-
{
|
|
22
|
-
label: "orderUserAddress.note",
|
|
23
|
-
prop: "note",
|
|
24
|
-
minWidth: "150",
|
|
25
|
-
sortable: "custom",
|
|
26
|
-
isColumn: !0
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
label: "orderUserAddress.userName",
|
|
30
|
-
prop: "userName",
|
|
31
|
-
width: "150",
|
|
32
|
-
sortable: "custom",
|
|
33
|
-
isColumn: !0
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
label: "orderUserAddress.mobilePhone",
|
|
37
|
-
prop: "mobilePhoneIns",
|
|
38
|
-
slotName: "mobileIns",
|
|
39
|
-
columnType: "slot",
|
|
40
|
-
width: "150",
|
|
41
|
-
sortable: "custom",
|
|
42
|
-
isColumn: !0
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
label: "orderUserAddress.detailInfo",
|
|
46
|
-
prop: "detailInfo",
|
|
47
|
-
minWidth: "150",
|
|
48
|
-
sortable: "custom",
|
|
49
|
-
isColumn: !0
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
label: "orderUserAddress.listOrder",
|
|
53
|
-
width: "60",
|
|
54
|
-
columnType: "slot",
|
|
55
|
-
slotName: "listOrder",
|
|
56
|
-
isColumn: !0
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
label: "common.operate",
|
|
60
|
-
width: "100",
|
|
61
|
-
slotName: "operation",
|
|
62
|
-
columnType: "slot",
|
|
63
|
-
fixed: "right",
|
|
64
|
-
isColumn: !0
|
|
65
|
-
}
|
|
66
|
-
]);
|
|
67
|
-
const i = U({
|
|
68
|
-
title: f("common.edit"),
|
|
69
|
-
visible: !1
|
|
70
|
-
});
|
|
71
|
-
function q(n) {
|
|
72
|
-
n.mobileEncrypt = !n.mobileEncrypt;
|
|
73
|
-
}
|
|
74
|
-
let C = A({});
|
|
75
|
-
function B() {
|
|
76
|
-
C = A({}), i.value.title = f("common.add"), i.value.visible = !0;
|
|
77
|
-
}
|
|
78
|
-
function L(n) {
|
|
79
|
-
C.addressId = n.addressId, i.value.title = f("common.edit"), i.value.visible = !0;
|
|
80
|
-
}
|
|
81
|
-
function K(n) {
|
|
82
|
-
s.selectionRows.value = n;
|
|
83
|
-
}
|
|
84
|
-
function Q(n) {
|
|
85
|
-
s.handleSort(n.prop, n.order);
|
|
86
|
-
}
|
|
87
|
-
function O(n) {
|
|
88
|
-
n && s.getList();
|
|
89
|
-
}
|
|
90
|
-
return x(() => {
|
|
91
|
-
s.getList();
|
|
92
|
-
}), (n, o) => {
|
|
93
|
-
const N = a("el-input"), w = a("el-form-item"), b = a("el-col"), v = a("el-button"), V = a("el-row"), F = a("el-form"), H = a("jmash-column-select"), M = a("jmash-mobileIns-component"), W = a("Bottom"), P = a("el-icon"), G = a("Top"), J = a("jmash-table"), X = a("jmash-pagination"), Y = a("el-card"), y = ee("hasPerm");
|
|
94
|
-
return m(), $("div", ae, [
|
|
95
|
-
I("div", se, [
|
|
96
|
-
t(F, {
|
|
97
|
-
ref_key: "queryFormRef",
|
|
98
|
-
ref: j,
|
|
99
|
-
model: d.value,
|
|
100
|
-
inline: !0
|
|
101
|
-
}, {
|
|
102
|
-
default: l(() => [
|
|
103
|
-
t(V, null, {
|
|
104
|
-
default: l(() => [
|
|
105
|
-
t(b, { span: 6 }, {
|
|
106
|
-
default: l(() => [
|
|
107
|
-
t(w, {
|
|
108
|
-
label: n.$t("orderUserAddress.note"),
|
|
109
|
-
prop: "likeNote"
|
|
110
|
-
}, {
|
|
111
|
-
default: l(() => [
|
|
112
|
-
t(N, {
|
|
113
|
-
modelValue: d.value.likeNote,
|
|
114
|
-
"onUpdate:modelValue": o[0] || (o[0] = (e) => d.value.likeNote = e),
|
|
115
|
-
placeholder: n.$t("orderUserAddress.noteRequired"),
|
|
116
|
-
onKeyup: o[1] || (o[1] = R((e) => r(s).handleQuery(), ["enter"])),
|
|
117
|
-
class: "!w-[203px]"
|
|
118
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
119
|
-
]),
|
|
120
|
-
_: 1
|
|
121
|
-
}, 8, ["label"])
|
|
122
|
-
]),
|
|
123
|
-
_: 1
|
|
124
|
-
}),
|
|
125
|
-
t(b, { span: 6 }, {
|
|
126
|
-
default: l(() => [
|
|
127
|
-
t(w, {
|
|
128
|
-
label: n.$t("orderUserAddress.userName"),
|
|
129
|
-
prop: "likeUserName"
|
|
130
|
-
}, {
|
|
131
|
-
default: l(() => [
|
|
132
|
-
t(N, {
|
|
133
|
-
modelValue: d.value.likeUserName,
|
|
134
|
-
"onUpdate:modelValue": o[2] || (o[2] = (e) => d.value.likeUserName = e),
|
|
135
|
-
placeholder: n.$t("orderUserAddress.userNameRequired"),
|
|
136
|
-
onKeyup: o[3] || (o[3] = R((e) => r(s).handleQuery(), ["enter"])),
|
|
137
|
-
class: "!w-[203px]"
|
|
138
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
139
|
-
]),
|
|
140
|
-
_: 1
|
|
141
|
-
}, 8, ["label"])
|
|
142
|
-
]),
|
|
143
|
-
_: 1
|
|
144
|
-
}),
|
|
145
|
-
t(b, { span: 12 }, {
|
|
146
|
-
default: l(() => [
|
|
147
|
-
t(w, { class: "search-btn" }, {
|
|
148
|
-
default: l(() => [
|
|
149
|
-
t(v, {
|
|
150
|
-
type: "primary",
|
|
151
|
-
onClick: o[4] || (o[4] = (e) => r(s).handleQuery())
|
|
152
|
-
}, {
|
|
153
|
-
default: l(() => [
|
|
154
|
-
u(p(n.$t("common.search")), 1)
|
|
155
|
-
]),
|
|
156
|
-
_: 1
|
|
157
|
-
}),
|
|
158
|
-
t(v, {
|
|
159
|
-
onClick: o[5] || (o[5] = (e) => r(s).resetQuery())
|
|
160
|
-
}, {
|
|
161
|
-
default: l(() => [
|
|
162
|
-
u(p(n.$t("common.reset")), 1)
|
|
163
|
-
]),
|
|
164
|
-
_: 1
|
|
165
|
-
})
|
|
166
|
-
]),
|
|
167
|
-
_: 1
|
|
168
|
-
})
|
|
169
|
-
]),
|
|
170
|
-
_: 1
|
|
171
|
-
})
|
|
172
|
-
]),
|
|
173
|
-
_: 1
|
|
174
|
-
})
|
|
175
|
-
]),
|
|
176
|
-
_: 1
|
|
177
|
-
}, 8, ["model"]),
|
|
178
|
-
o[13] || (o[13] = I("div", { class: "clear" }, null, -1))
|
|
179
|
-
]),
|
|
180
|
-
t(Y, {
|
|
181
|
-
shadow: "never",
|
|
182
|
-
class: "table-container"
|
|
183
|
-
}, {
|
|
184
|
-
header: l(() => [
|
|
185
|
-
t(V, null, {
|
|
186
|
-
default: l(() => [
|
|
187
|
-
t(b, { span: 17 }, {
|
|
188
|
-
default: l(() => [
|
|
189
|
-
g((m(), h(v, {
|
|
190
|
-
type: "primary",
|
|
191
|
-
onClick: B
|
|
192
|
-
}, {
|
|
193
|
-
default: l(() => [
|
|
194
|
-
u(p(n.$t("common.add")), 1)
|
|
195
|
-
]),
|
|
196
|
-
_: 1
|
|
197
|
-
})), [
|
|
198
|
-
[y, ["order:order_user_address:add"]]
|
|
199
|
-
]),
|
|
200
|
-
g((m(), h(v, {
|
|
201
|
-
type: "primary",
|
|
202
|
-
onClick: o[6] || (o[6] = (e) => r(s).deleteRecords())
|
|
203
|
-
}, {
|
|
204
|
-
default: l(() => [
|
|
205
|
-
u(p(n.$t("common.batchDelete")), 1)
|
|
206
|
-
]),
|
|
207
|
-
_: 1
|
|
208
|
-
})), [
|
|
209
|
-
[y, ["order:order_user_address:delete"]]
|
|
210
|
-
])
|
|
211
|
-
]),
|
|
212
|
-
_: 1
|
|
213
|
-
}),
|
|
214
|
-
t(b, {
|
|
215
|
-
span: 7,
|
|
216
|
-
class: "container-float"
|
|
217
|
-
}, {
|
|
218
|
-
default: l(() => [
|
|
219
|
-
t(H, {
|
|
220
|
-
modelValue: r(c),
|
|
221
|
-
"onUpdate:modelValue": o[7] || (o[7] = (e) => T(c) ? c.value = e : c = e),
|
|
222
|
-
"label-name": "order/order-user-address"
|
|
223
|
-
}, null, 8, ["modelValue"])
|
|
224
|
-
]),
|
|
225
|
-
_: 1
|
|
226
|
-
})
|
|
227
|
-
]),
|
|
228
|
-
_: 1
|
|
229
|
-
})
|
|
230
|
-
]),
|
|
231
|
-
footer: l(() => [
|
|
232
|
-
r(_) > 0 ? (m(), h(X, {
|
|
233
|
-
key: 0,
|
|
234
|
-
total: r(_),
|
|
235
|
-
"onUpdate:total": o[8] || (o[8] = (e) => T(_) ? _.value = e : null),
|
|
236
|
-
"current-page": d.value.curPage,
|
|
237
|
-
"onUpdate:currentPage": o[9] || (o[9] = (e) => d.value.curPage = e),
|
|
238
|
-
"page-size": d.value.pageSize,
|
|
239
|
-
"onUpdate:pageSize": o[10] || (o[10] = (e) => d.value.pageSize = e),
|
|
240
|
-
onPagination: o[11] || (o[11] = (e) => r(s).getList())
|
|
241
|
-
}, null, 8, ["total", "current-page", "page-size"])) : E("", !0)
|
|
242
|
-
]),
|
|
243
|
-
default: l(() => [
|
|
244
|
-
t(J, {
|
|
245
|
-
ref_key: "multipleTableRef",
|
|
246
|
-
ref: S,
|
|
247
|
-
"row-key": "addressId",
|
|
248
|
-
"list-loading": r(z),
|
|
249
|
-
data: r(D),
|
|
250
|
-
"table-label": r(c),
|
|
251
|
-
onSelectionChange: K,
|
|
252
|
-
onSortChange: Q
|
|
253
|
-
}, {
|
|
254
|
-
mobileIns: l((e) => [
|
|
255
|
-
t(M, {
|
|
256
|
-
mobilePhoneIns: e.data.row.mobilePhoneIns,
|
|
257
|
-
mobilePhone: e.data.row.mobilePhone,
|
|
258
|
-
mobileEncrypt: e.data.row.mobileEncrypt,
|
|
259
|
-
onToggleEncrypt: (k) => q(e.data.row)
|
|
260
|
-
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
|
|
261
|
-
]),
|
|
262
|
-
listOrder: l((e) => [
|
|
263
|
-
t(P, {
|
|
264
|
-
size: "16",
|
|
265
|
-
onClick: (k) => r(s).handleMove(e.data.row, !1)
|
|
266
|
-
}, {
|
|
267
|
-
default: l(() => [
|
|
268
|
-
t(W)
|
|
269
|
-
]),
|
|
270
|
-
_: 2
|
|
271
|
-
}, 1032, ["onClick"]),
|
|
272
|
-
t(P, {
|
|
273
|
-
size: "16",
|
|
274
|
-
onClick: (k) => r(s).handleMove(e.data.row, !0)
|
|
275
|
-
}, {
|
|
276
|
-
default: l(() => [
|
|
277
|
-
t(G)
|
|
278
|
-
]),
|
|
279
|
-
_: 2
|
|
280
|
-
}, 1032, ["onClick"])
|
|
281
|
-
]),
|
|
282
|
-
operation: l((e) => [
|
|
283
|
-
g((m(), $("span", {
|
|
284
|
-
class: "el-button-color",
|
|
285
|
-
onClick: (k) => L(e.data.row)
|
|
286
|
-
}, [
|
|
287
|
-
u(p(n.$t("common.edit")), 1)
|
|
288
|
-
], 8, de)), [
|
|
289
|
-
[y, ["order:order_user_address:update"]]
|
|
290
|
-
]),
|
|
291
|
-
g((m(), $("span", {
|
|
292
|
-
class: "el-button-color dropdown-left",
|
|
293
|
-
onClick: (k) => r(s).deleteRecord(e.data.row)
|
|
294
|
-
}, [
|
|
295
|
-
u(p(n.$t("common.delete")), 1)
|
|
296
|
-
], 8, ie)), [
|
|
297
|
-
[y, ["order:order_user_address:delete"]]
|
|
298
|
-
])
|
|
299
|
-
]),
|
|
300
|
-
_: 1
|
|
301
|
-
}, 8, ["list-loading", "data", "table-label"])
|
|
302
|
-
]),
|
|
303
|
-
_: 1
|
|
304
|
-
}),
|
|
305
|
-
i.value.visible ? (m(), h(ne, {
|
|
306
|
-
key: 0,
|
|
307
|
-
modelValue: i.value.visible,
|
|
308
|
-
"onUpdate:modelValue": o[12] || (o[12] = (e) => i.value.visible = e),
|
|
309
|
-
title: i.value.title,
|
|
310
|
-
"entity-key": r(C),
|
|
311
|
-
onRefresh: O,
|
|
312
|
-
width: "500px"
|
|
313
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) : E("", !0)
|
|
314
|
-
]);
|
|
315
|
-
};
|
|
316
|
-
}
|
|
317
|
-
});
|
|
318
|
-
export {
|
|
319
|
-
ve as default
|
|
320
|
-
};
|