xyvcard-asset 0.0.23 → 0.0.25
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/{assign-D4YB344H.mjs → assign-Cx16U6jb.mjs} +7 -5
- package/dist/{edit-yvYhMo5N.mjs → edit-B49ygJbc.mjs} +1 -1
- package/dist/{edit-Bwq5Vg9D.mjs → edit-Ds7g0sBn.mjs} +1 -1
- package/dist/{edit-D3zlqt11.mjs → edit-DuHNKz_4.mjs} +1 -1
- package/dist/{edit-DxvSeH5Y.mjs → edit-JbjxRp1e.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CA2vVvh7.mjs → edit.vue_vue_type_script_setup_true_lang-BKhYm0-l.mjs} +28 -24
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CK2dpk1z.mjs → edit.vue_vue_type_script_setup_true_lang-C06QNWoO.mjs} +120 -115
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DnzT146Q.mjs → edit.vue_vue_type_script_setup_true_lang-DCQmjaPp.mjs} +10 -8
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D59t05Ec.mjs → edit.vue_vue_type_script_setup_true_lang-mrDURO_L.mjs} +14 -13
- package/dist/{index-4gYJADQ3.mjs → index-5OS9ZzQf.mjs} +1 -1
- package/dist/index-BI8iDWzU.mjs +117 -0
- package/dist/index-BPuC76hs.mjs +338 -0
- package/dist/index-BQdGP1ah.mjs +152 -0
- package/dist/{index-DZAvRhPJ.mjs → index-BTfwEQad.mjs} +18 -16
- package/dist/index-BTvHsKHc.mjs +48286 -0
- package/dist/{index-CVU2G5rZ.mjs → index-B_EEJeEN.mjs} +1 -1
- package/dist/{index-CQE1DdOZ.mjs → index-C0Rd9wWv.mjs} +30 -27
- package/dist/{index-e_AlnW3A.mjs → index-C0cy2lYz.mjs} +37 -35
- package/dist/{index-BmxQiLjm.mjs → index-C33SaJIu.mjs} +48 -46
- package/dist/{index-DxQzN9_F.mjs → index-ColX0w7n.mjs} +17 -14
- package/dist/{index-Bx1vPk7S.mjs → index-D13F64qL.mjs} +142 -152
- package/dist/{index-vfIgwaoQ.mjs → index-DGHhDZ-w.mjs} +24 -22
- package/dist/{index-DmX4B8mf.mjs → index-DTHatck1.mjs} +61 -59
- package/dist/{index-eTof-sqF.mjs → index-DwPSpT78.mjs} +22 -20
- package/dist/index-U4WVV44p.mjs +1412 -0
- package/dist/{index-hCldWS2K.mjs → index-yjFsDfGI.mjs} +48 -45
- package/dist/index.mjs +2 -2
- package/dist/style.css +1 -1
- package/dts/api/asset/asset-asset/index.d.ts +1 -8
- package/dts/api/asset/asset-site-service/index.d.ts +2 -2
- package/dts/api/asset/asset-site-service/types.d.ts +1 -5
- package/dts/api/dict.d.ts +1 -4
- package/dts/api/index.d.ts +2 -1
- package/dts/constant.d.ts +3 -3
- package/dts/main.d.ts +1 -0
- package/dts/utils/common.d.ts +0 -41
- package/dts/views/asset/asset-site/edit.vue.d.ts +1 -1
- package/package.json +11 -13
- package/dist/index-0_FQdBCk.mjs +0 -322
- package/dist/index-BOS2gtjd.mjs +0 -165
- package/dist/index-eassrLOa.mjs +0 -1673
- package/dts/api/asset/text/index.d.ts +0 -140
- package/dts/api/asset/text/types.d.ts +0 -179
- package/dts/components/Upload/ImageUpload.vue.d.ts +0 -38
- package/dts/components/Upload/MultiUpload.vue.d.ts +0 -24
- package/dts/utils/index.d.ts +0 -24
@@ -1,6 +1,7 @@
|
|
1
|
-
import { defineComponent as T, mergeModels as O, ref as v, useModel as G, resolveComponent as o, openBlock as $,
|
1
|
+
import { defineComponent as T, mergeModels as O, ref as v, useModel as G, resolveComponent as o, createBlock as C, openBlock as $, withCtx as e, createVNode as t, unref as y, createElementVNode as p, createTextVNode as c, toDisplayString as u, createElementBlock as H, Fragment as J, renderList as P, withModifiers as Q } from "vue";
|
2
2
|
import { ElMessage as W } from "element-plus";
|
3
|
-
import { D as q, s as X
|
3
|
+
import { D as q, s as X } from "./index-BTvHsKHc.mjs";
|
4
|
+
import { a as Y } from "./index-BI8iDWzU.mjs";
|
4
5
|
import { useI18n as Z } from "vue-i18n";
|
5
6
|
const x = { class: "total-num dis_bottom" }, ee = { class: "dialog-footer" }, te = /* @__PURE__ */ T({
|
6
7
|
__name: "assign",
|
@@ -287,7 +288,8 @@ const x = { class: "total-num dis_bottom" }, ee = { class: "dialog-footer" }, te
|
|
287
288
|
default: e(() => a[3] || (a[3] = [
|
288
289
|
c(" 添加 ")
|
289
290
|
])),
|
290
|
-
_: 1
|
291
|
+
_: 1,
|
292
|
+
__: [3]
|
291
293
|
})
|
292
294
|
]),
|
293
295
|
_: 1
|
@@ -302,7 +304,7 @@ const x = { class: "total-num dis_bottom" }, ee = { class: "dialog-footer" }, te
|
|
302
304
|
for (const [_, d] of h)
|
303
305
|
i[_] = d;
|
304
306
|
return i;
|
305
|
-
},
|
307
|
+
}, de = /* @__PURE__ */ le(te, [["__scopeId", "data-v-29252b2b"]]);
|
306
308
|
export {
|
307
|
-
|
309
|
+
de as default
|
308
310
|
};
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { s as g, D as z } from "./index-eassrLOa.mjs";
|
1
|
+
import { defineComponent as j, mergeModels as $, ref as D, reactive as R, useModel as F, resolveComponent as n, createBlock as K, openBlock as S, withCtx as o, createElementVNode as b, createVNode as l, unref as r, createTextVNode as P, toDisplayString as I } from "vue";
|
3
2
|
import { ElMessage as M } from "element-plus";
|
3
|
+
import { validatePhoneNumber as z } from "jmash-core";
|
4
4
|
import { useI18n as A } from "vue-i18n";
|
5
|
-
|
5
|
+
import { s as g, D as L } from "./index-BTvHsKHc.mjs";
|
6
|
+
const T = { class: "dialog-footer" }, X = /* @__PURE__ */ j({
|
6
7
|
__name: "edit",
|
7
|
-
props: /* @__PURE__ */
|
8
|
+
props: /* @__PURE__ */ $({
|
8
9
|
entityKey: {
|
9
10
|
type: Object,
|
10
11
|
default: () => {
|
@@ -14,7 +15,7 @@ const L = { class: "dialog-footer" }, Q = /* @__PURE__ */ F({
|
|
14
15
|
modelValue: { type: Boolean },
|
15
16
|
modelModifiers: {}
|
16
17
|
}),
|
17
|
-
emits: /* @__PURE__ */
|
18
|
+
emits: /* @__PURE__ */ $(["refresh"], ["update:modelValue"]),
|
18
19
|
setup(c, { emit: k }) {
|
19
20
|
const { t: i } = A(), V = D();
|
20
21
|
let a = R({
|
@@ -22,7 +23,7 @@ const L = { class: "dialog-footer" }, Q = /* @__PURE__ */ F({
|
|
22
23
|
updateMask: "orgId,name,buildDate,area,address,manager,mobilePhone"
|
23
24
|
});
|
24
25
|
const U = (t, e, s) => {
|
25
|
-
e ?
|
26
|
+
e ? z(e) ? s() : s(new Error(i("site.mobilePhoneRight"))) : s(new Error(i("site.mobilePhoneRequired")));
|
26
27
|
}, Y = R({
|
27
28
|
// 所属工会
|
28
29
|
orgId: [
|
@@ -57,45 +58,45 @@ const L = { class: "dialog-footer" }, Q = /* @__PURE__ */ F({
|
|
57
58
|
},
|
58
59
|
{ validator: U, trigger: "blur" }
|
59
60
|
]
|
60
|
-
}), u =
|
61
|
-
|
61
|
+
}), u = F(c, "modelValue"), _ = c, h = k, C = Object.keys(_.entityKey), y = D(C.length >= 1);
|
62
|
+
y.value && g.findById(_.entityKey).then(({ data: t }) => {
|
62
63
|
Object.assign(a, t);
|
63
64
|
});
|
64
65
|
const B = async () => {
|
65
66
|
var t;
|
66
67
|
await ((t = V.value) == null ? void 0 : t.validate((e) => {
|
67
|
-
e && (
|
68
|
+
e && (y.value ? g.update(a).then((s) => {
|
68
69
|
s.status === 200 && (M({
|
69
70
|
message: i("common.submitSuccess"),
|
70
71
|
type: "success"
|
71
|
-
}), u.value && (u.value = !1),
|
72
|
+
}), u.value && (u.value = !1), h("refresh", s.status === 200));
|
72
73
|
}) : g.create(a).then((s) => {
|
73
74
|
s.status === 200 && (M({
|
74
75
|
message: i("common.submitSuccess"),
|
75
76
|
type: "success"
|
76
|
-
}), u.value && (u.value = !1),
|
77
|
+
}), u.value && (u.value = !1), h("refresh", s.status === 200));
|
77
78
|
}));
|
78
79
|
}));
|
79
80
|
};
|
80
|
-
function
|
81
|
+
function v() {
|
81
82
|
u.value && (u.value = !1);
|
82
83
|
}
|
83
84
|
return (t, e) => {
|
84
|
-
const s = n("el-tree-select"), m = n("el-form-item"), p = n("el-col"), f = n("el-input"), E = n("el-date-picker"), w = n("el-row"),
|
85
|
-
return
|
85
|
+
const s = n("el-tree-select"), m = n("el-form-item"), p = n("el-col"), f = n("el-input"), E = n("el-date-picker"), w = n("el-row"), N = n("el-form"), q = n("el-button"), O = n("el-dialog");
|
86
|
+
return S(), K(O, {
|
86
87
|
modelValue: u.value,
|
87
88
|
"onUpdate:modelValue": e[7] || (e[7] = (d) => u.value = d),
|
88
|
-
onClose:
|
89
|
+
onClose: v
|
89
90
|
}, {
|
90
91
|
footer: o(() => [
|
91
|
-
b("div",
|
92
|
-
l(
|
92
|
+
b("div", T, [
|
93
|
+
l(q, { onClick: v }, {
|
93
94
|
default: o(() => [
|
94
95
|
P(I(t.$t("common.cancel")), 1)
|
95
96
|
]),
|
96
97
|
_: 1
|
97
98
|
}),
|
98
|
-
l(
|
99
|
+
l(q, {
|
99
100
|
type: "primary",
|
100
101
|
onClick: B
|
101
102
|
}, {
|
@@ -108,7 +109,7 @@ const L = { class: "dialog-footer" }, Q = /* @__PURE__ */ F({
|
|
108
109
|
]),
|
109
110
|
default: o(() => [
|
110
111
|
e[10] || (e[10] = b("div", { class: "title-content" }, "场地信息", -1)),
|
111
|
-
l(
|
112
|
+
l(N, {
|
112
113
|
ref_key: "siteFormRef",
|
113
114
|
ref: V,
|
114
115
|
model: r(a),
|
@@ -128,7 +129,7 @@ const L = { class: "dialog-footer" }, Q = /* @__PURE__ */ F({
|
|
128
129
|
l(s, {
|
129
130
|
modelValue: r(a).orgId,
|
130
131
|
"onUpdate:modelValue": e[0] || (e[0] = (d) => r(a).orgId = d),
|
131
|
-
data: r(
|
132
|
+
data: r(L).unionOrgBizLayDict.values,
|
132
133
|
filterable: "",
|
133
134
|
"check-strictly": "",
|
134
135
|
"render-after-expand": !1,
|
@@ -266,7 +267,8 @@ const L = { class: "dialog-footer" }, Q = /* @__PURE__ */ F({
|
|
266
267
|
}, null, 8, ["modelValue", "placeholder"]),
|
267
268
|
e[8] || (e[8] = b("span", { style: { color: "red", "font-size": "13px" } }, "注:此手机号作为盘点人员账号登录", -1))
|
268
269
|
]),
|
269
|
-
_: 1
|
270
|
+
_: 1,
|
271
|
+
__: [8]
|
270
272
|
}, 8, ["label"])
|
271
273
|
]),
|
272
274
|
_: 1
|
@@ -275,14 +277,16 @@ const L = { class: "dialog-footer" }, Q = /* @__PURE__ */ F({
|
|
275
277
|
_: 1
|
276
278
|
})
|
277
279
|
]),
|
278
|
-
_: 1
|
280
|
+
_: 1,
|
281
|
+
__: [9]
|
279
282
|
}, 8, ["model", "rules"])
|
280
283
|
]),
|
281
|
-
_: 1
|
284
|
+
_: 1,
|
285
|
+
__: [10]
|
282
286
|
}, 8, ["modelValue"]);
|
283
287
|
};
|
284
288
|
}
|
285
289
|
});
|
286
290
|
export {
|
287
|
-
|
291
|
+
X as _
|
288
292
|
};
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { defineComponent as le, mergeModels as E, getCurrentInstance as ie, ref as h, reactive as H, watch as $, computed as ae, useModel as
|
2
|
-
import { D as p, S as
|
1
|
+
import { defineComponent as le, mergeModels as E, getCurrentInstance as ie, ref as h, reactive as H, watch as $, computed as ae, useModel as re, resolveComponent as s, createBlock as O, openBlock as f, withCtx as a, createVNode as i, unref as o, createElementBlock as D, Fragment as j, renderList as z, createTextVNode as g, toDisplayString as q, createElementVNode as oe } from "vue";
|
2
|
+
import { D as p, S as ne, a as V } from "./index-BTvHsKHc.mjs";
|
3
3
|
import { ElMessage as R } from "element-plus";
|
4
|
-
import { useI18n as
|
5
|
-
import { a as
|
4
|
+
import { useI18n as se } from "vue-i18n";
|
5
|
+
import { a as F } from "./common-CshrwPyx.mjs";
|
6
6
|
const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
7
7
|
__name: "edit",
|
8
8
|
props: /* @__PURE__ */ E({
|
@@ -16,10 +16,10 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
16
16
|
modelModifiers: {}
|
17
17
|
}),
|
18
18
|
emits: /* @__PURE__ */ E(["refresh"], ["update:modelValue"]),
|
19
|
-
setup(k, { emit:
|
19
|
+
setup(k, { emit: K }) {
|
20
20
|
p.unionOrgBizLayDict.useValues(), p.managerDict.useValues(), p.serviceNameDict.useValues(), p.siteDict.useValues();
|
21
|
-
const { t: m } =
|
22
|
-
let
|
21
|
+
const { t: m } = se(), { proxy: T } = ie(), w = h();
|
22
|
+
let e = H({
|
23
23
|
requestId: Math.random() * 10 + "",
|
24
24
|
updateMask: "siteId,serviceName,minDay,maxDay,limitPerson,status,note",
|
25
25
|
limitInfo: [
|
@@ -32,25 +32,26 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
32
32
|
]
|
33
33
|
});
|
34
34
|
$(
|
35
|
-
() => [
|
36
|
-
([
|
37
|
-
|
38
|
-
u.limitPerson =
|
35
|
+
() => [e.minDay, e.maxDay, e.limitPerson],
|
36
|
+
([t, l, n]) => {
|
37
|
+
t !== null && l !== null ? e.day = `${t}~${l}` : e.day = "", e.limitInfo && e.limitInfo.length > 0 && e.limitInfo.forEach((u) => {
|
38
|
+
u.limitPerson = n;
|
39
39
|
});
|
40
40
|
}
|
41
41
|
), ae(() => {
|
42
|
-
const { minDay:
|
43
|
-
return
|
42
|
+
const { minDay: t, maxDay: l } = e;
|
43
|
+
return t !== null && l !== null ? `${t}~${l}` : "";
|
44
44
|
}), $(
|
45
|
-
() =>
|
46
|
-
(
|
47
|
-
|
48
|
-
|
49
|
-
|
45
|
+
() => e.limitInfo,
|
46
|
+
(t) => {
|
47
|
+
if (!t) return;
|
48
|
+
t.every(
|
49
|
+
(n) => n.time && n.time.length > 0
|
50
|
+
) ? e.time = "校验通过" : e.time = "";
|
50
51
|
},
|
51
52
|
{ deep: !0 }
|
52
53
|
);
|
53
|
-
const
|
54
|
+
const L = H({
|
54
55
|
// 所属工会
|
55
56
|
orgId: [
|
56
57
|
{
|
@@ -83,9 +84,9 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
83
84
|
trigger: "blur"
|
84
85
|
},
|
85
86
|
{
|
86
|
-
validator: (
|
87
|
-
const { minDay: u, maxDay: d } =
|
88
|
-
u === null ?
|
87
|
+
validator: (t, l, n) => {
|
88
|
+
const { minDay: u, maxDay: d } = e;
|
89
|
+
u === null ? n(new Error(m("siteService.dayRequired"))) : d === null ? n(new Error(m("siteService.dayRequired"))) : n();
|
89
90
|
},
|
90
91
|
trigger: "change"
|
91
92
|
}
|
@@ -123,83 +124,85 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
123
124
|
]
|
124
125
|
});
|
125
126
|
$(
|
126
|
-
() =>
|
127
|
-
(
|
128
|
-
|
127
|
+
() => e.siteId,
|
128
|
+
(t) => {
|
129
|
+
t || e.orgId && C(e.orgId);
|
129
130
|
}
|
130
131
|
);
|
131
132
|
const b = h();
|
132
|
-
function C(
|
133
|
-
if (!
|
133
|
+
function C(t) {
|
134
|
+
if (!t) {
|
134
135
|
b.value = [];
|
135
136
|
return;
|
136
137
|
}
|
137
|
-
const l = new
|
138
|
+
const l = new ne({ orgId: t });
|
138
139
|
l.useValues(), b.value = l.values;
|
139
140
|
}
|
140
|
-
const c =
|
141
|
-
N.value && V.findById(I.entityKey).then(({ data:
|
142
|
-
|
143
|
-
|
144
|
-
...
|
141
|
+
const c = re(k, "modelValue"), I = k, P = K, M = Object.keys(I.entityKey), N = h(M.length >= 1);
|
142
|
+
N.value && V.findById(I.entityKey).then(({ data: t }) => {
|
143
|
+
t.siteId = t.name, Object.assign(e, t), V.findlimitInfoById(I.entityKey).then(({ data: { results: l } }) => {
|
144
|
+
e.limitInfo = l.map((n) => ({
|
145
|
+
...n,
|
145
146
|
time: [
|
146
|
-
|
147
|
-
|
147
|
+
F(n.startTime),
|
148
|
+
F(n.endTime)
|
148
149
|
]
|
149
150
|
}));
|
150
151
|
});
|
151
152
|
});
|
152
153
|
const A = async () => {
|
153
|
-
var
|
154
|
-
await ((
|
155
|
-
l && (N.value ? V.update(
|
156
|
-
|
154
|
+
var t;
|
155
|
+
await ((t = w.value) == null ? void 0 : t.validate((l) => {
|
156
|
+
l && (N.value ? V.update(e).then((n) => {
|
157
|
+
n.status === 200 && (R({
|
157
158
|
message: m("common.submitSuccess"),
|
158
159
|
type: "success"
|
159
|
-
}), c.value && (c.value = !1), P("refresh",
|
160
|
-
}) : V.create(
|
161
|
-
|
160
|
+
}), c.value && (c.value = !1), P("refresh", n.status === 200));
|
161
|
+
}) : V.create(e).then((n) => {
|
162
|
+
n.status === 200 && (R({
|
162
163
|
message: m("common.submitSuccess"),
|
163
164
|
type: "success"
|
164
|
-
}), c.value && (c.value = !1), P("refresh",
|
165
|
+
}), c.value && (c.value = !1), P("refresh", n.status === 200));
|
165
166
|
}));
|
166
167
|
}));
|
167
168
|
};
|
168
|
-
function G(
|
169
|
-
|
169
|
+
function G(t, l) {
|
170
|
+
e.limitInfo && (e.limitInfo[l].startTime = T.$moment.formatDate(t[0], "HH:mm"), e.limitInfo[l].endTime = T.$moment.formatDate(t[1], "HH:mm"));
|
170
171
|
}
|
171
172
|
function J() {
|
172
|
-
|
173
|
+
e.limitInfo && e.limitInfo.push({
|
173
174
|
startTime: "",
|
174
175
|
endTime: "",
|
175
|
-
limitPerson:
|
176
|
+
limitPerson: e.limitPerson
|
176
177
|
});
|
177
178
|
}
|
178
|
-
function Q(
|
179
|
-
if (
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
179
|
+
function Q(t) {
|
180
|
+
if (e.limitInfo) {
|
181
|
+
if (e.limitInfo.length === 1) {
|
182
|
+
R({
|
183
|
+
message: "最少保留一个时间段",
|
184
|
+
type: "error"
|
185
|
+
});
|
186
|
+
return;
|
187
|
+
}
|
188
|
+
e.limitInfo.splice(t, 1);
|
185
189
|
}
|
186
|
-
t.limitInfo.splice(e, 1);
|
187
190
|
}
|
188
191
|
function U() {
|
189
192
|
c.value && (c.value = !1);
|
190
193
|
}
|
191
|
-
return (
|
192
|
-
const
|
194
|
+
return (t, l) => {
|
195
|
+
const n = s("el-tree-select"), u = s("el-form-item"), d = s("el-col"), W = s("el-option"), X = s("el-select"), _ = s("el-input"), B = s("el-input-number"), Y = s("jmash-select"), Z = s("el-time-picker"), v = s("el-button"), x = s("el-row"), ee = s("el-form"), te = s("el-dialog");
|
193
196
|
return f(), O(te, {
|
194
197
|
modelValue: c.value,
|
195
|
-
"onUpdate:modelValue": l[8] || (l[8] = (
|
198
|
+
"onUpdate:modelValue": l[8] || (l[8] = (r) => c.value = r),
|
196
199
|
onClose: U
|
197
200
|
}, {
|
198
201
|
footer: a(() => [
|
199
|
-
|
202
|
+
oe("div", me, [
|
200
203
|
i(v, { onClick: U }, {
|
201
204
|
default: a(() => [
|
202
|
-
g(
|
205
|
+
g(q(t.$t("common.cancel")), 1)
|
203
206
|
]),
|
204
207
|
_: 1
|
205
208
|
}),
|
@@ -208,7 +211,7 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
208
211
|
onClick: A
|
209
212
|
}, {
|
210
213
|
default: a(() => [
|
211
|
-
g(
|
214
|
+
g(q(t.$t("common.confirm")), 1)
|
212
215
|
]),
|
213
216
|
_: 1
|
214
217
|
})
|
@@ -217,10 +220,10 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
217
220
|
default: a(() => [
|
218
221
|
i(ee, {
|
219
222
|
ref_key: "siteServiceFormRef",
|
220
|
-
ref:
|
221
|
-
model:
|
223
|
+
ref: w,
|
224
|
+
model: o(e),
|
222
225
|
"label-width": "120px",
|
223
|
-
rules:
|
226
|
+
rules: L
|
224
227
|
}, {
|
225
228
|
default: a(() => [
|
226
229
|
i(x, null, {
|
@@ -228,19 +231,19 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
228
231
|
i(d, { span: 12 }, {
|
229
232
|
default: a(() => [
|
230
233
|
i(u, {
|
231
|
-
label:
|
234
|
+
label: t.$t("siteService.orgId"),
|
232
235
|
prop: "orgId"
|
233
236
|
}, {
|
234
237
|
default: a(() => [
|
235
|
-
i(
|
236
|
-
modelValue:
|
237
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
238
|
-
data:
|
238
|
+
i(n, {
|
239
|
+
modelValue: o(e).orgId,
|
240
|
+
"onUpdate:modelValue": l[0] || (l[0] = (r) => o(e).orgId = r),
|
241
|
+
data: o(p).unionOrgBizLayDict.values,
|
239
242
|
filterable: "",
|
240
243
|
clearable: "",
|
241
244
|
"check-strictly": "",
|
242
245
|
"render-after-expand": !1,
|
243
|
-
placeholder:
|
246
|
+
placeholder: t.$t("siteService.orgIdRequired"),
|
244
247
|
style: { width: "100%" },
|
245
248
|
onChange: C
|
246
249
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
@@ -253,22 +256,22 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
253
256
|
i(d, { span: 12 }, {
|
254
257
|
default: a(() => [
|
255
258
|
i(u, {
|
256
|
-
label:
|
259
|
+
label: t.$t("siteService.siteId"),
|
257
260
|
prop: "siteId"
|
258
261
|
}, {
|
259
262
|
default: a(() => [
|
260
263
|
i(X, {
|
261
|
-
modelValue:
|
262
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
263
|
-
disabled: !
|
264
|
-
placeholder:
|
264
|
+
modelValue: o(e).siteId,
|
265
|
+
"onUpdate:modelValue": l[1] || (l[1] = (r) => o(e).siteId = r),
|
266
|
+
disabled: !o(e).orgId,
|
267
|
+
placeholder: t.$t("siteService.siteIdRequired"),
|
265
268
|
clearable: ""
|
266
269
|
}, {
|
267
270
|
default: a(() => [
|
268
|
-
(f(!0),
|
269
|
-
key:
|
270
|
-
label:
|
271
|
-
value:
|
271
|
+
(f(!0), D(j, null, z(b.value, (r) => (f(), O(W, {
|
272
|
+
key: r.key,
|
273
|
+
label: r.value,
|
274
|
+
value: r.key
|
272
275
|
}, null, 8, ["label", "value"]))), 128))
|
273
276
|
]),
|
274
277
|
_: 1
|
@@ -282,14 +285,14 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
282
285
|
i(d, { span: 12 }, {
|
283
286
|
default: a(() => [
|
284
287
|
i(u, {
|
285
|
-
label:
|
288
|
+
label: t.$t("siteService.serviceName"),
|
286
289
|
prop: "serviceName"
|
287
290
|
}, {
|
288
291
|
default: a(() => [
|
289
|
-
i(
|
290
|
-
modelValue:
|
291
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
292
|
-
placeholder:
|
292
|
+
i(_, {
|
293
|
+
modelValue: o(e).serviceName,
|
294
|
+
"onUpdate:modelValue": l[2] || (l[2] = (r) => o(e).serviceName = r),
|
295
|
+
placeholder: t.$t("siteService.serviceNameRequired"),
|
293
296
|
"show-word-limit": "",
|
294
297
|
clearable: ""
|
295
298
|
}, null, 8, ["modelValue", "placeholder"])
|
@@ -302,25 +305,26 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
302
305
|
i(d, { span: 12 }, {
|
303
306
|
default: a(() => [
|
304
307
|
i(u, {
|
305
|
-
label:
|
308
|
+
label: t.$t("siteService.day"),
|
306
309
|
prop: "day"
|
307
310
|
}, {
|
308
311
|
default: a(() => [
|
309
312
|
i(B, {
|
310
|
-
modelValue:
|
311
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
313
|
+
modelValue: o(e).minDay,
|
314
|
+
"onUpdate:modelValue": l[3] || (l[3] = (r) => o(e).minDay = r),
|
312
315
|
size: "small",
|
313
316
|
min: 0
|
314
317
|
}, null, 8, ["modelValue"]),
|
315
318
|
l[9] || (l[9] = g("~ ")),
|
316
319
|
i(B, {
|
317
|
-
modelValue:
|
318
|
-
"onUpdate:modelValue": l[4] || (l[4] = (
|
320
|
+
modelValue: o(e).maxDay,
|
321
|
+
"onUpdate:modelValue": l[4] || (l[4] = (r) => o(e).maxDay = r),
|
319
322
|
size: "small",
|
320
323
|
min: 0
|
321
324
|
}, null, 8, ["modelValue"])
|
322
325
|
]),
|
323
|
-
_: 1
|
326
|
+
_: 1,
|
327
|
+
__: [9]
|
324
328
|
}, 8, ["label"])
|
325
329
|
]),
|
326
330
|
_: 1
|
@@ -328,14 +332,14 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
328
332
|
i(d, { span: 12 }, {
|
329
333
|
default: a(() => [
|
330
334
|
i(u, {
|
331
|
-
label:
|
335
|
+
label: t.$t("siteService.limitPerson"),
|
332
336
|
prop: "limitPerson"
|
333
337
|
}, {
|
334
338
|
default: a(() => [
|
335
|
-
i(
|
336
|
-
modelValue:
|
337
|
-
"onUpdate:modelValue": l[5] || (l[5] = (
|
338
|
-
placeholder:
|
339
|
+
i(_, {
|
340
|
+
modelValue: o(e).limitPerson,
|
341
|
+
"onUpdate:modelValue": l[5] || (l[5] = (r) => o(e).limitPerson = r),
|
342
|
+
placeholder: t.$t("siteService.limitPersonRequired"),
|
339
343
|
"show-word-limit": "",
|
340
344
|
clearable: "",
|
341
345
|
type: "number",
|
@@ -350,15 +354,15 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
350
354
|
i(d, { span: 12 }, {
|
351
355
|
default: a(() => [
|
352
356
|
i(u, {
|
353
|
-
label:
|
357
|
+
label: t.$t("siteService.status"),
|
354
358
|
prop: "status"
|
355
359
|
}, {
|
356
360
|
default: a(() => [
|
357
361
|
i(Y, {
|
358
|
-
modelValue:
|
359
|
-
"onUpdate:modelValue": l[6] || (l[6] = (
|
360
|
-
placeholder:
|
361
|
-
data:
|
362
|
+
modelValue: o(e).status,
|
363
|
+
"onUpdate:modelValue": l[6] || (l[6] = (r) => o(e).status = r),
|
364
|
+
placeholder: t.$t("siteService.statusRequired"),
|
365
|
+
data: o(p).serviceStatusEnum.values,
|
362
366
|
clearable: "",
|
363
367
|
style: { width: "100% !important" }
|
364
368
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
@@ -371,17 +375,17 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
371
375
|
i(d, { span: 24 }, {
|
372
376
|
default: a(() => [
|
373
377
|
i(u, {
|
374
|
-
label:
|
378
|
+
label: t.$t("siteService.note"),
|
375
379
|
prop: "note"
|
376
380
|
}, {
|
377
381
|
default: a(() => [
|
378
|
-
i(
|
379
|
-
modelValue:
|
380
|
-
"onUpdate:modelValue": l[7] || (l[7] = (
|
382
|
+
i(_, {
|
383
|
+
modelValue: o(e).note,
|
384
|
+
"onUpdate:modelValue": l[7] || (l[7] = (r) => o(e).note = r),
|
381
385
|
type: "textarea",
|
382
386
|
maxlength: "100",
|
383
387
|
"show-word-limit": "",
|
384
|
-
placeholder:
|
388
|
+
placeholder: t.$t("siteService.noteRequired"),
|
385
389
|
rows: 3
|
386
390
|
}, null, 8, ["modelValue", "placeholder"])
|
387
391
|
]),
|
@@ -393,28 +397,28 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
393
397
|
i(d, { span: 24 }, {
|
394
398
|
default: a(() => [
|
395
399
|
i(u, {
|
396
|
-
label:
|
400
|
+
label: t.$t("siteService.time"),
|
397
401
|
prop: "time"
|
398
402
|
}, {
|
399
403
|
default: a(() => [
|
400
|
-
(f(!0),
|
404
|
+
(f(!0), D(j, null, z(o(e).limitInfo, (r, S) => (f(), D("div", { key: S }, [
|
401
405
|
i(Z, {
|
402
|
-
modelValue:
|
403
|
-
"onUpdate:modelValue": (y) =>
|
406
|
+
modelValue: r.time,
|
407
|
+
"onUpdate:modelValue": (y) => r.time = y,
|
404
408
|
"is-range": "",
|
405
409
|
style: { width: "315px" },
|
406
410
|
format: "HH:mm",
|
407
411
|
"range-separator": "To",
|
408
|
-
"start-placeholder":
|
409
|
-
"end-placeholder":
|
410
|
-
onChange: (y) => G(y,
|
412
|
+
"start-placeholder": t.$t("siteService.startTime"),
|
413
|
+
"end-placeholder": t.$t("siteService.endTime"),
|
414
|
+
onChange: (y) => G(y, S)
|
411
415
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "onChange"]),
|
412
416
|
i(v, {
|
413
417
|
style: { "margin-left": "30px", "margin-right": "30px" },
|
414
|
-
onClick: (y) => Q(
|
418
|
+
onClick: (y) => Q(S)
|
415
419
|
}, {
|
416
420
|
default: a(() => [
|
417
|
-
g(
|
421
|
+
g(q(t.$t("common.delete")), 1)
|
418
422
|
]),
|
419
423
|
_: 2
|
420
424
|
}, 1032, ["onClick"]),
|
@@ -422,7 +426,8 @@ const me = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
|
|
422
426
|
default: a(() => l[10] || (l[10] = [
|
423
427
|
g("添加")
|
424
428
|
])),
|
425
|
-
_: 1
|
429
|
+
_: 1,
|
430
|
+
__: [10]
|
426
431
|
})
|
427
432
|
]))), 128))
|
428
433
|
]),
|