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,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,378 @@
1
+ import { defineComponent as X, getCurrentInstance as Z, ref as v, reactive as ee, resolveComponent as r, resolveDirective as te, openBlock as p, createElementBlock as P, createElementVNode as d, createVNode as o, withCtx as l, unref as s, withKeys as _, toDisplayString as i, createBlock as N, createTextVNode as V, withDirectives as T, isRef as Q, createCommentVNode as z } from "vue";
2
+ import { useI18n as le } from "vue-i18n";
3
+ import { a as ae } from "./index-FUnFB7nG.mjs";
4
+ import { useTableHooks as oe } from "jmash-core";
5
+ import { D as m, S as se } from "./index-BK24yagy.mjs";
6
+ import ne from "./edit-FdqpKRgF.mjs";
7
+ const re = { class: "app-container" }, ue = { class: "search-container" }, ie = /* @__PURE__ */ d("div", { class: "clear" }, null, -1), de = ["onClick"], De = /* @__PURE__ */ X({
8
+ __name: "index",
9
+ setup(me) {
10
+ m.unionOrgBizLayDict.useValues(), m.siteDict.useValues();
11
+ const { t: g } = le(), { proxy: j } = Z(), h = v([]), n = v({
12
+ curPage: 1,
13
+ pageSize: 10
14
+ }), {
15
+ tableHooks: u,
16
+ multipleTableRef: E,
17
+ queryFormRef: L,
18
+ listLoading: U,
19
+ tableData: B,
20
+ total: y
21
+ } = oe(g, ae, n);
22
+ let c = v([
23
+ // 使用工会
24
+ {
25
+ label: "assetDetail.orgId",
26
+ prop: "orgId",
27
+ sortable: "custom",
28
+ isColumn: !0,
29
+ slotName: "orgId",
30
+ columnType: "slot"
31
+ },
32
+ // 使用场地
33
+ {
34
+ label: "assetDetail.siteName",
35
+ prop: "siteName",
36
+ sortable: "custom",
37
+ isColumn: !0,
38
+ slotName: "siteName",
39
+ columnType: "slot"
40
+ },
41
+ // 资产名称
42
+ {
43
+ label: "assetDetail.assetName",
44
+ prop: "assetName",
45
+ sortable: "custom",
46
+ isColumn: !0,
47
+ slotName: "assetName",
48
+ columnType: "slot"
49
+ },
50
+ // 资产码
51
+ {
52
+ label: "assetDetail.deviceQrcode",
53
+ prop: "deviceQrcode",
54
+ width: "150",
55
+ sortable: "custom",
56
+ isColumn: !0,
57
+ slotName: "deviceQrcode",
58
+ columnType: "slot"
59
+ },
60
+ // 购买日期
61
+ {
62
+ label: "assetDetail.buyDate",
63
+ prop: "buyDate",
64
+ sortable: "custom",
65
+ isColumn: !0,
66
+ slotName: "buyDate",
67
+ columnType: "slot",
68
+ width: "140"
69
+ },
70
+ // 资产属性
71
+ {
72
+ label: "assetDetail.assetSort",
73
+ prop: "assetSort",
74
+ width: "150",
75
+ sortable: "custom",
76
+ isColumn: !0,
77
+ slotName: "assetSort",
78
+ columnType: "slot"
79
+ },
80
+ // 资产状态
81
+ {
82
+ label: "assetDetail.status",
83
+ prop: "status",
84
+ width: "120",
85
+ sortable: "custom",
86
+ isColumn: !0,
87
+ slotName: "status",
88
+ columnType: "slot"
89
+ },
90
+ {
91
+ label: g("common.operate"),
92
+ width: "80",
93
+ slotName: "operation",
94
+ columnType: "slot",
95
+ isColumn: !0
96
+ }
97
+ ]);
98
+ const S = v(""), D = v(!1);
99
+ let k = ee({});
100
+ function R(a) {
101
+ k = a, S.value = g("common.edit"), D.value = !0;
102
+ }
103
+ function K(a) {
104
+ u.selectionRows.value = a;
105
+ }
106
+ function A(a) {
107
+ u.handleSort(a.prop, a.order);
108
+ }
109
+ function Y(a) {
110
+ n.value.siteId = "";
111
+ const t = new se({ orgId: a });
112
+ t.useValues(), h.value = t.values;
113
+ }
114
+ function q(a) {
115
+ a && u.getList();
116
+ }
117
+ return u.getList(), (a, t) => {
118
+ const O = r("el-tooltip"), F = r("el-tree-select"), b = r("el-form-item"), f = r("el-col"), C = r("jmash-select"), H = r("el-input"), $ = r("el-row"), w = r("el-button"), M = r("el-form"), x = r("jmash-column-select"), G = r("jmash-table"), J = r("jmash-pagination"), W = r("el-card"), I = te("hasPerm");
119
+ return p(), P("div", re, [
120
+ d("div", ue, [
121
+ o(M, {
122
+ ref_key: "queryFormRef",
123
+ ref: L,
124
+ model: n.value,
125
+ inline: !0
126
+ }, {
127
+ default: l(() => [
128
+ o($, null, {
129
+ default: l(() => [
130
+ o(f, { span: 6 }, {
131
+ default: l(() => [
132
+ o(b, {
133
+ label: a.$t("assetDetail.orgId"),
134
+ prop: "orgId"
135
+ }, {
136
+ default: l(() => [
137
+ o(F, {
138
+ modelValue: n.value.orgId,
139
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => n.value.orgId = e),
140
+ data: s(m).unionOrgBizLayDict.values,
141
+ filterable: "",
142
+ clearable: "",
143
+ "check-strictly": "",
144
+ "render-after-expand": !1,
145
+ placeholder: a.$t("assetDetail.orgIdPlaceholder"),
146
+ class: "!w-[203px]",
147
+ onChange: Y,
148
+ onKeyup: t[1] || (t[1] = _((e) => s(u).handleQuery(), ["enter"]))
149
+ }, {
150
+ default: l(({ data: e }) => [
151
+ d("span", null, [
152
+ o(O, {
153
+ class: "box-item",
154
+ effect: "light",
155
+ content: e.label,
156
+ placement: "top"
157
+ }, {
158
+ default: l(() => [
159
+ d("span", null, i(e.label), 1)
160
+ ]),
161
+ _: 2
162
+ }, 1032, ["content"])
163
+ ])
164
+ ]),
165
+ _: 1
166
+ }, 8, ["modelValue", "data", "placeholder"])
167
+ ]),
168
+ _: 1
169
+ }, 8, ["label"])
170
+ ]),
171
+ _: 1
172
+ }),
173
+ o(f, { span: 6 }, {
174
+ default: l(() => [
175
+ o(b, {
176
+ label: a.$t("assetDetail.siteName"),
177
+ prop: "siteId"
178
+ }, {
179
+ default: l(() => [
180
+ (p(), N(C, {
181
+ key: h.value.length,
182
+ modelValue: n.value.siteId,
183
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => n.value.siteId = e),
184
+ filterable: "",
185
+ clearable: "",
186
+ disabled: !n.value.orgId,
187
+ placeholder: a.$t("assetDetail.siteNamePlaceholder"),
188
+ data: h.value,
189
+ onKeyup: t[3] || (t[3] = _((e) => s(u).handleQuery(), ["enter"]))
190
+ }, null, 8, ["modelValue", "disabled", "placeholder", "data"]))
191
+ ]),
192
+ _: 1
193
+ }, 8, ["label"])
194
+ ]),
195
+ _: 1
196
+ }),
197
+ o(f, { span: 6 }, {
198
+ default: l(() => [
199
+ o(b, {
200
+ label: a.$t("assetDetail.assetSort"),
201
+ prop: "assetSort"
202
+ }, {
203
+ default: l(() => [
204
+ o(C, {
205
+ modelValue: n.value.assetSort,
206
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => n.value.assetSort = e),
207
+ clearable: "",
208
+ placeholder: a.$t("assetDetail.assetSortPlaceholder"),
209
+ data: s(m).assetSortDictEnum.values,
210
+ onKeyup: t[5] || (t[5] = _((e) => s(u).handleQuery(), ["enter"]))
211
+ }, null, 8, ["modelValue", "placeholder", "data"])
212
+ ]),
213
+ _: 1
214
+ }, 8, ["label"])
215
+ ]),
216
+ _: 1
217
+ }),
218
+ o(f, { span: 6 }, {
219
+ default: l(() => [
220
+ o(b, {
221
+ label: a.$t("assetDetail.assetName"),
222
+ prop: "likeAssetName"
223
+ }, {
224
+ default: l(() => [
225
+ o(H, {
226
+ modelValue: n.value.likeAssetName,
227
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => n.value.likeAssetName = e),
228
+ placeholder: a.$t("assetDetail.assetNamePlaceholder"),
229
+ onKeyup: t[7] || (t[7] = _((e) => s(u).handleQuery(), ["enter"]))
230
+ }, null, 8, ["modelValue", "placeholder"])
231
+ ]),
232
+ _: 1
233
+ }, 8, ["label"])
234
+ ]),
235
+ _: 1
236
+ })
237
+ ]),
238
+ _: 1
239
+ }),
240
+ o(b, { class: "search-btn" }, {
241
+ default: l(() => [
242
+ o(w, {
243
+ type: "primary",
244
+ onClick: t[8] || (t[8] = (e) => s(u).handleQuery())
245
+ }, {
246
+ default: l(() => [
247
+ V(i(a.$t("common.search")), 1)
248
+ ]),
249
+ _: 1
250
+ }),
251
+ o(w, {
252
+ onClick: t[9] || (t[9] = (e) => s(u).resetQuery())
253
+ }, {
254
+ default: l(() => [
255
+ V(i(a.$t("common.reset")), 1)
256
+ ]),
257
+ _: 1
258
+ })
259
+ ]),
260
+ _: 1
261
+ })
262
+ ]),
263
+ _: 1
264
+ }, 8, ["model"]),
265
+ ie
266
+ ]),
267
+ o(W, {
268
+ shadow: "never",
269
+ class: "table-container"
270
+ }, {
271
+ header: l(() => [
272
+ o($, { justify: "space-between" }, {
273
+ default: l(() => [
274
+ o(f, {
275
+ span: 24,
276
+ align: "right"
277
+ }, {
278
+ default: l(() => [
279
+ T((p(), N(w, {
280
+ plain: "",
281
+ type: "primary",
282
+ onClick: t[10] || (t[10] = (e) => s(u).handleExport(s(g)("asset.assetDetail.name")))
283
+ }, {
284
+ default: l(() => [
285
+ V(i(a.$t("common.export")), 1)
286
+ ]),
287
+ _: 1
288
+ })), [
289
+ [I, ["asset:asset_detail:export"]]
290
+ ]),
291
+ o(x, {
292
+ modelValue: s(c),
293
+ "onUpdate:modelValue": t[11] || (t[11] = (e) => Q(c) ? c.value = e : c = e),
294
+ "label-name": "asset/asset-asset-detail"
295
+ }, null, 8, ["modelValue"])
296
+ ]),
297
+ _: 1
298
+ })
299
+ ]),
300
+ _: 1
301
+ })
302
+ ]),
303
+ footer: l(() => [
304
+ s(y) > 0 ? (p(), N(J, {
305
+ key: 0,
306
+ total: s(y),
307
+ "onUpdate:total": t[12] || (t[12] = (e) => Q(y) ? y.value = e : null),
308
+ "current-page": n.value.curPage,
309
+ "onUpdate:currentPage": t[13] || (t[13] = (e) => n.value.curPage = e),
310
+ "page-size": n.value.pageSize,
311
+ "onUpdate:pageSize": t[14] || (t[14] = (e) => n.value.pageSize = e),
312
+ onPagination: t[15] || (t[15] = (e) => s(u).getList())
313
+ }, null, 8, ["total", "current-page", "page-size"])) : z("", !0)
314
+ ]),
315
+ default: l(() => [
316
+ o(G, {
317
+ ref_key: "multipleTableRef",
318
+ ref: E,
319
+ class: "table-top",
320
+ "row-key": "DetailId",
321
+ "list-loading": s(U),
322
+ data: s(B),
323
+ "table-label": s(c),
324
+ onSelectionChange: K,
325
+ onSortChange: A
326
+ }, {
327
+ orgId: l((e) => [
328
+ d("span", null, i(s(m).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
329
+ ]),
330
+ siteName: l((e) => [
331
+ d("span", null, i(e.data.row.siteName), 1)
332
+ ]),
333
+ assetName: l((e) => [
334
+ d("span", null, i(e.data.row.assetName), 1)
335
+ ]),
336
+ deviceQrcode: l((e) => [
337
+ d("span", null, i(e.data.row.deviceQrcode), 1)
338
+ ]),
339
+ buyDate: l((e) => [
340
+ d("span", null, i(s(j).$moment.formatDate(e.data.row.buyDate, "YYYY-MM-DD")), 1)
341
+ ]),
342
+ assetSort: l((e) => [
343
+ d("span", null, i(s(m).assetSortDictEnum.getEnumValue(e.data.row.assetSort)), 1)
344
+ ]),
345
+ status: l((e) => [
346
+ d("span", null, i(s(m).assetsStatus.getEnumValue(e.data.row.status)), 1)
347
+ ]),
348
+ operation: l((e) => [
349
+ T((p(), P("span", {
350
+ class: "el-button-color",
351
+ onClick: (pe) => R(e.data.row)
352
+ }, [
353
+ V(i(a.$t("common.edit")), 1)
354
+ ], 8, de)), [
355
+ [I, ["asset:asset_detail:update"]]
356
+ ])
357
+ ]),
358
+ _: 1
359
+ }, 8, ["list-loading", "data", "table-label"])
360
+ ]),
361
+ _: 1
362
+ }),
363
+ D.value ? (p(), N(ne, {
364
+ key: 0,
365
+ modelValue: D.value,
366
+ "onUpdate:modelValue": t[16] || (t[16] = (e) => D.value = e),
367
+ title: S.value,
368
+ "entity-key": s(k),
369
+ width: "900px",
370
+ onRefresh: q
371
+ }, null, 8, ["modelValue", "title", "entity-key"])) : z("", !0)
372
+ ]);
373
+ };
374
+ }
375
+ });
376
+ export {
377
+ De as default
378
+ };