xyvcard-asset 0.0.8 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. package/README.md +52 -52
  2. package/dist/assign-DzQUNp-Y.mjs +1626 -0
  3. package/dist/{edit-zFZfd8e1.mjs → edit-CCrekeeb.mjs} +1 -1
  4. package/dist/{edit-CE3u81Q0.mjs → edit-DdzPtYyH.mjs} +1 -1
  5. package/dist/edit-Dn-QMuy6.mjs +4 -0
  6. package/dist/edit-FdqpKRgF.mjs +294 -0
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs → edit.vue_vue_type_script_setup_true_lang-BP4-GiBE.mjs} +152 -145
  8. package/dist/edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs +547 -0
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs +278 -0
  10. package/dist/index copy-CxTCJcvX.mjs +75 -0
  11. package/dist/index-B4vUTwSW.mjs +171 -0
  12. package/dist/index-BK24yagy.mjs +1663 -0
  13. package/dist/index-BW-5IuVN.mjs +91 -0
  14. package/dist/index-BWwU9hSp.mjs +320 -0
  15. package/dist/index-BvKWLFdr.mjs +345 -0
  16. package/dist/index-BwbnYpa1.mjs +29 -0
  17. package/dist/index-C5_f5Lce.mjs +213 -0
  18. package/dist/index-CSMEsPcN.mjs +432 -0
  19. package/dist/index-CgAq70-p.mjs +314 -0
  20. package/dist/index-CugJCeed.mjs +373 -0
  21. package/dist/index-DElPNxc7.mjs +398 -0
  22. package/dist/index-De4u-LEl.mjs +325 -0
  23. package/dist/index-Dyo7je0Z.mjs +38 -0
  24. package/dist/index-FUnFB7nG.mjs +61 -0
  25. package/dist/index-GhvyIwc3.mjs +4 -0
  26. package/dist/index-axEqTssj.mjs +378 -0
  27. package/dist/index-jOcS7tqC.mjs +311 -0
  28. package/dist/index-pfeu6d82.mjs +4 -0
  29. package/dist/index.mjs +2753 -35
  30. package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +110 -0
  31. package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +54 -0
  32. package/dist/index/345/244/207/344/273/275-BfKo5eBT.mjs +323 -0
  33. package/dist/style.css +1 -1
  34. package/dts/api/asset/asset-asset/index.d.ts +10 -5
  35. package/dts/api/asset/asset-asset/types.d.ts +39 -23
  36. package/dts/api/asset/asset-asset-detail/index.d.ts +12 -0
  37. package/dts/api/asset/asset-asset-detail/types.d.ts +56 -0
  38. package/dts/api/asset/asset-depreciation-record/index.d.ts +11 -0
  39. package/dts/api/asset/asset-depreciation-record/types.d.ts +38 -0
  40. package/dts/api/asset/asset-inventory-record/index.d.ts +10 -0
  41. package/dts/api/asset/asset-inventory-record/types.d.ts +62 -0
  42. package/dts/api/asset/asset-service-appt-member/index.d.ts +1 -12
  43. package/dts/api/asset/asset-service-appt-member/types.d.ts +1 -44
  44. package/dts/api/asset/asset-service-appt-record/index.d.ts +1 -12
  45. package/dts/api/asset/asset-service-appt-record/types.d.ts +7 -68
  46. package/dts/api/asset/asset-site/index.d.ts +1 -2
  47. package/dts/api/asset/asset-site/types.d.ts +4 -14
  48. package/dts/api/asset/asset-site-service/index.d.ts +1 -2
  49. package/dts/api/asset/asset-site-service/types.d.ts +1 -0
  50. package/dts/api/asset/text/index.d.ts +140 -0
  51. package/dts/api/asset/text/types.d.ts +179 -0
  52. package/dts/api/dict.d.ts +1 -4
  53. package/dts/api/index.d.ts +2 -0
  54. package/dts/components/{TMaps → PeopleSelectAsset}/index.vue.d.ts +5 -7
  55. package/dts/components/Upload/ImageUpload.vue.d.ts +1 -1
  56. package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +14 -0
  57. package/dts/constant.d.ts +4 -1
  58. package/dts/index.d.ts +3 -1
  59. package/dts/lang/asset/zh-cn.d.ts +60 -1
  60. package/dts/router/page.d.ts +6 -0
  61. package/dts/src/api/asset/asset-asset/index.d.ts +10 -5
  62. package/dts/src/api/asset/asset-asset/types.d.ts +39 -23
  63. package/dts/src/api/asset/asset-asset-detail/index.d.ts +12 -0
  64. package/dts/src/api/asset/asset-asset-detail/types.d.ts +56 -0
  65. package/dts/src/api/asset/asset-depreciation-record/index.d.ts +11 -0
  66. package/dts/src/api/asset/asset-depreciation-record/types.d.ts +38 -0
  67. package/dts/src/api/asset/asset-inventory-record/index.d.ts +10 -0
  68. package/dts/src/api/asset/asset-inventory-record/types.d.ts +62 -0
  69. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +1 -12
  70. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +1 -44
  71. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +1 -12
  72. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +7 -68
  73. package/dts/src/api/asset/asset-site/index.d.ts +1 -2
  74. package/dts/src/api/asset/asset-site/types.d.ts +4 -14
  75. package/dts/src/api/asset/asset-site-service/index.d.ts +1 -2
  76. package/dts/src/api/asset/asset-site-service/types.d.ts +1 -0
  77. package/dts/src/api/asset/text/index.d.ts +0 -0
  78. package/dts/src/api/asset/text/types.d.ts +0 -0
  79. package/dts/src/api/dict.d.ts +1 -4
  80. package/dts/src/api/index.d.ts +2 -0
  81. package/dts/src/components/PeopleSelect/index.vue.d.ts +18 -0
  82. package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
  83. package/dts/src/components copy/PeopleSelect/index.vue.d.ts +18 -0
  84. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +34 -0
  85. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +18 -0
  86. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +34 -0
  87. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index/345/215/225/351/200/211/346/241/206/346/234/200/346/226/260.vue.d.ts" +34 -0
  88. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/tree/351/200/211/346/213/251/346/241/206/344/270/215/345/261/225/347/244/272/346/225/260/346/215/256,/344/270/213/346/226/271/351/242/204/350/247/210/346/225/260/346/215/256.vue.d.ts" +18 -0
  89. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//345/217/214/351/200/211/346/213/251.vue.d.ts" +42 -0
  90. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//351/200/211/346/213/251/344/272/272/345/221/230/index.vue.d.ts" +34 -0
  91. package/dts/src/components copy/Upload/ImageUpload.vue.d.ts +38 -0
  92. package/dts/src/components copy/Upload/MultiUpload.vue.d.ts +24 -0
  93. package/dts/src/constant.d.ts +4 -1
  94. package/dts/src/index.d.ts +3 -1
  95. package/dts/src/lang/asset/zh-cn.d.ts +59 -1
  96. package/dts/src/router/page.d.ts +4 -0
  97. package/dts/src/utils/momentPlugin.d.ts +5 -0
  98. package/dts/{views/asset/asset-service-appt-member/edit.vue.d.ts → src/views/asset/asset-asset/assign.vue.d.ts} +14 -7
  99. package/dts/src/views/asset/asset-asset/info/index.vue.d.ts +2 -0
  100. package/dts/src/views/asset/{asset-service-appt-member → asset-asset-detail}/edit.vue.d.ts +5 -7
  101. package/dts/src/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
  102. package/dts/src/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
  103. package/dts/src/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
  104. package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
  105. package/dts/src/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
  106. package/dts/src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
  107. package/dts/src/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
  108. package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
  109. package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
  110. package/dts/tsconfig.tsbuildinfo +1 -1
  111. package/dts/utils/momentPlugin.d.ts +5 -0
  112. package/dts/views/asset/{asset-service-appt-record/edit.vue.d.ts → asset-asset/assign.vue.d.ts} +14 -7
  113. package/dts/views/asset/asset-asset/info/index.vue.d.ts +2 -0
  114. package/dts/{src/views/asset/asset-service-appt-record → views/asset/asset-asset-detail}/edit.vue.d.ts +5 -7
  115. package/dts/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
  116. package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
  117. package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
  118. package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
  119. package/dts/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
  120. package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +2 -0
  121. package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
  122. package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
  123. package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
  124. package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
  125. package/package.json +7 -6
  126. package/dist/edit-Bo9bnbUP.mjs +0 -492
  127. package/dist/edit-DJFxVmvv.mjs +0 -624
  128. package/dist/edit-qp_2xtTZ.mjs +0 -242
  129. package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +0 -322
  130. package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +0 -1
  131. package/dist/index-Bf5U4Ucl.mjs +0 -369
  132. package/dist/index-Bh2imlN_.mjs +0 -149
  133. package/dist/index-CHNiaFZk.mjs +0 -291
  134. package/dist/index-CmlP_Rro.mjs +0 -332
  135. package/dist/index-Cqw_E8lr.mjs +0 -1269
  136. package/dist/index-DA_FS24d.mjs +0 -146
  137. package/dist/index-DKmGNvQl.mjs +0 -370
  138. package/dist/index-DLxpE9s5.mjs +0 -305
  139. package/dist/index-DWaL87j5.mjs +0 -89
  140. package/dist/index-jOnQLJaB.mjs +0 -416
  141. package/dist/index-pyyjj1xa.mjs +0 -187
  142. package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +0 -37
  143. package/dts/api/org/union-org/index.d.ts +0 -14
  144. package/dts/api/org/union-org/types.d.ts +0 -49
  145. package/dts/components/EnumRadio/index.vue.d.ts +0 -18
  146. package/dts/components/EnumSelect/index.vue.d.ts +0 -18
  147. package/dts/src/api/org/union-org/index.d.ts +0 -14
  148. package/dts/src/api/org/union-org/types.d.ts +0 -49
  149. package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
  150. package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
  151. /package/dts/{views/asset/asset-service-appt-member → src/components/deptPeopleSelect}/index.vue.d.ts +0 -0
  152. /package/dts/src/{views/asset/asset-service-appt-member → components copy/deptPeopleSelect}/index.vue.d.ts +0 -0
@@ -0,0 +1,325 @@
1
+ import { defineComponent as F, ref as I, onBeforeMount as H, resolveComponent as u, openBlock as D, createElementBlock as Q, createVNode as l, withCtx as e, createTextVNode as d, toDisplayString as o, unref as t, createBlock as K, isRef as G, createCommentVNode as J, createElementVNode as n } from "vue";
2
+ import { useUserStore as g, clearEmpty as v, request as h, useTableHooks as O, routerUtil as W } from "jmash-core";
3
+ import { useI18n as X } from "vue-i18n";
4
+ import { useRouter as Z, useRoute as x } from "vue-router";
5
+ import { q as ee, D as V, a as te } from "./index-BK24yagy.mjs";
6
+ import { c as oe } from "./common-kbgEWG-E.mjs";
7
+ class ae {
8
+ getKey(s) {
9
+ return {
10
+ recordId: s.recordId
11
+ };
12
+ }
13
+ // 查询翻页信息资产折旧记录
14
+ findPage(s) {
15
+ const p = g().user.tenant;
16
+ return v(s), h({
17
+ url: "/v1/asset/depreciation_record/page/" + p,
18
+ method: "get",
19
+ params: s
20
+ });
21
+ }
22
+ // 查询列表信息资产折旧记录
23
+ findList(s) {
24
+ const p = g().user.tenant;
25
+ return v(s), h({
26
+ url: "/v1/asset/depreciation_record/list/" + p,
27
+ method: "get",
28
+ params: s
29
+ });
30
+ }
31
+ // 查询资产折旧记录
32
+ findById(s) {
33
+ const p = g().user.tenant;
34
+ return v(s), h({
35
+ url: "/v1/asset/depreciation_record/id/" + p + "/" + s.recordId,
36
+ method: "get"
37
+ });
38
+ }
39
+ // 导出资产折旧记录Excel文件
40
+ exportExcel(s) {
41
+ const p = g().user.tenant;
42
+ v(s);
43
+ const f = ee.stringify(s, {
44
+ arrayFormat: "brackets",
45
+ allowDots: !0
46
+ });
47
+ return h({
48
+ url: "/v1/asset/depreciation_record/" + p + "/depreciation_records.xlsx?" + f,
49
+ method: "get",
50
+ responseType: "blob"
51
+ });
52
+ }
53
+ }
54
+ const w = new ae(), le = { class: "app-container" }, se = /* @__PURE__ */ n("div", { class: "title-content" }, "资产信息", -1), ne = { class: "cell-item" }, re = { class: "cell-item" }, ie = { class: "cell-item" }, de = { class: "cell-item" }, ce = { class: "cell-item" }, ue = { class: "cell-item" }, me = { class: "cell-item" }, pe = { class: "cell-item" }, _e = { class: "cell-item" }, fe = { class: "cell-item" }, be = /* @__PURE__ */ n("div", { class: "title-content" }, "折旧记录", -1), ye = {
55
+ class: "search-container",
56
+ style: { border: "none" }
57
+ }, Re = /* @__PURE__ */ F({
58
+ __name: "index",
59
+ setup(C) {
60
+ const { t: s } = X(), p = Z(), f = x();
61
+ V.assetSortDictEnum.useEnumValues();
62
+ const _ = I({
63
+ assetId: f.query.assetId
64
+ }), c = I({}), {
65
+ tableHooks: $,
66
+ multipleTableRef: S,
67
+ queryFormRef: M,
68
+ listLoading: P,
69
+ tableData: b,
70
+ total: y
71
+ } = O(s, w, _);
72
+ let E = I([
73
+ // 折旧年月
74
+ {
75
+ label: "depreciationRecord.year",
76
+ prop: "yearMonth",
77
+ sortable: "custom",
78
+ isColumn: !0,
79
+ slotName: "yearMonth",
80
+ columnType: "slot"
81
+ },
82
+ // 月折旧额
83
+ {
84
+ label: "depreciationRecord.depreciationMoney",
85
+ prop: "depreciationMoney",
86
+ sortable: "custom",
87
+ isColumn: !0
88
+ }
89
+ ]);
90
+ function q(a) {
91
+ _.value.year = oe(a).getYear();
92
+ }
93
+ function B() {
94
+ W.closeTagView(f.fullPath, p, !1);
95
+ }
96
+ return H(() => {
97
+ f.query.assetId ? (te.findById({ assetId: f.query.assetId }).then(({ data: a }) => {
98
+ c.value = a;
99
+ }), w.findPage({
100
+ assetId: f.query.assetId
101
+ }).then(({ data: { results: a } }) => {
102
+ b.value = a;
103
+ })) : b.value = [];
104
+ }), (a, r) => {
105
+ const k = u("el-button"), T = u("el-col"), L = u("el-row"), m = u("el-descriptions-item"), U = u("el-descriptions"), j = u("el-date-picker"), R = u("el-form-item"), z = u("el-form"), A = u("jmash-table"), N = u("jmash-pagination"), Y = u("el-card");
106
+ return D(), Q("div", le, [
107
+ l(Y, {
108
+ shadow: "never",
109
+ class: "table-container"
110
+ }, {
111
+ header: e(() => [
112
+ l(L, { justify: "space-between" }, {
113
+ default: e(() => [
114
+ l(T, { span: 12 }, {
115
+ default: e(() => [
116
+ l(k, {
117
+ type: "primary",
118
+ onClick: B
119
+ }, {
120
+ default: e(() => [
121
+ d(o(a.$t("common.back")), 1)
122
+ ]),
123
+ _: 1
124
+ })
125
+ ]),
126
+ _: 1
127
+ })
128
+ ]),
129
+ _: 1
130
+ })
131
+ ]),
132
+ footer: e(() => [
133
+ t(y) > 0 ? (D(), K(N, {
134
+ key: 0,
135
+ total: t(y),
136
+ "onUpdate:total": r[3] || (r[3] = (i) => G(y) ? y.value = i : null),
137
+ "current-page": t(_).curPage,
138
+ "onUpdate:currentPage": r[4] || (r[4] = (i) => t(_).curPage = i),
139
+ "page-size": t(_).pageSize,
140
+ "onUpdate:pageSize": r[5] || (r[5] = (i) => t(_).pageSize = i),
141
+ onPagination: r[6] || (r[6] = (i) => t($).getList())
142
+ }, null, 8, ["total", "current-page", "page-size"])) : J("", !0)
143
+ ]),
144
+ default: e(() => [
145
+ se,
146
+ l(U, {
147
+ class: "margin-top",
148
+ column: 2,
149
+ border: ""
150
+ }, {
151
+ default: e(() => [
152
+ l(m, null, {
153
+ label: e(() => [
154
+ n("div", ne, o(a.$t("asset.name")), 1)
155
+ ]),
156
+ default: e(() => [
157
+ d(" " + o(t(c).name), 1)
158
+ ]),
159
+ _: 1
160
+ }),
161
+ l(m, null, {
162
+ label: e(() => [
163
+ n("div", re, o(a.$t("asset.code")), 1)
164
+ ]),
165
+ default: e(() => [
166
+ d(" " + o(t(c).code), 1)
167
+ ]),
168
+ _: 1
169
+ }),
170
+ l(m, null, {
171
+ label: e(() => [
172
+ n("div", ie, o(a.$t("asset.number")) + "/" + o(a.$t("asset.unit")), 1)
173
+ ]),
174
+ default: e(() => [
175
+ d(" " + o(t(c).number) + "/" + o(t(c).unit), 1)
176
+ ]),
177
+ _: 1
178
+ }),
179
+ l(m, null, {
180
+ label: e(() => [
181
+ n("div", de, o(a.$t("asset.buyDate")), 1)
182
+ ]),
183
+ default: e(() => [
184
+ d(" " + o(t(c).buyDate), 1)
185
+ ]),
186
+ _: 1
187
+ }),
188
+ l(m, null, {
189
+ label: e(() => [
190
+ n("div", ce, o(a.$t("asset.assetSort")), 1)
191
+ ]),
192
+ default: e(() => [
193
+ d(" " + o(t(V).assetSortDictEnum.getEnumValue(
194
+ t(c).assetSort
195
+ )), 1)
196
+ ]),
197
+ _: 1
198
+ }),
199
+ l(m, null, {
200
+ label: e(() => [
201
+ n("div", ue, o(a.$t("asset.useLimit")), 1)
202
+ ]),
203
+ default: e(() => [
204
+ d(" " + o(t(c).useLimit), 1)
205
+ ]),
206
+ _: 1
207
+ }),
208
+ l(m, null, {
209
+ label: e(() => [
210
+ n("div", me, o(a.$t("asset.oldMoney")), 1)
211
+ ]),
212
+ default: e(() => [
213
+ d(" " + o(t(c).oldMoney), 1)
214
+ ]),
215
+ _: 1
216
+ }),
217
+ l(m, null, {
218
+ label: e(() => [
219
+ n("div", pe, o(a.$t("asset.netSalvage")), 1)
220
+ ]),
221
+ default: e(() => [
222
+ d(" " + o(t(c).netSalvage), 1)
223
+ ]),
224
+ _: 1
225
+ }),
226
+ l(m, null, {
227
+ label: e(() => [
228
+ n("div", _e, o(a.$t("depreciationRecord.netAssetValue")), 1)
229
+ ]),
230
+ default: e(() => [
231
+ d(" " + o(t(c).netAssetValue), 1)
232
+ ]),
233
+ _: 1
234
+ }),
235
+ l(m, null, {
236
+ label: e(() => [
237
+ n("div", fe, o(a.$t("depreciationRecord.totalDepreciation")), 1)
238
+ ]),
239
+ default: e(() => [
240
+ d(" " + o(t(c).totalDepreciation), 1)
241
+ ]),
242
+ _: 1
243
+ })
244
+ ]),
245
+ _: 1
246
+ }),
247
+ be,
248
+ n("div", ye, [
249
+ l(z, {
250
+ ref_key: "queryFormRef",
251
+ ref: M,
252
+ model: t(_),
253
+ inline: !0
254
+ }, {
255
+ default: e(() => [
256
+ l(R, {
257
+ label: a.$t("depreciationRecord.year"),
258
+ prop: "selectYear"
259
+ }, {
260
+ default: e(() => [
261
+ l(j, {
262
+ modelValue: t(_).selectYear,
263
+ "onUpdate:modelValue": r[0] || (r[0] = (i) => t(_).selectYear = i),
264
+ disabled: t(b).length === 0,
265
+ type: "year",
266
+ placeholder: a.$t("depreciationRecord.yearPlaceholder"),
267
+ onChange: q
268
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
269
+ ]),
270
+ _: 1
271
+ }, 8, ["label"]),
272
+ l(R, { class: "search-btn" }, {
273
+ default: e(() => [
274
+ l(k, {
275
+ type: "primary",
276
+ onClick: r[1] || (r[1] = (i) => t($).handleQuery())
277
+ }, {
278
+ default: e(() => [
279
+ d(o(a.$t("common.search")), 1)
280
+ ]),
281
+ _: 1
282
+ }),
283
+ l(k, {
284
+ onClick: r[2] || (r[2] = (i) => t($).resetQuery())
285
+ }, {
286
+ default: e(() => [
287
+ d(o(a.$t("common.reset")), 1)
288
+ ]),
289
+ _: 1
290
+ })
291
+ ]),
292
+ _: 1
293
+ })
294
+ ]),
295
+ _: 1
296
+ }, 8, ["model"])
297
+ ]),
298
+ l(A, {
299
+ ref_key: "multipleTableRef",
300
+ ref: S,
301
+ class: "table-top",
302
+ "row-key": "assetId",
303
+ "is-selection": !1,
304
+ "list-loading": t(P),
305
+ data: t(b),
306
+ "table-label": t(E)
307
+ }, {
308
+ assetId: e((i) => [
309
+ n("span", null, o(i.data.row.assetId), 1)
310
+ ]),
311
+ yearMonth: e((i) => [
312
+ n("span", null, o(i.data.row.yearMonth), 1)
313
+ ]),
314
+ _: 1
315
+ }, 8, ["list-loading", "data", "table-label"])
316
+ ]),
317
+ _: 1
318
+ })
319
+ ]);
320
+ };
321
+ }
322
+ });
323
+ export {
324
+ Re as default
325
+ };
@@ -0,0 +1,38 @@
1
+ import { useUserStore as n, clearEmpty as r, request as o } from "jmash-core";
2
+ class s {
3
+ getKey(t) {
4
+ return {
5
+ inventoryId: t.inventoryId
6
+ };
7
+ }
8
+ // 查询翻页信息盘点记录
9
+ findPage(t) {
10
+ const e = n().user.tenant;
11
+ return t && (t.hasInventoryStatus = t.inventoryStatus !== void 0), r(t), o({
12
+ url: "/v1/asset/inventory_record/page/" + e,
13
+ method: "get",
14
+ params: t
15
+ });
16
+ }
17
+ // 查询盘点记录资产信息列表
18
+ findInfoAssetPage(t) {
19
+ const e = n().user.tenant;
20
+ return r(t), o({
21
+ url: "/v1/asset/inventory_detail/page/" + e,
22
+ method: "get",
23
+ params: t
24
+ });
25
+ }
26
+ // 查询盘点记录
27
+ findById(t) {
28
+ const e = n().user.tenant;
29
+ return r(t), o({
30
+ url: "/v1/asset/inventory_record/id/" + e + "/" + t.inventoryId,
31
+ method: "get"
32
+ });
33
+ }
34
+ }
35
+ const d = new s();
36
+ export {
37
+ d as i
38
+ };
@@ -0,0 +1,61 @@
1
+ import { useUserStore as s, clearEmpty as a, request as n } from "jmash-core";
2
+ import { q as o } from "./index-BK24yagy.mjs";
3
+ class i {
4
+ getKey(t) {
5
+ return {
6
+ detailId: t.detailId
7
+ };
8
+ }
9
+ // 查询翻页信息资产明细
10
+ findPage(t) {
11
+ const e = s().user.tenant;
12
+ return t && (t.hasAssetSort = t.assetSort !== void 0), a(t), n({
13
+ url: "/v1/asset/asset_detail/page/" + e,
14
+ method: "get",
15
+ params: t
16
+ });
17
+ }
18
+ // 查询列表信息资产明细
19
+ findList(t) {
20
+ const e = s().user.tenant;
21
+ return a(t), n({
22
+ url: "/v1/asset/asset_detail/list/" + e,
23
+ method: "get",
24
+ params: t
25
+ });
26
+ }
27
+ // 查询资产明细
28
+ findById(t) {
29
+ const e = s().user.tenant;
30
+ return a(t), n({
31
+ url: "/v1/asset/asset_detail/id/" + e + "/" + t.detailId,
32
+ method: "get"
33
+ });
34
+ }
35
+ // 修改实体资产明细
36
+ update(t) {
37
+ return t.tenant = s().user.tenant, a(t), n({
38
+ url: "/v1/asset/asset_detail",
39
+ method: "patch",
40
+ data: t
41
+ });
42
+ }
43
+ // 导出资产明细Excel文件
44
+ exportExcel(t) {
45
+ const e = s().user.tenant;
46
+ a(t);
47
+ const r = o.stringify(t, {
48
+ arrayFormat: "brackets",
49
+ allowDots: !0
50
+ });
51
+ return n({
52
+ url: "/v1/asset/asset_detail/" + e + "/asset_detail.xlsx?" + r,
53
+ method: "get",
54
+ responseType: "blob"
55
+ });
56
+ }
57
+ }
58
+ const u = new i();
59
+ export {
60
+ u as a
61
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs";
2
+ export {
3
+ f as default
4
+ };