xyvcard-asset 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +52 -52
- package/dist/assign-BLa-fXcy.mjs +1626 -0
- package/dist/{edit-zFZfd8e1.mjs → edit-CCrekeeb.mjs} +1 -1
- package/dist/{edit-CE3u81Q0.mjs → edit-DmRG7fo0.mjs} +1 -1
- package/dist/edit-Dn-QMuy6.mjs +4 -0
- package/dist/edit-FdqpKRgF.mjs +294 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs +547 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs → edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs} +146 -139
- package/dist/edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs +278 -0
- package/dist/index copy-Di49EjkG.mjs +76 -0
- package/dist/index-B4vUTwSW.mjs +171 -0
- package/dist/index-BK24yagy.mjs +1663 -0
- package/dist/index-BW-5IuVN.mjs +91 -0
- package/dist/index-BWwU9hSp.mjs +320 -0
- package/dist/index-BvKWLFdr.mjs +345 -0
- package/dist/index-BwbnYpa1.mjs +29 -0
- package/dist/index-ByVysHgI.mjs +4 -0
- package/dist/index-C5_f5Lce.mjs +213 -0
- package/dist/index-CgAq70-p.mjs +314 -0
- package/dist/index-DElPNxc7.mjs +398 -0
- package/dist/index-De4u-LEl.mjs +325 -0
- package/dist/index-DeBZxOsC.mjs +372 -0
- package/dist/index-Dyo7je0Z.mjs +38 -0
- package/dist/index-FUnFB7nG.mjs +61 -0
- package/dist/index-axEqTssj.mjs +378 -0
- package/dist/index-jOcS7tqC.mjs +311 -0
- package/dist/index-qQuyprvx.mjs +4 -0
- package/dist/index-xyCxQquE.mjs +432 -0
- package/dist/index.mjs +2752 -35
- package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +274 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +120 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs +105 -0
- package/dist/index/345/244/207/344/273/275-CaiMDP8J.mjs +319 -0
- package/dist/style.css +1 -1
- package/dts/src/api/asset/asset-asset/index.d.ts +10 -5
- package/dts/src/api/asset/asset-asset/types.d.ts +39 -23
- package/dts/src/api/asset/asset-asset-detail/index.d.ts +12 -0
- package/dts/src/api/asset/asset-asset-detail/types.d.ts +56 -0
- package/dts/src/api/asset/asset-depreciation-record/index.d.ts +11 -0
- package/dts/src/api/asset/asset-depreciation-record/types.d.ts +38 -0
- package/dts/src/api/asset/asset-inventory-record/index.d.ts +10 -0
- package/dts/src/api/asset/asset-inventory-record/types.d.ts +62 -0
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +1 -12
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +1 -44
- package/dts/src/api/asset/asset-service-appt-record/index.d.ts +1 -12
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +7 -68
- package/dts/src/api/asset/asset-site/index.d.ts +1 -2
- package/dts/src/api/asset/asset-site/types.d.ts +4 -14
- package/dts/src/api/asset/asset-site-service/index.d.ts +1 -2
- package/dts/src/api/asset/asset-site-service/types.d.ts +1 -0
- package/dts/src/api/asset/text/index.d.ts +0 -0
- package/dts/src/api/asset/text/types.d.ts +0 -0
- package/dts/src/api/dict.d.ts +1 -4
- package/dts/src/api/index.d.ts +2 -0
- package/dts/src/components/PeopleSelect/index.vue.d.ts +18 -0
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
- package/dts/{components/TMaps/index.vue.d.ts → src/components copy/PeopleSelect/index.vue.d.ts } +5 -7
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +34 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +18 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +34 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index/345/215/225/351/200/211/346/241/206/346/234/200/346/226/260.vue.d.ts" +34 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/tree/351/200/211/346/213/251/346/241/206/344/270/215/345/261/225/347/244/272/346/225/260/346/215/256,/344/270/213/346/226/271/351/242/204/350/247/210/346/225/260/346/215/256.vue.d.ts" +18 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//345/217/214/351/200/211/346/213/251.vue.d.ts" +42 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//351/200/211/346/213/251/344/272/272/345/221/230/index.vue.d.ts" +34 -0
- package/dts/{components/Upload/ImageUpload.vue.d.ts → src/components copy/Upload/ImageUpload.vue.d.ts } +1 -1
- package/dts/src/constant.d.ts +4 -1
- package/dts/src/index.d.ts +3 -1
- package/dts/src/lang/asset/zh-cn.d.ts +59 -1
- package/dts/src/router/page.d.ts +4 -0
- package/dts/src/utils/momentPlugin.d.ts +5 -0
- package/dts/{views/asset/asset-asset/edit.vue.d.ts → src/views/asset/asset-asset/assign.vue.d.ts} +12 -5
- package/dts/{views/asset/asset-site → src/views/asset/asset-asset-detail}/edit.vue.d.ts +5 -7
- package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
- package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -6
- package/dist/edit-Bo9bnbUP.mjs +0 -492
- package/dist/edit-DJFxVmvv.mjs +0 -624
- package/dist/edit-qp_2xtTZ.mjs +0 -242
- package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +0 -322
- package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +0 -1
- package/dist/index-Bf5U4Ucl.mjs +0 -369
- package/dist/index-Bh2imlN_.mjs +0 -149
- package/dist/index-CHNiaFZk.mjs +0 -291
- package/dist/index-CmlP_Rro.mjs +0 -332
- package/dist/index-Cqw_E8lr.mjs +0 -1269
- package/dist/index-DA_FS24d.mjs +0 -146
- package/dist/index-DKmGNvQl.mjs +0 -370
- package/dist/index-DLxpE9s5.mjs +0 -305
- package/dist/index-DWaL87j5.mjs +0 -89
- package/dist/index-jOnQLJaB.mjs +0 -416
- package/dist/index-pyyjj1xa.mjs +0 -187
- package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +0 -37
- package/dts/api/asset/asset-asset/index.d.ts +0 -20
- package/dts/api/asset/asset-asset/types.d.ts +0 -93
- package/dts/api/asset/asset-service-appt-member/index.d.ts +0 -20
- package/dts/api/asset/asset-service-appt-member/types.d.ts +0 -71
- package/dts/api/asset/asset-service-appt-record/index.d.ts +0 -20
- package/dts/api/asset/asset-service-appt-record/types.d.ts +0 -98
- package/dts/api/asset/asset-site/index.d.ts +0 -15
- package/dts/api/asset/asset-site/types.d.ts +0 -81
- package/dts/api/asset/asset-site-service/index.d.ts +0 -14
- package/dts/api/asset/asset-site-service/types.d.ts +0 -80
- package/dts/api/dict.d.ts +0 -22
- package/dts/api/index.d.ts +0 -14
- package/dts/api/org/union-org/index.d.ts +0 -14
- package/dts/api/org/union-org/types.d.ts +0 -49
- package/dts/components/EnumRadio/index.vue.d.ts +0 -18
- package/dts/components/EnumSelect/index.vue.d.ts +0 -18
- package/dts/constant.d.ts +0 -16
- package/dts/index.d.ts +0 -4
- package/dts/lang/asset/en.d.ts +0 -2
- package/dts/lang/asset/zh-cn.d.ts +0 -91
- package/dts/lang/index.d.ts +0 -1
- package/dts/main.d.ts +0 -4
- package/dts/permission.d.ts +0 -1
- package/dts/router/page.d.ts +0 -2
- package/dts/src/api/org/union-org/index.d.ts +0 -14
- package/dts/src/api/org/union-org/types.d.ts +0 -49
- package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
- package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
- package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
- package/dts/utils/common.d.ts +0 -51
- package/dts/utils/index.d.ts +0 -24
- package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
- package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +0 -22
- /package/dts/{views/asset/asset-asset → src/components/deptPeopleSelect}/index.vue.d.ts +0 -0
- /package/dts/{components → src/components copy}/Upload/MultiUpload.vue.d.ts +0 -0
- /package/dts/src/{views/asset/asset-service-appt-member → components copy/deptPeopleSelect}/index.vue.d.ts +0 -0
- /package/dts/{views/asset/asset-service-appt-record → src/views/asset/asset-asset/info}/index.vue.d.ts +0 -0
- /package/dts/{views/asset/asset-service-appt-member → src/views/asset/asset-asset-detail}/index.vue.d.ts +0 -0
- /package/dts/{views/asset/asset-service-appt-record/info → src/views/asset/asset-depreciation-record}/index.vue.d.ts +0 -0
- /package/dts/{views/asset/asset-site-service → src/views/asset/asset-depreciation-record/info}/index.vue.d.ts +0 -0
- /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/index.vue.d.ts +0 -0
- /package/dts/{App.vue.d.ts → src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts"} +0 -0
- /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/info/index.vue.d.ts +0 -0
@@ -1,12 +1,11 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import { D as p, a as S, S as oe } from "./index-DLxpE9s5.mjs";
|
1
|
+
import { defineComponent as ee, mergeModels as T, ref as y, reactive as U, useModel as le, resolveComponent as s, openBlock as f, createBlock as P, withCtx as i, createElementVNode as te, createVNode as l, createTextVNode as g, toDisplayString as B, unref as r, createElementBlock as _, Fragment as z, renderList as M } from "vue";
|
2
|
+
import { D as p, b as S, S as ae } from "./index-BK24yagy.mjs";
|
4
3
|
import { ElMessage as h } from "element-plus";
|
5
4
|
import { useI18n as ie } from "vue-i18n";
|
6
5
|
import { r as O } from "./common-kbgEWG-E.mjs";
|
7
|
-
const
|
6
|
+
const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
8
7
|
__name: "edit",
|
9
|
-
props: /* @__PURE__ */
|
8
|
+
props: /* @__PURE__ */ T({
|
10
9
|
entityKey: {
|
11
10
|
type: Object,
|
12
11
|
default: () => {
|
@@ -16,12 +15,11 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
16
15
|
modelValue: { type: Boolean },
|
17
16
|
modelModifiers: {}
|
18
17
|
}),
|
19
|
-
emits: /* @__PURE__ */
|
20
|
-
setup(I, { emit:
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
let t = w({
|
18
|
+
emits: /* @__PURE__ */ T(["refresh"], ["update:modelValue"]),
|
19
|
+
setup(I, { emit: j }) {
|
20
|
+
p.unionOrgBizLayDict.useValues(), p.managerDict.useValues(), p.serviceNameDict.useValues(), p.siteDict.useValues();
|
21
|
+
const { t: m } = ie(), k = y();
|
22
|
+
let t = U({
|
25
23
|
requestId: Math.random() * 10 + "",
|
26
24
|
updateMask: "siteId,serviceName,minDay,maxDay,limitPerson,status,note",
|
27
25
|
limitInfo: [
|
@@ -32,7 +30,8 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
32
30
|
}
|
33
31
|
]
|
34
32
|
});
|
35
|
-
const
|
33
|
+
const L = U({
|
34
|
+
// 所属工会
|
36
35
|
orgId: [
|
37
36
|
{
|
38
37
|
required: !0,
|
@@ -40,6 +39,7 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
40
39
|
trigger: "change"
|
41
40
|
}
|
42
41
|
],
|
42
|
+
// 场地名称
|
43
43
|
siteId: [
|
44
44
|
{
|
45
45
|
required: !0,
|
@@ -47,6 +47,7 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
47
47
|
trigger: "change"
|
48
48
|
}
|
49
49
|
],
|
50
|
+
// 预约项目
|
50
51
|
serviceName: [
|
51
52
|
{
|
52
53
|
required: !0,
|
@@ -54,10 +55,11 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
54
55
|
trigger: "change"
|
55
56
|
}
|
56
57
|
],
|
58
|
+
// 限制人流
|
57
59
|
limitPerson: [
|
58
60
|
{
|
59
61
|
required: !0,
|
60
|
-
message: m("siteService.
|
62
|
+
message: m("siteService.limitPersonRequired"),
|
61
63
|
trigger: "blur"
|
62
64
|
}
|
63
65
|
],
|
@@ -68,40 +70,41 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
68
70
|
trigger: "change"
|
69
71
|
}
|
70
72
|
],
|
73
|
+
// 预约规则说明
|
71
74
|
note: [
|
72
75
|
{
|
73
76
|
message: m("siteService.note"),
|
74
|
-
trigger: "
|
77
|
+
trigger: "blur"
|
75
78
|
}
|
76
79
|
]
|
77
|
-
}),
|
78
|
-
function
|
80
|
+
}), $ = y();
|
81
|
+
function E(e) {
|
79
82
|
t.siteId = "";
|
80
|
-
const a = new
|
81
|
-
a.useValues(),
|
83
|
+
const a = new ae({ orgId: e });
|
84
|
+
a.useValues(), $.value = a.values;
|
82
85
|
}
|
83
|
-
const c =
|
84
|
-
R.value && S.findById(D.entityKey).then(({ data:
|
85
|
-
Object.assign(t,
|
86
|
+
const c = le(I, "modelValue"), D = I, q = j, F = Object.keys(D.entityKey), R = y(F.length >= 1);
|
87
|
+
R.value && S.findById(D.entityKey).then(({ data: e }) => {
|
88
|
+
e.siteId = e.serviceName, Object.assign(t, e);
|
86
89
|
});
|
87
90
|
const K = async () => {
|
88
|
-
var
|
89
|
-
await ((
|
91
|
+
var e;
|
92
|
+
await ((e = k.value) == null ? void 0 : e.validate((a) => {
|
90
93
|
a && (R.value ? S.update(t).then((n) => {
|
91
|
-
|
94
|
+
n.status === 200 && (h({
|
92
95
|
message: m("common.submitSuccess"),
|
93
96
|
type: "success"
|
94
97
|
}), c.value && (c.value = !1), q("refresh", n.status === 200));
|
95
98
|
}) : S.create(t).then((n) => {
|
96
|
-
|
99
|
+
n.status === 200 && (h({
|
97
100
|
message: m("common.submitSuccess"),
|
98
101
|
type: "success"
|
99
102
|
}), c.value && (c.value = !1), q("refresh", n.status === 200));
|
100
103
|
}));
|
101
104
|
}));
|
102
105
|
};
|
103
|
-
function A(
|
104
|
-
t.limitInfo[a].startTime = O(
|
106
|
+
function A(e, a) {
|
107
|
+
t.limitInfo[a].startTime = O(e[0]), t.limitInfo[a].endTime = O(e[1]);
|
105
108
|
}
|
106
109
|
function G() {
|
107
110
|
t.limitInfo.push({
|
@@ -110,72 +113,73 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
110
113
|
limitPerson: 1
|
111
114
|
});
|
112
115
|
}
|
113
|
-
function H(
|
116
|
+
function H(e) {
|
114
117
|
if (t.limitInfo.length === 1) {
|
115
118
|
h({
|
116
119
|
message: "最少保留一个时间段",
|
117
|
-
type: "
|
120
|
+
type: "error"
|
118
121
|
});
|
119
122
|
return;
|
120
123
|
}
|
121
|
-
t.limitInfo.splice(
|
124
|
+
t.limitInfo.splice(e, 1);
|
122
125
|
}
|
123
|
-
function
|
126
|
+
function N() {
|
124
127
|
c.value && (c.value = !1);
|
125
128
|
}
|
126
|
-
return (
|
127
|
-
const n = s("el-tree-select"), d = s("el-form-item"), u = s("el-col"), J = s("el-option"), Q = s("el-select"),
|
129
|
+
return (e, a) => {
|
130
|
+
const n = s("el-tree-select"), d = s("el-form-item"), u = s("el-col"), J = s("el-option"), Q = s("el-select"), w = s("el-input-number"), C = s("el-input"), W = s("jmash-select"), X = s("el-time-picker"), v = s("el-button"), Y = s("el-row"), Z = s("el-form"), x = s("el-dialog");
|
128
131
|
return f(), P(x, {
|
129
132
|
modelValue: c.value,
|
130
|
-
"onUpdate:modelValue": a[9] || (a[9] = (
|
131
|
-
onClose:
|
133
|
+
"onUpdate:modelValue": a[9] || (a[9] = (o) => c.value = o),
|
134
|
+
onClose: N
|
132
135
|
}, {
|
133
|
-
footer:
|
134
|
-
|
135
|
-
|
136
|
-
default:
|
137
|
-
g(B(
|
136
|
+
footer: i(() => [
|
137
|
+
te("div", oe, [
|
138
|
+
l(v, { onClick: N }, {
|
139
|
+
default: i(() => [
|
140
|
+
g(B(e.$t("common.cancel")), 1)
|
138
141
|
]),
|
139
142
|
_: 1
|
140
143
|
}),
|
141
|
-
|
144
|
+
l(v, {
|
142
145
|
type: "primary",
|
143
146
|
onClick: K
|
144
147
|
}, {
|
145
|
-
default:
|
146
|
-
g(B(
|
148
|
+
default: i(() => [
|
149
|
+
g(B(e.$t("common.confirm")), 1)
|
147
150
|
]),
|
148
151
|
_: 1
|
149
152
|
})
|
150
153
|
])
|
151
154
|
]),
|
152
|
-
default:
|
153
|
-
|
155
|
+
default: i(() => [
|
156
|
+
l(Z, {
|
154
157
|
ref_key: "siteServiceFormRef",
|
155
|
-
ref:
|
158
|
+
ref: k,
|
156
159
|
model: r(t),
|
157
160
|
"label-width": "120px",
|
158
|
-
rules:
|
161
|
+
rules: L
|
159
162
|
}, {
|
160
|
-
default:
|
161
|
-
|
162
|
-
default:
|
163
|
-
|
164
|
-
default:
|
165
|
-
|
166
|
-
label:
|
163
|
+
default: i(() => [
|
164
|
+
l(Y, null, {
|
165
|
+
default: i(() => [
|
166
|
+
l(u, { span: 12 }, {
|
167
|
+
default: i(() => [
|
168
|
+
l(d, {
|
169
|
+
label: e.$t("siteService.orgId"),
|
167
170
|
prop: "orgId"
|
168
171
|
}, {
|
169
|
-
default:
|
170
|
-
|
172
|
+
default: i(() => [
|
173
|
+
l(n, {
|
171
174
|
modelValue: r(t).orgId,
|
172
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
175
|
+
"onUpdate:modelValue": a[0] || (a[0] = (o) => r(t).orgId = o),
|
173
176
|
data: r(p).unionOrgBizLayDict.values,
|
174
177
|
filterable: "",
|
175
178
|
"check-strictly": "",
|
176
179
|
"render-after-expand": !1,
|
177
|
-
placeholder:
|
178
|
-
|
180
|
+
placeholder: e.$t("siteService.orgIdRequired"),
|
181
|
+
style: { width: "100%" },
|
182
|
+
onChange: E
|
179
183
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
180
184
|
]),
|
181
185
|
_: 1
|
@@ -183,25 +187,25 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
183
187
|
]),
|
184
188
|
_: 1
|
185
189
|
}),
|
186
|
-
|
187
|
-
default:
|
188
|
-
|
189
|
-
label:
|
190
|
+
l(u, { span: 12 }, {
|
191
|
+
default: i(() => [
|
192
|
+
l(d, {
|
193
|
+
label: e.$t("siteService.siteId"),
|
190
194
|
prop: "siteId"
|
191
195
|
}, {
|
192
|
-
default:
|
193
|
-
|
196
|
+
default: i(() => [
|
197
|
+
l(Q, {
|
194
198
|
modelValue: r(t).siteId,
|
195
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
199
|
+
"onUpdate:modelValue": a[1] || (a[1] = (o) => r(t).siteId = o),
|
196
200
|
disabled: !r(t).orgId,
|
197
|
-
placeholder:
|
201
|
+
placeholder: e.$t("siteService.siteIdRequired"),
|
198
202
|
clearable: ""
|
199
203
|
}, {
|
200
|
-
default:
|
201
|
-
(f(!0), _(z, null, M(
|
202
|
-
key:
|
203
|
-
label:
|
204
|
-
value:
|
204
|
+
default: i(() => [
|
205
|
+
(f(!0), _(z, null, M($.value, (o) => (f(), P(J, {
|
206
|
+
key: o.key,
|
207
|
+
label: o.value,
|
208
|
+
value: o.key
|
205
209
|
}, null, 8, ["label", "value"]))), 128))
|
206
210
|
]),
|
207
211
|
_: 1
|
@@ -212,21 +216,21 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
212
216
|
]),
|
213
217
|
_: 1
|
214
218
|
}),
|
215
|
-
|
216
|
-
default:
|
217
|
-
|
218
|
-
label:
|
219
|
+
l(u, { span: 12 }, {
|
220
|
+
default: i(() => [
|
221
|
+
l(d, {
|
222
|
+
label: e.$t("siteService.serviceName"),
|
219
223
|
prop: "serviceName"
|
220
224
|
}, {
|
221
|
-
default:
|
222
|
-
|
225
|
+
default: i(() => [
|
226
|
+
l(n, {
|
223
227
|
modelValue: r(t).serviceName,
|
224
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
228
|
+
"onUpdate:modelValue": a[2] || (a[2] = (o) => r(t).serviceName = o),
|
225
229
|
data: r(p).serviceNameDict.values,
|
226
230
|
filterable: "",
|
227
231
|
"check-strictly": "",
|
228
232
|
"render-after-expand": !1,
|
229
|
-
placeholder:
|
233
|
+
placeholder: e.$t("siteService.serviceNameRequired")
|
230
234
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
231
235
|
]),
|
232
236
|
_: 1
|
@@ -234,23 +238,23 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
234
238
|
]),
|
235
239
|
_: 1
|
236
240
|
}),
|
237
|
-
|
238
|
-
default:
|
239
|
-
|
240
|
-
label:
|
241
|
+
l(u, { span: 12 }, {
|
242
|
+
default: i(() => [
|
243
|
+
l(d, {
|
244
|
+
label: e.$t("siteService.day"),
|
241
245
|
prop: "day"
|
242
246
|
}, {
|
243
|
-
default:
|
244
|
-
|
247
|
+
default: i(() => [
|
248
|
+
l(w, {
|
245
249
|
modelValue: r(t).minDay,
|
246
|
-
"onUpdate:modelValue": a[3] || (a[3] = (
|
250
|
+
"onUpdate:modelValue": a[3] || (a[3] = (o) => r(t).minDay = o),
|
247
251
|
size: "small",
|
248
252
|
min: 0
|
249
253
|
}, null, 8, ["modelValue"]),
|
250
254
|
g("~ "),
|
251
|
-
|
255
|
+
l(w, {
|
252
256
|
modelValue: r(t).maxDay,
|
253
|
-
"onUpdate:modelValue": a[4] || (a[4] = (
|
257
|
+
"onUpdate:modelValue": a[4] || (a[4] = (o) => r(t).maxDay = o),
|
254
258
|
size: "small",
|
255
259
|
min: 0
|
256
260
|
}, null, 8, ["modelValue"])
|
@@ -260,19 +264,21 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
260
264
|
]),
|
261
265
|
_: 1
|
262
266
|
}),
|
263
|
-
|
264
|
-
default:
|
265
|
-
|
266
|
-
label:
|
267
|
+
l(u, { span: 12 }, {
|
268
|
+
default: i(() => [
|
269
|
+
l(d, {
|
270
|
+
label: e.$t("siteService.limitPerson"),
|
267
271
|
prop: "limitPerson"
|
268
272
|
}, {
|
269
|
-
default:
|
270
|
-
|
273
|
+
default: i(() => [
|
274
|
+
l(C, {
|
271
275
|
modelValue: r(t).limitPerson,
|
272
|
-
"onUpdate:modelValue": a[5] || (a[5] = (
|
273
|
-
placeholder:
|
276
|
+
"onUpdate:modelValue": a[5] || (a[5] = (o) => r(t).limitPerson = o),
|
277
|
+
placeholder: e.$t("siteService.limitPersonRequired"),
|
274
278
|
"show-word-limit": "",
|
275
|
-
clearable: ""
|
279
|
+
clearable: "",
|
280
|
+
type: "number",
|
281
|
+
min: "0"
|
276
282
|
}, null, 8, ["modelValue", "placeholder"])
|
277
283
|
]),
|
278
284
|
_: 1
|
@@ -280,21 +286,21 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
280
286
|
]),
|
281
287
|
_: 1
|
282
288
|
}),
|
283
|
-
|
284
|
-
default:
|
285
|
-
|
286
|
-
label:
|
289
|
+
l(u, { span: 12 }, {
|
290
|
+
default: i(() => [
|
291
|
+
l(d, {
|
292
|
+
label: e.$t("siteService.manager"),
|
287
293
|
prop: "manager"
|
288
294
|
}, {
|
289
|
-
default:
|
290
|
-
|
295
|
+
default: i(() => [
|
296
|
+
l(n, {
|
291
297
|
modelValue: r(t).manager,
|
292
|
-
"onUpdate:modelValue": a[6] || (a[6] = (
|
298
|
+
"onUpdate:modelValue": a[6] || (a[6] = (o) => r(t).manager = o),
|
293
299
|
data: r(p).managerDict.values,
|
294
300
|
filterable: "",
|
295
301
|
"check-strictly": "",
|
296
302
|
"render-after-expand": !1,
|
297
|
-
placeholder:
|
303
|
+
placeholder: e.$t("siteService.managerRequired")
|
298
304
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
299
305
|
]),
|
300
306
|
_: 1
|
@@ -302,19 +308,20 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
302
308
|
]),
|
303
309
|
_: 1
|
304
310
|
}),
|
305
|
-
|
306
|
-
default:
|
307
|
-
|
308
|
-
label:
|
311
|
+
l(u, { span: 12 }, {
|
312
|
+
default: i(() => [
|
313
|
+
l(d, {
|
314
|
+
label: e.$t("siteService.status"),
|
309
315
|
prop: "status"
|
310
316
|
}, {
|
311
|
-
default:
|
312
|
-
|
317
|
+
default: i(() => [
|
318
|
+
l(W, {
|
313
319
|
modelValue: r(t).status,
|
314
|
-
"onUpdate:modelValue": a[7] || (a[7] = (
|
315
|
-
placeholder:
|
320
|
+
"onUpdate:modelValue": a[7] || (a[7] = (o) => r(t).status = o),
|
321
|
+
placeholder: e.$t("siteService.statusRequired"),
|
316
322
|
data: r(p).serviceStatusEnum.values,
|
317
|
-
clearable: ""
|
323
|
+
clearable: "",
|
324
|
+
style: { width: "100% !important" }
|
318
325
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
319
326
|
]),
|
320
327
|
_: 1
|
@@ -322,21 +329,21 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
322
329
|
]),
|
323
330
|
_: 1
|
324
331
|
}),
|
325
|
-
|
326
|
-
default:
|
327
|
-
|
328
|
-
label:
|
332
|
+
l(u, { span: 12 }, {
|
333
|
+
default: i(() => [
|
334
|
+
l(d, {
|
335
|
+
label: e.$t("siteService.note"),
|
329
336
|
prop: "note"
|
330
337
|
}, {
|
331
|
-
default:
|
332
|
-
|
338
|
+
default: i(() => [
|
339
|
+
l(C, {
|
333
340
|
modelValue: r(t).note,
|
334
|
-
"onUpdate:modelValue": a[8] || (a[8] = (
|
341
|
+
"onUpdate:modelValue": a[8] || (a[8] = (o) => r(t).note = o),
|
335
342
|
autosize: "",
|
336
343
|
type: "textarea",
|
337
344
|
maxlength: "100",
|
338
345
|
"show-word-limit": "",
|
339
|
-
placeholder:
|
346
|
+
placeholder: e.$t("siteService.noteRequired")
|
340
347
|
}, null, 8, ["modelValue", "placeholder"])
|
341
348
|
]),
|
342
349
|
_: 1
|
@@ -344,35 +351,35 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
344
351
|
]),
|
345
352
|
_: 1
|
346
353
|
}),
|
347
|
-
|
348
|
-
default:
|
349
|
-
|
350
|
-
label:
|
354
|
+
l(u, { span: 24 }, {
|
355
|
+
default: i(() => [
|
356
|
+
l(d, {
|
357
|
+
label: e.$t("siteService.time"),
|
351
358
|
prop: "time"
|
352
359
|
}, {
|
353
|
-
default:
|
354
|
-
(f(!0), _(z, null, M(r(t).limitInfo, (
|
355
|
-
|
356
|
-
modelValue:
|
357
|
-
"onUpdate:modelValue": (V) =>
|
360
|
+
default: i(() => [
|
361
|
+
(f(!0), _(z, null, M(r(t).limitInfo, (o, b) => (f(), _("div", { key: b }, [
|
362
|
+
l(X, {
|
363
|
+
modelValue: o.time,
|
364
|
+
"onUpdate:modelValue": (V) => o.time = V,
|
358
365
|
"is-range": "",
|
359
366
|
style: { width: "315px" },
|
360
367
|
"range-separator": "To",
|
361
|
-
"start-placeholder":
|
362
|
-
"end-placeholder":
|
368
|
+
"start-placeholder": e.$t("siteService.startTime"),
|
369
|
+
"end-placeholder": e.$t("siteService.endTime"),
|
363
370
|
onChange: (V) => A(V, b)
|
364
371
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "onChange"]),
|
365
|
-
|
372
|
+
l(v, {
|
366
373
|
style: { "margin-left": "30px", "margin-right": "30px" },
|
367
374
|
onClick: (V) => H(b)
|
368
375
|
}, {
|
369
|
-
default:
|
376
|
+
default: i(() => [
|
370
377
|
g("删除")
|
371
378
|
]),
|
372
379
|
_: 2
|
373
380
|
}, 1032, ["onClick"]),
|
374
|
-
|
375
|
-
default:
|
381
|
+
l(v, { onClick: G }, {
|
382
|
+
default: i(() => [
|
376
383
|
g("添加")
|
377
384
|
]),
|
378
385
|
_: 1
|
@@ -397,5 +404,5 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
|
|
397
404
|
}
|
398
405
|
});
|
399
406
|
export {
|
400
|
-
|
407
|
+
me as _
|
401
408
|
};
|