xyvcard-asset 0.0.8 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +52 -52
- package/dist/assign-DzQUNp-Y.mjs +1626 -0
- package/dist/{edit-zFZfd8e1.mjs → edit-CCrekeeb.mjs} +1 -1
- package/dist/{edit-CE3u81Q0.mjs → edit-DdzPtYyH.mjs} +1 -1
- package/dist/edit-Dn-QMuy6.mjs +4 -0
- package/dist/edit-FdqpKRgF.mjs +294 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs → edit.vue_vue_type_script_setup_true_lang-BP4-GiBE.mjs} +152 -145
- package/dist/edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs +547 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs +278 -0
- package/dist/index copy-CxTCJcvX.mjs +75 -0
- package/dist/index-B4vUTwSW.mjs +171 -0
- package/dist/index-BK24yagy.mjs +1663 -0
- package/dist/index-BW-5IuVN.mjs +91 -0
- package/dist/index-BWwU9hSp.mjs +320 -0
- package/dist/index-BvKWLFdr.mjs +345 -0
- package/dist/index-BwbnYpa1.mjs +29 -0
- package/dist/index-C5_f5Lce.mjs +213 -0
- package/dist/index-CSMEsPcN.mjs +432 -0
- package/dist/index-CgAq70-p.mjs +314 -0
- package/dist/index-CugJCeed.mjs +373 -0
- package/dist/index-DElPNxc7.mjs +398 -0
- package/dist/index-De4u-LEl.mjs +325 -0
- package/dist/index-Dyo7je0Z.mjs +38 -0
- package/dist/index-FUnFB7nG.mjs +61 -0
- package/dist/index-GhvyIwc3.mjs +4 -0
- package/dist/index-axEqTssj.mjs +378 -0
- package/dist/index-jOcS7tqC.mjs +311 -0
- package/dist/index-pfeu6d82.mjs +4 -0
- package/dist/index.mjs +2753 -35
- package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +110 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +54 -0
- package/dist/index/345/244/207/344/273/275-BfKo5eBT.mjs +323 -0
- package/dist/style.css +1 -1
- package/dts/api/asset/asset-asset/index.d.ts +10 -5
- package/dts/api/asset/asset-asset/types.d.ts +39 -23
- package/dts/api/asset/asset-asset-detail/index.d.ts +12 -0
- package/dts/api/asset/asset-asset-detail/types.d.ts +56 -0
- package/dts/api/asset/asset-depreciation-record/index.d.ts +11 -0
- package/dts/api/asset/asset-depreciation-record/types.d.ts +38 -0
- package/dts/api/asset/asset-inventory-record/index.d.ts +10 -0
- package/dts/api/asset/asset-inventory-record/types.d.ts +62 -0
- package/dts/api/asset/asset-service-appt-member/index.d.ts +1 -12
- package/dts/api/asset/asset-service-appt-member/types.d.ts +1 -44
- package/dts/api/asset/asset-service-appt-record/index.d.ts +1 -12
- package/dts/api/asset/asset-service-appt-record/types.d.ts +7 -68
- package/dts/api/asset/asset-site/index.d.ts +1 -2
- package/dts/api/asset/asset-site/types.d.ts +4 -14
- package/dts/api/asset/asset-site-service/index.d.ts +1 -2
- package/dts/api/asset/asset-site-service/types.d.ts +1 -0
- package/dts/api/asset/text/index.d.ts +140 -0
- package/dts/api/asset/text/types.d.ts +179 -0
- package/dts/api/dict.d.ts +1 -4
- package/dts/api/index.d.ts +2 -0
- package/dts/components/{TMaps → PeopleSelectAsset}/index.vue.d.ts +5 -7
- package/dts/components/Upload/ImageUpload.vue.d.ts +1 -1
- package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +14 -0
- package/dts/constant.d.ts +4 -1
- package/dts/index.d.ts +3 -1
- package/dts/lang/asset/zh-cn.d.ts +60 -1
- package/dts/router/page.d.ts +6 -0
- package/dts/src/api/asset/asset-asset/index.d.ts +10 -5
- package/dts/src/api/asset/asset-asset/types.d.ts +39 -23
- package/dts/src/api/asset/asset-asset-detail/index.d.ts +12 -0
- package/dts/src/api/asset/asset-asset-detail/types.d.ts +56 -0
- package/dts/src/api/asset/asset-depreciation-record/index.d.ts +11 -0
- package/dts/src/api/asset/asset-depreciation-record/types.d.ts +38 -0
- package/dts/src/api/asset/asset-inventory-record/index.d.ts +10 -0
- package/dts/src/api/asset/asset-inventory-record/types.d.ts +62 -0
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +1 -12
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +1 -44
- package/dts/src/api/asset/asset-service-appt-record/index.d.ts +1 -12
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +7 -68
- package/dts/src/api/asset/asset-site/index.d.ts +1 -2
- package/dts/src/api/asset/asset-site/types.d.ts +4 -14
- package/dts/src/api/asset/asset-site-service/index.d.ts +1 -2
- package/dts/src/api/asset/asset-site-service/types.d.ts +1 -0
- package/dts/src/api/asset/text/index.d.ts +0 -0
- package/dts/src/api/asset/text/types.d.ts +0 -0
- package/dts/src/api/dict.d.ts +1 -4
- package/dts/src/api/index.d.ts +2 -0
- package/dts/src/components/PeopleSelect/index.vue.d.ts +18 -0
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
- package/dts/src/components copy/PeopleSelect/index.vue.d.ts +18 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +34 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +18 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +34 -0
- 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
- 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
- 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
- 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
- package/dts/src/components copy/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/src/components copy/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/src/constant.d.ts +4 -1
- package/dts/src/index.d.ts +3 -1
- package/dts/src/lang/asset/zh-cn.d.ts +59 -1
- package/dts/src/router/page.d.ts +4 -0
- package/dts/src/utils/momentPlugin.d.ts +5 -0
- package/dts/{views/asset/asset-service-appt-member/edit.vue.d.ts → src/views/asset/asset-asset/assign.vue.d.ts} +14 -7
- package/dts/src/views/asset/asset-asset/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/{asset-service-appt-member → asset-asset-detail}/edit.vue.d.ts +5 -7
- package/dts/src/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
- package/dts/src/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/dts/utils/momentPlugin.d.ts +5 -0
- package/dts/views/asset/{asset-service-appt-record/edit.vue.d.ts → asset-asset/assign.vue.d.ts} +14 -7
- package/dts/views/asset/asset-asset/info/index.vue.d.ts +2 -0
- package/dts/{src/views/asset/asset-service-appt-record → views/asset/asset-asset-detail}/edit.vue.d.ts +5 -7
- package/dts/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
- package/dts/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
- package/package.json +7 -6
- package/dist/edit-Bo9bnbUP.mjs +0 -492
- package/dist/edit-DJFxVmvv.mjs +0 -624
- package/dist/edit-qp_2xtTZ.mjs +0 -242
- package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +0 -322
- package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +0 -1
- package/dist/index-Bf5U4Ucl.mjs +0 -369
- package/dist/index-Bh2imlN_.mjs +0 -149
- package/dist/index-CHNiaFZk.mjs +0 -291
- package/dist/index-CmlP_Rro.mjs +0 -332
- package/dist/index-Cqw_E8lr.mjs +0 -1269
- package/dist/index-DA_FS24d.mjs +0 -146
- package/dist/index-DKmGNvQl.mjs +0 -370
- package/dist/index-DLxpE9s5.mjs +0 -305
- package/dist/index-DWaL87j5.mjs +0 -89
- package/dist/index-jOnQLJaB.mjs +0 -416
- package/dist/index-pyyjj1xa.mjs +0 -187
- package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +0 -37
- package/dts/api/org/union-org/index.d.ts +0 -14
- package/dts/api/org/union-org/types.d.ts +0 -49
- package/dts/components/EnumRadio/index.vue.d.ts +0 -18
- package/dts/components/EnumSelect/index.vue.d.ts +0 -18
- package/dts/src/api/org/union-org/index.d.ts +0 -14
- package/dts/src/api/org/union-org/types.d.ts +0 -49
- package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
- package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
- /package/dts/{views/asset/asset-service-appt-member → src/components/deptPeopleSelect}/index.vue.d.ts +0 -0
- /package/dts/src/{views/asset/asset-service-appt-member → components copy/deptPeopleSelect}/index.vue.d.ts +0 -0
@@ -0,0 +1,91 @@
|
|
1
|
+
import { defineComponent as b, ref as v, resolveComponent as l, openBlock as D, createElementBlock as w, createVNode as t, withCtx as e, createTextVNode as s, toDisplayString as o, createElementVNode as r, unref as c } from "vue";
|
2
|
+
import { useRouter as B, useRoute as V } from "vue-router";
|
3
|
+
import { D as u, s as k } from "./index-BK24yagy.mjs";
|
4
|
+
import { routerUtil as q } from "jmash-core";
|
5
|
+
const C = { class: "app-container" }, I = /* @__PURE__ */ r("div", { class: "title-content" }, "场地信息", -1), O = { class: "cell-item" }, R = { class: "cell-item" }, $ = { class: "cell-item" }, j = /* @__PURE__ */ b({
|
6
|
+
__name: "index",
|
7
|
+
setup(N) {
|
8
|
+
u.unionOrgBizLayDict.useValues();
|
9
|
+
const _ = B(), a = V(), i = v({});
|
10
|
+
a.query.entityKey && k.findById({ siteId: a.query.entityKey }).then(({ data: n }) => {
|
11
|
+
i.value = Object.assign(i, n);
|
12
|
+
});
|
13
|
+
function m() {
|
14
|
+
q.closeTagView(a.fullPath, _, !1);
|
15
|
+
}
|
16
|
+
return (n, z) => {
|
17
|
+
const p = l("el-button"), d = l("el-descriptions-item"), f = l("el-descriptions"), y = l("el-col"), h = l("el-row"), g = l("el-card");
|
18
|
+
return D(), w("div", C, [
|
19
|
+
t(g, { shadow: "never" }, {
|
20
|
+
header: e(() => [
|
21
|
+
t(p, {
|
22
|
+
type: "primary",
|
23
|
+
onClick: m
|
24
|
+
}, {
|
25
|
+
default: e(() => [
|
26
|
+
s(o(n.$t("common.back")), 1)
|
27
|
+
]),
|
28
|
+
_: 1
|
29
|
+
})
|
30
|
+
]),
|
31
|
+
default: e(() => [
|
32
|
+
t(h, {
|
33
|
+
gutter: 20,
|
34
|
+
style: { width: "100%" }
|
35
|
+
}, {
|
36
|
+
default: e(() => [
|
37
|
+
t(y, { span: 24 }, {
|
38
|
+
default: e(() => [
|
39
|
+
I,
|
40
|
+
t(f, {
|
41
|
+
class: "margin-top",
|
42
|
+
column: 2,
|
43
|
+
border: ""
|
44
|
+
}, {
|
45
|
+
default: e(() => [
|
46
|
+
t(d, null, {
|
47
|
+
label: e(() => [
|
48
|
+
r("div", O, o(n.$t("site.orgId")), 1)
|
49
|
+
]),
|
50
|
+
default: e(() => [
|
51
|
+
s(" " + o(c(u).unionOrgBizLayDict.getValue(c(i).orgId)), 1)
|
52
|
+
]),
|
53
|
+
_: 1
|
54
|
+
}),
|
55
|
+
t(d, null, {
|
56
|
+
label: e(() => [
|
57
|
+
r("div", R, o(n.$t("site.nameRequired")), 1)
|
58
|
+
]),
|
59
|
+
default: e(() => [
|
60
|
+
s(" " + o(c(i).name), 1)
|
61
|
+
]),
|
62
|
+
_: 1
|
63
|
+
}),
|
64
|
+
t(d, null, {
|
65
|
+
label: e(() => [
|
66
|
+
r("div", $, o(n.$t("site.buildDateRequired")), 1)
|
67
|
+
]),
|
68
|
+
default: e(() => [
|
69
|
+
s(" " + o(c(i).buildDate), 1)
|
70
|
+
]),
|
71
|
+
_: 1
|
72
|
+
})
|
73
|
+
]),
|
74
|
+
_: 1
|
75
|
+
})
|
76
|
+
]),
|
77
|
+
_: 1
|
78
|
+
})
|
79
|
+
]),
|
80
|
+
_: 1
|
81
|
+
})
|
82
|
+
]),
|
83
|
+
_: 1
|
84
|
+
})
|
85
|
+
]);
|
86
|
+
};
|
87
|
+
}
|
88
|
+
});
|
89
|
+
export {
|
90
|
+
j as default
|
91
|
+
};
|
@@ -0,0 +1,320 @@
|
|
1
|
+
import { defineComponent as O, getCurrentInstance as G, ref as b, resolveComponent as s, resolveDirective as J, openBlock as _, createElementBlock as W, createElementVNode as d, createVNode as n, withCtx as o, unref as r, withKeys as h, createTextVNode as R, toDisplayString as u, isRef as V, createBlock as k, createCommentVNode as X, withDirectives as Z } from "vue";
|
2
|
+
import { useTableHooks as x } from "jmash-core";
|
3
|
+
import { useI18n as ee } from "vue-i18n";
|
4
|
+
import { c as S } from "./common-kbgEWG-E.mjs";
|
5
|
+
import { i as te } from "./index-Dyo7je0Z.mjs";
|
6
|
+
import { D as y } from "./index-BK24yagy.mjs";
|
7
|
+
import { useRouter as oe } from "vue-router";
|
8
|
+
const ne = { class: "app-container" }, le = { class: "search-container" }, ae = /* @__PURE__ */ d("div", { class: "clear" }, null, -1), ye = /* @__PURE__ */ O({
|
9
|
+
__name: "index",
|
10
|
+
setup(re) {
|
11
|
+
const { proxy: D } = G(), T = oe(), { t: C } = ee();
|
12
|
+
y.unionOrgBizLayDict.useValues();
|
13
|
+
const a = b({}), {
|
14
|
+
tableHooks: i,
|
15
|
+
multipleTableRef: $,
|
16
|
+
queryFormRef: I,
|
17
|
+
listLoading: j,
|
18
|
+
tableData: z,
|
19
|
+
total: f
|
20
|
+
} = x(C, te, a);
|
21
|
+
let m = b([
|
22
|
+
// 所属工会
|
23
|
+
{
|
24
|
+
label: "inventoryRecord.orgId",
|
25
|
+
prop: "orgId",
|
26
|
+
sortable: "custom",
|
27
|
+
isColumn: !0,
|
28
|
+
slotName: "orgId",
|
29
|
+
columnType: "slot"
|
30
|
+
},
|
31
|
+
// 场地名称
|
32
|
+
{
|
33
|
+
label: "inventoryRecord.siteName",
|
34
|
+
prop: "siteName",
|
35
|
+
sortable: "custom",
|
36
|
+
isColumn: !0
|
37
|
+
},
|
38
|
+
// 盘点时间
|
39
|
+
{
|
40
|
+
label: "inventoryRecord.inventoryTime",
|
41
|
+
prop: "inventoryTime",
|
42
|
+
sortable: "custom",
|
43
|
+
isColumn: !0,
|
44
|
+
slotName: "inventoryTime",
|
45
|
+
columnType: "slot"
|
46
|
+
},
|
47
|
+
// 盘点人
|
48
|
+
{
|
49
|
+
label: "inventoryRecord.userName",
|
50
|
+
prop: "userName",
|
51
|
+
width: "150",
|
52
|
+
sortable: "custom",
|
53
|
+
isColumn: !0
|
54
|
+
},
|
55
|
+
// 盘点结果
|
56
|
+
{
|
57
|
+
label: "inventoryRecord.inventoryStatus",
|
58
|
+
prop: "inventoryStatus",
|
59
|
+
sortable: "custom",
|
60
|
+
isColumn: !0,
|
61
|
+
slotName: "inventoryStatus",
|
62
|
+
columnType: "slot"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
label: "common.operate",
|
66
|
+
width: "100",
|
67
|
+
slotName: "operation",
|
68
|
+
columnType: "slot",
|
69
|
+
fixed: "right",
|
70
|
+
isColumn: !0
|
71
|
+
}
|
72
|
+
]);
|
73
|
+
const p = b([]);
|
74
|
+
function P(l) {
|
75
|
+
if (l) {
|
76
|
+
if (p.value = l, p.value.length !== 2) return;
|
77
|
+
a.value.inventoryStartTime = S(
|
78
|
+
l[0]
|
79
|
+
).getFullDate(), a.value.inventoryEndTime = S(l[1]).getFullDate(), i.handleQuery();
|
80
|
+
} else
|
81
|
+
N();
|
82
|
+
}
|
83
|
+
function U(l) {
|
84
|
+
i.selectionRows.value = l;
|
85
|
+
}
|
86
|
+
function N() {
|
87
|
+
p.value = [], a.value.inventoryStartTime = "", a.value.inventoryEndTime = "", i.resetQuery();
|
88
|
+
}
|
89
|
+
function Y(l) {
|
90
|
+
T.push({
|
91
|
+
path: "/asset/asset-inventory-record/inventoryInfo",
|
92
|
+
query: { inventoryId: l.inventoryId }
|
93
|
+
});
|
94
|
+
}
|
95
|
+
return i.getList(), (l, t) => {
|
96
|
+
const L = s("el-tree-select"), c = s("el-form-item"), v = s("el-col"), Q = s("el-input"), B = s("jmash-select"), E = s("el-date-picker"), w = s("el-row"), g = s("el-button"), q = s("el-form"), A = s("jmash-column-select"), F = s("jmash-table"), H = s("jmash-pagination"), K = s("el-card"), M = J("hasPerm");
|
97
|
+
return _(), W("div", ne, [
|
98
|
+
d("div", le, [
|
99
|
+
n(q, {
|
100
|
+
ref_key: "queryFormRef",
|
101
|
+
ref: I,
|
102
|
+
model: a.value,
|
103
|
+
inline: !0
|
104
|
+
}, {
|
105
|
+
default: o(() => [
|
106
|
+
n(w, null, {
|
107
|
+
default: o(() => [
|
108
|
+
n(v, { span: 6 }, {
|
109
|
+
default: o(() => [
|
110
|
+
n(c, {
|
111
|
+
label: l.$t("inventoryRecord.orgId"),
|
112
|
+
prop: "orgId"
|
113
|
+
}, {
|
114
|
+
default: o(() => [
|
115
|
+
n(L, {
|
116
|
+
modelValue: a.value.orgId,
|
117
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => a.value.orgId = e),
|
118
|
+
data: r(y).unionOrgBizLayDict.values,
|
119
|
+
filterable: "",
|
120
|
+
clearable: "",
|
121
|
+
"check-strictly": "",
|
122
|
+
"render-after-expand": !1,
|
123
|
+
placeholder: l.$t("inventoryRecord.orgIdPlaceholder"),
|
124
|
+
style: { width: "203px" },
|
125
|
+
onKeyup: t[1] || (t[1] = h((e) => r(i).handleQuery(), ["enter"]))
|
126
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
127
|
+
]),
|
128
|
+
_: 1
|
129
|
+
}, 8, ["label"])
|
130
|
+
]),
|
131
|
+
_: 1
|
132
|
+
}),
|
133
|
+
n(v, { span: 6 }, {
|
134
|
+
default: o(() => [
|
135
|
+
n(c, {
|
136
|
+
label: l.$t("inventoryRecord.siteName"),
|
137
|
+
prop: "likeSiteName"
|
138
|
+
}, {
|
139
|
+
default: o(() => [
|
140
|
+
n(Q, {
|
141
|
+
modelValue: a.value.likeSiteName,
|
142
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => a.value.likeSiteName = e),
|
143
|
+
placeholder: l.$t("inventoryRecord.siteNamePlaceholder"),
|
144
|
+
onKeyup: t[3] || (t[3] = h((e) => r(i).handleQuery(), ["enter"]))
|
145
|
+
}, null, 8, ["modelValue", "placeholder"])
|
146
|
+
]),
|
147
|
+
_: 1
|
148
|
+
}, 8, ["label"])
|
149
|
+
]),
|
150
|
+
_: 1
|
151
|
+
}),
|
152
|
+
n(v, { span: 6 }, {
|
153
|
+
default: o(() => [
|
154
|
+
n(c, {
|
155
|
+
label: l.$t("inventoryRecord.inventoryStatus"),
|
156
|
+
prop: "inventoryStatus"
|
157
|
+
}, {
|
158
|
+
default: o(() => [
|
159
|
+
n(B, {
|
160
|
+
modelValue: a.value.inventoryStatus,
|
161
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => a.value.inventoryStatus = e),
|
162
|
+
placeholder: l.$t("inventoryRecord.inventoryStatus"),
|
163
|
+
data: r(y).inventoryResults.values,
|
164
|
+
onKeyup: t[5] || (t[5] = h((e) => r(i).handleQuery(), ["enter"]))
|
165
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
166
|
+
]),
|
167
|
+
_: 1
|
168
|
+
}, 8, ["label"])
|
169
|
+
]),
|
170
|
+
_: 1
|
171
|
+
}),
|
172
|
+
n(v, { span: 6 }, {
|
173
|
+
default: o(() => [
|
174
|
+
n(c, {
|
175
|
+
label: l.$t("inventoryRecord.inventoryTime"),
|
176
|
+
prop: "inventoryTime"
|
177
|
+
}, {
|
178
|
+
default: o(() => [
|
179
|
+
n(E, {
|
180
|
+
modelValue: p.value,
|
181
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => p.value = e),
|
182
|
+
class: "dropdown-left",
|
183
|
+
type: "daterange",
|
184
|
+
"start-placeholder": l.$t("serviceApptRecord.startDate"),
|
185
|
+
"end-placeholder": l.$t("serviceApptRecord.endDate"),
|
186
|
+
format: "YYYY-MM-DD",
|
187
|
+
onChange: P
|
188
|
+
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
189
|
+
]),
|
190
|
+
_: 1
|
191
|
+
}, 8, ["label"])
|
192
|
+
]),
|
193
|
+
_: 1
|
194
|
+
})
|
195
|
+
]),
|
196
|
+
_: 1
|
197
|
+
}),
|
198
|
+
n(c, { class: "search-btn" }, {
|
199
|
+
default: o(() => [
|
200
|
+
n(g, {
|
201
|
+
type: "primary",
|
202
|
+
onClick: t[7] || (t[7] = (e) => r(i).handleQuery())
|
203
|
+
}, {
|
204
|
+
default: o(() => [
|
205
|
+
R(u(l.$t("common.search")), 1)
|
206
|
+
]),
|
207
|
+
_: 1
|
208
|
+
}),
|
209
|
+
n(g, { onClick: N }, {
|
210
|
+
default: o(() => [
|
211
|
+
R(u(l.$t("common.reset")), 1)
|
212
|
+
]),
|
213
|
+
_: 1
|
214
|
+
})
|
215
|
+
]),
|
216
|
+
_: 1
|
217
|
+
})
|
218
|
+
]),
|
219
|
+
_: 1
|
220
|
+
}, 8, ["model"]),
|
221
|
+
ae
|
222
|
+
]),
|
223
|
+
n(K, {
|
224
|
+
shadow: "never",
|
225
|
+
class: "table-container"
|
226
|
+
}, {
|
227
|
+
header: o(() => [
|
228
|
+
n(w, {
|
229
|
+
justify: "space-between",
|
230
|
+
span: 20
|
231
|
+
}, {
|
232
|
+
default: o(() => [
|
233
|
+
n(v, {
|
234
|
+
span: 24,
|
235
|
+
class: "container-float"
|
236
|
+
}, {
|
237
|
+
default: o(() => [
|
238
|
+
n(A, {
|
239
|
+
modelValue: r(m),
|
240
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => V(m) ? m.value = e : m = e),
|
241
|
+
"label-name": "asset/asset-inventory-record"
|
242
|
+
}, null, 8, ["modelValue"])
|
243
|
+
]),
|
244
|
+
_: 1
|
245
|
+
})
|
246
|
+
]),
|
247
|
+
_: 1
|
248
|
+
})
|
249
|
+
]),
|
250
|
+
footer: o(() => [
|
251
|
+
r(f) > 0 ? (_(), k(H, {
|
252
|
+
key: 0,
|
253
|
+
total: r(f),
|
254
|
+
"onUpdate:total": t[9] || (t[9] = (e) => V(f) ? f.value = e : null),
|
255
|
+
"current-page": a.value.curPage,
|
256
|
+
"onUpdate:currentPage": t[10] || (t[10] = (e) => a.value.curPage = e),
|
257
|
+
"page-size": a.value.pageSize,
|
258
|
+
"onUpdate:pageSize": t[11] || (t[11] = (e) => a.value.pageSize = e),
|
259
|
+
onPagination: t[12] || (t[12] = (e) => r(i).getList())
|
260
|
+
}, null, 8, ["total", "current-page", "page-size"])) : X("", !0)
|
261
|
+
]),
|
262
|
+
default: o(() => [
|
263
|
+
n(F, {
|
264
|
+
ref_key: "multipleTableRef",
|
265
|
+
ref: $,
|
266
|
+
class: "table-top",
|
267
|
+
"row-key": "inventoryId",
|
268
|
+
"list-loading": r(j),
|
269
|
+
data: r(z),
|
270
|
+
"table-label": r(m),
|
271
|
+
onSelectionChange: U
|
272
|
+
}, {
|
273
|
+
orgId: o((e) => [
|
274
|
+
d("span", null, u(r(y).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
|
275
|
+
]),
|
276
|
+
siteName: o((e) => [
|
277
|
+
d("span", null, u(e.data.row.siteName), 1)
|
278
|
+
]),
|
279
|
+
inventoryTime: o((e) => [
|
280
|
+
d("span", null, u(r(D).$moment.formatDate(
|
281
|
+
e.data.row.inventoryTime,
|
282
|
+
"YYYY-MM-DD HH:mm"
|
283
|
+
)), 1)
|
284
|
+
]),
|
285
|
+
userName: o((e) => [
|
286
|
+
d("span", null, u(e.data.row.userName), 1)
|
287
|
+
]),
|
288
|
+
inventoryStatus: o((e) => [
|
289
|
+
d("span", null, u(r(y).inventoryResults.getEnumValue(e.data.row.inventoryStatus)), 1)
|
290
|
+
]),
|
291
|
+
inventoryNote: o((e) => [
|
292
|
+
d("span", null, u(e.data.row.inventoryNote), 1)
|
293
|
+
]),
|
294
|
+
operation: o((e) => [
|
295
|
+
Z((_(), k(g, {
|
296
|
+
type: "primary",
|
297
|
+
size: "small",
|
298
|
+
link: "",
|
299
|
+
onClick: (se) => Y(e.data.row)
|
300
|
+
}, {
|
301
|
+
default: o(() => [
|
302
|
+
R(u(l.$t("common.view")), 1)
|
303
|
+
]),
|
304
|
+
_: 2
|
305
|
+
}, 1032, ["onClick"])), [
|
306
|
+
[M, ["asset:inventory_record:view"]]
|
307
|
+
])
|
308
|
+
]),
|
309
|
+
_: 1
|
310
|
+
}, 8, ["list-loading", "data", "table-label"])
|
311
|
+
]),
|
312
|
+
_: 1
|
313
|
+
})
|
314
|
+
]);
|
315
|
+
};
|
316
|
+
}
|
317
|
+
});
|
318
|
+
export {
|
319
|
+
ye as default
|
320
|
+
};
|