xyvcard-asset 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. package/README.md +52 -52
  2. package/dist/assign-BLa-fXcy.mjs +1626 -0
  3. package/dist/{edit-zFZfd8e1.mjs → edit-CCrekeeb.mjs} +1 -1
  4. package/dist/{edit-CE3u81Q0.mjs → edit-DmRG7fo0.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-CkBAP9Bk.mjs +547 -0
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs → edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs} +146 -139
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs +278 -0
  10. package/dist/index copy-Di49EjkG.mjs +76 -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-ByVysHgI.mjs +4 -0
  18. package/dist/index-C5_f5Lce.mjs +213 -0
  19. package/dist/index-CgAq70-p.mjs +314 -0
  20. package/dist/index-DElPNxc7.mjs +398 -0
  21. package/dist/index-De4u-LEl.mjs +325 -0
  22. package/dist/index-DeBZxOsC.mjs +372 -0
  23. package/dist/index-Dyo7je0Z.mjs +38 -0
  24. package/dist/index-FUnFB7nG.mjs +61 -0
  25. package/dist/index-axEqTssj.mjs +378 -0
  26. package/dist/index-jOcS7tqC.mjs +311 -0
  27. package/dist/index-qQuyprvx.mjs +4 -0
  28. package/dist/index-xyCxQquE.mjs +432 -0
  29. package/dist/index.mjs +2752 -35
  30. package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +274 -0
  31. package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +120 -0
  32. package/dist/index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs +105 -0
  33. package/dist/index/345/244/207/344/273/275-CaiMDP8J.mjs +319 -0
  34. package/dist/style.css +1 -1
  35. package/dts/src/api/asset/asset-asset/index.d.ts +10 -5
  36. package/dts/src/api/asset/asset-asset/types.d.ts +39 -23
  37. package/dts/src/api/asset/asset-asset-detail/index.d.ts +12 -0
  38. package/dts/src/api/asset/asset-asset-detail/types.d.ts +56 -0
  39. package/dts/src/api/asset/asset-depreciation-record/index.d.ts +11 -0
  40. package/dts/src/api/asset/asset-depreciation-record/types.d.ts +38 -0
  41. package/dts/src/api/asset/asset-inventory-record/index.d.ts +10 -0
  42. package/dts/src/api/asset/asset-inventory-record/types.d.ts +62 -0
  43. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +1 -12
  44. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +1 -44
  45. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +1 -12
  46. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +7 -68
  47. package/dts/src/api/asset/asset-site/index.d.ts +1 -2
  48. package/dts/src/api/asset/asset-site/types.d.ts +4 -14
  49. package/dts/src/api/asset/asset-site-service/index.d.ts +1 -2
  50. package/dts/src/api/asset/asset-site-service/types.d.ts +1 -0
  51. package/dts/src/api/asset/text/index.d.ts +0 -0
  52. package/dts/src/api/asset/text/types.d.ts +0 -0
  53. package/dts/src/api/dict.d.ts +1 -4
  54. package/dts/src/api/index.d.ts +2 -0
  55. package/dts/src/components/PeopleSelect/index.vue.d.ts +18 -0
  56. package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
  57. package/dts/{components/TMaps/index.vue.d.ts → src/components copy/PeopleSelect/index.vue.d.ts } +5 -7
  58. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +34 -0
  59. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +18 -0
  60. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +34 -0
  61. 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
  62. 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
  63. 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
  64. 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
  65. package/dts/{components/Upload/ImageUpload.vue.d.ts → src/components copy/Upload/ImageUpload.vue.d.ts } +1 -1
  66. package/dts/src/constant.d.ts +4 -1
  67. package/dts/src/index.d.ts +3 -1
  68. package/dts/src/lang/asset/zh-cn.d.ts +59 -1
  69. package/dts/src/router/page.d.ts +4 -0
  70. package/dts/src/utils/momentPlugin.d.ts +5 -0
  71. package/dts/{views/asset/asset-asset/edit.vue.d.ts → src/views/asset/asset-asset/assign.vue.d.ts} +12 -5
  72. package/dts/{views/asset/asset-site → src/views/asset/asset-asset-detail}/edit.vue.d.ts +5 -7
  73. package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
  74. package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
  75. package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
  76. package/dts/tsconfig.tsbuildinfo +1 -1
  77. package/package.json +7 -6
  78. package/dist/edit-Bo9bnbUP.mjs +0 -492
  79. package/dist/edit-DJFxVmvv.mjs +0 -624
  80. package/dist/edit-qp_2xtTZ.mjs +0 -242
  81. package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +0 -322
  82. package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +0 -1
  83. package/dist/index-Bf5U4Ucl.mjs +0 -369
  84. package/dist/index-Bh2imlN_.mjs +0 -149
  85. package/dist/index-CHNiaFZk.mjs +0 -291
  86. package/dist/index-CmlP_Rro.mjs +0 -332
  87. package/dist/index-Cqw_E8lr.mjs +0 -1269
  88. package/dist/index-DA_FS24d.mjs +0 -146
  89. package/dist/index-DKmGNvQl.mjs +0 -370
  90. package/dist/index-DLxpE9s5.mjs +0 -305
  91. package/dist/index-DWaL87j5.mjs +0 -89
  92. package/dist/index-jOnQLJaB.mjs +0 -416
  93. package/dist/index-pyyjj1xa.mjs +0 -187
  94. package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +0 -37
  95. package/dts/api/asset/asset-asset/index.d.ts +0 -20
  96. package/dts/api/asset/asset-asset/types.d.ts +0 -93
  97. package/dts/api/asset/asset-service-appt-member/index.d.ts +0 -20
  98. package/dts/api/asset/asset-service-appt-member/types.d.ts +0 -71
  99. package/dts/api/asset/asset-service-appt-record/index.d.ts +0 -20
  100. package/dts/api/asset/asset-service-appt-record/types.d.ts +0 -98
  101. package/dts/api/asset/asset-site/index.d.ts +0 -15
  102. package/dts/api/asset/asset-site/types.d.ts +0 -81
  103. package/dts/api/asset/asset-site-service/index.d.ts +0 -14
  104. package/dts/api/asset/asset-site-service/types.d.ts +0 -80
  105. package/dts/api/dict.d.ts +0 -22
  106. package/dts/api/index.d.ts +0 -14
  107. package/dts/api/org/union-org/index.d.ts +0 -14
  108. package/dts/api/org/union-org/types.d.ts +0 -49
  109. package/dts/components/EnumRadio/index.vue.d.ts +0 -18
  110. package/dts/components/EnumSelect/index.vue.d.ts +0 -18
  111. package/dts/constant.d.ts +0 -16
  112. package/dts/index.d.ts +0 -4
  113. package/dts/lang/asset/en.d.ts +0 -2
  114. package/dts/lang/asset/zh-cn.d.ts +0 -91
  115. package/dts/lang/index.d.ts +0 -1
  116. package/dts/main.d.ts +0 -4
  117. package/dts/permission.d.ts +0 -1
  118. package/dts/router/page.d.ts +0 -2
  119. package/dts/src/api/org/union-org/index.d.ts +0 -14
  120. package/dts/src/api/org/union-org/types.d.ts +0 -49
  121. package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
  122. package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
  123. package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
  124. package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
  125. package/dts/utils/common.d.ts +0 -51
  126. package/dts/utils/index.d.ts +0 -24
  127. package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
  128. package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
  129. package/dts/views/asset/asset-site-service/edit.vue.d.ts +0 -22
  130. /package/dts/{views/asset/asset-asset → src/components/deptPeopleSelect}/index.vue.d.ts +0 -0
  131. /package/dts/{components → src/components copy}/Upload/MultiUpload.vue.d.ts +0 -0
  132. /package/dts/src/{views/asset/asset-service-appt-member → components copy/deptPeopleSelect}/index.vue.d.ts +0 -0
  133. /package/dts/{views/asset/asset-service-appt-record → src/views/asset/asset-asset/info}/index.vue.d.ts +0 -0
  134. /package/dts/{views/asset/asset-service-appt-member → src/views/asset/asset-asset-detail}/index.vue.d.ts +0 -0
  135. /package/dts/{views/asset/asset-service-appt-record/info → src/views/asset/asset-depreciation-record}/index.vue.d.ts +0 -0
  136. /package/dts/{views/asset/asset-site-service → src/views/asset/asset-depreciation-record/info}/index.vue.d.ts +0 -0
  137. /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/index.vue.d.ts +0 -0
  138. /package/dts/{App.vue.d.ts → src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts"} +0 -0
  139. /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/info/index.vue.d.ts +0 -0
@@ -0,0 +1,319 @@
1
+ import { defineComponent as X, ref as y, getCurrentInstance as Z, resolveComponent as i, resolveDirective as x, openBlock as f, createElementBlock as ee, createElementVNode as u, createVNode as n, withCtx as l, unref as r, withKeys as R, createTextVNode as w, toDisplayString as m, isRef as C, createBlock as V, createCommentVNode as N, withDirectives as te } from "vue";
2
+ import { _ as oe } from "./index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs";
3
+ import { _ as le } from "./index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs";
4
+ import { useTableHooks as ne } from "jmash-core";
5
+ import { useI18n as ae } from "vue-i18n";
6
+ import { c as S } from "./common-kbgEWG-E.mjs";
7
+ import { i as re } from "./index-Dyo7je0Z.mjs";
8
+ import { D as g } from "./index-BK24yagy.mjs";
9
+ import { useRouter as ie } from "vue-router";
10
+ const se = { class: "app-container" }, ue = { class: "search-container" }, ke = /* @__PURE__ */ X({
11
+ __name: "index备份",
12
+ setup(me) {
13
+ const d = y(!1);
14
+ function h(o) {
15
+ console.log("ceshi", o), d.value = !1, s.getList();
16
+ }
17
+ const b = y(!1), { proxy: D } = Z(), T = ie(), { t: I } = ae();
18
+ g.unionOrgBizLayDict.useValues();
19
+ const a = y({}), {
20
+ tableHooks: s,
21
+ multipleTableRef: U,
22
+ queryFormRef: j,
23
+ listLoading: z,
24
+ tableData: P,
25
+ total: _
26
+ } = ne(I, re, a);
27
+ let p = y([
28
+ // 所属工会
29
+ {
30
+ label: "inventoryRecord.orgId",
31
+ prop: "orgId",
32
+ sortable: "custom",
33
+ isColumn: !0,
34
+ slotName: "orgId",
35
+ columnType: "slot"
36
+ },
37
+ // 场地名称
38
+ {
39
+ label: "inventoryRecord.siteName",
40
+ prop: "siteName",
41
+ sortable: "custom",
42
+ isColumn: !0
43
+ },
44
+ // 盘点时间
45
+ {
46
+ label: "inventoryRecord.inventoryTime",
47
+ prop: "inventoryTime",
48
+ sortable: "custom",
49
+ isColumn: !0,
50
+ slotName: "inventoryTime",
51
+ columnType: "slot"
52
+ },
53
+ // 盘点人
54
+ {
55
+ label: "inventoryRecord.userName",
56
+ prop: "userName",
57
+ width: "150",
58
+ sortable: "custom",
59
+ isColumn: !0
60
+ },
61
+ // 盘点结果
62
+ {
63
+ label: "inventoryRecord.inventoryStatus",
64
+ prop: "inventoryStatus",
65
+ sortable: "custom",
66
+ isColumn: !0,
67
+ slotName: "inventoryStatus",
68
+ columnType: "slot"
69
+ },
70
+ {
71
+ label: "common.operate",
72
+ width: "100",
73
+ slotName: "operation",
74
+ columnType: "slot",
75
+ fixed: "right",
76
+ isColumn: !0
77
+ }
78
+ ]);
79
+ const v = y([]);
80
+ function B(o) {
81
+ if (o) {
82
+ if (v.value = o, v.value.length !== 2) return;
83
+ a.value.inventoryStartTime = S(
84
+ o[0]
85
+ ).getFullDate(), a.value.inventoryEndTime = S(o[1]).getFullDate(), s.handleQuery();
86
+ } else
87
+ $();
88
+ }
89
+ function L(o) {
90
+ s.selectionRows.value = o;
91
+ }
92
+ function $() {
93
+ v.value = [], a.value.inventoryStartTime = "", a.value.inventoryEndTime = "", s.resetQuery();
94
+ }
95
+ function Y(o) {
96
+ T.push({
97
+ path: "/asset/asset-inventory-record/inventoryInfo",
98
+ query: { inventoryId: o.inventoryId }
99
+ });
100
+ }
101
+ return s.getList(), (o, t) => {
102
+ const A = i("el-tree-select"), c = i("el-form-item"), Q = i("el-input"), E = i("jmash-select"), q = i("el-date-picker"), k = i("el-button"), F = i("el-form"), H = i("jmash-column-select"), K = i("el-col"), M = i("el-row"), O = i("jmash-table"), G = i("jmash-pagination"), J = i("el-card"), W = x("hasPerm");
103
+ return f(), ee("div", se, [
104
+ u("div", ue, [
105
+ n(F, {
106
+ ref_key: "queryFormRef",
107
+ ref: j,
108
+ model: a.value,
109
+ inline: !0
110
+ }, {
111
+ default: l(() => [
112
+ n(c, {
113
+ label: o.$t("inventoryRecord.orgId"),
114
+ prop: "orgId"
115
+ }, {
116
+ default: l(() => [
117
+ n(A, {
118
+ modelValue: a.value.orgId,
119
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => a.value.orgId = e),
120
+ data: r(g).unionOrgBizLayDict.values,
121
+ filterable: "",
122
+ clearable: "",
123
+ "check-strictly": "",
124
+ "render-after-expand": !1,
125
+ placeholder: o.$t("inventoryRecord.orgIdPlaceholder"),
126
+ class: "!w-[203px]",
127
+ onKeyup: t[1] || (t[1] = R((e) => r(s).handleQuery(), ["enter"]))
128
+ }, null, 8, ["modelValue", "data", "placeholder"])
129
+ ]),
130
+ _: 1
131
+ }, 8, ["label"]),
132
+ n(c, {
133
+ label: o.$t("inventoryRecord.siteName"),
134
+ prop: "likeSiteName"
135
+ }, {
136
+ default: l(() => [
137
+ n(Q, {
138
+ modelValue: a.value.likeSiteName,
139
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => a.value.likeSiteName = e),
140
+ placeholder: o.$t("inventoryRecord.siteNamePlaceholder"),
141
+ onKeyup: t[3] || (t[3] = R((e) => r(s).handleQuery(), ["enter"]))
142
+ }, null, 8, ["modelValue", "placeholder"])
143
+ ]),
144
+ _: 1
145
+ }, 8, ["label"]),
146
+ n(c, {
147
+ label: o.$t("inventoryRecord.inventoryStatus"),
148
+ prop: "inventoryStatus"
149
+ }, {
150
+ default: l(() => [
151
+ n(E, {
152
+ modelValue: a.value.inventoryStatus,
153
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => a.value.inventoryStatus = e),
154
+ placeholder: o.$t("inventoryRecord.inventoryStatus"),
155
+ data: r(g).inventoryResults.values,
156
+ onKeyup: t[5] || (t[5] = R((e) => r(s).handleQuery(), ["enter"]))
157
+ }, null, 8, ["modelValue", "placeholder", "data"])
158
+ ]),
159
+ _: 1
160
+ }, 8, ["label"]),
161
+ n(c, {
162
+ label: o.$t("inventoryRecord.inventoryTime"),
163
+ prop: "inventoryTime"
164
+ }, {
165
+ default: l(() => [
166
+ n(q, {
167
+ modelValue: v.value,
168
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => v.value = e),
169
+ class: "dropdown-left",
170
+ type: "daterange",
171
+ "start-placeholder": o.$t("serviceApptRecord.startDate"),
172
+ "end-placeholder": o.$t("serviceApptRecord.endDate"),
173
+ format: "YYYY-MM-DD",
174
+ onChange: B
175
+ }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
176
+ ]),
177
+ _: 1
178
+ }, 8, ["label"]),
179
+ n(c, { class: "search-btn" }, {
180
+ default: l(() => [
181
+ n(k, {
182
+ type: "primary",
183
+ onClick: t[7] || (t[7] = (e) => r(s).handleQuery())
184
+ }, {
185
+ default: l(() => [
186
+ w(m(o.$t("common.search")), 1)
187
+ ]),
188
+ _: 1
189
+ }),
190
+ n(k, { onClick: $ }, {
191
+ default: l(() => [
192
+ w(m(o.$t("common.reset")), 1)
193
+ ]),
194
+ _: 1
195
+ })
196
+ ]),
197
+ _: 1
198
+ })
199
+ ]),
200
+ _: 1
201
+ }, 8, ["model"])
202
+ ]),
203
+ n(J, {
204
+ shadow: "never",
205
+ class: "table-container"
206
+ }, {
207
+ header: l(() => [
208
+ n(M, {
209
+ justify: "space-between",
210
+ span: 20
211
+ }, {
212
+ default: l(() => [
213
+ n(K, {
214
+ span: 24,
215
+ class: "container-float"
216
+ }, {
217
+ default: l(() => [
218
+ n(H, {
219
+ modelValue: r(p),
220
+ "onUpdate:modelValue": t[8] || (t[8] = (e) => C(p) ? p.value = e : p = e),
221
+ "label-name": "asset/asset-inventory-record"
222
+ }, null, 8, ["modelValue"])
223
+ ]),
224
+ _: 1
225
+ })
226
+ ]),
227
+ _: 1
228
+ })
229
+ ]),
230
+ footer: l(() => [
231
+ r(_) > 0 ? (f(), V(G, {
232
+ key: 0,
233
+ total: r(_),
234
+ "onUpdate:total": t[9] || (t[9] = (e) => C(_) ? _.value = e : null),
235
+ "current-page": a.value.curPage,
236
+ "onUpdate:currentPage": t[10] || (t[10] = (e) => a.value.curPage = e),
237
+ "page-size": a.value.pageSize,
238
+ "onUpdate:pageSize": t[11] || (t[11] = (e) => a.value.pageSize = e),
239
+ onPagination: t[12] || (t[12] = (e) => r(s).getList())
240
+ }, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
241
+ ]),
242
+ default: l(() => [
243
+ n(O, {
244
+ ref_key: "multipleTableRef",
245
+ ref: U,
246
+ class: "table-top",
247
+ "row-key": "inventoryId",
248
+ "list-loading": r(z),
249
+ data: r(P),
250
+ "table-label": r(p),
251
+ onSelectionChange: L
252
+ }, {
253
+ orgId: l((e) => [
254
+ u("span", null, m(r(g).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
255
+ ]),
256
+ siteName: l((e) => [
257
+ u("span", null, m(e.data.row.siteName), 1)
258
+ ]),
259
+ inventoryTime: l((e) => [
260
+ u("span", null, m(r(D).$moment.formatDate(
261
+ e.data.row.inventoryTime,
262
+ "YYYY-MM-DD HH:mm"
263
+ )), 1)
264
+ ]),
265
+ userName: l((e) => [
266
+ u("span", null, m(e.data.row.userName), 1)
267
+ ]),
268
+ inventoryStatus: l((e) => [
269
+ u("span", null, m(r(g).inventoryResults.getEnumValue(e.data.row.inventoryStatus)), 1)
270
+ ]),
271
+ inventoryNote: l((e) => [
272
+ u("span", null, m(e.data.row.inventoryNote), 1)
273
+ ]),
274
+ operation: l((e) => [
275
+ te((f(), V(k, {
276
+ type: "primary",
277
+ size: "small",
278
+ link: "",
279
+ onClick: (de) => Y(e.data.row)
280
+ }, {
281
+ default: l(() => [
282
+ w(m(o.$t("common.view")), 1)
283
+ ]),
284
+ _: 2
285
+ }, 1032, ["onClick"])), [
286
+ [W, ["asset:inventory_record:view"]]
287
+ ])
288
+ ]),
289
+ _: 1
290
+ }, 8, ["list-loading", "data", "table-label"])
291
+ ]),
292
+ _: 1
293
+ }),
294
+ u("button", {
295
+ onClick: t[13] || (t[13] = (e) => d.value = !0)
296
+ }, "测试弹框按钮A"),
297
+ d.value ? (f(), V(oe, {
298
+ key: 0,
299
+ modelValue: d.value,
300
+ "onUpdate:modelValue": t[14] || (t[14] = (e) => d.value = e),
301
+ width: "700px",
302
+ onRefreshA: h
303
+ }, null, 8, ["modelValue"])) : N("", !0),
304
+ u("button", {
305
+ onClick: t[15] || (t[15] = (e) => b.value = !0)
306
+ }, "测试弹框组件B"),
307
+ b.value ? (f(), V(le, {
308
+ key: 1,
309
+ modelValue: b.value,
310
+ "onUpdate:modelValue": t[16] || (t[16] = (e) => b.value = e),
311
+ width: "1000px"
312
+ }, null, 8, ["modelValue"])) : N("", !0)
313
+ ]);
314
+ };
315
+ }
316
+ });
317
+ export {
318
+ ke as default
319
+ };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .position-center[data-v-84f6d27c]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-84f6d27c]{position:absolute;right:0;top:0;margin-top:8px}.position-center[data-v-198fdb2f]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-198fdb2f]{position:absolute;right:0;top:0;margin-top:8px}
1
+ @charset "UTF-8";.blue_color{color:#3370ff;font-size:16px;font-weight:600;margin-left:3px;margin-right:3px}.dis_bottom{margin-bottom:0!important}.total-num{border:var(--el-border);border-color:#bae7ff;background-color:#e6f7ff!important;padding:9px 18px;border-radius:3px;font-size:14px;margin-bottom:10px;color:#545a5d}.position-center[data-v-b36a82ba]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-b36a82ba]{position:absolute;right:0;top:0;margin-top:8px}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645,.045,.355,1);--el-transition-function-fast-bezier:cubic-bezier(.23,1,.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px}:root{color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.04),0px 8px 20px rgba(0,0,0,.08);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.12);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.08),0px 12px 32px rgba(0,0,0,.12),0px 8px 16px -8px rgba(0,0,0,.16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0,0,0,.8);--el-overlay-color-light:rgba(0,0,0,.7);--el-overlay-color-lighter:rgba(0,0,0,.5);--el-mask-color:rgba(255,255,255,.9);--el-mask-color-extra-light:rgba(255,255,255,.3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;display:inline-flex;height:1em;justify-content:center;line-height:1em;position:relative;width:1em;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;display:inline-block;position:relative;vertical-align:middle;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;left:50%;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;top:20px;transform:translate(-50%);transition:opacity var(--el-transition-duration),transform .4s,top .4s;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.el-message.is-center{justify-content:center}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}.el-form-item--default[data-v-ad3389c0]{margin-bottom:0}.dept-people-select-left-box[data-v-225942ea]{overflow:auto;border-right:1px solid #dcdfe6;min-height:300px;max-height:500px}
@@ -1,20 +1,25 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { AssetApi, AssetReq, AssetModel, AssetPage, AssetList, AssetKey, AssetCreateReq, AssetUpdateReq, AssetExportReq, AssetImportReq } from "./types";
2
+ import type { AssetApi, AssetReq, AssetModel, AssetPage, AssetList, AssetKey, AssetCreateReq, AssetUpdateReq, AssetExportReq, AssetImportReq, AssetassignReq, UnionOrgReq, UnionOrgTree } from "./types";
3
3
  declare class AssetApiImpl implements AssetApi {
4
4
  getKey(model: AssetModel): AssetKey;
5
5
  findPage(query?: AssetReq): AxiosPromise<AssetPage>;
6
6
  findList(query?: AssetReq): AxiosPromise<AssetList>;
7
7
  findById(query: AssetKey): AxiosPromise<AssetModel>;
8
8
  create(data: AssetCreateReq): AxiosPromise<AssetModel>;
9
- update: (data: AssetUpdateReq) => AxiosPromise<AssetModel>;
10
- move(key: AssetKey, up: boolean): AxiosPromise<boolean>;
11
- enable(key: AssetKey, enable: boolean): AxiosPromise<boolean>;
9
+ update(data: AssetUpdateReq): AxiosPromise<AssetModel>;
12
10
  delete(query: AssetKey): AxiosPromise<AssetModel>;
13
11
  batchDelete(keys: AssetKey[]): AxiosPromise<number>;
14
12
  downloadTemplate(): AxiosPromise;
15
13
  importExcel(data: AssetImportReq): AxiosPromise<string>;
14
+ assignment(data: AssetassignReq): AxiosPromise<boolean>;
16
15
  exportExcel(queryParams: AssetExportReq): AxiosPromise;
17
- exportPdf(queryParams: AssetExportReq): AxiosPromise;
16
+ /**
17
+ * 获取工会组织架构树形列表
18
+ *
19
+ * @param query 查询参数,可选
20
+ * @returns 返回工会组织架构树形列表的 AxiosPromise 对象
21
+ */
22
+ findUnionOrgTreeListApi(query?: UnionOrgReq): AxiosPromise<UnionOrgTree>;
18
23
  }
19
24
  declare const assetApi: AssetApiImpl;
20
25
  export { assetApi };
@@ -1,10 +1,20 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq, LayEntry } from "jmash-core";
2
2
  export interface AssetApi extends EntityApi {
3
3
  }
4
+ export interface UnionOrgReq extends EntityReq {
5
+ likeOrgName?: string;
6
+ hasStatus?: boolean;
7
+ status?: boolean;
8
+ }
9
+ export interface UnionOrgTree {
10
+ results: LayEntry[];
11
+ }
4
12
  export interface AssetReq extends EntityReq {
13
+ hasAssetSort?: boolean;
5
14
  name?: string;
6
15
  assetSort?: string;
7
16
  assignStatus?: boolean;
17
+ hasAssignStatus?: boolean;
8
18
  likeName?: string;
9
19
  }
10
20
  export interface AssetModel extends EntityModel {
@@ -14,13 +24,29 @@ export interface AssetModel extends EntityModel {
14
24
  code?: string;
15
25
  number?: number;
16
26
  unit?: string;
27
+ model?: string;
17
28
  buyDate?: string;
18
- buyMoney?: string | number;
19
- oldMoney?: string;
29
+ buyMoney?: number;
30
+ oldMoney?: number;
20
31
  depreciationType?: string;
21
32
  useLimit?: number;
22
33
  monthDepreciation?: string;
34
+ assignStatus?: boolean;
23
35
  totalDepreciation?: string;
36
+ netSalvage?: string;
37
+ netAssetValue?: string;
38
+ }
39
+ export interface AssetassignReq extends EntityUpdateReq {
40
+ tentant?: string;
41
+ requestId?: string;
42
+ assetId: string;
43
+ assignOrgs: Array<assignOrgsList>;
44
+ name?: string;
45
+ }
46
+ export interface assignOrgsList {
47
+ siteId?: string;
48
+ orgId?: string;
49
+ assignNumber?: number;
24
50
  }
25
51
  export interface AssetList extends EntityList {
26
52
  results: Array<AssetModel>;
@@ -42,19 +68,19 @@ export interface AssetKeyList extends EntityKeyList {
42
68
  assetId?: Array<string>;
43
69
  }
44
70
  export interface AssetCreateReq extends EntityCreateReq {
45
- assetId?: string;
46
71
  name?: string;
47
- assetSort?: string;
48
72
  code?: string;
49
73
  number?: number;
50
74
  unit?: string;
51
- model?: string;
52
75
  buyDate?: string;
53
- buyMoney?: string | number;
54
- oldMoney?: string;
76
+ assetSort?: string;
77
+ assetId?: string;
78
+ model?: string;
79
+ buyMoney?: number;
80
+ oldMoney?: number;
55
81
  depreciationType?: string;
56
82
  useLimit?: number;
57
- netSalvage?: string;
83
+ netSalvage?: number;
58
84
  monthDepreciation?: string;
59
85
  totalDepreciation?: string;
60
86
  }
@@ -67,12 +93,12 @@ export interface AssetUpdateReq extends EntityUpdateReq {
67
93
  unit?: string;
68
94
  model?: string;
69
95
  buyDate?: string;
70
- buyMoney?: string | number;
71
- oldMoney?: string;
96
+ buyMoney?: number;
97
+ oldMoney?: number;
72
98
  depreciationType?: string;
73
99
  useLimit?: number;
74
- netSalvage?: string;
75
- monthDepreciation?: string;
100
+ netSalvage?: number;
101
+ monthDepreciation?: number;
76
102
  totalDepreciation?: string;
77
103
  }
78
104
  export type AssetFormReq = AssetCreateReq | AssetUpdateReq;
@@ -81,13 +107,3 @@ export interface AssetExportReq extends EntityExportReq {
81
107
  }
82
108
  export interface AssetImportReq extends EntityImportReq {
83
109
  }
84
- export interface AssetMoveKey {
85
- tenant?: string;
86
- assetId?: string;
87
- up?: boolean;
88
- }
89
- export interface AssetEnableKey {
90
- tenant?: string;
91
- assetId?: string;
92
- enable?: boolean;
93
- }
@@ -0,0 +1,12 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { AssetDetailApi, AssetDetailReq, AssetDetailModel, AssetDetailPage, AssetDetailList, AssetDetailKey, AssetDetailUpdateReq, AssetDetailExportReq } from "./types";
3
+ declare class AssetDetailApiImpl implements AssetDetailApi {
4
+ getKey(model: AssetDetailModel): AssetDetailKey;
5
+ findPage(query?: AssetDetailReq): AxiosPromise<AssetDetailPage>;
6
+ findList(query?: AssetDetailReq): AxiosPromise<AssetDetailList>;
7
+ findById(query: AssetDetailKey): AxiosPromise<AssetDetailModel>;
8
+ update(data: AssetDetailUpdateReq): AxiosPromise<AssetDetailModel>;
9
+ exportExcel(queryParams: AssetDetailExportReq): AxiosPromise;
10
+ }
11
+ declare const assetDetailApi: AssetDetailApiImpl;
12
+ export { assetDetailApi };
@@ -0,0 +1,56 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityUpdateReq, EntityExportReq } from "jmash-core";
2
+ export interface AssetDetailApi extends EntityApi {
3
+ }
4
+ export interface AssetDetailReq extends EntityReq {
5
+ assetId?: string;
6
+ orgId?: string;
7
+ siteId?: string;
8
+ likeAssetName?: string;
9
+ assetSort?: string;
10
+ hasAssetSort?: boolean;
11
+ }
12
+ export interface AssetDetailModel extends EntityModel {
13
+ detailId?: string;
14
+ assetId?: string;
15
+ siteId?: string;
16
+ deviceCode?: string;
17
+ deviceQrcode?: string;
18
+ status?: string;
19
+ }
20
+ export interface AssetDetailList extends EntityList {
21
+ results: Array<AssetDetailModel>;
22
+ }
23
+ export interface AssetDetailPage extends EntityPage {
24
+ results: Array<AssetDetailModel>;
25
+ subTotalDto: AssetDetailModelTotal;
26
+ totalDto: AssetDetailModelTotal;
27
+ }
28
+ export interface AssetDetailModelTotal extends EntityTotal {
29
+ totalSize: number;
30
+ }
31
+ export interface AssetDetailKey extends EntityKey {
32
+ tenant?: string;
33
+ detailId?: string;
34
+ }
35
+ export interface AssetDetailKeyList extends EntityKeyList {
36
+ tenant?: string;
37
+ detailId?: Array<string>;
38
+ }
39
+ export interface AssetDetailUpdateReq extends EntityUpdateReq {
40
+ orgId?: string;
41
+ detailId?: string;
42
+ assetId?: string;
43
+ siteId?: string;
44
+ deviceCode?: string;
45
+ deviceQrcode?: string;
46
+ status?: string;
47
+ buyDate?: string;
48
+ assetSort?: string;
49
+ assetName?: string;
50
+ name?: string;
51
+ siteName?: string;
52
+ }
53
+ export type AssetDetailFormReq = AssetDetailUpdateReq;
54
+ export interface AssetDetailExportReq extends EntityExportReq {
55
+ req: AssetDetailReq;
56
+ }
@@ -0,0 +1,11 @@
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 };
@@ -0,0 +1,38 @@
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
+ }
@@ -0,0 +1,10 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { InventoryRecordApi, InventoryRecordReq, InventoryRecordModel, InventoryRecordPage, InventoryRecordKey } from "./types";
3
+ declare class InventoryRecordApiImpl implements InventoryRecordApi {
4
+ getKey(model: InventoryRecordModel): InventoryRecordKey;
5
+ findPage(query?: InventoryRecordReq): AxiosPromise<InventoryRecordPage>;
6
+ findInfoAssetPage(query?: InventoryRecordKey): AxiosPromise<InventoryRecordPage>;
7
+ findById(query: InventoryRecordKey): AxiosPromise<InventoryRecordModel>;
8
+ }
9
+ declare const inventoryRecordApi: InventoryRecordApiImpl;
10
+ export { inventoryRecordApi };