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.
Files changed (75) hide show
  1. package/dist/{assign-BLa-fXcy.mjs → assign-DzQUNp-Y.mjs} +26 -26
  2. package/dist/{edit-DmRG7fo0.mjs → edit-O1D_xFra.mjs} +1 -1
  3. 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
  4. package/dist/{index copy-Di49EjkG.mjs → index copy-CxTCJcvX.mjs } +21 -22
  5. package/dist/{index-DeBZxOsC.mjs → index-BpYjnXUI.mjs} +2 -1
  6. package/dist/{index-xyCxQquE.mjs → index-CSMEsPcN.mjs} +1 -1
  7. package/dist/{index-ByVysHgI.mjs → index-GhvyIwc3.mjs} +1 -1
  8. package/dist/{index-qQuyprvx.mjs → index-pfeu6d82.mjs} +1 -1
  9. package/dist/index.mjs +2 -1
  10. package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +110 -0
  11. package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +54 -0
  12. package/dist/index/345/244/207/344/273/{275-CaiMDP8J.mjs → 275-BfKo5eBT.mjs} +84 -80
  13. package/dist/style.css +1 -1
  14. package/dts/App.vue.d.ts +2 -0
  15. package/dts/api/asset/asset-asset/index.d.ts +25 -0
  16. package/dts/api/asset/asset-asset/types.d.ts +109 -0
  17. package/dts/api/asset/asset-asset-detail/index.d.ts +12 -0
  18. package/dts/api/asset/asset-asset-detail/types.d.ts +56 -0
  19. package/dts/api/asset/asset-depreciation-record/index.d.ts +11 -0
  20. package/dts/api/asset/asset-depreciation-record/types.d.ts +38 -0
  21. package/dts/api/asset/asset-inventory-record/index.d.ts +10 -0
  22. package/dts/api/asset/asset-inventory-record/types.d.ts +62 -0
  23. package/dts/api/asset/asset-service-appt-member/index.d.ts +9 -0
  24. package/dts/api/asset/asset-service-appt-member/types.d.ts +28 -0
  25. package/dts/api/asset/asset-service-appt-record/index.d.ts +9 -0
  26. package/dts/api/asset/asset-service-appt-record/types.d.ts +37 -0
  27. package/dts/api/asset/asset-site/index.d.ts +14 -0
  28. package/dts/api/asset/asset-site/types.d.ts +71 -0
  29. package/dts/api/asset/asset-site-service/index.d.ts +13 -0
  30. package/dts/api/asset/asset-site-service/types.d.ts +81 -0
  31. package/dts/api/asset/text/index.d.ts +140 -0
  32. package/dts/api/asset/text/types.d.ts +179 -0
  33. package/dts/api/dict.d.ts +19 -0
  34. package/dts/api/index.d.ts +16 -0
  35. package/dts/components/PeopleSelectAsset/index.vue.d.ts +18 -0
  36. package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
  37. package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
  38. package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +14 -0
  39. package/dts/constant.d.ts +19 -0
  40. package/dts/index.d.ts +6 -0
  41. package/dts/lang/asset/en.d.ts +2 -0
  42. package/dts/lang/asset/zh-cn.d.ts +150 -0
  43. package/dts/lang/index.d.ts +1 -0
  44. package/dts/main.d.ts +4 -0
  45. package/dts/permission.d.ts +1 -0
  46. package/dts/router/page.d.ts +8 -0
  47. package/dts/utils/common.d.ts +51 -0
  48. package/dts/utils/index.d.ts +24 -0
  49. package/dts/utils/momentPlugin.d.ts +5 -0
  50. package/dts/views/asset/asset-asset/assign.vue.d.ts +29 -0
  51. package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
  52. package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
  53. package/dts/views/asset/asset-asset/info/index.vue.d.ts +2 -0
  54. package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +20 -0
  55. package/dts/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
  56. package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
  57. package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
  58. package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
  59. package/dts/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
  60. package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +2 -0
  61. package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
  62. package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
  63. package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
  64. package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
  65. package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
  66. package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
  67. package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
  68. package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
  69. package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
  70. package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
  71. package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
  72. package/package.json +3 -3
  73. package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +0 -274
  74. package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +0 -120
  75. 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 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";
3
- import { ElMessage as h } from "element-plus";
4
- import { useI18n as ie } from "vue-i18n";
5
- import { r as O } from "./common-kbgEWG-E.mjs";
6
- const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
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__ */ T({
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__ */ T(["refresh"], ["update:modelValue"]),
19
- setup(I, { emit: j }) {
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: m } = ie(), k = y();
22
- let t = U({
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 = U({
33
+ const L = P({
34
34
  // 所属工会
35
35
  orgId: [
36
36
  {
37
37
  required: !0,
38
- message: m("siteService.orgIdRequired"),
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: m("siteService.siteIdRequired"),
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: m("siteService.serviceNameRequired"),
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: m("siteService.limitPersonRequired"),
62
+ message: n("siteService.limitPersonRequired"),
63
63
  trigger: "blur"
64
64
  }
65
65
  ],
66
66
  status: [
67
67
  {
68
68
  required: !0,
69
- message: m("siteService.statusRequired"),
69
+ message: n("siteService.statusRequired"),
70
70
  trigger: "change"
71
71
  }
72
72
  ],
73
73
  // 预约规则说明
74
74
  note: [
75
75
  {
76
- message: m("siteService.note"),
76
+ message: n("siteService.note"),
77
77
  trigger: "blur"
78
78
  }
79
79
  ]
80
- }), $ = y();
80
+ }), D = _();
81
81
  function E(e) {
82
82
  t.siteId = "";
83
83
  const a = new ae({ orgId: e });
84
- a.useValues(), $.value = a.values;
84
+ a.useValues(), D.value = a.values;
85
85
  }
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 }) => {
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 = k.value) == null ? void 0 : e.validate((a) => {
93
- a && (R.value ? S.update(t).then((n) => {
94
- n.status === 200 && (h({
95
- message: m("common.submitSuccess"),
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
- }), c.value && (c.value = !1), q("refresh", n.status === 200));
98
- }) : S.create(t).then((n) => {
99
- n.status === 200 && (h({
100
- message: m("common.submitSuccess"),
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
- }), c.value && (c.value = !1), q("refresh", n.status === 200));
102
+ }), u.value && (u.value = !1), R("refresh", c.status === 200));
103
103
  }));
104
104
  }));
105
105
  };
106
- function A(e, a) {
107
- t.limitInfo[a].startTime = O(e[0]), t.limitInfo[a].endTime = O(e[1]);
106
+ function H(e, a) {
107
+ t.limitInfo[a].startTime = j(e[0]), t.limitInfo[a].endTime = j(e[1]);
108
108
  }
109
- function G() {
109
+ function A() {
110
110
  t.limitInfo.push({
111
111
  startTime: "",
112
112
  endTime: "",
113
113
  limitPerson: 1
114
114
  });
115
115
  }
116
- function H(e) {
116
+ function G(e) {
117
117
  if (t.limitInfo.length === 1) {
118
- h({
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
- c.value && (c.value = !1);
127
+ u.value && (u.value = !1);
128
128
  }
129
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");
131
- return f(), P(x, {
132
- modelValue: c.value,
133
- "onUpdate:modelValue": a[9] || (a[9] = (o) => c.value = o),
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: i(() => [
137
- te("div", oe, [
138
- l(v, { onClick: N }, {
139
- default: i(() => [
140
- g(B(e.$t("common.cancel")), 1)
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(v, {
144
+ l(g, {
145
145
  type: "primary",
146
146
  onClick: K
147
147
  }, {
148
- default: i(() => [
149
- g(B(e.$t("common.confirm")), 1)
148
+ default: o(() => [
149
+ v(h(e.$t("common.confirm")), 1)
150
150
  ]),
151
151
  _: 1
152
152
  })
153
153
  ])
154
154
  ]),
155
- default: i(() => [
155
+ default: o(() => [
156
156
  l(Z, {
157
157
  ref_key: "siteServiceFormRef",
158
- ref: k,
159
- model: r(t),
158
+ ref: q,
159
+ model: s(t),
160
160
  "label-width": "120px",
161
161
  rules: L
162
162
  }, {
163
- default: i(() => [
163
+ default: o(() => [
164
164
  l(Y, null, {
165
- default: i(() => [
166
- l(u, { span: 12 }, {
167
- default: i(() => [
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: i(() => [
173
- l(n, {
174
- modelValue: r(t).orgId,
175
- "onUpdate:modelValue": a[0] || (a[0] = (o) => r(t).orgId = o),
176
- data: r(p).unionOrgBizLayDict.values,
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(u, { span: 12 }, {
191
- default: i(() => [
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: i(() => [
196
+ default: o(() => [
197
197
  l(Q, {
198
- modelValue: r(t).siteId,
199
- "onUpdate:modelValue": a[1] || (a[1] = (o) => r(t).siteId = o),
200
- disabled: !r(t).orgId,
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: i(() => [
205
- (f(!0), _(z, null, M($.value, (o) => (f(), P(J, {
206
- key: o.key,
207
- label: o.value,
208
- value: o.key
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(u, { span: 12 }, {
220
- default: i(() => [
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: i(() => [
226
- l(n, {
227
- modelValue: r(t).serviceName,
228
- "onUpdate:modelValue": a[2] || (a[2] = (o) => r(t).serviceName = o),
229
- data: r(p).serviceNameDict.values,
230
- filterable: "",
231
- "check-strictly": "",
232
- "render-after-expand": !1,
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(u, { span: 12 }, {
242
- default: i(() => [
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: i(() => [
248
- l(w, {
249
- modelValue: r(t).minDay,
250
- "onUpdate:modelValue": a[3] || (a[3] = (o) => r(t).minDay = o),
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
- g("~ "),
255
- l(w, {
256
- modelValue: r(t).maxDay,
257
- "onUpdate:modelValue": a[4] || (a[4] = (o) => r(t).maxDay = o),
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(u, { span: 12 }, {
268
- default: i(() => [
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: i(() => [
274
- l(C, {
275
- modelValue: r(t).limitPerson,
276
- "onUpdate:modelValue": a[5] || (a[5] = (o) => r(t).limitPerson = o),
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(u, { span: 12 }, {
290
- default: i(() => [
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: i(() => [
293
+ default: o(() => [
318
294
  l(W, {
319
- modelValue: r(t).status,
320
- "onUpdate:modelValue": a[7] || (a[7] = (o) => r(t).status = o),
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: r(p).serviceStatusEnum.values,
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(u, { span: 12 }, {
333
- default: i(() => [
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: i(() => [
339
- l(C, {
340
- modelValue: r(t).note,
341
- "onUpdate:modelValue": a[8] || (a[8] = (o) => r(t).note = o),
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(u, { span: 24 }, {
355
- default: i(() => [
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: i(() => [
361
- (f(!0), _(z, null, M(r(t).limitInfo, (o, b) => (f(), _("div", { key: b }, [
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: o.time,
364
- "onUpdate:modelValue": (V) => o.time = 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) => A(V, b)
347
+ onChange: (V) => H(V, b)
371
348
  }, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "onChange"]),
372
- l(v, {
349
+ l(g, {
373
350
  style: { "margin-left": "30px", "margin-right": "30px" },
374
- onClick: (V) => H(b)
351
+ onClick: (V) => G(b)
375
352
  }, {
376
- default: i(() => [
377
- g("删除")
353
+ default: o(() => [
354
+ v(h(e.$t("common.delete")), 1)
378
355
  ]),
379
356
  _: 2
380
357
  }, 1032, ["onClick"]),
381
- l(v, { onClick: G }, {
382
- default: i(() => [
383
- g("添加")
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 v, ref as t, reactive as n, resolveComponent as p, openBlock as g, createBlock as C, unref as e, isRef as x, withCtx as s, createVNode as u, createElementVNode as V } from "vue";
2
- import { _ as k } from "./index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs";
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 m = t(), c = t(), a = n({
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 = n({
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 f() {
37
- c.value.saveCommitteeChange(), l.value = !1;
35
+ function d() {
36
+ m.value.saveCommitteeChange(), l.value = !1;
38
37
  }
39
38
  const l = t(!0);
40
- function d() {
39
+ function f() {
41
40
  l.value && (l.value = !1);
42
41
  }
43
- return (R, r) => {
44
- const i = p("el-form"), _ = p("el-dialog");
45
- return g(), C(_, {
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": r[0] || (r[0] = (b) => x(l) ? l.value = b : null),
48
- onClose: d
46
+ "onUpdate:modelValue": p[0] || (p[0] = (v) => V(l) ? l.value = v : null),
47
+ onClose: f
49
48
  }, {
50
- default: s(() => [
51
- u(i, {
49
+ default: u(() => [
50
+ s(_, {
52
51
  ref: "FormRef",
53
- model: e(m),
52
+ model: e(c),
54
53
  "label-width": "120px",
55
- rules: e(a)
54
+ rules: e(n)
56
55
  }, {
57
- default: s(() => [
58
- u(k, {
56
+ default: u(() => [
57
+ s(i, {
59
58
  label: e(o).label,
60
59
  prop: e(o).prop,
61
- rules: e(a),
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
- V("button", { onClick: f }, "弹框按钮触发组件提交事件")
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
- B as default
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-DSfByOkx.mjs";
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-BLa-fXcy.mjs";
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";
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs";
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs";
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
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-BLa-fXcy.mjs"), "./views/asset/asset-asset/edit.vue": () => import("./edit-Dn-QMuy6.mjs"), "./views/asset/asset-asset/index.vue": () => import("./index-xyCxQquE.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-ByVysHgI.mjs"), "./views/asset/asset-inventory-record/index.vue": () => import("./index-BWwU9hSp.mjs"), "./views/asset/asset-inventory-record/index备份.vue": () => import("./index备份-CaiMDP8J.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-Di49EjkG.mjs"), "./views/asset/asset-inventory-record/text/index.vue": () => import("./index-qQuyprvx.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-DmRG7fo0.mjs"), "./views/asset/asset-site-service/index.vue": () => import("./index-DeBZxOsC.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
+ }, 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
  }