xyvcard-asset 0.0.14 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assign-CbKUuMPJ.mjs +1603 -0
- package/dist/{edit-DR-WgdT5.mjs → edit-BMiwAU2V.mjs} +1 -1
- package/dist/{edit-C4aYV45m.mjs → edit-CX2z9EYu.mjs} +2 -2
- package/dist/{edit-BD4l4cZV.mjs → edit-D6NV2pb2.mjs} +1 -1
- package/dist/{edit-BIE_CJlr.mjs → edit-DfLSODib.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs → edit.vue_vue_type_script_setup_true_lang-B_2yu4sv.mjs} +96 -96
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs → edit.vue_vue_type_script_setup_true_lang-C8EJ4xOS.mjs} +57 -57
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs → edit.vue_vue_type_script_setup_true_lang-DnsSFyiS.mjs} +73 -73
- package/dist/{index-Bqv9_BYL.mjs → index-B1wxTvDR.mjs} +50 -48
- package/dist/{index-Cz4CVX5Y.mjs → index-BQ16pRTg.mjs} +33 -33
- package/dist/{index-DfOZUIkb.mjs → index-BWZKXQRi.mjs} +9 -7
- package/dist/{index-rSyUfdXn.mjs → index-BiBCzEqz.mjs} +1 -1
- package/dist/{index-CKF69gMl.mjs → index-BqLh2sg0.mjs} +20 -20
- package/dist/{index-BzUXtBGU.mjs → index-Btpx1Vf2.mjs} +17 -17
- package/dist/{index-8j66ouA1.mjs → index-C4xJg5F_.mjs} +54 -54
- package/dist/{index-C9FfnHCZ.mjs → index-C5OQhStx.mjs} +6 -4
- package/dist/{index-CHaJu5hs.mjs → index-CFUAQG0g.mjs} +64 -69
- package/dist/{index-CuDcmifl.mjs → index-CMtqB1MP.mjs} +47 -47
- package/dist/{index-BxeGNuSx.mjs → index-D4T2vouF.mjs} +18 -15
- package/dist/{index-CJhQRbHt.mjs → index-DrajJZ20.mjs} +39 -39
- package/dist/{index-CGds22-2.mjs → index-Dw9AQlSo.mjs} +418 -399
- package/dist/{index-Ds5MwEwr.mjs → index-XlZKwbCX.mjs} +76 -76
- package/dist/index.mjs +2 -2
- package/dist/style.css +1 -1
- package/dts/App.vue.d.ts +1 -1
- package/dts/components/Upload/ImageUpload.vue.d.ts +6 -6
- package/dts/components/Upload/MultiUpload.vue.d.ts +6 -6
- package/dts/constant.d.ts +12 -0
- package/dts/views/asset/asset-asset/assign.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-asset/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset-detail/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-inventory-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-site/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-site-service/index.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/assign-4SD6S-Fb.mjs +0 -1626
- package/dts/src/App.vue.d.ts +0 -2
- package/dts/src/api/asset/asset-asset/index.d.ts +0 -27
- package/dts/src/api/asset/asset-asset/types.d.ts +0 -115
- package/dts/src/api/asset/asset-asset-detail/index.d.ts +0 -20
- package/dts/src/api/asset/asset-asset-detail/types.d.ts +0 -65
- package/dts/src/api/asset/asset-inventory-record/index.d.ts +0 -15
- package/dts/src/api/asset/asset-inventory-record/types.d.ts +0 -63
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +0 -20
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +0 -71
- package/dts/src/api/asset/asset-service-appt-record/index.d.ts +0 -9
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +0 -37
- package/dts/src/api/asset/asset-site/index.d.ts +0 -15
- package/dts/src/api/asset/asset-site/types.d.ts +0 -71
- package/dts/src/api/asset/asset-site-service/index.d.ts +0 -14
- package/dts/src/api/asset/asset-site-service/types.d.ts +0 -81
- package/dts/src/api/dict.d.ts +0 -19
- package/dts/src/api/index.d.ts +0 -16
- package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
- package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +0 -38
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -24
- package/dts/src/constant.d.ts +0 -19
- package/dts/src/index.d.ts +0 -6
- package/dts/src/lang/asset/en.d.ts +0 -2
- package/dts/src/lang/asset/zh-cn.d.ts +0 -117
- package/dts/src/lang/index.d.ts +0 -1
- package/dts/src/main.d.ts +0 -4
- package/dts/src/permission.d.ts +0 -1
- package/dts/src/router/page.d.ts +0 -6
- package/dts/src/utils/common.d.ts +0 -51
- package/dts/src/utils/index.d.ts +0 -24
- package/dts/src/utils/momentPlugin.d.ts +0 -5
- package/dts/src/views/asset/asset-asset/assign.vue.d.ts +0 -29
- package/dts/src/views/asset/asset-asset/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-asset/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-asset/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-site/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-site-service/index.vue.d.ts +0 -2
- package/dts/tsconfig.tsbuildinfo +0 -1
@@ -1,13 +1,13 @@
|
|
1
|
-
import { defineComponent as ne, ref as f, reactive as z, resolveComponent as d, resolveDirective as ue, openBlock as r, createElementBlock as
|
1
|
+
import { defineComponent as ne, ref as f, reactive as z, resolveComponent as d, resolveDirective as ue, openBlock as r, createElementBlock as _, createElementVNode as h, createVNode as s, withCtx as l, withKeys as N, unref as o, createTextVNode as m, toDisplayString as u, withDirectives as b, createBlock as c, isRef as A, createCommentVNode as w } from "vue";
|
2
2
|
import { useI18n as re } from "vue-i18n";
|
3
|
-
import { _ as ie } from "./edit.vue_vue_type_script_setup_true_lang-
|
4
|
-
import de from "./assign-
|
5
|
-
import { a as me, D as V } from "./index-
|
3
|
+
import { _ as ie } from "./edit.vue_vue_type_script_setup_true_lang-B_2yu4sv.mjs";
|
4
|
+
import de from "./assign-CbKUuMPJ.mjs";
|
5
|
+
import { a as me, D as V } from "./index-Dw9AQlSo.mjs";
|
6
6
|
import { useTableHooks as pe } from "jmash-core";
|
7
7
|
import { useRouter as fe } from "vue-router";
|
8
|
-
const
|
8
|
+
const be = { class: "app-container" }, ce = { class: "search-container" }, ye = ["onClick"], ve = ["onClick"], ge = ["onClick"], we = ["onClick"], De = /* @__PURE__ */ ne({
|
9
9
|
__name: "index",
|
10
|
-
setup(
|
10
|
+
setup(ke) {
|
11
11
|
const { t: y } = re(), K = fe(), i = f({
|
12
12
|
curPage: 1,
|
13
13
|
pageSize: 10
|
@@ -19,11 +19,12 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
19
19
|
tableData: M,
|
20
20
|
total: T
|
21
21
|
} = pe(y, me, i);
|
22
|
-
let
|
22
|
+
let k = f([
|
23
23
|
// 资产名称
|
24
24
|
{
|
25
25
|
label: "asset.name",
|
26
26
|
prop: "name",
|
27
|
+
width: "200",
|
27
28
|
sortable: "custom",
|
28
29
|
isColumn: !0
|
29
30
|
},
|
@@ -31,6 +32,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
31
32
|
{
|
32
33
|
label: "asset.code",
|
33
34
|
prop: "code",
|
35
|
+
width: "200",
|
34
36
|
sortable: "custom",
|
35
37
|
isColumn: !0
|
36
38
|
},
|
@@ -40,7 +42,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
40
42
|
prop: "numberUnit",
|
41
43
|
slotName: "numberUnit",
|
42
44
|
columnType: "slot",
|
43
|
-
width: "
|
45
|
+
width: "200",
|
44
46
|
sortable: "custom",
|
45
47
|
isColumn: !0
|
46
48
|
},
|
@@ -56,7 +58,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
56
58
|
{
|
57
59
|
label: "asset.buyDate",
|
58
60
|
prop: "buyDate",
|
59
|
-
width: "
|
61
|
+
width: "200",
|
60
62
|
sortable: "custom",
|
61
63
|
isColumn: !0
|
62
64
|
},
|
@@ -66,7 +68,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
66
68
|
prop: "assetSort",
|
67
69
|
slotName: "assetSort",
|
68
70
|
columnType: "slot",
|
69
|
-
width: "
|
71
|
+
width: "200",
|
70
72
|
sortable: "custom",
|
71
73
|
isColumn: !0
|
72
74
|
},
|
@@ -76,7 +78,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
76
78
|
prop: "depreciationType",
|
77
79
|
slotName: "depreciationType",
|
78
80
|
columnType: "slot",
|
79
|
-
width: "
|
81
|
+
width: "200",
|
80
82
|
sortable: "custom",
|
81
83
|
isColumn: !0
|
82
84
|
},
|
@@ -84,9 +86,9 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
84
86
|
{
|
85
87
|
label: "asset.assignStatus",
|
86
88
|
prop: "assignStatus",
|
89
|
+
width: "200",
|
87
90
|
slotName: "assignStatus",
|
88
91
|
columnType: "slot",
|
89
|
-
width: "120",
|
90
92
|
sortable: "custom",
|
91
93
|
isColumn: !0
|
92
94
|
},
|
@@ -102,15 +104,15 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
102
104
|
const R = f(""), S = f(!1), D = f(!1), F = f("分配");
|
103
105
|
let j = f();
|
104
106
|
function H(a) {
|
105
|
-
|
107
|
+
$.assetId = a.assetId, j.value = a, D.value = !0;
|
106
108
|
}
|
107
|
-
const
|
108
|
-
let
|
109
|
+
const C = f(!1);
|
110
|
+
let $ = z({});
|
109
111
|
function G() {
|
110
|
-
|
112
|
+
$ = z({}), R.value = y("common.add"), S.value = !0;
|
111
113
|
}
|
112
114
|
function J(a) {
|
113
|
-
|
115
|
+
$.assetId = a.assetId, R.value = y("common.edit"), S.value = !0;
|
114
116
|
}
|
115
117
|
function O(a) {
|
116
118
|
n.selectionRows.value = a;
|
@@ -128,17 +130,17 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
128
130
|
a && n.getList();
|
129
131
|
}
|
130
132
|
function Y() {
|
131
|
-
|
133
|
+
C.value = !1;
|
132
134
|
}
|
133
135
|
function Z(a) {
|
134
136
|
a.updateMask = "", n.importExcel(a).then(() => {
|
135
|
-
|
137
|
+
C.value = !1;
|
136
138
|
});
|
137
139
|
}
|
138
140
|
return n.getList(), (a, t) => {
|
139
141
|
const x = d("el-input"), U = d("el-form-item"), v = d("el-col"), P = d("jmash-select"), g = d("el-button"), q = d("el-row"), ee = d("el-form"), te = d("jmash-column-select"), ae = d("jmash-table"), le = d("jmash-pagination"), oe = d("el-card"), se = d("jmash-import-upload"), p = ue("hasPerm");
|
140
|
-
return r(),
|
141
|
-
h("div",
|
142
|
+
return r(), _("div", be, [
|
143
|
+
h("div", ce, [
|
142
144
|
s(ee, {
|
143
145
|
ref_key: "queryFormRef",
|
144
146
|
ref: Q,
|
@@ -250,7 +252,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
250
252
|
default: l(() => [
|
251
253
|
s(v, { span: 12 }, {
|
252
254
|
default: l(() => [
|
253
|
-
|
255
|
+
b((r(), c(g, {
|
254
256
|
type: "primary",
|
255
257
|
onClick: G
|
256
258
|
}, {
|
@@ -261,7 +263,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
261
263
|
})), [
|
262
264
|
[p, ["asset:asset:add"]]
|
263
265
|
]),
|
264
|
-
|
266
|
+
b((r(), c(g, {
|
265
267
|
type: "primary",
|
266
268
|
onClick: t[8] || (t[8] = (e) => o(n).deleteRecords())
|
267
269
|
}, {
|
@@ -280,10 +282,10 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
280
282
|
align: "right"
|
281
283
|
}, {
|
282
284
|
default: l(() => [
|
283
|
-
|
285
|
+
b((r(), c(g, {
|
284
286
|
plain: "",
|
285
287
|
type: "primary",
|
286
|
-
onClick: t[9] || (t[9] = (e) =>
|
288
|
+
onClick: t[9] || (t[9] = (e) => C.value = !0)
|
287
289
|
}, {
|
288
290
|
default: l(() => [
|
289
291
|
m(u(a.$t("common.import")), 1)
|
@@ -292,7 +294,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
292
294
|
})), [
|
293
295
|
[p, ["asset:asset:import"]]
|
294
296
|
]),
|
295
|
-
|
297
|
+
b((r(), c(g, {
|
296
298
|
plain: "",
|
297
299
|
type: "primary",
|
298
300
|
onClick: t[10] || (t[10] = (e) => o(n).handleExport(o(y)("asset.asset.name")))
|
@@ -305,8 +307,8 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
305
307
|
[p, ["asset:asset:export"]]
|
306
308
|
]),
|
307
309
|
s(te, {
|
308
|
-
modelValue: o(
|
309
|
-
"onUpdate:modelValue": t[11] || (t[11] = (e) => A(
|
310
|
+
modelValue: o(k),
|
311
|
+
"onUpdate:modelValue": t[11] || (t[11] = (e) => A(k) ? k.value = e : k = e),
|
310
312
|
"label-name": "asset/asset-asset"
|
311
313
|
}, null, 8, ["modelValue"])
|
312
314
|
]),
|
@@ -317,7 +319,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
317
319
|
})
|
318
320
|
]),
|
319
321
|
footer: l(() => [
|
320
|
-
o(T) > 0 ? (r(),
|
322
|
+
o(T) > 0 ? (r(), c(le, {
|
321
323
|
key: 0,
|
322
324
|
total: o(T),
|
323
325
|
"onUpdate:total": t[12] || (t[12] = (e) => A(T) ? T.value = e : null),
|
@@ -326,8 +328,8 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
326
328
|
"page-size": i.value.pageSize,
|
327
329
|
"onUpdate:pageSize": t[14] || (t[14] = (e) => i.value.pageSize = e),
|
328
330
|
onPagination: t[15] || (t[15] = (e) => o(n).getList())
|
329
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
330
|
-
m(" ")
|
331
|
+
}, null, 8, ["total", "current-page", "page-size"])) : w("", !0),
|
332
|
+
t[19] || (t[19] = m(" "))
|
331
333
|
]),
|
332
334
|
default: l(() => [
|
333
335
|
s(ae, {
|
@@ -337,7 +339,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
337
339
|
"row-key": "assetId",
|
338
340
|
"list-loading": o(B),
|
339
341
|
data: o(M),
|
340
|
-
"table-label": o(
|
342
|
+
"table-label": o(k),
|
341
343
|
onSelectionChange: O,
|
342
344
|
onSortChange: W
|
343
345
|
}, {
|
@@ -356,7 +358,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
356
358
|
h("span", null, u(o(V).assetStatusDict.getValue(e.data.row.assignStatus)), 1)
|
357
359
|
]),
|
358
360
|
operation: l((e) => [
|
359
|
-
|
361
|
+
b((r(), _("span", {
|
360
362
|
class: "el-button-color",
|
361
363
|
onClick: (E) => J(e.data.row)
|
362
364
|
}, [
|
@@ -364,7 +366,7 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
364
366
|
], 8, ye)), [
|
365
367
|
[p, ["asset:asset:update"]]
|
366
368
|
]),
|
367
|
-
e.data.row.assignStatus === !1 ?
|
369
|
+
e.data.row.assignStatus === !1 ? b((r(), _("span", {
|
368
370
|
key: 0,
|
369
371
|
class: "el-button-color dropdown-left",
|
370
372
|
onClick: (E) => o(n).deleteRecord(e.data.row)
|
@@ -372,8 +374,8 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
372
374
|
m(u(a.$t("common.delete")), 1)
|
373
375
|
], 8, ve)), [
|
374
376
|
[p, ["asset:asset:delete"]]
|
375
|
-
]) :
|
376
|
-
e.data.row.assignStatus === !1 ?
|
377
|
+
]) : w("", !0),
|
378
|
+
e.data.row.assignStatus === !1 ? b((r(), _("span", {
|
377
379
|
key: 1,
|
378
380
|
class: "el-button-color dropdown-left",
|
379
381
|
onClick: (E) => H(e.data.row)
|
@@ -381,13 +383,13 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
381
383
|
m(u(a.$t("asset.assign")), 1)
|
382
384
|
], 8, ge)), [
|
383
385
|
[p, ["asset:asset:assign"]]
|
384
|
-
]) :
|
385
|
-
|
386
|
+
]) : w("", !0),
|
387
|
+
b((r(), _("span", {
|
386
388
|
class: "el-button-color dropdown-left",
|
387
389
|
onClick: (E) => X(e.data.row)
|
388
390
|
}, [
|
389
391
|
m(u(a.$t("common.view")), 1)
|
390
|
-
], 8,
|
392
|
+
], 8, we)), [
|
391
393
|
[p, ["asset:asset:view"]]
|
392
394
|
])
|
393
395
|
]),
|
@@ -396,33 +398,33 @@ const ce = { class: "app-container" }, be = { class: "search-container" }, ye =
|
|
396
398
|
]),
|
397
399
|
_: 1
|
398
400
|
}),
|
399
|
-
S.value ? (r(),
|
401
|
+
S.value ? (r(), c(ie, {
|
400
402
|
key: 0,
|
401
403
|
modelValue: S.value,
|
402
404
|
"onUpdate:modelValue": t[16] || (t[16] = (e) => S.value = e),
|
403
405
|
title: R.value,
|
404
|
-
"entity-key": o(
|
406
|
+
"entity-key": o($),
|
405
407
|
width: "900px",
|
406
408
|
onRefresh: I
|
407
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
408
|
-
|
409
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : w("", !0),
|
410
|
+
C.value ? (r(), c(se, {
|
409
411
|
key: 1,
|
410
|
-
"upload-visible":
|
412
|
+
"upload-visible": C.value,
|
411
413
|
"template-title": a.$t("sysUser.templateDownload"),
|
412
414
|
onTemplateDown: t[17] || (t[17] = (e) => o(n).downloadTemplate(o(y)("asset.asset.name"))),
|
413
415
|
onImportEvents: Z,
|
414
416
|
onUploadClosed: Y
|
415
|
-
}, null, 8, ["upload-visible", "template-title"])) :
|
416
|
-
D.value ? (r(),
|
417
|
+
}, null, 8, ["upload-visible", "template-title"])) : w("", !0),
|
418
|
+
D.value ? (r(), c(de, {
|
417
419
|
key: 2,
|
418
420
|
modelValue: D.value,
|
419
421
|
"onUpdate:modelValue": t[18] || (t[18] = (e) => D.value = e),
|
420
|
-
"entity-key": o(
|
422
|
+
"entity-key": o($),
|
421
423
|
"number-list": o(j),
|
422
424
|
title: F.value,
|
423
425
|
width: "1200px",
|
424
426
|
onRefresh: I
|
425
|
-
}, null, 8, ["modelValue", "entity-key", "number-list", "title"])) :
|
427
|
+
}, null, 8, ["modelValue", "entity-key", "number-list", "title"])) : w("", !0)
|
426
428
|
]);
|
427
429
|
};
|
428
430
|
}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as M, ref as v, onBeforeMount as j, resolveComponent as c, openBlock as f, createElementBlock as k, createVNode as o, withCtx as e, createTextVNode as i, toDisplayString as l, unref as t, createBlock as h, isRef as K, createCommentVNode as g, createElementVNode as s } from "vue";
|
2
2
|
import { useRouter as U, useRoute as O } from "vue-router";
|
3
|
-
import { D as p, a as A, C as H } from "./index-
|
3
|
+
import { D as p, a as A, C as H } from "./index-Dw9AQlSo.mjs";
|
4
4
|
import { useTableHooks as Q, routerUtil as F } from "jmash-core";
|
5
5
|
import { useI18n as G } from "vue-i18n";
|
6
|
-
import { a as C } from "./index-
|
7
|
-
const J = { class: "app-container" }, W =
|
6
|
+
import { a as C } from "./index-BiBCzEqz.mjs";
|
7
|
+
const J = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ee = { class: "cell-item" }, te = { class: "cell-item" }, le = { class: "cell-item" }, se = { class: "cell-item" }, ae = { class: "cell-item" }, oe = { class: "cell-item" }, ne = { class: "cell-item" }, ie = { class: "cell-item" }, ue = {
|
8
8
|
key: 1,
|
9
9
|
class: "title-content"
|
10
|
-
},
|
10
|
+
}, be = /* @__PURE__ */ M({
|
11
11
|
__name: "index",
|
12
|
-
setup(
|
12
|
+
setup(de) {
|
13
13
|
p.unionOrgBizLayDict.useValues(), p.siteDict.useValues();
|
14
14
|
const { t: w } = G(), T = U(), m = O(), _ = v({
|
15
15
|
curPage: 1,
|
@@ -69,7 +69,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
69
69
|
function E() {
|
70
70
|
F.closeTagView(m.fullPath, T, !1);
|
71
71
|
}
|
72
|
-
return (a,
|
72
|
+
return (a, d) => {
|
73
73
|
const P = c("el-button"), u = c("el-descriptions-item"), I = c("el-descriptions"), S = c("el-col"), $ = c("el-row"), L = c("jmash-table"), R = c("jmash-pagination"), q = c("el-card");
|
74
74
|
return f(), k("div", J, [
|
75
75
|
o(q, { shadow: "never" }, {
|
@@ -88,12 +88,12 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
88
88
|
t(b) > 0 ? (f(), h(R, {
|
89
89
|
key: 0,
|
90
90
|
total: t(b),
|
91
|
-
"onUpdate:total":
|
91
|
+
"onUpdate:total": d[0] || (d[0] = (r) => K(b) ? b.value = r : null),
|
92
92
|
"current-page": t(_).curPage,
|
93
|
-
"onUpdate:currentPage":
|
93
|
+
"onUpdate:currentPage": d[1] || (d[1] = (r) => t(_).curPage = r),
|
94
94
|
"page-size": t(_).pageSize,
|
95
|
-
"onUpdate:pageSize":
|
96
|
-
onPagination:
|
95
|
+
"onUpdate:pageSize": d[2] || (d[2] = (r) => t(_).pageSize = r),
|
96
|
+
onPagination: d[3] || (d[3] = (r) => t(D).getList())
|
97
97
|
}, null, 8, ["total", "current-page", "page-size"])) : g("", !0)
|
98
98
|
]),
|
99
99
|
default: e(() => [
|
@@ -104,7 +104,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
104
104
|
default: e(() => [
|
105
105
|
o(S, { span: 24 }, {
|
106
106
|
default: e(() => [
|
107
|
-
|
107
|
+
d[4] || (d[4] = s("div", { class: "title-content" }, "资产信息", -1)),
|
108
108
|
o(I, {
|
109
109
|
class: "margin-top",
|
110
110
|
column: 2,
|
@@ -113,7 +113,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
113
113
|
default: e(() => [
|
114
114
|
o(u, null, {
|
115
115
|
label: e(() => [
|
116
|
-
s("div",
|
116
|
+
s("div", W, l(a.$t("asset.name")), 1)
|
117
117
|
]),
|
118
118
|
default: e(() => [
|
119
119
|
i(" " + l(t(n).name), 1)
|
@@ -122,7 +122,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
122
122
|
}),
|
123
123
|
o(u, null, {
|
124
124
|
label: e(() => [
|
125
|
-
s("div",
|
125
|
+
s("div", X, l(a.$t("asset.code")), 1)
|
126
126
|
]),
|
127
127
|
default: e(() => [
|
128
128
|
i(" " + l(t(n).code), 1)
|
@@ -131,7 +131,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
131
131
|
}),
|
132
132
|
o(u, null, {
|
133
133
|
label: e(() => [
|
134
|
-
s("div",
|
134
|
+
s("div", Y, l(a.$t("asset.number")), 1)
|
135
135
|
]),
|
136
136
|
default: e(() => [
|
137
137
|
i(" " + l(t(n).number) + "/" + l(t(n).unit), 1)
|
@@ -140,7 +140,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
140
140
|
}),
|
141
141
|
o(u, null, {
|
142
142
|
label: e(() => [
|
143
|
-
s("div",
|
143
|
+
s("div", Z, l(a.$t("asset.buyDate")), 1)
|
144
144
|
]),
|
145
145
|
default: e(() => [
|
146
146
|
i(" " + l(t(n).buyDate), 1)
|
@@ -150,7 +150,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
150
150
|
o(u, null, {
|
151
151
|
label: e(() => [
|
152
152
|
s("span", null, [
|
153
|
-
s("div",
|
153
|
+
s("div", x, l(a.$t("asset.buyMoney")), 1)
|
154
154
|
])
|
155
155
|
]),
|
156
156
|
default: e(() => [
|
@@ -161,7 +161,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
161
161
|
o(u, null, {
|
162
162
|
label: e(() => [
|
163
163
|
s("span", null, [
|
164
|
-
s("div",
|
164
|
+
s("div", ee, l(a.$t("asset.oldMoney")), 1)
|
165
165
|
])
|
166
166
|
]),
|
167
167
|
default: e(() => [
|
@@ -172,7 +172,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
172
172
|
o(u, null, {
|
173
173
|
label: e(() => [
|
174
174
|
s("span", null, [
|
175
|
-
s("div",
|
175
|
+
s("div", te, l(a.$t("asset.assetSort")), 1)
|
176
176
|
])
|
177
177
|
]),
|
178
178
|
default: e(() => [
|
@@ -185,7 +185,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
185
185
|
o(u, null, {
|
186
186
|
label: e(() => [
|
187
187
|
s("span", null, [
|
188
|
-
s("div",
|
188
|
+
s("div", le, l(a.$t("asset.model")), 1)
|
189
189
|
])
|
190
190
|
]),
|
191
191
|
default: e(() => [
|
@@ -210,7 +210,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
210
210
|
default: e(() => [
|
211
211
|
o(S, { span: 24 }, {
|
212
212
|
default: e(() => [
|
213
|
-
|
213
|
+
d[5] || (d[5] = s("div", { class: "title-content" }, "折旧信息", -1)),
|
214
214
|
o(I, {
|
215
215
|
class: "margin-top",
|
216
216
|
column: 2,
|
@@ -219,7 +219,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
219
219
|
default: e(() => [
|
220
220
|
o(u, null, {
|
221
221
|
label: e(() => [
|
222
|
-
s("div",
|
222
|
+
s("div", se, l(a.$t("asset.depreciationType")), 1)
|
223
223
|
]),
|
224
224
|
default: e(() => [
|
225
225
|
i(" " + l(t(p).depreciationTypeEnum.getEnumValue(
|
@@ -230,7 +230,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
230
230
|
}),
|
231
231
|
o(u, null, {
|
232
232
|
label: e(() => [
|
233
|
-
s("div",
|
233
|
+
s("div", ae, l(a.$t("asset.useLimit")), 1)
|
234
234
|
]),
|
235
235
|
default: e(() => [
|
236
236
|
i(" " + l(t(n).useLimit), 1)
|
@@ -239,7 +239,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
239
239
|
}),
|
240
240
|
o(u, null, {
|
241
241
|
label: e(() => [
|
242
|
-
s("div",
|
242
|
+
s("div", oe, l(a.$t("asset.netSalvage")), 1)
|
243
243
|
]),
|
244
244
|
default: e(() => [
|
245
245
|
i(" " + l(t(n).netSalvage), 1)
|
@@ -248,7 +248,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
248
248
|
}),
|
249
249
|
o(u, null, {
|
250
250
|
label: e(() => [
|
251
|
-
s("div",
|
251
|
+
s("div", ne, l(a.$t("asset.monthDepreciation")), 1)
|
252
252
|
]),
|
253
253
|
default: e(() => [
|
254
254
|
i(" " + l(t(n).monthDepreciation), 1)
|
@@ -258,7 +258,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
258
258
|
o(u, null, {
|
259
259
|
label: e(() => [
|
260
260
|
s("span", null, [
|
261
|
-
s("div",
|
261
|
+
s("div", ie, l(a.$t("asset.totalDepreciation")), 1)
|
262
262
|
])
|
263
263
|
]),
|
264
264
|
default: e(() => [
|
@@ -275,7 +275,7 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
275
275
|
]),
|
276
276
|
_: 1
|
277
277
|
})) : g("", !0),
|
278
|
-
t(n).assignStatus ? (f(), k("div",
|
278
|
+
t(n).assignStatus ? (f(), k("div", ue, "使用信息")) : g("", !0),
|
279
279
|
t(n).assignStatus ? (f(), h(L, {
|
280
280
|
key: 2,
|
281
281
|
ref_key: "multipleTableRef",
|
@@ -288,14 +288,14 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
288
288
|
"table-label": t(z),
|
289
289
|
onSelectionChange: B
|
290
290
|
}, {
|
291
|
-
orgId: e((
|
292
|
-
s("span", null, l(t(p).unionOrgBizLayDict.getValue(
|
291
|
+
orgId: e((r) => [
|
292
|
+
s("span", null, l(t(p).unionOrgBizLayDict.getValue(r.data.row.orgId)), 1)
|
293
293
|
]),
|
294
|
-
siteId: e((
|
295
|
-
s("span", null, l(t(p).siteDict.getValue(
|
294
|
+
siteId: e((r) => [
|
295
|
+
s("span", null, l(t(p).siteDict.getValue(r.data.row.siteId)), 1)
|
296
296
|
]),
|
297
|
-
status: e((
|
298
|
-
s("span", null, l(t(p).assetsStatus.getEnumValue(
|
297
|
+
status: e((r) => [
|
298
|
+
s("span", null, l(t(p).assetsStatus.getEnumValue(r.data.row.status)), 1)
|
299
299
|
]),
|
300
300
|
_: 1
|
301
301
|
}, 8, ["list-loading", "data", "table-label"])) : g("", !0)
|
@@ -307,5 +307,5 @@ const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "tit
|
|
307
307
|
}
|
308
308
|
});
|
309
309
|
export {
|
310
|
-
|
310
|
+
be as default
|
311
311
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as K, ref as S, resolveComponent as r, resolveDirective as F, openBlock as c, createElementBlock as k, createElementVNode as y, createVNode as a, withCtx as o, unref as l, withKeys as V, createTextVNode as d, toDisplayString as u, withDirectives as g, createBlock as w, isRef as $, createCommentVNode as H } from "vue";
|
2
2
|
import { useTableHooks as M } from "jmash-core";
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
4
|
-
import { D as R, a as G } from "./index-
|
4
|
+
import { D as R, a as G } from "./index-Dw9AQlSo.mjs";
|
5
5
|
import { useRouter as J } from "vue-router";
|
6
6
|
const O = { class: "app-container" }, W = { class: "search-container" }, X = ["onClick"], ne = /* @__PURE__ */ K({
|
7
7
|
__name: "index",
|
@@ -21,6 +21,7 @@ const O = { class: "app-container" }, W = { class: "search-container" }, X = ["o
|
|
21
21
|
{
|
22
22
|
label: "depreciationRecord.name",
|
23
23
|
prop: "name",
|
24
|
+
width: "200",
|
24
25
|
sortable: "custom",
|
25
26
|
isColumn: !0
|
26
27
|
},
|
@@ -28,6 +29,7 @@ const O = { class: "app-container" }, W = { class: "search-container" }, X = ["o
|
|
28
29
|
{
|
29
30
|
label: "depreciationRecord.code",
|
30
31
|
prop: "code",
|
32
|
+
width: "200",
|
31
33
|
sortable: "custom",
|
32
34
|
isColumn: !0
|
33
35
|
},
|
@@ -35,7 +37,7 @@ const O = { class: "app-container" }, W = { class: "search-container" }, X = ["o
|
|
35
37
|
{
|
36
38
|
label: "depreciationRecord.number",
|
37
39
|
prop: "number",
|
38
|
-
width: "
|
40
|
+
width: "150",
|
39
41
|
sortable: "custom",
|
40
42
|
isColumn: !0,
|
41
43
|
slotName: "number",
|
@@ -71,7 +73,7 @@ const O = { class: "app-container" }, W = { class: "search-container" }, X = ["o
|
|
71
73
|
{
|
72
74
|
label: "depreciationRecord.oldMoney",
|
73
75
|
prop: "oldMoney",
|
74
|
-
width: "
|
76
|
+
width: "130",
|
75
77
|
sortable: "custom",
|
76
78
|
isColumn: !0
|
77
79
|
},
|
@@ -79,7 +81,7 @@ const O = { class: "app-container" }, W = { class: "search-container" }, X = ["o
|
|
79
81
|
{
|
80
82
|
label: "depreciationRecord.netSalvage",
|
81
83
|
prop: "netSalvage",
|
82
|
-
width: "
|
84
|
+
width: "130",
|
83
85
|
sortable: "custom",
|
84
86
|
isColumn: !0
|
85
87
|
},
|
@@ -87,7 +89,7 @@ const O = { class: "app-container" }, W = { class: "search-container" }, X = ["o
|
|
87
89
|
{
|
88
90
|
label: "depreciationRecord.totalDepreciation",
|
89
91
|
prop: "totalDepreciation",
|
90
|
-
width: "
|
92
|
+
width: "130",
|
91
93
|
sortable: "custom",
|
92
94
|
isColumn: !0
|
93
95
|
},
|
@@ -95,7 +97,7 @@ const O = { class: "app-container" }, W = { class: "search-container" }, X = ["o
|
|
95
97
|
{
|
96
98
|
label: "depreciationRecord.netAssetValue",
|
97
99
|
prop: "netAssetValue",
|
98
|
-
width: "
|
100
|
+
width: "130",
|
99
101
|
sortable: "custom",
|
100
102
|
isColumn: !0
|
101
103
|
},
|
@@ -271,7 +273,7 @@ const O = { class: "app-container" }, W = { class: "search-container" }, X = ["o
|
|
271
273
|
"onUpdate:pageSize": e[11] || (e[11] = (t) => s.value.pageSize = t),
|
272
274
|
onPagination: e[12] || (e[12] = (t) => l(i).getList())
|
273
275
|
}, null, 8, ["total", "current-page", "page-size"])) : H("", !0),
|
274
|
-
d(" ")
|
276
|
+
e[13] || (e[13] = d(" "))
|
275
277
|
]),
|
276
278
|
default: o(() => [
|
277
279
|
a(Q, {
|