xyvcard-asset 0.0.11 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{assign-DzQUNp-Y.mjs → assign-4SD6S-Fb.mjs} +1 -1
- package/dist/common-CshrwPyx.mjs +26 -0
- package/dist/{edit-O1D_xFra.mjs → edit-BD4l4cZV.mjs} +1 -1
- package/dist/{edit-CCrekeeb.mjs → edit-BIE_CJlr.mjs} +1 -1
- package/dist/{edit-FdqpKRgF.mjs → edit-C4aYV45m.mjs} +2 -2
- package/dist/{edit-Dn-QMuy6.mjs → edit-DR-WgdT5.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs → edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs} +112 -101
- package/dist/edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs +446 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs → edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs} +1 -2
- package/dist/{index-B4vUTwSW.mjs → index-8j66ouA1.mjs} +1 -1
- package/dist/{index-CSMEsPcN.mjs → index-Bqv9_BYL.mjs} +3 -3
- package/dist/{index-BvKWLFdr.mjs → index-BxeGNuSx.mjs} +57 -47
- package/dist/{index-De4u-LEl.mjs → index-BzUXtBGU.mjs} +111 -108
- package/dist/{index-DElPNxc7.mjs → index-C9FfnHCZ.mjs} +2 -2
- package/dist/{index-BK24yagy.mjs → index-CGds22-2.mjs} +145 -136
- package/dist/{index-BWwU9hSp.mjs → index-CHaJu5hs.mjs} +92 -82
- package/dist/{index-BpYjnXUI.mjs → index-CJhQRbHt.mjs} +2 -2
- package/dist/{index-axEqTssj.mjs → index-CKF69gMl.mjs} +3 -3
- package/dist/index-CuDcmifl.mjs +165 -0
- package/dist/{index-jOcS7tqC.mjs → index-Cz4CVX5Y.mjs} +2 -2
- package/dist/{index-CgAq70-p.mjs → index-DfOZUIkb.mjs} +1 -1
- package/dist/{index-C5_f5Lce.mjs → index-Ds5MwEwr.mjs} +1 -1
- package/dist/{index-FUnFB7nG.mjs → index-rSyUfdXn.mjs} +1 -1
- package/dist/index.mjs +110 -107
- package/dts/api/asset/asset-site-service/index.d.ts +2 -1
- package/dts/api/asset/asset-site-service/types.d.ts +19 -1
- package/dts/components/Upload/ImageUpload.vue.d.ts +1 -1
- package/dts/lang/asset/zh-cn.d.ts +3 -0
- package/dts/src/api/asset/asset-asset/index.d.ts +3 -1
- package/dts/src/api/asset/asset-asset/types.d.ts +23 -17
- package/dts/src/api/asset/asset-asset-detail/index.d.ts +10 -2
- package/dts/src/api/asset/asset-asset-detail/types.d.ts +22 -13
- package/dts/src/api/asset/asset-inventory-record/index.d.ts +7 -2
- package/dts/src/api/asset/asset-inventory-record/types.d.ts +1 -0
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +12 -1
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +44 -1
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +1 -1
- package/dts/src/api/asset/asset-site/index.d.ts +2 -1
- package/dts/src/api/asset/asset-site-service/index.d.ts +2 -1
- package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
- package/dts/src/components/EnumSelect/index.vue.d.ts +18 -0
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
- package/dts/src/index.d.ts +1 -1
- package/dts/src/lang/asset/zh-cn.d.ts +6 -38
- package/dts/src/router/page.d.ts +0 -2
- package/dts/src/views/asset/{asset-asset-detail → asset-service-appt-member}/edit.vue.d.ts +7 -5
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/dts/utils/common.d.ts +4 -0
- package/package.json +3 -3
- package/dist/common-kbgEWG-E.mjs +0 -24
- package/dist/edit.vue_vue_type_script_setup_true_lang-sE0fN_pL.mjs +0 -385
- package/dist/index copy-CxTCJcvX.mjs +0 -75
- package/dist/index-BW-5IuVN.mjs +0 -91
- package/dist/index-GhvyIwc3.mjs +0 -4
- package/dist/index-pfeu6d82.mjs +0 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +0 -110
- package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +0 -54
- package/dist/index/345/244/207/344/273/275-BfKo5eBT.mjs +0 -323
- package/dts/components/PeopleSelectAsset/index.vue.d.ts +0 -18
- package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +0 -14
- package/dts/src/api/asset/asset-depreciation-record/index.d.ts +0 -11
- package/dts/src/api/asset/asset-depreciation-record/types.d.ts +0 -38
- 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/components/PeopleSelect/index.vue.d.ts +0 -18
- package/dts/src/components/deptPeopleSelect/index.vue.d.ts +0 -2
- package/dts/src/components copy/PeopleSelect/index.vue.d.ts +0 -18
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +0 -34
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +0 -18
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +0 -34
- 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" +0 -34
- 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" +0 -18
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//345/217/214/351/200/211/346/213/251.vue.d.ts" +0 -42
- 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" +0 -34
- package/dts/src/components copy/Upload/ImageUpload.vue.d.ts +0 -38
- package/dts/src/components copy/Upload/MultiUpload.vue.d.ts +0 -24
- package/dts/src/views/asset/asset-asset-detail/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-depreciation-record/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-depreciation-record/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +0 -6
- package/dts/src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +0 -6
- package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +0 -2
- /package/dts/src/{components copy/deptPeopleSelect → views/asset/asset-service-appt-member}/index.vue.d.ts +0 -0
package/dts/utils/common.d.ts
CHANGED
@@ -49,3 +49,7 @@ export declare function traverseTreeRecursively(id: string, node: any): any;
|
|
49
49
|
* @returns 返回拼接后的字符串
|
50
50
|
*/
|
51
51
|
export declare function treeData(node: any, key?: string): string | null;
|
52
|
+
/**
|
53
|
+
* 将"09:00:00"/"09:00" /"09" 时间字符串转换为Date对象
|
54
|
+
*/
|
55
|
+
export declare function convertToDate(timeString: string): Date;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "xyvcard-asset",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.13",
|
4
4
|
"private": false,
|
5
5
|
"module": "dist/index.mjs",
|
6
6
|
"types": "dts/index.d.ts",
|
@@ -15,9 +15,9 @@
|
|
15
15
|
"vue": "^3.4.21",
|
16
16
|
"vue-i18n": "^9.10.1",
|
17
17
|
"vue-router": "^4.3.0",
|
18
|
-
"jmash-core": "^0.0.
|
18
|
+
"jmash-core": "^0.0.98",
|
19
19
|
"jmash-dict": "^0.0.39",
|
20
|
-
"jmash-rbac": "
|
20
|
+
"jmash-rbac": "^0.0.34"
|
21
21
|
},
|
22
22
|
"devDependencies": {
|
23
23
|
"@rushstack/eslint-patch": "^1.3.3",
|
package/dist/common-kbgEWG-E.mjs
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
function D(r, e = 0, a = 0, c = 0) {
|
2
|
-
const t = new Date(r);
|
3
|
-
t.setFullYear(Number(t.getFullYear()) + Number(e)), t.setMonth(t.getMonth() + a), t.setDate(t.getDate() + c);
|
4
|
-
const o = t.getFullYear(), n = t.getMonth() + 1, u = t.getDate();
|
5
|
-
return {
|
6
|
-
getYear: function() {
|
7
|
-
return o;
|
8
|
-
},
|
9
|
-
getMonth: function() {
|
10
|
-
return o + "-" + (n < 10 ? "0" : "") + n;
|
11
|
-
},
|
12
|
-
getFullDate: function() {
|
13
|
-
return o + "-" + (n < 10 ? "0" : "") + n + "-" + (u < 10 ? "0" : "") + u;
|
14
|
-
}
|
15
|
-
};
|
16
|
-
}
|
17
|
-
function i(r) {
|
18
|
-
const e = new Date(r);
|
19
|
-
return e.getHours() + ":" + e.getMinutes() + ":" + e.getSeconds();
|
20
|
-
}
|
21
|
-
export {
|
22
|
-
D as c,
|
23
|
-
i as r
|
24
|
-
};
|
@@ -1,385 +0,0 @@
|
|
1
|
-
import { defineComponent as ee, mergeModels as U, ref as _, reactive as P, useModel as le, resolveComponent as r, openBlock as f, createBlock as B, withCtx as o, createElementVNode as te, createVNode as l, createTextVNode as v, toDisplayString as h, unref as s, createElementBlock as S, Fragment as M, renderList as O } from "vue";
|
2
|
-
import { D as p, b as I, S as ae } from "./index-BK24yagy.mjs";
|
3
|
-
import { ElMessage as $ } from "element-plus";
|
4
|
-
import { useI18n as oe } from "vue-i18n";
|
5
|
-
import { r as j } from "./common-kbgEWG-E.mjs";
|
6
|
-
const ie = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
7
|
-
__name: "edit",
|
8
|
-
props: /* @__PURE__ */ U({
|
9
|
-
entityKey: {
|
10
|
-
type: Object,
|
11
|
-
default: () => {
|
12
|
-
}
|
13
|
-
}
|
14
|
-
}, {
|
15
|
-
modelValue: { type: Boolean },
|
16
|
-
modelModifiers: {}
|
17
|
-
}),
|
18
|
-
emits: /* @__PURE__ */ U(["refresh"], ["update:modelValue"]),
|
19
|
-
setup(k, { emit: z }) {
|
20
|
-
p.unionOrgBizLayDict.useValues(), p.managerDict.useValues(), p.serviceNameDict.useValues(), p.siteDict.useValues();
|
21
|
-
const { t: n } = oe(), q = _();
|
22
|
-
let t = P({
|
23
|
-
requestId: Math.random() * 10 + "",
|
24
|
-
updateMask: "siteId,serviceName,minDay,maxDay,limitPerson,status,note",
|
25
|
-
limitInfo: [
|
26
|
-
{
|
27
|
-
startTime: "",
|
28
|
-
endTime: "",
|
29
|
-
limitPerson: 1
|
30
|
-
}
|
31
|
-
]
|
32
|
-
});
|
33
|
-
const L = P({
|
34
|
-
// 所属工会
|
35
|
-
orgId: [
|
36
|
-
{
|
37
|
-
required: !0,
|
38
|
-
message: n("siteService.orgIdRequired"),
|
39
|
-
trigger: "change"
|
40
|
-
}
|
41
|
-
],
|
42
|
-
// 场地名称
|
43
|
-
siteId: [
|
44
|
-
{
|
45
|
-
required: !0,
|
46
|
-
message: n("siteService.siteIdRequired"),
|
47
|
-
trigger: "change"
|
48
|
-
}
|
49
|
-
],
|
50
|
-
// 预约项目
|
51
|
-
serviceName: [
|
52
|
-
{
|
53
|
-
required: !0,
|
54
|
-
message: n("siteService.serviceNameRequired"),
|
55
|
-
trigger: "change"
|
56
|
-
}
|
57
|
-
],
|
58
|
-
// 限制人流
|
59
|
-
limitPerson: [
|
60
|
-
{
|
61
|
-
required: !0,
|
62
|
-
message: n("siteService.limitPersonRequired"),
|
63
|
-
trigger: "blur"
|
64
|
-
}
|
65
|
-
],
|
66
|
-
status: [
|
67
|
-
{
|
68
|
-
required: !0,
|
69
|
-
message: n("siteService.statusRequired"),
|
70
|
-
trigger: "change"
|
71
|
-
}
|
72
|
-
],
|
73
|
-
// 预约规则说明
|
74
|
-
note: [
|
75
|
-
{
|
76
|
-
message: n("siteService.note"),
|
77
|
-
trigger: "blur"
|
78
|
-
}
|
79
|
-
]
|
80
|
-
}), D = _();
|
81
|
-
function E(e) {
|
82
|
-
t.siteId = "";
|
83
|
-
const a = new ae({ orgId: e });
|
84
|
-
a.useValues(), D.value = a.values;
|
85
|
-
}
|
86
|
-
const u = le(k, "modelValue"), w = k, R = z, F = Object.keys(w.entityKey), C = _(F.length >= 1);
|
87
|
-
C.value && I.findById(w.entityKey).then(({ data: e }) => {
|
88
|
-
e.siteId = e.serviceName, Object.assign(t, e);
|
89
|
-
});
|
90
|
-
const K = async () => {
|
91
|
-
var e;
|
92
|
-
await ((e = q.value) == null ? void 0 : e.validate((a) => {
|
93
|
-
a && (C.value ? I.update(t).then((c) => {
|
94
|
-
c.status === 200 && ($({
|
95
|
-
message: n("common.submitSuccess"),
|
96
|
-
type: "success"
|
97
|
-
}), u.value && (u.value = !1), R("refresh", c.status === 200));
|
98
|
-
}) : I.create(t).then((c) => {
|
99
|
-
c.status === 200 && ($({
|
100
|
-
message: n("common.submitSuccess"),
|
101
|
-
type: "success"
|
102
|
-
}), u.value && (u.value = !1), R("refresh", c.status === 200));
|
103
|
-
}));
|
104
|
-
}));
|
105
|
-
};
|
106
|
-
function H(e, a) {
|
107
|
-
t.limitInfo[a].startTime = j(e[0]), t.limitInfo[a].endTime = j(e[1]);
|
108
|
-
}
|
109
|
-
function A() {
|
110
|
-
t.limitInfo.push({
|
111
|
-
startTime: "",
|
112
|
-
endTime: "",
|
113
|
-
limitPerson: 1
|
114
|
-
});
|
115
|
-
}
|
116
|
-
function G(e) {
|
117
|
-
if (t.limitInfo.length === 1) {
|
118
|
-
$({
|
119
|
-
message: "最少保留一个时间段",
|
120
|
-
type: "error"
|
121
|
-
});
|
122
|
-
return;
|
123
|
-
}
|
124
|
-
t.limitInfo.splice(e, 1);
|
125
|
-
}
|
126
|
-
function N() {
|
127
|
-
u.value && (u.value = !1);
|
128
|
-
}
|
129
|
-
return (e, a) => {
|
130
|
-
const c = r("el-tree-select"), d = r("el-form-item"), m = r("el-col"), J = r("el-option"), Q = r("el-select"), y = r("el-input"), T = r("el-input-number"), W = r("jmash-select"), X = r("el-time-picker"), g = r("el-button"), Y = r("el-row"), Z = r("el-form"), x = r("el-dialog");
|
131
|
-
return f(), B(x, {
|
132
|
-
modelValue: u.value,
|
133
|
-
"onUpdate:modelValue": a[8] || (a[8] = (i) => u.value = i),
|
134
|
-
onClose: N
|
135
|
-
}, {
|
136
|
-
footer: o(() => [
|
137
|
-
te("div", ie, [
|
138
|
-
l(g, { onClick: N }, {
|
139
|
-
default: o(() => [
|
140
|
-
v(h(e.$t("common.cancel")), 1)
|
141
|
-
]),
|
142
|
-
_: 1
|
143
|
-
}),
|
144
|
-
l(g, {
|
145
|
-
type: "primary",
|
146
|
-
onClick: K
|
147
|
-
}, {
|
148
|
-
default: o(() => [
|
149
|
-
v(h(e.$t("common.confirm")), 1)
|
150
|
-
]),
|
151
|
-
_: 1
|
152
|
-
})
|
153
|
-
])
|
154
|
-
]),
|
155
|
-
default: o(() => [
|
156
|
-
l(Z, {
|
157
|
-
ref_key: "siteServiceFormRef",
|
158
|
-
ref: q,
|
159
|
-
model: s(t),
|
160
|
-
"label-width": "120px",
|
161
|
-
rules: L
|
162
|
-
}, {
|
163
|
-
default: o(() => [
|
164
|
-
l(Y, null, {
|
165
|
-
default: o(() => [
|
166
|
-
l(m, { span: 12 }, {
|
167
|
-
default: o(() => [
|
168
|
-
l(d, {
|
169
|
-
label: e.$t("siteService.orgId"),
|
170
|
-
prop: "orgId"
|
171
|
-
}, {
|
172
|
-
default: o(() => [
|
173
|
-
l(c, {
|
174
|
-
modelValue: s(t).orgId,
|
175
|
-
"onUpdate:modelValue": a[0] || (a[0] = (i) => s(t).orgId = i),
|
176
|
-
data: s(p).unionOrgBizLayDict.values,
|
177
|
-
filterable: "",
|
178
|
-
"check-strictly": "",
|
179
|
-
"render-after-expand": !1,
|
180
|
-
placeholder: e.$t("siteService.orgIdRequired"),
|
181
|
-
style: { width: "100%" },
|
182
|
-
onChange: E
|
183
|
-
}, null, 8, ["modelValue", "data", "placeholder"])
|
184
|
-
]),
|
185
|
-
_: 1
|
186
|
-
}, 8, ["label"])
|
187
|
-
]),
|
188
|
-
_: 1
|
189
|
-
}),
|
190
|
-
l(m, { span: 12 }, {
|
191
|
-
default: o(() => [
|
192
|
-
l(d, {
|
193
|
-
label: e.$t("siteService.siteId"),
|
194
|
-
prop: "siteId"
|
195
|
-
}, {
|
196
|
-
default: o(() => [
|
197
|
-
l(Q, {
|
198
|
-
modelValue: s(t).siteId,
|
199
|
-
"onUpdate:modelValue": a[1] || (a[1] = (i) => s(t).siteId = i),
|
200
|
-
disabled: !s(t).orgId,
|
201
|
-
placeholder: e.$t("siteService.siteIdRequired"),
|
202
|
-
clearable: ""
|
203
|
-
}, {
|
204
|
-
default: o(() => [
|
205
|
-
(f(!0), S(M, null, O(D.value, (i) => (f(), B(J, {
|
206
|
-
key: i.key,
|
207
|
-
label: i.value,
|
208
|
-
value: i.key
|
209
|
-
}, null, 8, ["label", "value"]))), 128))
|
210
|
-
]),
|
211
|
-
_: 1
|
212
|
-
}, 8, ["modelValue", "disabled", "placeholder"])
|
213
|
-
]),
|
214
|
-
_: 1
|
215
|
-
}, 8, ["label"])
|
216
|
-
]),
|
217
|
-
_: 1
|
218
|
-
}),
|
219
|
-
l(m, { span: 12 }, {
|
220
|
-
default: o(() => [
|
221
|
-
l(d, {
|
222
|
-
label: e.$t("siteService.serviceName"),
|
223
|
-
prop: "serviceName"
|
224
|
-
}, {
|
225
|
-
default: o(() => [
|
226
|
-
l(y, {
|
227
|
-
modelValue: s(t).serviceName,
|
228
|
-
"onUpdate:modelValue": a[2] || (a[2] = (i) => s(t).serviceName = i),
|
229
|
-
placeholder: e.$t("siteService.serviceNameRequired"),
|
230
|
-
"show-word-limit": "",
|
231
|
-
clearable: ""
|
232
|
-
}, null, 8, ["modelValue", "placeholder"])
|
233
|
-
]),
|
234
|
-
_: 1
|
235
|
-
}, 8, ["label"])
|
236
|
-
]),
|
237
|
-
_: 1
|
238
|
-
}),
|
239
|
-
l(m, { span: 12 }, {
|
240
|
-
default: o(() => [
|
241
|
-
l(d, {
|
242
|
-
label: e.$t("siteService.day"),
|
243
|
-
prop: "day"
|
244
|
-
}, {
|
245
|
-
default: o(() => [
|
246
|
-
l(T, {
|
247
|
-
modelValue: s(t).minDay,
|
248
|
-
"onUpdate:modelValue": a[3] || (a[3] = (i) => s(t).minDay = i),
|
249
|
-
size: "small",
|
250
|
-
min: 0
|
251
|
-
}, null, 8, ["modelValue"]),
|
252
|
-
v("~ "),
|
253
|
-
l(T, {
|
254
|
-
modelValue: s(t).maxDay,
|
255
|
-
"onUpdate:modelValue": a[4] || (a[4] = (i) => s(t).maxDay = i),
|
256
|
-
size: "small",
|
257
|
-
min: 0
|
258
|
-
}, null, 8, ["modelValue"])
|
259
|
-
]),
|
260
|
-
_: 1
|
261
|
-
}, 8, ["label"])
|
262
|
-
]),
|
263
|
-
_: 1
|
264
|
-
}),
|
265
|
-
l(m, { span: 12 }, {
|
266
|
-
default: o(() => [
|
267
|
-
l(d, {
|
268
|
-
label: e.$t("siteService.limitPerson"),
|
269
|
-
prop: "limitPerson"
|
270
|
-
}, {
|
271
|
-
default: o(() => [
|
272
|
-
l(y, {
|
273
|
-
modelValue: s(t).limitPerson,
|
274
|
-
"onUpdate:modelValue": a[5] || (a[5] = (i) => s(t).limitPerson = i),
|
275
|
-
placeholder: e.$t("siteService.limitPersonRequired"),
|
276
|
-
"show-word-limit": "",
|
277
|
-
clearable: "",
|
278
|
-
type: "number",
|
279
|
-
min: "0"
|
280
|
-
}, null, 8, ["modelValue", "placeholder"])
|
281
|
-
]),
|
282
|
-
_: 1
|
283
|
-
}, 8, ["label"])
|
284
|
-
]),
|
285
|
-
_: 1
|
286
|
-
}),
|
287
|
-
l(m, { span: 12 }, {
|
288
|
-
default: o(() => [
|
289
|
-
l(d, {
|
290
|
-
label: e.$t("siteService.status"),
|
291
|
-
prop: "status"
|
292
|
-
}, {
|
293
|
-
default: o(() => [
|
294
|
-
l(W, {
|
295
|
-
modelValue: s(t).status,
|
296
|
-
"onUpdate:modelValue": a[6] || (a[6] = (i) => s(t).status = i),
|
297
|
-
placeholder: e.$t("siteService.statusRequired"),
|
298
|
-
data: s(p).serviceStatusEnum.values,
|
299
|
-
clearable: "",
|
300
|
-
style: { width: "100% !important" }
|
301
|
-
}, null, 8, ["modelValue", "placeholder", "data"])
|
302
|
-
]),
|
303
|
-
_: 1
|
304
|
-
}, 8, ["label"])
|
305
|
-
]),
|
306
|
-
_: 1
|
307
|
-
}),
|
308
|
-
l(m, { span: 24 }, {
|
309
|
-
default: o(() => [
|
310
|
-
l(d, {
|
311
|
-
label: e.$t("siteService.note"),
|
312
|
-
prop: "note"
|
313
|
-
}, {
|
314
|
-
default: o(() => [
|
315
|
-
l(y, {
|
316
|
-
modelValue: s(t).note,
|
317
|
-
"onUpdate:modelValue": a[7] || (a[7] = (i) => s(t).note = i),
|
318
|
-
type: "textarea",
|
319
|
-
maxlength: "100",
|
320
|
-
"show-word-limit": "",
|
321
|
-
placeholder: e.$t("siteService.noteRequired"),
|
322
|
-
rows: 3
|
323
|
-
}, null, 8, ["modelValue", "placeholder"])
|
324
|
-
]),
|
325
|
-
_: 1
|
326
|
-
}, 8, ["label"])
|
327
|
-
]),
|
328
|
-
_: 1
|
329
|
-
}),
|
330
|
-
l(m, { span: 24 }, {
|
331
|
-
default: o(() => [
|
332
|
-
l(d, {
|
333
|
-
label: e.$t("siteService.time"),
|
334
|
-
prop: "time"
|
335
|
-
}, {
|
336
|
-
default: o(() => [
|
337
|
-
(f(!0), S(M, null, O(s(t).limitInfo, (i, b) => (f(), S("div", { key: b }, [
|
338
|
-
l(X, {
|
339
|
-
modelValue: i.time,
|
340
|
-
"onUpdate:modelValue": (V) => i.time = V,
|
341
|
-
"is-range": "",
|
342
|
-
style: { width: "315px" },
|
343
|
-
format: "HH:mm",
|
344
|
-
"range-separator": "To",
|
345
|
-
"start-placeholder": e.$t("siteService.startTime"),
|
346
|
-
"end-placeholder": e.$t("siteService.endTime"),
|
347
|
-
onChange: (V) => H(V, b)
|
348
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "onChange"]),
|
349
|
-
l(g, {
|
350
|
-
style: { "margin-left": "30px", "margin-right": "30px" },
|
351
|
-
onClick: (V) => G(b)
|
352
|
-
}, {
|
353
|
-
default: o(() => [
|
354
|
-
v(h(e.$t("common.delete")), 1)
|
355
|
-
]),
|
356
|
-
_: 2
|
357
|
-
}, 1032, ["onClick"]),
|
358
|
-
l(g, { onClick: A }, {
|
359
|
-
default: o(() => [
|
360
|
-
v("添加")
|
361
|
-
]),
|
362
|
-
_: 1
|
363
|
-
})
|
364
|
-
]))), 128))
|
365
|
-
]),
|
366
|
-
_: 1
|
367
|
-
}, 8, ["label"])
|
368
|
-
]),
|
369
|
-
_: 1
|
370
|
-
})
|
371
|
-
]),
|
372
|
-
_: 1
|
373
|
-
})
|
374
|
-
]),
|
375
|
-
_: 1
|
376
|
-
}, 8, ["model", "rules"])
|
377
|
-
]),
|
378
|
-
_: 1
|
379
|
-
}, 8, ["modelValue"]);
|
380
|
-
};
|
381
|
-
}
|
382
|
-
});
|
383
|
-
export {
|
384
|
-
me as _
|
385
|
-
};
|
@@ -1,75 +0,0 @@
|
|
1
|
-
import { defineComponent as g, ref as t, reactive as r, resolveComponent as a, openBlock as C, createBlock as x, unref as e, isRef as V, withCtx as u, createVNode as s, createElementVNode as k } from "vue";
|
2
|
-
const h = /* @__PURE__ */ g({
|
3
|
-
__name: "index copy",
|
4
|
-
setup(D) {
|
5
|
-
const c = t(), m = t(), n = r({
|
6
|
-
people: [
|
7
|
-
{
|
8
|
-
required: !0,
|
9
|
-
message: "请选择人员",
|
10
|
-
trigger: "blur"
|
11
|
-
}
|
12
|
-
]
|
13
|
-
}), o = r({
|
14
|
-
label: "选择人员",
|
15
|
-
prop: "people",
|
16
|
-
// 模糊查询人员
|
17
|
-
peopleTableData: [
|
18
|
-
// {
|
19
|
-
// key: "1",
|
20
|
-
// value: "张三",
|
21
|
-
// label: "张三",
|
22
|
-
// },
|
23
|
-
// {
|
24
|
-
// key: "2",
|
25
|
-
// value: "里斯",
|
26
|
-
// label: "里斯",
|
27
|
-
// },
|
28
|
-
// {
|
29
|
-
// key: "3",
|
30
|
-
// value: "王五",
|
31
|
-
// label: "王五",
|
32
|
-
// },
|
33
|
-
]
|
34
|
-
});
|
35
|
-
function d() {
|
36
|
-
m.value.saveCommitteeChange(), l.value = !1;
|
37
|
-
}
|
38
|
-
const l = t(!0);
|
39
|
-
function f() {
|
40
|
-
l.value && (l.value = !1);
|
41
|
-
}
|
42
|
-
return (P, p) => {
|
43
|
-
const i = a("PeopleSelect"), _ = a("el-form"), b = a("el-dialog");
|
44
|
-
return C(), x(b, {
|
45
|
-
modelValue: e(l),
|
46
|
-
"onUpdate:modelValue": p[0] || (p[0] = (v) => V(l) ? l.value = v : null),
|
47
|
-
onClose: f
|
48
|
-
}, {
|
49
|
-
default: u(() => [
|
50
|
-
s(_, {
|
51
|
-
ref: "FormRef",
|
52
|
-
model: e(c),
|
53
|
-
"label-width": "120px",
|
54
|
-
rules: e(n)
|
55
|
-
}, {
|
56
|
-
default: u(() => [
|
57
|
-
s(i, {
|
58
|
-
label: e(o).label,
|
59
|
-
prop: e(o).prop,
|
60
|
-
rules: e(n),
|
61
|
-
"people-table-data": e(o).peopleTableData
|
62
|
-
}, null, 8, ["label", "prop", "rules", "people-table-data"])
|
63
|
-
]),
|
64
|
-
_: 1
|
65
|
-
}, 8, ["model", "rules"]),
|
66
|
-
k("button", { onClick: d }, "弹框按钮触发组件提交事件")
|
67
|
-
]),
|
68
|
-
_: 1
|
69
|
-
}, 8, ["modelValue"]);
|
70
|
-
};
|
71
|
-
}
|
72
|
-
});
|
73
|
-
export {
|
74
|
-
h as default
|
75
|
-
};
|
package/dist/index-BW-5IuVN.mjs
DELETED
@@ -1,91 +0,0 @@
|
|
1
|
-
import { defineComponent as b, ref as v, resolveComponent as l, openBlock as D, createElementBlock as w, createVNode as t, withCtx as e, createTextVNode as s, toDisplayString as o, createElementVNode as r, unref as c } from "vue";
|
2
|
-
import { useRouter as B, useRoute as V } from "vue-router";
|
3
|
-
import { D as u, s as k } from "./index-BK24yagy.mjs";
|
4
|
-
import { routerUtil as q } from "jmash-core";
|
5
|
-
const C = { class: "app-container" }, I = /* @__PURE__ */ r("div", { class: "title-content" }, "场地信息", -1), O = { class: "cell-item" }, R = { class: "cell-item" }, $ = { class: "cell-item" }, j = /* @__PURE__ */ b({
|
6
|
-
__name: "index",
|
7
|
-
setup(N) {
|
8
|
-
u.unionOrgBizLayDict.useValues();
|
9
|
-
const _ = B(), a = V(), i = v({});
|
10
|
-
a.query.entityKey && k.findById({ siteId: a.query.entityKey }).then(({ data: n }) => {
|
11
|
-
i.value = Object.assign(i, n);
|
12
|
-
});
|
13
|
-
function m() {
|
14
|
-
q.closeTagView(a.fullPath, _, !1);
|
15
|
-
}
|
16
|
-
return (n, z) => {
|
17
|
-
const p = l("el-button"), d = l("el-descriptions-item"), f = l("el-descriptions"), y = l("el-col"), h = l("el-row"), g = l("el-card");
|
18
|
-
return D(), w("div", C, [
|
19
|
-
t(g, { shadow: "never" }, {
|
20
|
-
header: e(() => [
|
21
|
-
t(p, {
|
22
|
-
type: "primary",
|
23
|
-
onClick: m
|
24
|
-
}, {
|
25
|
-
default: e(() => [
|
26
|
-
s(o(n.$t("common.back")), 1)
|
27
|
-
]),
|
28
|
-
_: 1
|
29
|
-
})
|
30
|
-
]),
|
31
|
-
default: e(() => [
|
32
|
-
t(h, {
|
33
|
-
gutter: 20,
|
34
|
-
style: { width: "100%" }
|
35
|
-
}, {
|
36
|
-
default: e(() => [
|
37
|
-
t(y, { span: 24 }, {
|
38
|
-
default: e(() => [
|
39
|
-
I,
|
40
|
-
t(f, {
|
41
|
-
class: "margin-top",
|
42
|
-
column: 2,
|
43
|
-
border: ""
|
44
|
-
}, {
|
45
|
-
default: e(() => [
|
46
|
-
t(d, null, {
|
47
|
-
label: e(() => [
|
48
|
-
r("div", O, o(n.$t("site.orgId")), 1)
|
49
|
-
]),
|
50
|
-
default: e(() => [
|
51
|
-
s(" " + o(c(u).unionOrgBizLayDict.getValue(c(i).orgId)), 1)
|
52
|
-
]),
|
53
|
-
_: 1
|
54
|
-
}),
|
55
|
-
t(d, null, {
|
56
|
-
label: e(() => [
|
57
|
-
r("div", R, o(n.$t("site.nameRequired")), 1)
|
58
|
-
]),
|
59
|
-
default: e(() => [
|
60
|
-
s(" " + o(c(i).name), 1)
|
61
|
-
]),
|
62
|
-
_: 1
|
63
|
-
}),
|
64
|
-
t(d, null, {
|
65
|
-
label: e(() => [
|
66
|
-
r("div", $, o(n.$t("site.buildDateRequired")), 1)
|
67
|
-
]),
|
68
|
-
default: e(() => [
|
69
|
-
s(" " + o(c(i).buildDate), 1)
|
70
|
-
]),
|
71
|
-
_: 1
|
72
|
-
})
|
73
|
-
]),
|
74
|
-
_: 1
|
75
|
-
})
|
76
|
-
]),
|
77
|
-
_: 1
|
78
|
-
})
|
79
|
-
]),
|
80
|
-
_: 1
|
81
|
-
})
|
82
|
-
]),
|
83
|
-
_: 1
|
84
|
-
})
|
85
|
-
]);
|
86
|
-
};
|
87
|
-
}
|
88
|
-
});
|
89
|
-
export {
|
90
|
-
j as default
|
91
|
-
};
|
package/dist/index-GhvyIwc3.mjs
DELETED
package/dist/index-pfeu6d82.mjs
DELETED