xyvcard-shop 0.0.3 → 0.0.4
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/{edit-BcdA43EV.mjs → edit-D56n7xaZ.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BlhpqyYt.mjs → edit.vue_vue_type_script_setup_true_lang-DFxN12nJ.mjs} +191 -171
- package/dist/{index-CtHfI_ub.mjs → index-D2ijoX3i.mjs} +1 -1
- package/dist/index.mjs +1 -2
- package/dts/src/lang/shop/zh-cn.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { ElMessage as
|
|
4
|
-
import { useI18n as
|
|
5
|
-
import { b as
|
|
6
|
-
import { D as
|
|
7
|
-
const
|
|
1
|
+
import { g as ee, _ as le, a as oe } from "./common-DSpd8KEL.mjs";
|
|
2
|
+
import { defineComponent as ae, mergeModels as A, getCurrentInstance as te, ref as V, reactive as E, useModel as ne, resolveComponent as u, openBlock as f, createBlock as w, withCtx as a, createElementVNode as v, createVNode as l, createTextVNode as y, toDisplayString as $, unref as n, createCommentVNode as I, createElementBlock as re } from "vue";
|
|
3
|
+
import { ElMessage as g } from "element-plus";
|
|
4
|
+
import { useI18n as se } from "vue-i18n";
|
|
5
|
+
import { b as U } from "./index-BxO9l6bZ.mjs";
|
|
6
|
+
import { D as de } from "./index-DSuJ_n1X.mjs";
|
|
7
|
+
const ue = { key: 0 }, ie = { class: "dialog-footer" }, he = /* @__PURE__ */ ae({
|
|
8
8
|
__name: "edit",
|
|
9
|
-
props: /* @__PURE__ */
|
|
9
|
+
props: /* @__PURE__ */ A({
|
|
10
10
|
entityKey: {
|
|
11
11
|
type: Object,
|
|
12
12
|
default: () => {
|
|
@@ -16,20 +16,17 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
16
16
|
modelValue: { type: Boolean },
|
|
17
17
|
modelModifiers: {}
|
|
18
18
|
}),
|
|
19
|
-
emits: /* @__PURE__ */
|
|
20
|
-
setup(
|
|
21
|
-
const { t: d } =
|
|
22
|
-
let
|
|
19
|
+
emits: /* @__PURE__ */ A(["refresh"], ["update:modelValue"]),
|
|
20
|
+
setup(H, { emit: D }) {
|
|
21
|
+
const { t: d } = se(), { proxy: h } = te(), p = V([]), _ = V(!1), R = V();
|
|
22
|
+
let t = E({
|
|
23
23
|
requestId: Math.random() * 10 + "",
|
|
24
24
|
updateMask: "shopId,facadeName,contacts,mobilePhone,picUrl,address,note,businessStartHour,businessEndHour",
|
|
25
25
|
businessHoursRange: []
|
|
26
26
|
});
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
const u = l.businessStartHour, i = l.businessEndHour;
|
|
31
|
-
!u || !i ? s(new Error(d("branch.businessHoursRangeRequired"))) : u >= i ? s(new Error(d("branch.correctHour"))) : s();
|
|
32
|
-
}, B = C({
|
|
27
|
+
const M = (e, o, s) => {
|
|
28
|
+
o ? /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(o) ? s() : s(new Error(d("branch.correctPhone"))) : s(new Error(d("branch.mobilePhoneRequired")));
|
|
29
|
+
}, B = E({
|
|
33
30
|
shopId: [
|
|
34
31
|
{
|
|
35
32
|
required: !0,
|
|
@@ -75,14 +72,14 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
75
72
|
mobilePhone: [
|
|
76
73
|
{
|
|
77
74
|
required: !0,
|
|
78
|
-
validator:
|
|
75
|
+
validator: M,
|
|
79
76
|
trigger: "blur"
|
|
80
77
|
}
|
|
81
78
|
],
|
|
82
79
|
businessHoursRange: [
|
|
83
80
|
{
|
|
84
81
|
required: !0,
|
|
85
|
-
validator:
|
|
82
|
+
validator: () => !0,
|
|
86
83
|
trigger: "change"
|
|
87
84
|
}
|
|
88
85
|
],
|
|
@@ -100,97 +97,120 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
100
97
|
trigger: "blur"
|
|
101
98
|
}
|
|
102
99
|
]
|
|
103
|
-
}), c =
|
|
104
|
-
N.value &&
|
|
105
|
-
Object.assign(
|
|
106
|
-
|
|
107
|
-
|
|
100
|
+
}), c = ne(H, "modelValue"), P = H, k = D, F = Object.keys(P.entityKey), N = V(F.length >= 1);
|
|
101
|
+
N.value && U.findById(P.entityKey).then(({ data: e }) => {
|
|
102
|
+
Object.assign(t, e), p.value = [
|
|
103
|
+
h.$moment.convertToFullDateTime(t.businessStartHour),
|
|
104
|
+
h.$moment.convertToFullDateTime(t.businessEndHour)
|
|
108
105
|
];
|
|
109
106
|
});
|
|
107
|
+
function j(e) {
|
|
108
|
+
p.value = e, console.log(p), t.businessStartHour = h.$moment.formatToTime(e[0]), t.businessEndHour = h.$moment.formatToTime(e[1]);
|
|
109
|
+
}
|
|
110
110
|
function K(e) {
|
|
111
|
-
|
|
112
|
-
f.value = e, console.log(f), l.businessStartHour = b.$moment.formatToTime(e[0]), l.businessEndHour = b.$moment.formatToTime(e[1]), (a = b.$refs.branchFormRef) == null || a.validateField("businessHoursRange");
|
|
111
|
+
t.latitude = e[0].toString(), t.longitude = e[1].toString();
|
|
113
112
|
}
|
|
114
113
|
function L(e) {
|
|
115
|
-
|
|
114
|
+
t.address = e;
|
|
116
115
|
}
|
|
117
|
-
function O(
|
|
118
|
-
|
|
116
|
+
function O() {
|
|
117
|
+
t.loginPassword = ee();
|
|
119
118
|
}
|
|
120
|
-
|
|
121
|
-
l.loginPassword = oe();
|
|
122
|
-
}
|
|
123
|
-
const G = async () => {
|
|
119
|
+
const z = async () => {
|
|
124
120
|
var e;
|
|
125
|
-
await ((e =
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
121
|
+
await ((e = R.value) == null ? void 0 : e.validate((o) => {
|
|
122
|
+
if (o) {
|
|
123
|
+
if (p.value.length > 0) {
|
|
124
|
+
for (const s of p.value)
|
|
125
|
+
if (!s) {
|
|
126
|
+
g({
|
|
127
|
+
message: d("branch.businessHoursRangeRequired"),
|
|
128
|
+
type: "warning"
|
|
129
|
+
});
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
} else {
|
|
133
|
+
g({
|
|
134
|
+
message: d("branch.businessHoursRangeRequired"),
|
|
135
|
+
type: "warning"
|
|
136
|
+
});
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
N.value ? U.update(t).then((s) => {
|
|
140
|
+
console.log(s), s.status === 200 && (g({
|
|
141
|
+
message: d("common.submitSuccess"),
|
|
142
|
+
type: "success"
|
|
143
|
+
}), c.value && (c.value = !1), k("refresh", s.status === 200));
|
|
144
|
+
}) : U.create(t).then((s) => {
|
|
145
|
+
console.log(s), s.status === 200 && (g({
|
|
146
|
+
message: d("common.submitSuccess"),
|
|
147
|
+
type: "success"
|
|
148
|
+
}), c.value && (c.value = !1), k("refresh", s.status === 200));
|
|
149
|
+
});
|
|
150
|
+
}
|
|
137
151
|
}));
|
|
138
152
|
};
|
|
139
|
-
function
|
|
153
|
+
function C() {
|
|
140
154
|
c.value && (c.value = !1);
|
|
141
155
|
}
|
|
142
|
-
function
|
|
143
|
-
|
|
156
|
+
function G(e) {
|
|
157
|
+
var o;
|
|
158
|
+
t.picUrl = e, (o = R.value) == null || o.validateField("picUrl", (s) => {
|
|
159
|
+
s || g({
|
|
160
|
+
message: d("branch.picUrlRequired"),
|
|
161
|
+
type: "warning"
|
|
162
|
+
});
|
|
163
|
+
});
|
|
144
164
|
}
|
|
145
|
-
return (e,
|
|
146
|
-
const s =
|
|
147
|
-
return
|
|
165
|
+
return (e, o) => {
|
|
166
|
+
const s = u("jmash-select"), i = u("el-form-item"), m = u("el-col"), b = u("el-input"), J = le, Q = oe, W = u("el-time-picker"), S = u("el-row"), q = u("el-button"), X = u("View"), T = u("el-icon"), Y = u("Hide"), Z = u("el-form"), x = u("el-dialog");
|
|
167
|
+
return f(), w(x, {
|
|
148
168
|
modelValue: c.value,
|
|
149
|
-
"onUpdate:modelValue":
|
|
150
|
-
onClose:
|
|
169
|
+
"onUpdate:modelValue": o[10] || (o[10] = (r) => c.value = r),
|
|
170
|
+
onClose: C
|
|
151
171
|
}, {
|
|
152
|
-
footer:
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
default:
|
|
156
|
-
|
|
172
|
+
footer: a(() => [
|
|
173
|
+
v("div", ie, [
|
|
174
|
+
l(q, { onClick: C }, {
|
|
175
|
+
default: a(() => [
|
|
176
|
+
y($(e.$t("common.cancel")), 1)
|
|
157
177
|
]),
|
|
158
178
|
_: 1
|
|
159
179
|
}),
|
|
160
|
-
|
|
180
|
+
l(q, {
|
|
161
181
|
type: "primary",
|
|
162
|
-
onClick:
|
|
182
|
+
onClick: z
|
|
163
183
|
}, {
|
|
164
|
-
default:
|
|
165
|
-
|
|
184
|
+
default: a(() => [
|
|
185
|
+
y($(e.$t("common.confirm")), 1)
|
|
166
186
|
]),
|
|
167
187
|
_: 1
|
|
168
188
|
})
|
|
169
189
|
])
|
|
170
190
|
]),
|
|
171
|
-
default:
|
|
172
|
-
|
|
191
|
+
default: a(() => [
|
|
192
|
+
l(Z, {
|
|
173
193
|
ref_key: "branchFormRef",
|
|
174
|
-
ref:
|
|
175
|
-
model: n(
|
|
194
|
+
ref: R,
|
|
195
|
+
model: n(t),
|
|
176
196
|
"label-width": "120px",
|
|
177
197
|
rules: B
|
|
178
198
|
}, {
|
|
179
|
-
default:
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
default:
|
|
183
|
-
|
|
184
|
-
default:
|
|
185
|
-
|
|
199
|
+
default: a(() => [
|
|
200
|
+
o[12] || (o[12] = v("div", { class: "title-content" }, "门店基本信息", -1)),
|
|
201
|
+
l(S, null, {
|
|
202
|
+
default: a(() => [
|
|
203
|
+
l(m, { span: 12 }, {
|
|
204
|
+
default: a(() => [
|
|
205
|
+
l(i, {
|
|
186
206
|
label: e.$t("branch.shopName"),
|
|
187
207
|
prop: "shopId"
|
|
188
208
|
}, {
|
|
189
|
-
default:
|
|
190
|
-
|
|
191
|
-
modelValue: n(
|
|
192
|
-
"onUpdate:modelValue":
|
|
193
|
-
data: n(
|
|
209
|
+
default: a(() => [
|
|
210
|
+
l(s, {
|
|
211
|
+
modelValue: n(t).shopId,
|
|
212
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => n(t).shopId = r),
|
|
213
|
+
data: n(de).shopBizDict.values,
|
|
194
214
|
placeholder: e.$t("branch.shopNameRequired"),
|
|
195
215
|
clearable: ""
|
|
196
216
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
@@ -200,16 +220,16 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
200
220
|
]),
|
|
201
221
|
_: 1
|
|
202
222
|
}),
|
|
203
|
-
|
|
204
|
-
default:
|
|
205
|
-
|
|
223
|
+
l(m, { span: 12 }, {
|
|
224
|
+
default: a(() => [
|
|
225
|
+
l(i, {
|
|
206
226
|
label: e.$t("branch.facadeName"),
|
|
207
227
|
prop: "facadeName"
|
|
208
228
|
}, {
|
|
209
|
-
default:
|
|
210
|
-
|
|
211
|
-
modelValue: n(
|
|
212
|
-
"onUpdate:modelValue":
|
|
229
|
+
default: a(() => [
|
|
230
|
+
l(b, {
|
|
231
|
+
modelValue: n(t).facadeName,
|
|
232
|
+
"onUpdate:modelValue": o[1] || (o[1] = (r) => n(t).facadeName = r),
|
|
213
233
|
placeholder: e.$t("branch.facadeNameRequired"),
|
|
214
234
|
maxlength: "60",
|
|
215
235
|
"show-word-limit": "",
|
|
@@ -221,16 +241,16 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
221
241
|
]),
|
|
222
242
|
_: 1
|
|
223
243
|
}),
|
|
224
|
-
|
|
225
|
-
default:
|
|
226
|
-
|
|
244
|
+
l(m, { span: 12 }, {
|
|
245
|
+
default: a(() => [
|
|
246
|
+
l(i, {
|
|
227
247
|
label: e.$t("branch.picUrl"),
|
|
228
248
|
prop: "picUrl"
|
|
229
249
|
}, {
|
|
230
|
-
default:
|
|
231
|
-
|
|
232
|
-
"picture-url": n(
|
|
233
|
-
onImageSrc:
|
|
250
|
+
default: a(() => [
|
|
251
|
+
l(J, {
|
|
252
|
+
"picture-url": n(t).picUrl,
|
|
253
|
+
onImageSrc: G
|
|
234
254
|
}, null, 8, ["picture-url"])
|
|
235
255
|
]),
|
|
236
256
|
_: 1
|
|
@@ -238,16 +258,16 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
238
258
|
]),
|
|
239
259
|
_: 1
|
|
240
260
|
}),
|
|
241
|
-
|
|
242
|
-
default:
|
|
243
|
-
|
|
261
|
+
l(m, { span: 12 }, {
|
|
262
|
+
default: a(() => [
|
|
263
|
+
l(i, {
|
|
244
264
|
label: e.$t("branch.note"),
|
|
245
265
|
prop: "note"
|
|
246
266
|
}, {
|
|
247
|
-
default:
|
|
248
|
-
|
|
249
|
-
modelValue: n(
|
|
250
|
-
"onUpdate:modelValue":
|
|
267
|
+
default: a(() => [
|
|
268
|
+
l(b, {
|
|
269
|
+
modelValue: n(t).note,
|
|
270
|
+
"onUpdate:modelValue": o[2] || (o[2] = (r) => n(t).note = r),
|
|
251
271
|
type: "textarea",
|
|
252
272
|
autosize: { minRows: 3 },
|
|
253
273
|
maxlength: "200",
|
|
@@ -261,16 +281,16 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
261
281
|
]),
|
|
262
282
|
_: 1
|
|
263
283
|
}),
|
|
264
|
-
|
|
265
|
-
default:
|
|
266
|
-
|
|
284
|
+
l(m, { span: 24 }, {
|
|
285
|
+
default: a(() => [
|
|
286
|
+
l(i, {
|
|
267
287
|
label: e.$t("branch.address"),
|
|
268
288
|
prop: "address"
|
|
269
289
|
}, {
|
|
270
|
-
default:
|
|
271
|
-
|
|
272
|
-
modelValue: n(
|
|
273
|
-
"onUpdate:modelValue":
|
|
290
|
+
default: a(() => [
|
|
291
|
+
l(b, {
|
|
292
|
+
modelValue: n(t).address,
|
|
293
|
+
"onUpdate:modelValue": o[3] || (o[3] = (r) => n(t).address = r),
|
|
274
294
|
placeholder: e.$t("branch.addressRequired"),
|
|
275
295
|
maxlength: "120",
|
|
276
296
|
"show-word-limit": "",
|
|
@@ -282,32 +302,32 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
282
302
|
]),
|
|
283
303
|
_: 1
|
|
284
304
|
}),
|
|
285
|
-
|
|
286
|
-
default:
|
|
287
|
-
|
|
288
|
-
default:
|
|
289
|
-
n(
|
|
305
|
+
l(m, { span: 24 }, {
|
|
306
|
+
default: a(() => [
|
|
307
|
+
l(i, null, {
|
|
308
|
+
default: a(() => [
|
|
309
|
+
n(t).address ? (f(), w(Q, {
|
|
290
310
|
key: 0,
|
|
291
|
-
address: n(
|
|
292
|
-
onGetLatLng:
|
|
293
|
-
onGetAddress:
|
|
294
|
-
}, null, 8, ["address"])) :
|
|
311
|
+
address: n(t).address,
|
|
312
|
+
onGetLatLng: K,
|
|
313
|
+
onGetAddress: L
|
|
314
|
+
}, null, 8, ["address"])) : I("", !0)
|
|
295
315
|
]),
|
|
296
316
|
_: 1
|
|
297
317
|
})
|
|
298
318
|
]),
|
|
299
319
|
_: 1
|
|
300
320
|
}),
|
|
301
|
-
|
|
302
|
-
default:
|
|
303
|
-
|
|
321
|
+
l(m, { span: 12 }, {
|
|
322
|
+
default: a(() => [
|
|
323
|
+
l(i, {
|
|
304
324
|
label: e.$t("branch.contacts"),
|
|
305
325
|
prop: "contacts"
|
|
306
326
|
}, {
|
|
307
|
-
default:
|
|
308
|
-
|
|
309
|
-
modelValue: n(
|
|
310
|
-
"onUpdate:modelValue":
|
|
327
|
+
default: a(() => [
|
|
328
|
+
l(b, {
|
|
329
|
+
modelValue: n(t).contacts,
|
|
330
|
+
"onUpdate:modelValue": o[4] || (o[4] = (r) => n(t).contacts = r),
|
|
311
331
|
placeholder: e.$t("branch.contactsRequired"),
|
|
312
332
|
maxlength: "15",
|
|
313
333
|
"show-word-limit": "",
|
|
@@ -319,16 +339,16 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
319
339
|
]),
|
|
320
340
|
_: 1
|
|
321
341
|
}),
|
|
322
|
-
|
|
323
|
-
default:
|
|
324
|
-
|
|
342
|
+
l(m, { span: 12 }, {
|
|
343
|
+
default: a(() => [
|
|
344
|
+
l(i, {
|
|
325
345
|
label: e.$t("branch.mobilePhone"),
|
|
326
346
|
prop: "mobilePhone"
|
|
327
347
|
}, {
|
|
328
|
-
default:
|
|
329
|
-
|
|
330
|
-
modelValue: n(
|
|
331
|
-
"onUpdate:modelValue":
|
|
348
|
+
default: a(() => [
|
|
349
|
+
l(b, {
|
|
350
|
+
modelValue: n(t).mobilePhone,
|
|
351
|
+
"onUpdate:modelValue": o[5] || (o[5] = (r) => n(t).mobilePhone = r),
|
|
332
352
|
placeholder: e.$t("branch.mobilePhoneRequired"),
|
|
333
353
|
maxlength: "30",
|
|
334
354
|
"show-word-limit": "",
|
|
@@ -340,22 +360,22 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
340
360
|
]),
|
|
341
361
|
_: 1
|
|
342
362
|
}),
|
|
343
|
-
|
|
344
|
-
default:
|
|
345
|
-
|
|
363
|
+
l(m, { span: 24 }, {
|
|
364
|
+
default: a(() => [
|
|
365
|
+
l(i, {
|
|
346
366
|
label: e.$t("branch.businessHoursRange"),
|
|
347
367
|
prop: "businessHoursRange"
|
|
348
368
|
}, {
|
|
349
|
-
default:
|
|
350
|
-
|
|
351
|
-
modelValue:
|
|
352
|
-
"onUpdate:modelValue":
|
|
369
|
+
default: a(() => [
|
|
370
|
+
l(W, {
|
|
371
|
+
modelValue: p.value,
|
|
372
|
+
"onUpdate:modelValue": o[6] || (o[6] = (r) => p.value = r),
|
|
353
373
|
format: "HH:mm",
|
|
354
374
|
"is-range": "",
|
|
355
375
|
"range-separator": "To",
|
|
356
376
|
"start-placeholder": e.$t("branch.businessStartHour"),
|
|
357
377
|
"end-placeholder": e.$t("branch.businessEndHour"),
|
|
358
|
-
onChange:
|
|
378
|
+
onChange: j
|
|
359
379
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
360
380
|
]),
|
|
361
381
|
_: 1
|
|
@@ -366,20 +386,20 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
366
386
|
]),
|
|
367
387
|
_: 1
|
|
368
388
|
}),
|
|
369
|
-
n(
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
default:
|
|
373
|
-
|
|
374
|
-
default:
|
|
375
|
-
|
|
389
|
+
n(t).branchId ? I("", !0) : (f(), re("div", ue, [
|
|
390
|
+
o[11] || (o[11] = v("div", { class: "title-content" }, "管理员信息", -1)),
|
|
391
|
+
l(S, null, {
|
|
392
|
+
default: a(() => [
|
|
393
|
+
l(m, { span: 12 }, {
|
|
394
|
+
default: a(() => [
|
|
395
|
+
l(i, {
|
|
376
396
|
label: e.$t("branch.loginAccount"),
|
|
377
397
|
prop: "loginAccount"
|
|
378
398
|
}, {
|
|
379
|
-
default:
|
|
380
|
-
|
|
381
|
-
modelValue: n(
|
|
382
|
-
"onUpdate:modelValue":
|
|
399
|
+
default: a(() => [
|
|
400
|
+
l(b, {
|
|
401
|
+
modelValue: n(t).loginAccount,
|
|
402
|
+
"onUpdate:modelValue": o[7] || (o[7] = (r) => n(t).loginAccount = r),
|
|
383
403
|
placeholder: e.$t("branch.loginAccountRequired"),
|
|
384
404
|
maxlength: "30",
|
|
385
405
|
"show-word-limit": ""
|
|
@@ -390,39 +410,39 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
390
410
|
]),
|
|
391
411
|
_: 1
|
|
392
412
|
}),
|
|
393
|
-
|
|
394
|
-
default:
|
|
395
|
-
|
|
413
|
+
l(m, { span: 12 }, {
|
|
414
|
+
default: a(() => [
|
|
415
|
+
l(i, {
|
|
396
416
|
label: e.$t("branch.loginPassword"),
|
|
397
417
|
prop: "loginPassword"
|
|
398
418
|
}, {
|
|
399
|
-
default:
|
|
400
|
-
|
|
401
|
-
modelValue: n(
|
|
402
|
-
"onUpdate:modelValue":
|
|
403
|
-
type:
|
|
419
|
+
default: a(() => [
|
|
420
|
+
l(b, {
|
|
421
|
+
modelValue: n(t).loginPassword,
|
|
422
|
+
"onUpdate:modelValue": o[9] || (o[9] = (r) => n(t).loginPassword = r),
|
|
423
|
+
type: _.value ? "text" : "password",
|
|
404
424
|
placeholder: e.$t("branch.loginPasswordRequired")
|
|
405
425
|
}, {
|
|
406
|
-
append:
|
|
407
|
-
|
|
408
|
-
default:
|
|
409
|
-
|
|
426
|
+
append: a(() => [
|
|
427
|
+
l(q, { onClick: O }, {
|
|
428
|
+
default: a(() => [
|
|
429
|
+
y($(e.$t("branch.randomPwd")), 1)
|
|
410
430
|
]),
|
|
411
431
|
_: 1
|
|
412
432
|
})
|
|
413
433
|
]),
|
|
414
|
-
suffix:
|
|
415
|
-
|
|
416
|
-
onClick:
|
|
434
|
+
suffix: a(() => [
|
|
435
|
+
v("span", {
|
|
436
|
+
onClick: o[8] || (o[8] = (r) => _.value = !_.value)
|
|
417
437
|
}, [
|
|
418
|
-
|
|
419
|
-
default:
|
|
420
|
-
|
|
438
|
+
_.value ? (f(), w(T, { key: 0 }, {
|
|
439
|
+
default: a(() => [
|
|
440
|
+
l(X)
|
|
421
441
|
]),
|
|
422
442
|
_: 1
|
|
423
|
-
})) : (
|
|
424
|
-
default:
|
|
425
|
-
|
|
443
|
+
})) : (f(), w(T, { key: 1 }, {
|
|
444
|
+
default: a(() => [
|
|
445
|
+
l(Y)
|
|
426
446
|
]),
|
|
427
447
|
_: 1
|
|
428
448
|
}))
|
|
@@ -450,5 +470,5 @@ const ie = { key: 0 }, me = { class: "dialog-footer" }, Ve = /* @__PURE__ */ te(
|
|
|
450
470
|
}
|
|
451
471
|
});
|
|
452
472
|
export {
|
|
453
|
-
|
|
473
|
+
he as _
|
|
454
474
|
};
|
|
@@ -3,7 +3,7 @@ import { useTableHooks as te, fileApi as j } from "jmash-core";
|
|
|
3
3
|
import { useI18n as ae } from "vue-i18n";
|
|
4
4
|
import { D as R } from "./index-DSuJ_n1X.mjs";
|
|
5
5
|
import { b as ne } from "./index-BxO9l6bZ.mjs";
|
|
6
|
-
import { _ as se } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as se } from "./edit.vue_vue_type_script_setup_true_lang-DFxN12nJ.mjs";
|
|
7
7
|
import { useRouter as re } from "vue-router";
|
|
8
8
|
const ie = { class: "app-container" }, de = { class: "search-container" }, ue = { key: 0 }, me = { key: 1 }, pe = {
|
|
9
9
|
key: 2,
|
package/dist/index.mjs
CHANGED
|
@@ -69,7 +69,6 @@ const Os = () => import("./index-Wp6XCMtZ.mjs"), Ts = () => import("./index-CxMY
|
|
|
69
69
|
noteRequired: "请输入门店介绍",
|
|
70
70
|
businessHoursRange: "营业时间",
|
|
71
71
|
businessHoursRangeRequired: "请选择营业时间",
|
|
72
|
-
correctHour: "开始时间必须早于结束时间",
|
|
73
72
|
businessStartHour: "营业开始时间",
|
|
74
73
|
businessEndHour: "营业结束时间",
|
|
75
74
|
loginAccount: "账号",
|
|
@@ -2744,7 +2743,7 @@ const Li = {
|
|
|
2744
2743
|
}
|
|
2745
2744
|
};
|
|
2746
2745
|
}
|
|
2747
|
-
}, Ii = /* @__PURE__ */ Object.assign({ "./views/shop/shop-branch/edit.vue": () => import("./edit-
|
|
2746
|
+
}, Ii = /* @__PURE__ */ Object.assign({ "./views/shop/shop-branch/edit.vue": () => import("./edit-D56n7xaZ.mjs"), "./views/shop/shop-branch/index.vue": () => import("./index-D2ijoX3i.mjs"), "./views/shop/shop-branch/info.vue": () => import("./info-SCwFWVk7.mjs"), "./views/shop/shop-branchs-users/edit.vue": () => import("./edit-Bwb9SdLu.mjs").then((e) => e.e), "./views/shop/shop-branchs-users/index.vue": () => import("./index-41aS9sqD.mjs"), "./views/shop/shop-info/edit.vue": () => import("./edit-C8JUlzmu.mjs"), "./views/shop/shop-info/index.vue": () => import("./index-Cb8t4xcf.mjs"), "./views/shop/shop-info/info.vue": () => import("./info-BpqWC_4h.mjs"), "./views/shop/shop-pay-info/edit.vue": () => import("./edit-DGFUgzQR.mjs"), "./views/shop/shop-pay-info/index.vue": () => import("./index-CxMYU0Yy.mjs"), "./views/shop/shop-shops-users/edit.vue": () => import("./edit-BAd26uKC.mjs").then((e) => e.e), "./views/shop/shop-shops-users/index.vue": () => import("./index-D27HdDnZ.mjs"), "./views/shop/shop-spec-info/edit.vue": () => import("./edit-6ExO3D2p.mjs"), "./views/shop/shop-spec-info/index.vue": () => import("./index-BvyKJYOR.mjs"), "./views/shop/shop-spec-value/edit.vue": () => import("./edit-CRKiIk5l.mjs"), "./views/shop/shop-spec-value/index.vue": () => import("./index-Wp6XCMtZ.mjs") }), Ui = {
|
|
2748
2747
|
install(e) {
|
|
2749
2748
|
Ss(Ii, 7), Ws(Ys), e.use(Li), Ds(Rs);
|
|
2750
2749
|
}
|