xyvcard-asset 0.0.9 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{assign-BLa-fXcy.mjs → assign-DzQUNp-Y.mjs} +26 -26
- package/dist/{edit-DmRG7fo0.mjs → edit-O1D_xFra.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs → edit.vue_vue_type_script_setup_true_lang-sE0fN_pL.mjs} +127 -150
- package/dist/{index copy-Di49EjkG.mjs → index copy-CxTCJcvX.mjs } +21 -22
- package/dist/{index-DeBZxOsC.mjs → index-BpYjnXUI.mjs} +2 -1
- package/dist/{index-xyCxQquE.mjs → index-CSMEsPcN.mjs} +1 -1
- package/dist/{index-ByVysHgI.mjs → index-GhvyIwc3.mjs} +1 -1
- package/dist/{index-qQuyprvx.mjs → index-pfeu6d82.mjs} +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +110 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +54 -0
- package/dist/index/345/244/207/344/273/{275-CaiMDP8J.mjs → 275-BfKo5eBT.mjs} +84 -80
- package/dist/style.css +1 -1
- package/dts/App.vue.d.ts +2 -0
- package/dts/api/asset/asset-asset/index.d.ts +25 -0
- package/dts/api/asset/asset-asset/types.d.ts +109 -0
- package/dts/api/asset/asset-asset-detail/index.d.ts +12 -0
- package/dts/api/asset/asset-asset-detail/types.d.ts +56 -0
- package/dts/api/asset/asset-depreciation-record/index.d.ts +11 -0
- package/dts/api/asset/asset-depreciation-record/types.d.ts +38 -0
- package/dts/api/asset/asset-inventory-record/index.d.ts +10 -0
- package/dts/api/asset/asset-inventory-record/types.d.ts +62 -0
- package/dts/api/asset/asset-service-appt-member/index.d.ts +9 -0
- package/dts/api/asset/asset-service-appt-member/types.d.ts +28 -0
- package/dts/api/asset/asset-service-appt-record/index.d.ts +9 -0
- package/dts/api/asset/asset-service-appt-record/types.d.ts +37 -0
- package/dts/api/asset/asset-site/index.d.ts +14 -0
- package/dts/api/asset/asset-site/types.d.ts +71 -0
- package/dts/api/asset/asset-site-service/index.d.ts +13 -0
- package/dts/api/asset/asset-site-service/types.d.ts +81 -0
- package/dts/api/asset/text/index.d.ts +140 -0
- package/dts/api/asset/text/types.d.ts +179 -0
- package/dts/api/dict.d.ts +19 -0
- package/dts/api/index.d.ts +16 -0
- package/dts/components/PeopleSelectAsset/index.vue.d.ts +18 -0
- package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +14 -0
- package/dts/constant.d.ts +19 -0
- package/dts/index.d.ts +6 -0
- package/dts/lang/asset/en.d.ts +2 -0
- package/dts/lang/asset/zh-cn.d.ts +150 -0
- package/dts/lang/index.d.ts +1 -0
- package/dts/main.d.ts +4 -0
- package/dts/permission.d.ts +1 -0
- package/dts/router/page.d.ts +8 -0
- package/dts/utils/common.d.ts +51 -0
- package/dts/utils/index.d.ts +24 -0
- package/dts/utils/momentPlugin.d.ts +5 -0
- package/dts/views/asset/asset-asset/assign.vue.d.ts +29 -0
- package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-asset/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +20 -0
- package/dts/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
- package/dts/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
- package/package.json +3 -3
- package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +0 -274
- package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +0 -120
- package/dist/index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs +0 -105
@@ -1,11 +1,11 @@
|
|
1
|
-
import { defineComponent as ee, mergeModels as
|
2
|
-
import { D as p, b as
|
3
|
-
import { ElMessage as
|
4
|
-
import { useI18n as
|
5
|
-
import { r as
|
6
|
-
const
|
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
7
|
__name: "edit",
|
8
|
-
props: /* @__PURE__ */
|
8
|
+
props: /* @__PURE__ */ U({
|
9
9
|
entityKey: {
|
10
10
|
type: Object,
|
11
11
|
default: () => {
|
@@ -15,11 +15,11 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
15
15
|
modelValue: { type: Boolean },
|
16
16
|
modelModifiers: {}
|
17
17
|
}),
|
18
|
-
emits: /* @__PURE__ */
|
19
|
-
setup(
|
18
|
+
emits: /* @__PURE__ */ U(["refresh"], ["update:modelValue"]),
|
19
|
+
setup(k, { emit: z }) {
|
20
20
|
p.unionOrgBizLayDict.useValues(), p.managerDict.useValues(), p.serviceNameDict.useValues(), p.siteDict.useValues();
|
21
|
-
const { t:
|
22
|
-
let t =
|
21
|
+
const { t: n } = oe(), q = _();
|
22
|
+
let t = P({
|
23
23
|
requestId: Math.random() * 10 + "",
|
24
24
|
updateMask: "siteId,serviceName,minDay,maxDay,limitPerson,status,note",
|
25
25
|
limitInfo: [
|
@@ -30,12 +30,12 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
30
30
|
}
|
31
31
|
]
|
32
32
|
});
|
33
|
-
const L =
|
33
|
+
const L = P({
|
34
34
|
// 所属工会
|
35
35
|
orgId: [
|
36
36
|
{
|
37
37
|
required: !0,
|
38
|
-
message:
|
38
|
+
message: n("siteService.orgIdRequired"),
|
39
39
|
trigger: "change"
|
40
40
|
}
|
41
41
|
],
|
@@ -43,7 +43,7 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
43
43
|
siteId: [
|
44
44
|
{
|
45
45
|
required: !0,
|
46
|
-
message:
|
46
|
+
message: n("siteService.siteIdRequired"),
|
47
47
|
trigger: "change"
|
48
48
|
}
|
49
49
|
],
|
@@ -51,7 +51,7 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
51
51
|
serviceName: [
|
52
52
|
{
|
53
53
|
required: !0,
|
54
|
-
message:
|
54
|
+
message: n("siteService.serviceNameRequired"),
|
55
55
|
trigger: "change"
|
56
56
|
}
|
57
57
|
],
|
@@ -59,63 +59,63 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
59
59
|
limitPerson: [
|
60
60
|
{
|
61
61
|
required: !0,
|
62
|
-
message:
|
62
|
+
message: n("siteService.limitPersonRequired"),
|
63
63
|
trigger: "blur"
|
64
64
|
}
|
65
65
|
],
|
66
66
|
status: [
|
67
67
|
{
|
68
68
|
required: !0,
|
69
|
-
message:
|
69
|
+
message: n("siteService.statusRequired"),
|
70
70
|
trigger: "change"
|
71
71
|
}
|
72
72
|
],
|
73
73
|
// 预约规则说明
|
74
74
|
note: [
|
75
75
|
{
|
76
|
-
message:
|
76
|
+
message: n("siteService.note"),
|
77
77
|
trigger: "blur"
|
78
78
|
}
|
79
79
|
]
|
80
|
-
}),
|
80
|
+
}), D = _();
|
81
81
|
function E(e) {
|
82
82
|
t.siteId = "";
|
83
83
|
const a = new ae({ orgId: e });
|
84
|
-
a.useValues(),
|
84
|
+
a.useValues(), D.value = a.values;
|
85
85
|
}
|
86
|
-
const
|
87
|
-
|
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
88
|
e.siteId = e.serviceName, Object.assign(t, e);
|
89
89
|
});
|
90
90
|
const K = async () => {
|
91
91
|
var e;
|
92
|
-
await ((e =
|
93
|
-
a && (
|
94
|
-
|
95
|
-
message:
|
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
96
|
type: "success"
|
97
|
-
}),
|
98
|
-
}) :
|
99
|
-
|
100
|
-
message:
|
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
101
|
type: "success"
|
102
|
-
}),
|
102
|
+
}), u.value && (u.value = !1), R("refresh", c.status === 200));
|
103
103
|
}));
|
104
104
|
}));
|
105
105
|
};
|
106
|
-
function
|
107
|
-
t.limitInfo[a].startTime =
|
106
|
+
function H(e, a) {
|
107
|
+
t.limitInfo[a].startTime = j(e[0]), t.limitInfo[a].endTime = j(e[1]);
|
108
108
|
}
|
109
|
-
function
|
109
|
+
function A() {
|
110
110
|
t.limitInfo.push({
|
111
111
|
startTime: "",
|
112
112
|
endTime: "",
|
113
113
|
limitPerson: 1
|
114
114
|
});
|
115
115
|
}
|
116
|
-
function
|
116
|
+
function G(e) {
|
117
117
|
if (t.limitInfo.length === 1) {
|
118
|
-
|
118
|
+
$({
|
119
119
|
message: "最少保留一个时间段",
|
120
120
|
type: "error"
|
121
121
|
});
|
@@ -124,56 +124,56 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
124
124
|
t.limitInfo.splice(e, 1);
|
125
125
|
}
|
126
126
|
function N() {
|
127
|
-
|
127
|
+
u.value && (u.value = !1);
|
128
128
|
}
|
129
129
|
return (e, a) => {
|
130
|
-
const
|
131
|
-
return f(),
|
132
|
-
modelValue:
|
133
|
-
"onUpdate:modelValue": 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
134
|
onClose: N
|
135
135
|
}, {
|
136
|
-
footer:
|
137
|
-
te("div",
|
138
|
-
l(
|
139
|
-
default:
|
140
|
-
|
136
|
+
footer: o(() => [
|
137
|
+
te("div", ie, [
|
138
|
+
l(g, { onClick: N }, {
|
139
|
+
default: o(() => [
|
140
|
+
v(h(e.$t("common.cancel")), 1)
|
141
141
|
]),
|
142
142
|
_: 1
|
143
143
|
}),
|
144
|
-
l(
|
144
|
+
l(g, {
|
145
145
|
type: "primary",
|
146
146
|
onClick: K
|
147
147
|
}, {
|
148
|
-
default:
|
149
|
-
|
148
|
+
default: o(() => [
|
149
|
+
v(h(e.$t("common.confirm")), 1)
|
150
150
|
]),
|
151
151
|
_: 1
|
152
152
|
})
|
153
153
|
])
|
154
154
|
]),
|
155
|
-
default:
|
155
|
+
default: o(() => [
|
156
156
|
l(Z, {
|
157
157
|
ref_key: "siteServiceFormRef",
|
158
|
-
ref:
|
159
|
-
model:
|
158
|
+
ref: q,
|
159
|
+
model: s(t),
|
160
160
|
"label-width": "120px",
|
161
161
|
rules: L
|
162
162
|
}, {
|
163
|
-
default:
|
163
|
+
default: o(() => [
|
164
164
|
l(Y, null, {
|
165
|
-
default:
|
166
|
-
l(
|
167
|
-
default:
|
165
|
+
default: o(() => [
|
166
|
+
l(m, { span: 12 }, {
|
167
|
+
default: o(() => [
|
168
168
|
l(d, {
|
169
169
|
label: e.$t("siteService.orgId"),
|
170
170
|
prop: "orgId"
|
171
171
|
}, {
|
172
|
-
default:
|
173
|
-
l(
|
174
|
-
modelValue:
|
175
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
176
|
-
data:
|
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
177
|
filterable: "",
|
178
178
|
"check-strictly": "",
|
179
179
|
"render-after-expand": !1,
|
@@ -187,25 +187,25 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
187
187
|
]),
|
188
188
|
_: 1
|
189
189
|
}),
|
190
|
-
l(
|
191
|
-
default:
|
190
|
+
l(m, { span: 12 }, {
|
191
|
+
default: o(() => [
|
192
192
|
l(d, {
|
193
193
|
label: e.$t("siteService.siteId"),
|
194
194
|
prop: "siteId"
|
195
195
|
}, {
|
196
|
-
default:
|
196
|
+
default: o(() => [
|
197
197
|
l(Q, {
|
198
|
-
modelValue:
|
199
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
200
|
-
disabled: !
|
198
|
+
modelValue: s(t).siteId,
|
199
|
+
"onUpdate:modelValue": a[1] || (a[1] = (i) => s(t).siteId = i),
|
200
|
+
disabled: !s(t).orgId,
|
201
201
|
placeholder: e.$t("siteService.siteIdRequired"),
|
202
202
|
clearable: ""
|
203
203
|
}, {
|
204
|
-
default:
|
205
|
-
(f(!0),
|
206
|
-
key:
|
207
|
-
label:
|
208
|
-
value:
|
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
209
|
}, null, 8, ["label", "value"]))), 128))
|
210
210
|
]),
|
211
211
|
_: 1
|
@@ -216,45 +216,43 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
216
216
|
]),
|
217
217
|
_: 1
|
218
218
|
}),
|
219
|
-
l(
|
220
|
-
default:
|
219
|
+
l(m, { span: 12 }, {
|
220
|
+
default: o(() => [
|
221
221
|
l(d, {
|
222
222
|
label: e.$t("siteService.serviceName"),
|
223
223
|
prop: "serviceName"
|
224
224
|
}, {
|
225
|
-
default:
|
226
|
-
l(
|
227
|
-
modelValue:
|
228
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
placeholder: e.$t("siteService.serviceNameRequired")
|
234
|
-
}, null, 8, ["modelValue", "data", "placeholder"])
|
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"])
|
235
233
|
]),
|
236
234
|
_: 1
|
237
235
|
}, 8, ["label"])
|
238
236
|
]),
|
239
237
|
_: 1
|
240
238
|
}),
|
241
|
-
l(
|
242
|
-
default:
|
239
|
+
l(m, { span: 12 }, {
|
240
|
+
default: o(() => [
|
243
241
|
l(d, {
|
244
242
|
label: e.$t("siteService.day"),
|
245
243
|
prop: "day"
|
246
244
|
}, {
|
247
|
-
default:
|
248
|
-
l(
|
249
|
-
modelValue:
|
250
|
-
"onUpdate:modelValue": a[3] || (a[3] = (
|
245
|
+
default: o(() => [
|
246
|
+
l(T, {
|
247
|
+
modelValue: s(t).minDay,
|
248
|
+
"onUpdate:modelValue": a[3] || (a[3] = (i) => s(t).minDay = i),
|
251
249
|
size: "small",
|
252
250
|
min: 0
|
253
251
|
}, null, 8, ["modelValue"]),
|
254
|
-
|
255
|
-
l(
|
256
|
-
modelValue:
|
257
|
-
"onUpdate:modelValue": a[4] || (a[4] = (
|
252
|
+
v("~ "),
|
253
|
+
l(T, {
|
254
|
+
modelValue: s(t).maxDay,
|
255
|
+
"onUpdate:modelValue": a[4] || (a[4] = (i) => s(t).maxDay = i),
|
258
256
|
size: "small",
|
259
257
|
min: 0
|
260
258
|
}, null, 8, ["modelValue"])
|
@@ -264,16 +262,16 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
264
262
|
]),
|
265
263
|
_: 1
|
266
264
|
}),
|
267
|
-
l(
|
268
|
-
default:
|
265
|
+
l(m, { span: 12 }, {
|
266
|
+
default: o(() => [
|
269
267
|
l(d, {
|
270
268
|
label: e.$t("siteService.limitPerson"),
|
271
269
|
prop: "limitPerson"
|
272
270
|
}, {
|
273
|
-
default:
|
274
|
-
l(
|
275
|
-
modelValue:
|
276
|
-
"onUpdate:modelValue": a[5] || (a[5] = (
|
271
|
+
default: o(() => [
|
272
|
+
l(y, {
|
273
|
+
modelValue: s(t).limitPerson,
|
274
|
+
"onUpdate:modelValue": a[5] || (a[5] = (i) => s(t).limitPerson = i),
|
277
275
|
placeholder: e.$t("siteService.limitPersonRequired"),
|
278
276
|
"show-word-limit": "",
|
279
277
|
clearable: "",
|
@@ -286,40 +284,18 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
286
284
|
]),
|
287
285
|
_: 1
|
288
286
|
}),
|
289
|
-
l(
|
290
|
-
default:
|
291
|
-
l(d, {
|
292
|
-
label: e.$t("siteService.manager"),
|
293
|
-
prop: "manager"
|
294
|
-
}, {
|
295
|
-
default: i(() => [
|
296
|
-
l(n, {
|
297
|
-
modelValue: r(t).manager,
|
298
|
-
"onUpdate:modelValue": a[6] || (a[6] = (o) => r(t).manager = o),
|
299
|
-
data: r(p).managerDict.values,
|
300
|
-
filterable: "",
|
301
|
-
"check-strictly": "",
|
302
|
-
"render-after-expand": !1,
|
303
|
-
placeholder: e.$t("siteService.managerRequired")
|
304
|
-
}, null, 8, ["modelValue", "data", "placeholder"])
|
305
|
-
]),
|
306
|
-
_: 1
|
307
|
-
}, 8, ["label"])
|
308
|
-
]),
|
309
|
-
_: 1
|
310
|
-
}),
|
311
|
-
l(u, { span: 12 }, {
|
312
|
-
default: i(() => [
|
287
|
+
l(m, { span: 12 }, {
|
288
|
+
default: o(() => [
|
313
289
|
l(d, {
|
314
290
|
label: e.$t("siteService.status"),
|
315
291
|
prop: "status"
|
316
292
|
}, {
|
317
|
-
default:
|
293
|
+
default: o(() => [
|
318
294
|
l(W, {
|
319
|
-
modelValue:
|
320
|
-
"onUpdate:modelValue": a[
|
295
|
+
modelValue: s(t).status,
|
296
|
+
"onUpdate:modelValue": a[6] || (a[6] = (i) => s(t).status = i),
|
321
297
|
placeholder: e.$t("siteService.statusRequired"),
|
322
|
-
data:
|
298
|
+
data: s(p).serviceStatusEnum.values,
|
323
299
|
clearable: "",
|
324
300
|
style: { width: "100% !important" }
|
325
301
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
@@ -329,21 +305,21 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
329
305
|
]),
|
330
306
|
_: 1
|
331
307
|
}),
|
332
|
-
l(
|
333
|
-
default:
|
308
|
+
l(m, { span: 24 }, {
|
309
|
+
default: o(() => [
|
334
310
|
l(d, {
|
335
311
|
label: e.$t("siteService.note"),
|
336
312
|
prop: "note"
|
337
313
|
}, {
|
338
|
-
default:
|
339
|
-
l(
|
340
|
-
modelValue:
|
341
|
-
"onUpdate:modelValue": a[
|
342
|
-
autosize: "",
|
314
|
+
default: o(() => [
|
315
|
+
l(y, {
|
316
|
+
modelValue: s(t).note,
|
317
|
+
"onUpdate:modelValue": a[7] || (a[7] = (i) => s(t).note = i),
|
343
318
|
type: "textarea",
|
344
319
|
maxlength: "100",
|
345
320
|
"show-word-limit": "",
|
346
|
-
placeholder: e.$t("siteService.noteRequired")
|
321
|
+
placeholder: e.$t("siteService.noteRequired"),
|
322
|
+
rows: 3
|
347
323
|
}, null, 8, ["modelValue", "placeholder"])
|
348
324
|
]),
|
349
325
|
_: 1
|
@@ -351,36 +327,37 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
|
|
351
327
|
]),
|
352
328
|
_: 1
|
353
329
|
}),
|
354
|
-
l(
|
355
|
-
default:
|
330
|
+
l(m, { span: 24 }, {
|
331
|
+
default: o(() => [
|
356
332
|
l(d, {
|
357
333
|
label: e.$t("siteService.time"),
|
358
334
|
prop: "time"
|
359
335
|
}, {
|
360
|
-
default:
|
361
|
-
(f(!0),
|
336
|
+
default: o(() => [
|
337
|
+
(f(!0), S(M, null, O(s(t).limitInfo, (i, b) => (f(), S("div", { key: b }, [
|
362
338
|
l(X, {
|
363
|
-
modelValue:
|
364
|
-
"onUpdate:modelValue": (V) =>
|
339
|
+
modelValue: i.time,
|
340
|
+
"onUpdate:modelValue": (V) => i.time = V,
|
365
341
|
"is-range": "",
|
366
342
|
style: { width: "315px" },
|
343
|
+
format: "HH:mm",
|
367
344
|
"range-separator": "To",
|
368
345
|
"start-placeholder": e.$t("siteService.startTime"),
|
369
346
|
"end-placeholder": e.$t("siteService.endTime"),
|
370
|
-
onChange: (V) =>
|
347
|
+
onChange: (V) => H(V, b)
|
371
348
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "onChange"]),
|
372
|
-
l(
|
349
|
+
l(g, {
|
373
350
|
style: { "margin-left": "30px", "margin-right": "30px" },
|
374
|
-
onClick: (V) =>
|
351
|
+
onClick: (V) => G(b)
|
375
352
|
}, {
|
376
|
-
default:
|
377
|
-
|
353
|
+
default: o(() => [
|
354
|
+
v(h(e.$t("common.delete")), 1)
|
378
355
|
]),
|
379
356
|
_: 2
|
380
357
|
}, 1032, ["onClick"]),
|
381
|
-
l(
|
382
|
-
default:
|
383
|
-
|
358
|
+
l(g, { onClick: A }, {
|
359
|
+
default: o(() => [
|
360
|
+
v("添加")
|
384
361
|
]),
|
385
362
|
_: 1
|
386
363
|
})
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
|
3
|
-
const B = /* @__PURE__ */ v({
|
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({
|
4
3
|
__name: "index copy",
|
5
4
|
setup(D) {
|
6
|
-
const
|
5
|
+
const c = t(), m = t(), n = r({
|
7
6
|
people: [
|
8
7
|
{
|
9
8
|
required: !0,
|
@@ -11,7 +10,7 @@ const B = /* @__PURE__ */ v({
|
|
11
10
|
trigger: "blur"
|
12
11
|
}
|
13
12
|
]
|
14
|
-
}), o =
|
13
|
+
}), o = r({
|
15
14
|
label: "选择人员",
|
16
15
|
prop: "people",
|
17
16
|
// 模糊查询人员
|
@@ -33,38 +32,38 @@ const B = /* @__PURE__ */ v({
|
|
33
32
|
// },
|
34
33
|
]
|
35
34
|
});
|
36
|
-
function
|
37
|
-
|
35
|
+
function d() {
|
36
|
+
m.value.saveCommitteeChange(), l.value = !1;
|
38
37
|
}
|
39
38
|
const l = t(!0);
|
40
|
-
function
|
39
|
+
function f() {
|
41
40
|
l.value && (l.value = !1);
|
42
41
|
}
|
43
|
-
return (
|
44
|
-
const i =
|
45
|
-
return
|
42
|
+
return (P, p) => {
|
43
|
+
const i = a("PeopleSelect"), _ = a("el-form"), b = a("el-dialog");
|
44
|
+
return C(), x(b, {
|
46
45
|
modelValue: e(l),
|
47
|
-
"onUpdate:modelValue":
|
48
|
-
onClose:
|
46
|
+
"onUpdate:modelValue": p[0] || (p[0] = (v) => V(l) ? l.value = v : null),
|
47
|
+
onClose: f
|
49
48
|
}, {
|
50
|
-
default:
|
51
|
-
|
49
|
+
default: u(() => [
|
50
|
+
s(_, {
|
52
51
|
ref: "FormRef",
|
53
|
-
model: e(
|
52
|
+
model: e(c),
|
54
53
|
"label-width": "120px",
|
55
|
-
rules: e(
|
54
|
+
rules: e(n)
|
56
55
|
}, {
|
57
|
-
default:
|
58
|
-
|
56
|
+
default: u(() => [
|
57
|
+
s(i, {
|
59
58
|
label: e(o).label,
|
60
59
|
prop: e(o).prop,
|
61
|
-
rules: e(
|
60
|
+
rules: e(n),
|
62
61
|
"people-table-data": e(o).peopleTableData
|
63
62
|
}, null, 8, ["label", "prop", "rules", "people-table-data"])
|
64
63
|
]),
|
65
64
|
_: 1
|
66
65
|
}, 8, ["model", "rules"]),
|
67
|
-
|
66
|
+
k("button", { onClick: d }, "弹框按钮触发组件提交事件")
|
68
67
|
]),
|
69
68
|
_: 1
|
70
69
|
}, 8, ["modelValue"]);
|
@@ -72,5 +71,5 @@ const B = /* @__PURE__ */ v({
|
|
72
71
|
}
|
73
72
|
});
|
74
73
|
export {
|
75
|
-
|
74
|
+
h as default
|
76
75
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as le, ref as b, reactive as R, resolveComponent as i, resolveDirective as ae, openBlock as d, createElementBlock as S, createElementVNode as m, createVNode as o, withCtx as l, unref as s, toDisplayString as r, Fragment as oe, renderList as se, createBlock as I, withKeys as L, createTextVNode as g, withDirectives as $, isRef as z, createCommentVNode as j } from "vue";
|
2
2
|
import { D as c, b as ne, S as ie } from "./index-BK24yagy.mjs";
|
3
3
|
import { useI18n as re } from "vue-i18n";
|
4
|
-
import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-
|
4
|
+
import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-sE0fN_pL.mjs";
|
5
5
|
import { useTableHooks as de } from "jmash-core";
|
6
6
|
const me = { class: "app-container" }, ce = { class: "search-container" }, pe = /* @__PURE__ */ m("div", { class: "clear" }, null, -1), ve = ["onClick"], fe = ["onClick"], Ve = /* @__PURE__ */ le({
|
7
7
|
__name: "index",
|
@@ -61,6 +61,7 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
61
61
|
isColumn: !0,
|
62
62
|
width: "180"
|
63
63
|
},
|
64
|
+
// 状态
|
64
65
|
{
|
65
66
|
label: "siteService.status",
|
66
67
|
prop: "status",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as ne, ref as f, reactive as z, resolveComponent as d, resolveDirective as ue, openBlock as r, createElementBlock as $, createElementVNode as h, createVNode as s, withCtx as l, withKeys as N, unref as o, createTextVNode as m, toDisplayString as u, withDirectives as c, createBlock as b, isRef as A, createCommentVNode as k } from "vue";
|
2
2
|
import { useI18n as re } from "vue-i18n";
|
3
3
|
import { _ as ie } from "./edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs";
|
4
|
-
import de from "./assign-
|
4
|
+
import de from "./assign-DzQUNp-Y.mjs";
|
5
5
|
import { a as me, D as V } from "./index-BK24yagy.mjs";
|
6
6
|
import { useTableHooks as pe } from "jmash-core";
|
7
7
|
import { useRouter as fe } from "vue-router";
|
package/dist/index.mjs
CHANGED
@@ -168,6 +168,7 @@ const Ys = () => import("./index-BW-5IuVN.mjs"), Os = () => import("./index-C5_f
|
|
168
168
|
siteId: "使用场地",
|
169
169
|
siteIdRequired: "请选择使用场地",
|
170
170
|
assignNumber: "分配数量",
|
171
|
+
assignNumberRequired: "请输入分配数量",
|
171
172
|
name: "资产名称",
|
172
173
|
nameRequired: "请输入资产名称",
|
173
174
|
// 用于分配展示总的资产数量
|
@@ -2851,7 +2852,7 @@ const Fn = {
|
|
2851
2852
|
}
|
2852
2853
|
};
|
2853
2854
|
}
|
2854
|
-
}, Cn = /* @__PURE__ */ Object.assign({ "./views/asset/asset-asset-detail/edit.vue": () => import("./edit-FdqpKRgF.mjs"), "./views/asset/asset-asset-detail/index.vue": () => import("./index-axEqTssj.mjs"), "./views/asset/asset-asset/assign.vue": () => import("./assign-
|
2855
|
+
}, Cn = /* @__PURE__ */ Object.assign({ "./views/asset/asset-asset-detail/edit.vue": () => import("./edit-FdqpKRgF.mjs"), "./views/asset/asset-asset-detail/index.vue": () => import("./index-axEqTssj.mjs"), "./views/asset/asset-asset/assign.vue": () => import("./assign-DzQUNp-Y.mjs"), "./views/asset/asset-asset/edit.vue": () => import("./edit-Dn-QMuy6.mjs"), "./views/asset/asset-asset/index.vue": () => import("./index-CSMEsPcN.mjs"), "./views/asset/asset-asset/info/index.vue": () => import("./index-jOcS7tqC.mjs"), "./views/asset/asset-depreciation-record/index.vue": () => import("./index-CgAq70-p.mjs"), "./views/asset/asset-depreciation-record/info/index.vue": () => import("./index-De4u-LEl.mjs"), "./views/asset/asset-inventory-record/dialogSelect/index.vue": () => import("./index-GhvyIwc3.mjs"), "./views/asset/asset-inventory-record/index.vue": () => import("./index-BWwU9hSp.mjs"), "./views/asset/asset-inventory-record/index备份.vue": () => import("./index备份-BfKo5eBT.mjs"), "./views/asset/asset-inventory-record/info/index.vue": () => import("./index-B4vUTwSW.mjs"), "./views/asset/asset-inventory-record/text/index copy.vue": () => import("./index copy-CxTCJcvX.mjs"), "./views/asset/asset-inventory-record/text/index.vue": () => import("./index-pfeu6d82.mjs"), "./views/asset/asset-service-appt-record/index.vue": () => import("./index-BvKWLFdr.mjs"), "./views/asset/asset-service-appt-record/info/index.vue": () => import("./index-C5_f5Lce.mjs"), "./views/asset/asset-site-service/edit.vue": () => import("./edit-O1D_xFra.mjs"), "./views/asset/asset-site-service/index.vue": () => import("./index-BpYjnXUI.mjs"), "./views/asset/asset-site/edit.vue": () => import("./edit-CCrekeeb.mjs"), "./views/asset/asset-site/index.vue": () => import("./index-DElPNxc7.mjs"), "./views/asset/asset-site/info/index.vue": () => import("./index-BW-5IuVN.mjs") }), Un = {
|
2855
2856
|
install(e) {
|
2856
2857
|
e.use(Fn), Ss(Cn, 7), Ms(Rs), Ws(Ds);
|
2857
2858
|
}
|