xyvcard-asset 0.0.12 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. package/dist/{edit-BWhOgMw-.mjs → edit-BD4l4cZV.mjs} +1 -1
  2. package/dist/{edit-CZujIURb.mjs → edit-BIE_CJlr.mjs} +1 -1
  3. package/dist/{edit-DPssVAky.mjs → edit-DR-WgdT5.mjs} +1 -1
  4. package/dist/{edit.vue_vue_type_script_setup_true_lang-6j8bVbef.mjs → edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs} +110 -98
  5. package/dist/edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs +446 -0
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-CjH6sYw4.mjs → edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs} +0 -1
  7. package/dist/{index-Bz6eEggE.mjs → index-Bqv9_BYL.mjs} +1 -1
  8. package/dist/{index-DIKzzLQ2.mjs → index-BxeGNuSx.mjs} +55 -45
  9. package/dist/{index-4vX1fgzo.mjs → index-BzUXtBGU.mjs} +111 -108
  10. package/dist/{index-BxfpD3CM.mjs → index-C9FfnHCZ.mjs} +1 -1
  11. package/dist/{index-CDYXKnyU.mjs → index-CHaJu5hs.mjs} +90 -80
  12. package/dist/{index-C1U7BVdL.mjs → index-CJhQRbHt.mjs} +1 -1
  13. package/dist/index-CuDcmifl.mjs +165 -0
  14. package/dist/index.mjs +10 -7
  15. package/dts/api/asset/asset-site-service/types.d.ts +5 -0
  16. package/dts/lang/asset/zh-cn.d.ts +3 -0
  17. package/dts/src/api/asset/asset-asset/index.d.ts +3 -1
  18. package/dts/src/api/asset/asset-asset/types.d.ts +23 -17
  19. package/dts/src/api/asset/asset-asset-detail/index.d.ts +10 -2
  20. package/dts/src/api/asset/asset-asset-detail/types.d.ts +22 -13
  21. package/dts/src/api/asset/asset-inventory-record/index.d.ts +7 -2
  22. package/dts/src/api/asset/asset-inventory-record/types.d.ts +1 -0
  23. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +12 -1
  24. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +44 -1
  25. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +1 -1
  26. package/dts/src/api/asset/asset-site/index.d.ts +2 -1
  27. package/dts/src/api/asset/asset-site-service/index.d.ts +2 -1
  28. package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
  29. package/dts/src/components/EnumSelect/index.vue.d.ts +18 -0
  30. package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
  31. package/dts/src/index.d.ts +1 -1
  32. package/dts/src/lang/asset/zh-cn.d.ts +6 -38
  33. package/dts/src/router/page.d.ts +0 -2
  34. package/dts/src/views/asset/{asset-asset-detail → asset-service-appt-member}/edit.vue.d.ts +7 -5
  35. package/dts/tsconfig.tsbuildinfo +1 -1
  36. package/package.json +3 -3
  37. package/dist/edit.vue_vue_type_script_setup_true_lang-CrrY9V5d.mjs +0 -394
  38. package/dist/index-_uK0Hvab.mjs +0 -91
  39. package/dts/components/PeopleSelectAsset/index.vue.d.ts +0 -18
  40. package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +0 -14
  41. package/dts/src/api/asset/asset-depreciation-record/index.d.ts +0 -11
  42. package/dts/src/api/asset/asset-depreciation-record/types.d.ts +0 -38
  43. package/dts/src/api/asset/text/index.d.ts +0 -0
  44. package/dts/src/api/asset/text/types.d.ts +0 -0
  45. package/dts/src/components/PeopleSelect/index.vue.d.ts +0 -18
  46. package/dts/src/components/deptPeopleSelect/index.vue.d.ts +0 -2
  47. package/dts/src/components copy/PeopleSelect/index.vue.d.ts +0 -18
  48. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +0 -34
  49. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +0 -18
  50. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +0 -34
  51. 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
  52. 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
  53. 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
  54. 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
  55. package/dts/src/components copy/Upload/ImageUpload.vue.d.ts +0 -38
  56. package/dts/src/components copy/Upload/MultiUpload.vue.d.ts +0 -24
  57. package/dts/src/views/asset/asset-asset-detail/index.vue.d.ts +0 -2
  58. package/dts/src/views/asset/asset-depreciation-record/index.vue.d.ts +0 -2
  59. package/dts/src/views/asset/asset-depreciation-record/info/index.vue.d.ts +0 -2
  60. package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +0 -6
  61. package/dts/src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +0 -2
  62. package/dts/src/views/asset/asset-inventory-record/info/index.vue.d.ts +0 -2
  63. package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +0 -2
  64. package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +0 -2
  65. package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +0 -6
  66. package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +0 -2
  67. package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +0 -2
  68. package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +0 -2
  69. package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +0 -2
  70. /package/dts/src/{components copy/deptPeopleSelect → views/asset/asset-service-appt-member}/index.vue.d.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-asset",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
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.95",
18
+ "jmash-core": "^0.0.99",
19
19
  "jmash-dict": "^0.0.39",
20
- "jmash-rbac": "file:jmash-rbac-0.0.21.tgz"
20
+ "jmash-rbac": "^0.0.34"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@rushstack/eslint-patch": "^1.3.3",
@@ -1,394 +0,0 @@
1
- import { defineComponent as te, mergeModels as P, getCurrentInstance as le, ref as I, reactive as B, useModel as ae, resolveComponent as r, openBlock as f, createBlock as H, withCtx as o, createElementVNode as oe, createVNode as t, createTextVNode as v, toDisplayString as S, unref as s, createElementBlock as $, Fragment as M, renderList as O } from "vue";
2
- import { D as p, b as V, S as ie } from "./index-CGds22-2.mjs";
3
- import { ElMessage as D } from "element-plus";
4
- import { useI18n as se } from "vue-i18n";
5
- import { a as j } from "./common-CshrwPyx.mjs";
6
- const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ te({
7
- __name: "edit",
8
- props: /* @__PURE__ */ P({
9
- entityKey: {
10
- type: Object,
11
- default: () => {
12
- }
13
- }
14
- }, {
15
- modelValue: { type: Boolean },
16
- modelModifiers: {}
17
- }),
18
- emits: /* @__PURE__ */ P(["refresh"], ["update:modelValue"]),
19
- setup(k, { emit: z }) {
20
- p.unionOrgBizLayDict.useValues(), p.managerDict.useValues(), p.serviceNameDict.useValues(), p.siteDict.useValues();
21
- const { t: m } = se(), { proxy: q } = le(), w = I();
22
- let l = B({
23
- requestId: Math.random() * 10 + "",
24
- updateMask: "siteId,serviceName,minDay,maxDay,limitPerson,status,note",
25
- limitInfo: [
26
- {
27
- time: [],
28
- startTime: "",
29
- endTime: "",
30
- limitPerson: 1
31
- }
32
- ]
33
- });
34
- const L = B({
35
- // 所属工会
36
- orgId: [
37
- {
38
- required: !0,
39
- message: m("siteService.orgIdRequired"),
40
- trigger: "change"
41
- }
42
- ],
43
- // 场地名称
44
- siteId: [
45
- {
46
- required: !0,
47
- message: m("siteService.siteIdRequired"),
48
- trigger: "change"
49
- }
50
- ],
51
- // 预约项目
52
- serviceName: [
53
- {
54
- required: !0,
55
- message: m("siteService.serviceNameRequired"),
56
- trigger: "change"
57
- }
58
- ],
59
- // 限制人流
60
- limitPerson: [
61
- {
62
- required: !0,
63
- message: m("siteService.limitPersonRequired"),
64
- trigger: "blur"
65
- }
66
- ],
67
- status: [
68
- {
69
- required: !0,
70
- message: m("siteService.statusRequired"),
71
- trigger: "change"
72
- }
73
- ],
74
- // 预约规则说明
75
- note: [
76
- {
77
- message: m("siteService.note"),
78
- trigger: "blur"
79
- }
80
- ]
81
- }), T = I();
82
- function E(e) {
83
- l.siteId = "";
84
- const a = new ie({ orgId: e });
85
- a.useValues(), T.value = a.values;
86
- }
87
- const d = ae(k, "modelValue"), b = k, C = z, F = Object.keys(b.entityKey), R = I(F.length >= 1);
88
- R.value && V.findById(b.entityKey).then(({ data: e }) => {
89
- e.siteId = e.serviceName, Object.assign(l, e), V.findlimitInfoById(b.entityKey).then(({ data: { results: a } }) => {
90
- l.limitInfo = a.map((n) => ({
91
- ...n,
92
- time: [
93
- j(n.startTime),
94
- j(n.endTime)
95
- ]
96
- }));
97
- });
98
- });
99
- const K = async () => {
100
- var e;
101
- await ((e = w.value) == null ? void 0 : e.validate((a) => {
102
- a && (R.value ? V.update(l).then((n) => {
103
- n.status === 200 && (D({
104
- message: m("common.submitSuccess"),
105
- type: "success"
106
- }), d.value && (d.value = !1), C("refresh", n.status === 200));
107
- }) : V.create(l).then((n) => {
108
- n.status === 200 && (D({
109
- message: m("common.submitSuccess"),
110
- type: "success"
111
- }), d.value && (d.value = !1), C("refresh", n.status === 200));
112
- }));
113
- }));
114
- };
115
- function A(e, a) {
116
- l.limitInfo[a].startTime = q.$moment.formatDate(e[0], "HH:mm:ss"), l.limitInfo[a].endTime = q.$moment.formatDate(e[1], "HH:mm:ss");
117
- }
118
- function G() {
119
- l.limitInfo.push({
120
- startTime: "",
121
- endTime: "",
122
- limitPerson: 1
123
- });
124
- }
125
- function J(e) {
126
- if (l.limitInfo.length === 1) {
127
- D({
128
- message: "最少保留一个时间段",
129
- type: "error"
130
- });
131
- return;
132
- }
133
- l.limitInfo.splice(e, 1);
134
- }
135
- function N() {
136
- d.value && (d.value = !1);
137
- }
138
- return (e, a) => {
139
- const n = r("el-tree-select"), u = r("el-form-item"), c = r("el-col"), Q = r("el-option"), W = r("el-select"), _ = r("el-input"), U = r("el-input-number"), X = r("jmash-select"), Y = r("el-time-picker"), g = r("el-button"), Z = r("el-row"), x = r("el-form"), ee = r("el-dialog");
140
- return f(), H(ee, {
141
- modelValue: d.value,
142
- "onUpdate:modelValue": a[8] || (a[8] = (i) => d.value = i),
143
- onClose: N
144
- }, {
145
- footer: o(() => [
146
- oe("div", re, [
147
- t(g, { onClick: N }, {
148
- default: o(() => [
149
- v(S(e.$t("common.cancel")), 1)
150
- ]),
151
- _: 1
152
- }),
153
- t(g, {
154
- type: "primary",
155
- onClick: K
156
- }, {
157
- default: o(() => [
158
- v(S(e.$t("common.confirm")), 1)
159
- ]),
160
- _: 1
161
- })
162
- ])
163
- ]),
164
- default: o(() => [
165
- t(x, {
166
- ref_key: "siteServiceFormRef",
167
- ref: w,
168
- model: s(l),
169
- "label-width": "120px",
170
- rules: L
171
- }, {
172
- default: o(() => [
173
- t(Z, null, {
174
- default: o(() => [
175
- t(c, { span: 12 }, {
176
- default: o(() => [
177
- t(u, {
178
- label: e.$t("siteService.orgId"),
179
- prop: "orgId"
180
- }, {
181
- default: o(() => [
182
- t(n, {
183
- modelValue: s(l).orgId,
184
- "onUpdate:modelValue": a[0] || (a[0] = (i) => s(l).orgId = i),
185
- data: s(p).unionOrgBizLayDict.values,
186
- filterable: "",
187
- "check-strictly": "",
188
- "render-after-expand": !1,
189
- placeholder: e.$t("siteService.orgIdRequired"),
190
- style: { width: "100%" },
191
- onChange: E
192
- }, null, 8, ["modelValue", "data", "placeholder"])
193
- ]),
194
- _: 1
195
- }, 8, ["label"])
196
- ]),
197
- _: 1
198
- }),
199
- t(c, { span: 12 }, {
200
- default: o(() => [
201
- t(u, {
202
- label: e.$t("siteService.siteId"),
203
- prop: "siteId"
204
- }, {
205
- default: o(() => [
206
- t(W, {
207
- modelValue: s(l).siteId,
208
- "onUpdate:modelValue": a[1] || (a[1] = (i) => s(l).siteId = i),
209
- disabled: !s(l).orgId,
210
- placeholder: e.$t("siteService.siteIdRequired"),
211
- clearable: ""
212
- }, {
213
- default: o(() => [
214
- (f(!0), $(M, null, O(T.value, (i) => (f(), H(Q, {
215
- key: i.key,
216
- label: i.value,
217
- value: i.key
218
- }, null, 8, ["label", "value"]))), 128))
219
- ]),
220
- _: 1
221
- }, 8, ["modelValue", "disabled", "placeholder"])
222
- ]),
223
- _: 1
224
- }, 8, ["label"])
225
- ]),
226
- _: 1
227
- }),
228
- t(c, { span: 12 }, {
229
- default: o(() => [
230
- t(u, {
231
- label: e.$t("siteService.serviceName"),
232
- prop: "serviceName"
233
- }, {
234
- default: o(() => [
235
- t(_, {
236
- modelValue: s(l).serviceName,
237
- "onUpdate:modelValue": a[2] || (a[2] = (i) => s(l).serviceName = i),
238
- placeholder: e.$t("siteService.serviceNameRequired"),
239
- "show-word-limit": "",
240
- clearable: ""
241
- }, null, 8, ["modelValue", "placeholder"])
242
- ]),
243
- _: 1
244
- }, 8, ["label"])
245
- ]),
246
- _: 1
247
- }),
248
- t(c, { span: 12 }, {
249
- default: o(() => [
250
- t(u, {
251
- label: e.$t("siteService.day"),
252
- prop: "day"
253
- }, {
254
- default: o(() => [
255
- t(U, {
256
- modelValue: s(l).minDay,
257
- "onUpdate:modelValue": a[3] || (a[3] = (i) => s(l).minDay = i),
258
- size: "small",
259
- min: 0
260
- }, null, 8, ["modelValue"]),
261
- v("~ "),
262
- t(U, {
263
- modelValue: s(l).maxDay,
264
- "onUpdate:modelValue": a[4] || (a[4] = (i) => s(l).maxDay = i),
265
- size: "small",
266
- min: 0
267
- }, null, 8, ["modelValue"])
268
- ]),
269
- _: 1
270
- }, 8, ["label"])
271
- ]),
272
- _: 1
273
- }),
274
- t(c, { span: 12 }, {
275
- default: o(() => [
276
- t(u, {
277
- label: e.$t("siteService.limitPerson"),
278
- prop: "limitPerson"
279
- }, {
280
- default: o(() => [
281
- t(_, {
282
- modelValue: s(l).limitPerson,
283
- "onUpdate:modelValue": a[5] || (a[5] = (i) => s(l).limitPerson = i),
284
- placeholder: e.$t("siteService.limitPersonRequired"),
285
- "show-word-limit": "",
286
- clearable: "",
287
- type: "number",
288
- min: "0"
289
- }, null, 8, ["modelValue", "placeholder"])
290
- ]),
291
- _: 1
292
- }, 8, ["label"])
293
- ]),
294
- _: 1
295
- }),
296
- t(c, { span: 12 }, {
297
- default: o(() => [
298
- t(u, {
299
- label: e.$t("siteService.status"),
300
- prop: "status"
301
- }, {
302
- default: o(() => [
303
- t(X, {
304
- modelValue: s(l).status,
305
- "onUpdate:modelValue": a[6] || (a[6] = (i) => s(l).status = i),
306
- placeholder: e.$t("siteService.statusRequired"),
307
- data: s(p).serviceStatusEnum.values,
308
- clearable: "",
309
- style: { width: "100% !important" }
310
- }, null, 8, ["modelValue", "placeholder", "data"])
311
- ]),
312
- _: 1
313
- }, 8, ["label"])
314
- ]),
315
- _: 1
316
- }),
317
- t(c, { span: 24 }, {
318
- default: o(() => [
319
- t(u, {
320
- label: e.$t("siteService.note"),
321
- prop: "note"
322
- }, {
323
- default: o(() => [
324
- t(_, {
325
- modelValue: s(l).note,
326
- "onUpdate:modelValue": a[7] || (a[7] = (i) => s(l).note = i),
327
- type: "textarea",
328
- maxlength: "100",
329
- "show-word-limit": "",
330
- placeholder: e.$t("siteService.noteRequired"),
331
- rows: 3
332
- }, null, 8, ["modelValue", "placeholder"])
333
- ]),
334
- _: 1
335
- }, 8, ["label"])
336
- ]),
337
- _: 1
338
- }),
339
- t(c, { span: 24 }, {
340
- default: o(() => [
341
- t(u, {
342
- label: e.$t("siteService.time"),
343
- prop: "time"
344
- }, {
345
- default: o(() => [
346
- (f(!0), $(M, null, O(s(l).limitInfo, (i, h) => (f(), $("div", { key: h }, [
347
- t(Y, {
348
- modelValue: i.time,
349
- "onUpdate:modelValue": (y) => i.time = y,
350
- "is-range": "",
351
- style: { width: "315px" },
352
- format: "HH:mm",
353
- "range-separator": "To",
354
- "start-placeholder": e.$t("siteService.startTime"),
355
- "end-placeholder": e.$t("siteService.endTime"),
356
- onChange: (y) => A(y, h)
357
- }, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "onChange"]),
358
- t(g, {
359
- style: { "margin-left": "30px", "margin-right": "30px" },
360
- onClick: (y) => J(h)
361
- }, {
362
- default: o(() => [
363
- v(S(e.$t("common.delete")), 1)
364
- ]),
365
- _: 2
366
- }, 1032, ["onClick"]),
367
- t(g, { onClick: G }, {
368
- default: o(() => [
369
- v("添加")
370
- ]),
371
- _: 1
372
- })
373
- ]))), 128))
374
- ]),
375
- _: 1
376
- }, 8, ["label"])
377
- ]),
378
- _: 1
379
- })
380
- ]),
381
- _: 1
382
- })
383
- ]),
384
- _: 1
385
- }, 8, ["model", "rules"])
386
- ]),
387
- _: 1
388
- }, 8, ["modelValue"]);
389
- };
390
- }
391
- });
392
- export {
393
- pe as _
394
- };
@@ -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-CGds22-2.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
- };
@@ -1,18 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- deptId: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- updatePeoples: (...args: any[]) => void;
8
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
9
- deptId: {
10
- type: StringConstructor;
11
- default: string;
12
- };
13
- }>> & {
14
- onUpdatePeoples?: ((...args: any[]) => any) | undefined;
15
- }, {
16
- deptId: string;
17
- }, {}>;
18
- export default _default;
@@ -1,14 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- deptId: {
3
- type: globalThis.PropType<string[]>;
4
- default: () => never[];
5
- };
6
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
7
- deptId: {
8
- type: globalThis.PropType<string[]>;
9
- default: () => never[];
10
- };
11
- }>>, {
12
- deptId: string[];
13
- }, {}>;
14
- export default _default;
@@ -1,11 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { DepreciationRecordApi, DepreciationRecordReq, DepreciationRecordModel, DepreciationRecordPage, DepreciationRecordList, DepreciationRecordKey, DepreciationRecordExportReq } from "./types";
3
- declare class DepreciationRecordApiImpl implements DepreciationRecordApi {
4
- getKey(model: DepreciationRecordModel): DepreciationRecordKey;
5
- findPage(query?: DepreciationRecordReq): AxiosPromise<DepreciationRecordPage>;
6
- findList(query?: DepreciationRecordReq): AxiosPromise<DepreciationRecordList>;
7
- findById(query: DepreciationRecordKey): AxiosPromise<DepreciationRecordModel>;
8
- exportExcel(queryParams: DepreciationRecordExportReq): AxiosPromise;
9
- }
10
- declare const depreciationRecordApi: DepreciationRecordApiImpl;
11
- export { depreciationRecordApi };
@@ -1,38 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityExportReq } from "jmash-core";
2
- export interface DepreciationRecordApi extends EntityApi {
3
- }
4
- export interface DepreciationRecordReq extends EntityReq {
5
- assetSort?: string;
6
- likeName?: string;
7
- year?: number;
8
- selectYear?: string;
9
- assetId?: string;
10
- }
11
- export interface DepreciationRecordModel extends EntityModel {
12
- recordId?: string;
13
- assetId?: string;
14
- yearMonth?: string;
15
- depreciationMoney?: string;
16
- }
17
- export interface DepreciationRecordList extends EntityList {
18
- results: Array<DepreciationRecordModel>;
19
- }
20
- export interface DepreciationRecordPage extends EntityPage {
21
- results: Array<DepreciationRecordModel>;
22
- subTotalDto: DepreciationRecordModelTotal;
23
- totalDto: DepreciationRecordModelTotal;
24
- }
25
- export interface DepreciationRecordModelTotal extends EntityTotal {
26
- totalSize: number;
27
- }
28
- export interface DepreciationRecordKey extends EntityKey {
29
- tenant?: string;
30
- recordId?: string;
31
- }
32
- export interface DepreciationRecordKeyList extends EntityKeyList {
33
- tenant?: string;
34
- recordId?: Array<string>;
35
- }
36
- export interface DepreciationRecordExportReq extends EntityExportReq {
37
- req: DepreciationRecordReq;
38
- }
File without changes
File without changes
@@ -1,18 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- deptId: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- updatePeoples: (...args: any[]) => void;
8
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
9
- deptId: {
10
- type: StringConstructor;
11
- default: string;
12
- };
13
- }>> & {
14
- onUpdatePeoples?: ((...args: any[]) => any) | undefined;
15
- }, {
16
- deptId: string;
17
- }, {}>;
18
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
- export default _default;
@@ -1,18 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- deptId: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- updatePeoples: (...args: any[]) => void;
8
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
9
- deptId: {
10
- type: StringConstructor;
11
- default: string;
12
- };
13
- }>> & {
14
- onUpdatePeoples?: ((...args: any[]) => any) | undefined;
15
- }, {
16
- deptId: string;
17
- }, {}>;
18
- export default _default;
@@ -1,34 +0,0 @@
1
- interface peopleModel {
2
- key: string;
3
- value: string;
4
- label?: string;
5
- deep?: string;
6
- position?: string;
7
- }
8
- declare const _default: import("vue").DefineComponent<{
9
- data: {
10
- type: globalThis.PropType<peopleModel[]>;
11
- default: () => never[];
12
- };
13
- selectPeoples: {
14
- type: globalThis.PropType<peopleModel[]>;
15
- default: () => never[];
16
- };
17
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
- updatePeoples: (...args: any[]) => void;
19
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
20
- data: {
21
- type: globalThis.PropType<peopleModel[]>;
22
- default: () => never[];
23
- };
24
- selectPeoples: {
25
- type: globalThis.PropType<peopleModel[]>;
26
- default: () => never[];
27
- };
28
- }>> & {
29
- onUpdatePeoples?: ((...args: any[]) => any) | undefined;
30
- }, {
31
- selectPeoples: peopleModel[];
32
- data: peopleModel[];
33
- }, {}>;
34
- export default _default;