xyvcard-asset 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{assign-DzQUNp-Y.mjs → assign-4SD6S-Fb.mjs} +1 -1
- package/dist/common-CshrwPyx.mjs +26 -0
- package/dist/{edit-O1D_xFra.mjs → edit-BWhOgMw-.mjs} +1 -1
- package/dist/{edit-FdqpKRgF.mjs → edit-C4aYV45m.mjs} +2 -2
- package/dist/{edit-CCrekeeb.mjs → edit-CZujIURb.mjs} +1 -1
- package/dist/{edit-Dn-QMuy6.mjs → edit-DPssVAky.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs → edit.vue_vue_type_script_setup_true_lang-6j8bVbef.mjs} +2 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs → edit.vue_vue_type_script_setup_true_lang-CjH6sYw4.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-sE0fN_pL.mjs → edit.vue_vue_type_script_setup_true_lang-CrrY9V5d.mjs} +115 -106
- package/dist/{index-De4u-LEl.mjs → index-4vX1fgzo.mjs} +2 -2
- package/dist/{index-B4vUTwSW.mjs → index-8j66ouA1.mjs} +1 -1
- package/dist/{index-DElPNxc7.mjs → index-BxfpD3CM.mjs} +2 -2
- package/dist/{index-CSMEsPcN.mjs → index-Bz6eEggE.mjs} +3 -3
- package/dist/{index-BpYjnXUI.mjs → index-C1U7BVdL.mjs} +2 -2
- package/dist/{index-BWwU9hSp.mjs → index-CDYXKnyU.mjs} +2 -2
- package/dist/{index-BK24yagy.mjs → index-CGds22-2.mjs} +145 -136
- package/dist/{index-axEqTssj.mjs → index-CKF69gMl.mjs} +3 -3
- package/dist/{index-jOcS7tqC.mjs → index-Cz4CVX5Y.mjs} +2 -2
- package/dist/{index-BvKWLFdr.mjs → index-DIKzzLQ2.mjs} +2 -2
- package/dist/{index-CgAq70-p.mjs → index-DfOZUIkb.mjs} +1 -1
- package/dist/{index-C5_f5Lce.mjs → index-Ds5MwEwr.mjs} +1 -1
- package/dist/{index-BW-5IuVN.mjs → index-_uK0Hvab.mjs} +1 -1
- package/dist/{index-FUnFB7nG.mjs → index-rSyUfdXn.mjs} +1 -1
- package/dist/index.mjs +102 -102
- package/dts/api/asset/asset-site-service/index.d.ts +2 -1
- package/dts/api/asset/asset-site-service/types.d.ts +14 -1
- package/dts/components/Upload/ImageUpload.vue.d.ts +1 -1
- package/dts/utils/common.d.ts +4 -0
- package/package.json +1 -1
- package/dist/common-kbgEWG-E.mjs +0 -24
- package/dist/index copy-CxTCJcvX.mjs +0 -75
- package/dist/index-GhvyIwc3.mjs +0 -4
- package/dist/index-pfeu6d82.mjs +0 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +0 -110
- package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +0 -54
- package/dist/index/345/244/207/344/273/275-BfKo5eBT.mjs +0 -323
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
31
31
|
onFilesResponse?: ((...args: any[]) => any) | undefined;
|
32
32
|
onUploadFileList?: ((...args: any[]) => any) | undefined;
|
33
33
|
}, {
|
34
|
-
listType: "
|
34
|
+
listType: "text" | "picture" | "picture-card";
|
35
35
|
limit: number;
|
36
36
|
pictureUrl: unknown[];
|
37
37
|
}, {}>;
|
package/dts/utils/common.d.ts
CHANGED
@@ -49,3 +49,7 @@ export declare function traverseTreeRecursively(id: string, node: any): any;
|
|
49
49
|
* @returns 返回拼接后的字符串
|
50
50
|
*/
|
51
51
|
export declare function treeData(node: any, key?: string): string | null;
|
52
|
+
/**
|
53
|
+
* 将"09:00:00"/"09:00" /"09" 时间字符串转换为Date对象
|
54
|
+
*/
|
55
|
+
export declare function convertToDate(timeString: string): Date;
|
package/package.json
CHANGED
package/dist/common-kbgEWG-E.mjs
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
function D(r, e = 0, a = 0, c = 0) {
|
2
|
-
const t = new Date(r);
|
3
|
-
t.setFullYear(Number(t.getFullYear()) + Number(e)), t.setMonth(t.getMonth() + a), t.setDate(t.getDate() + c);
|
4
|
-
const o = t.getFullYear(), n = t.getMonth() + 1, u = t.getDate();
|
5
|
-
return {
|
6
|
-
getYear: function() {
|
7
|
-
return o;
|
8
|
-
},
|
9
|
-
getMonth: function() {
|
10
|
-
return o + "-" + (n < 10 ? "0" : "") + n;
|
11
|
-
},
|
12
|
-
getFullDate: function() {
|
13
|
-
return o + "-" + (n < 10 ? "0" : "") + n + "-" + (u < 10 ? "0" : "") + u;
|
14
|
-
}
|
15
|
-
};
|
16
|
-
}
|
17
|
-
function i(r) {
|
18
|
-
const e = new Date(r);
|
19
|
-
return e.getHours() + ":" + e.getMinutes() + ":" + e.getSeconds();
|
20
|
-
}
|
21
|
-
export {
|
22
|
-
D as c,
|
23
|
-
i as r
|
24
|
-
};
|
@@ -1,75 +0,0 @@
|
|
1
|
-
import { defineComponent as g, ref as t, reactive as r, resolveComponent as a, openBlock as C, createBlock as x, unref as e, isRef as V, withCtx as u, createVNode as s, createElementVNode as k } from "vue";
|
2
|
-
const h = /* @__PURE__ */ g({
|
3
|
-
__name: "index copy",
|
4
|
-
setup(D) {
|
5
|
-
const c = t(), m = t(), n = r({
|
6
|
-
people: [
|
7
|
-
{
|
8
|
-
required: !0,
|
9
|
-
message: "请选择人员",
|
10
|
-
trigger: "blur"
|
11
|
-
}
|
12
|
-
]
|
13
|
-
}), o = r({
|
14
|
-
label: "选择人员",
|
15
|
-
prop: "people",
|
16
|
-
// 模糊查询人员
|
17
|
-
peopleTableData: [
|
18
|
-
// {
|
19
|
-
// key: "1",
|
20
|
-
// value: "张三",
|
21
|
-
// label: "张三",
|
22
|
-
// },
|
23
|
-
// {
|
24
|
-
// key: "2",
|
25
|
-
// value: "里斯",
|
26
|
-
// label: "里斯",
|
27
|
-
// },
|
28
|
-
// {
|
29
|
-
// key: "3",
|
30
|
-
// value: "王五",
|
31
|
-
// label: "王五",
|
32
|
-
// },
|
33
|
-
]
|
34
|
-
});
|
35
|
-
function d() {
|
36
|
-
m.value.saveCommitteeChange(), l.value = !1;
|
37
|
-
}
|
38
|
-
const l = t(!0);
|
39
|
-
function f() {
|
40
|
-
l.value && (l.value = !1);
|
41
|
-
}
|
42
|
-
return (P, p) => {
|
43
|
-
const i = a("PeopleSelect"), _ = a("el-form"), b = a("el-dialog");
|
44
|
-
return C(), x(b, {
|
45
|
-
modelValue: e(l),
|
46
|
-
"onUpdate:modelValue": p[0] || (p[0] = (v) => V(l) ? l.value = v : null),
|
47
|
-
onClose: f
|
48
|
-
}, {
|
49
|
-
default: u(() => [
|
50
|
-
s(_, {
|
51
|
-
ref: "FormRef",
|
52
|
-
model: e(c),
|
53
|
-
"label-width": "120px",
|
54
|
-
rules: e(n)
|
55
|
-
}, {
|
56
|
-
default: u(() => [
|
57
|
-
s(i, {
|
58
|
-
label: e(o).label,
|
59
|
-
prop: e(o).prop,
|
60
|
-
rules: e(n),
|
61
|
-
"people-table-data": e(o).peopleTableData
|
62
|
-
}, null, 8, ["label", "prop", "rules", "people-table-data"])
|
63
|
-
]),
|
64
|
-
_: 1
|
65
|
-
}, 8, ["model", "rules"]),
|
66
|
-
k("button", { onClick: d }, "弹框按钮触发组件提交事件")
|
67
|
-
]),
|
68
|
-
_: 1
|
69
|
-
}, 8, ["modelValue"]);
|
70
|
-
};
|
71
|
-
}
|
72
|
-
});
|
73
|
-
export {
|
74
|
-
h as default
|
75
|
-
};
|
package/dist/index-GhvyIwc3.mjs
DELETED
package/dist/index-pfeu6d82.mjs
DELETED
@@ -1,110 +0,0 @@
|
|
1
|
-
import { defineComponent as x, ref as a, reactive as u, resolveComponent as p, openBlock as C, createBlock as w, unref as l, isRef as D, withCtx as d, createVNode as r, createElementVNode as i, toDisplayString as R } from "vue";
|
2
|
-
const j = /* @__PURE__ */ x({
|
3
|
-
__name: "index",
|
4
|
-
setup(S) {
|
5
|
-
const c = a(), m = a([]);
|
6
|
-
console.log("父组件的selectPeoples---", m.value);
|
7
|
-
function f(t) {
|
8
|
-
console.log("子组件的getValue---", t), n.selectPeoples = t;
|
9
|
-
}
|
10
|
-
const n = u({
|
11
|
-
selectPeoples: []
|
12
|
-
}), _ = u({
|
13
|
-
people: [
|
14
|
-
{
|
15
|
-
required: !0,
|
16
|
-
message: "请选择人员",
|
17
|
-
trigger: "blur"
|
18
|
-
}
|
19
|
-
]
|
20
|
-
}), v = u({
|
21
|
-
label: "选择人员",
|
22
|
-
prop: "people",
|
23
|
-
// 模糊查询人员
|
24
|
-
peopleTableData: [
|
25
|
-
{
|
26
|
-
key: "1",
|
27
|
-
value: "张三",
|
28
|
-
label: "张三",
|
29
|
-
deep: "测试",
|
30
|
-
position: "测试工程师"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
key: "2",
|
34
|
-
value: "里斯",
|
35
|
-
label: "里斯",
|
36
|
-
deep: "前端部",
|
37
|
-
position: "前端工程师"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
key: "6",
|
41
|
-
value: "里斯",
|
42
|
-
label: "里斯",
|
43
|
-
deep: "前端部",
|
44
|
-
position: "前端工程师"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
key: "3",
|
48
|
-
value: "王五",
|
49
|
-
label: "王五",
|
50
|
-
deep: "java",
|
51
|
-
position: "实习"
|
52
|
-
}
|
53
|
-
],
|
54
|
-
deptId: "1"
|
55
|
-
});
|
56
|
-
function g() {
|
57
|
-
var t;
|
58
|
-
(t = c.value) == null || t.validate((e) => {
|
59
|
-
console.log(e), e && (o.value = !1);
|
60
|
-
});
|
61
|
-
}
|
62
|
-
const o = a(!0);
|
63
|
-
function b() {
|
64
|
-
o.value && (o.value = !1);
|
65
|
-
}
|
66
|
-
return (t, e) => {
|
67
|
-
const P = p("PeopleSelect"), V = p("el-form-item"), k = p("el-form"), y = p("el-dialog");
|
68
|
-
return C(), w(y, {
|
69
|
-
modelValue: l(o),
|
70
|
-
"onUpdate:modelValue": e[1] || (e[1] = (s) => D(o) ? o.value = s : null),
|
71
|
-
onClose: b
|
72
|
-
}, {
|
73
|
-
default: d(() => [
|
74
|
-
r(k, {
|
75
|
-
ref_key: "FormRef",
|
76
|
-
ref: c,
|
77
|
-
model: l(n),
|
78
|
-
"label-width": "120px",
|
79
|
-
rules: l(_)
|
80
|
-
}, {
|
81
|
-
default: d(() => [
|
82
|
-
r(V, {
|
83
|
-
label: "选择人员",
|
84
|
-
prop: "people"
|
85
|
-
}, {
|
86
|
-
default: d(() => [
|
87
|
-
r(P, {
|
88
|
-
modelValue: l(n).selectPeoples,
|
89
|
-
"onUpdate:modelValue": e[0] || (e[0] = (s) => l(n).selectPeoples = s),
|
90
|
-
"dept-id": l(v).deptId,
|
91
|
-
style: { width: "500px" },
|
92
|
-
onUpdatePeoples: f
|
93
|
-
}, null, 8, ["modelValue", "dept-id"]),
|
94
|
-
i("span", null, "子组件值--" + R(l(n).selectPeoples), 1)
|
95
|
-
]),
|
96
|
-
_: 1
|
97
|
-
})
|
98
|
-
]),
|
99
|
-
_: 1
|
100
|
-
}, 8, ["model", "rules"]),
|
101
|
-
i("button", { onClick: g }, "弹框按钮触发组件提交事件")
|
102
|
-
]),
|
103
|
-
_: 1
|
104
|
-
}, 8, ["modelValue"]);
|
105
|
-
};
|
106
|
-
}
|
107
|
-
});
|
108
|
-
export {
|
109
|
-
j as _
|
110
|
-
};
|
@@ -1,54 +0,0 @@
|
|
1
|
-
import { defineComponent as v, reactive as t, useModel as V, resolveComponent as o, openBlock as g, createBlock as x, withCtx as n, createVNode as a, unref as r, createElementVNode as C } from "vue";
|
2
|
-
const B = /* @__PURE__ */ v({
|
3
|
-
__name: "index",
|
4
|
-
props: {
|
5
|
-
modelValue: { type: Boolean },
|
6
|
-
modelModifiers: {}
|
7
|
-
},
|
8
|
-
emits: ["update:modelValue"],
|
9
|
-
setup(u) {
|
10
|
-
const d = t({}), e = V(u, "modelValue"), s = t({
|
11
|
-
people: [
|
12
|
-
{
|
13
|
-
required: !0,
|
14
|
-
message: "请选择人员",
|
15
|
-
trigger: "blur"
|
16
|
-
}
|
17
|
-
]
|
18
|
-
});
|
19
|
-
function m() {
|
20
|
-
e.value = !1;
|
21
|
-
}
|
22
|
-
function p() {
|
23
|
-
e.value && (e.value = !1);
|
24
|
-
}
|
25
|
-
return (b, l) => {
|
26
|
-
const c = o("dept-people-select"), i = o("el-form"), f = o("el-dialog");
|
27
|
-
return g(), x(f, {
|
28
|
-
modelValue: e.value,
|
29
|
-
"onUpdate:modelValue": l[0] || (l[0] = (_) => e.value = _),
|
30
|
-
title: "选择人员",
|
31
|
-
onClose: p
|
32
|
-
}, {
|
33
|
-
default: n(() => [
|
34
|
-
a(i, {
|
35
|
-
ref: "FormRef",
|
36
|
-
model: r(d),
|
37
|
-
"label-width": "120px",
|
38
|
-
rules: r(s)
|
39
|
-
}, {
|
40
|
-
default: n(() => [
|
41
|
-
a(c)
|
42
|
-
]),
|
43
|
-
_: 1
|
44
|
-
}, 8, ["model", "rules"]),
|
45
|
-
C("button", { onClick: m }, "弹框按钮触发组件提交事件")
|
46
|
-
]),
|
47
|
-
_: 1
|
48
|
-
}, 8, ["modelValue"]);
|
49
|
-
};
|
50
|
-
}
|
51
|
-
});
|
52
|
-
export {
|
53
|
-
B as _
|
54
|
-
};
|
@@ -1,323 +0,0 @@
|
|
1
|
-
import { defineComponent as x, ref as m, getCurrentInstance as ee, resolveComponent as i, resolveDirective as te, openBlock as f, createElementBlock as oe, createElementVNode as u, createVNode as n, withCtx as l, unref as r, withKeys as R, createTextVNode as w, toDisplayString as d, isRef as $, createBlock as V, createCommentVNode as N, withDirectives as le } from "vue";
|
2
|
-
import { _ as ne } from "./index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs";
|
3
|
-
import { _ as ae } from "./index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs";
|
4
|
-
import { useTableHooks as re } from "jmash-core";
|
5
|
-
import { useI18n as ie } from "vue-i18n";
|
6
|
-
import { c as C } from "./common-kbgEWG-E.mjs";
|
7
|
-
import { i as se } from "./index-Dyo7je0Z.mjs";
|
8
|
-
import { D as b } from "./index-BK24yagy.mjs";
|
9
|
-
import { useRouter as ue } from "vue-router";
|
10
|
-
const de = { class: "app-container" }, me = { class: "search-container" }, we = /* @__PURE__ */ x({
|
11
|
-
__name: "index备份",
|
12
|
-
setup(pe) {
|
13
|
-
const h = m([
|
14
|
-
"72ca779c-4463-411c-866c-98fdedfb5d36",
|
15
|
-
"933f2a2d-078b-415d-8610-657084466c1f"
|
16
|
-
]), p = m(!1);
|
17
|
-
function D(o) {
|
18
|
-
console.log("ceshi", o), p.value = !1, s.getList();
|
19
|
-
}
|
20
|
-
const g = m(!1), { proxy: T } = ee(), I = ue(), { t: P } = ie();
|
21
|
-
b.unionOrgBizLayDict.useValues();
|
22
|
-
const a = m({}), {
|
23
|
-
tableHooks: s,
|
24
|
-
multipleTableRef: U,
|
25
|
-
queryFormRef: j,
|
26
|
-
listLoading: z,
|
27
|
-
tableData: A,
|
28
|
-
total: _
|
29
|
-
} = re(P, se, a);
|
30
|
-
let v = m([
|
31
|
-
// 所属工会
|
32
|
-
{
|
33
|
-
label: "inventoryRecord.orgId",
|
34
|
-
prop: "orgId",
|
35
|
-
sortable: "custom",
|
36
|
-
isColumn: !0,
|
37
|
-
slotName: "orgId",
|
38
|
-
columnType: "slot"
|
39
|
-
},
|
40
|
-
// 场地名称
|
41
|
-
{
|
42
|
-
label: "inventoryRecord.siteName",
|
43
|
-
prop: "siteName",
|
44
|
-
sortable: "custom",
|
45
|
-
isColumn: !0
|
46
|
-
},
|
47
|
-
// 盘点时间
|
48
|
-
{
|
49
|
-
label: "inventoryRecord.inventoryTime",
|
50
|
-
prop: "inventoryTime",
|
51
|
-
sortable: "custom",
|
52
|
-
isColumn: !0,
|
53
|
-
slotName: "inventoryTime",
|
54
|
-
columnType: "slot"
|
55
|
-
},
|
56
|
-
// 盘点人
|
57
|
-
{
|
58
|
-
label: "inventoryRecord.userName",
|
59
|
-
prop: "userName",
|
60
|
-
width: "150",
|
61
|
-
sortable: "custom",
|
62
|
-
isColumn: !0
|
63
|
-
},
|
64
|
-
// 盘点结果
|
65
|
-
{
|
66
|
-
label: "inventoryRecord.inventoryStatus",
|
67
|
-
prop: "inventoryStatus",
|
68
|
-
sortable: "custom",
|
69
|
-
isColumn: !0,
|
70
|
-
slotName: "inventoryStatus",
|
71
|
-
columnType: "slot"
|
72
|
-
},
|
73
|
-
{
|
74
|
-
label: "common.operate",
|
75
|
-
width: "100",
|
76
|
-
slotName: "operation",
|
77
|
-
columnType: "slot",
|
78
|
-
fixed: "right",
|
79
|
-
isColumn: !0
|
80
|
-
}
|
81
|
-
]);
|
82
|
-
const c = m([]);
|
83
|
-
function B(o) {
|
84
|
-
if (o) {
|
85
|
-
if (c.value = o, c.value.length !== 2) return;
|
86
|
-
a.value.inventoryStartTime = C(
|
87
|
-
o[0]
|
88
|
-
).getFullDate(), a.value.inventoryEndTime = C(o[1]).getFullDate(), s.handleQuery();
|
89
|
-
} else
|
90
|
-
S();
|
91
|
-
}
|
92
|
-
function L(o) {
|
93
|
-
s.selectionRows.value = o;
|
94
|
-
}
|
95
|
-
function S() {
|
96
|
-
c.value = [], a.value.inventoryStartTime = "", a.value.inventoryEndTime = "", s.resetQuery();
|
97
|
-
}
|
98
|
-
function Y(o) {
|
99
|
-
I.push({
|
100
|
-
path: "/asset/asset-inventory-record/inventoryInfo",
|
101
|
-
query: { inventoryId: o.inventoryId }
|
102
|
-
});
|
103
|
-
}
|
104
|
-
return s.getList(), (o, t) => {
|
105
|
-
const Q = i("el-tree-select"), y = i("el-form-item"), E = i("el-input"), q = i("jmash-select"), F = i("el-date-picker"), k = i("el-button"), H = i("el-form"), K = i("jmash-column-select"), M = i("el-col"), O = i("el-row"), G = i("jmash-table"), J = i("jmash-pagination"), W = i("el-card"), X = i("PeopleSelect"), Z = te("hasPerm");
|
106
|
-
return f(), oe("div", de, [
|
107
|
-
u("div", me, [
|
108
|
-
n(H, {
|
109
|
-
ref_key: "queryFormRef",
|
110
|
-
ref: j,
|
111
|
-
model: a.value,
|
112
|
-
inline: !0
|
113
|
-
}, {
|
114
|
-
default: l(() => [
|
115
|
-
n(y, {
|
116
|
-
label: o.$t("inventoryRecord.orgId"),
|
117
|
-
prop: "orgId"
|
118
|
-
}, {
|
119
|
-
default: l(() => [
|
120
|
-
n(Q, {
|
121
|
-
modelValue: a.value.orgId,
|
122
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) => a.value.orgId = e),
|
123
|
-
data: r(b).unionOrgBizLayDict.values,
|
124
|
-
filterable: "",
|
125
|
-
clearable: "",
|
126
|
-
"check-strictly": "",
|
127
|
-
"render-after-expand": !1,
|
128
|
-
placeholder: o.$t("inventoryRecord.orgIdPlaceholder"),
|
129
|
-
class: "!w-[203px]",
|
130
|
-
onKeyup: t[1] || (t[1] = R((e) => r(s).handleQuery(), ["enter"]))
|
131
|
-
}, null, 8, ["modelValue", "data", "placeholder"])
|
132
|
-
]),
|
133
|
-
_: 1
|
134
|
-
}, 8, ["label"]),
|
135
|
-
n(y, {
|
136
|
-
label: o.$t("inventoryRecord.siteName"),
|
137
|
-
prop: "likeSiteName"
|
138
|
-
}, {
|
139
|
-
default: l(() => [
|
140
|
-
n(E, {
|
141
|
-
modelValue: a.value.likeSiteName,
|
142
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) => a.value.likeSiteName = e),
|
143
|
-
placeholder: o.$t("inventoryRecord.siteNamePlaceholder"),
|
144
|
-
onKeyup: t[3] || (t[3] = R((e) => r(s).handleQuery(), ["enter"]))
|
145
|
-
}, null, 8, ["modelValue", "placeholder"])
|
146
|
-
]),
|
147
|
-
_: 1
|
148
|
-
}, 8, ["label"]),
|
149
|
-
n(y, {
|
150
|
-
label: o.$t("inventoryRecord.inventoryStatus"),
|
151
|
-
prop: "inventoryStatus"
|
152
|
-
}, {
|
153
|
-
default: l(() => [
|
154
|
-
n(q, {
|
155
|
-
modelValue: a.value.inventoryStatus,
|
156
|
-
"onUpdate:modelValue": t[4] || (t[4] = (e) => a.value.inventoryStatus = e),
|
157
|
-
placeholder: o.$t("inventoryRecord.inventoryStatus"),
|
158
|
-
data: r(b).inventoryResults.values,
|
159
|
-
onKeyup: t[5] || (t[5] = R((e) => r(s).handleQuery(), ["enter"]))
|
160
|
-
}, null, 8, ["modelValue", "placeholder", "data"])
|
161
|
-
]),
|
162
|
-
_: 1
|
163
|
-
}, 8, ["label"]),
|
164
|
-
n(y, {
|
165
|
-
label: o.$t("inventoryRecord.inventoryTime"),
|
166
|
-
prop: "inventoryTime"
|
167
|
-
}, {
|
168
|
-
default: l(() => [
|
169
|
-
n(F, {
|
170
|
-
modelValue: c.value,
|
171
|
-
"onUpdate:modelValue": t[6] || (t[6] = (e) => c.value = e),
|
172
|
-
class: "dropdown-left",
|
173
|
-
type: "daterange",
|
174
|
-
"start-placeholder": o.$t("serviceApptRecord.startDate"),
|
175
|
-
"end-placeholder": o.$t("serviceApptRecord.endDate"),
|
176
|
-
format: "YYYY-MM-DD",
|
177
|
-
onChange: B
|
178
|
-
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
179
|
-
]),
|
180
|
-
_: 1
|
181
|
-
}, 8, ["label"]),
|
182
|
-
n(y, { class: "search-btn" }, {
|
183
|
-
default: l(() => [
|
184
|
-
n(k, {
|
185
|
-
type: "primary",
|
186
|
-
onClick: t[7] || (t[7] = (e) => r(s).handleQuery())
|
187
|
-
}, {
|
188
|
-
default: l(() => [
|
189
|
-
w(d(o.$t("common.search")), 1)
|
190
|
-
]),
|
191
|
-
_: 1
|
192
|
-
}),
|
193
|
-
n(k, { onClick: S }, {
|
194
|
-
default: l(() => [
|
195
|
-
w(d(o.$t("common.reset")), 1)
|
196
|
-
]),
|
197
|
-
_: 1
|
198
|
-
})
|
199
|
-
]),
|
200
|
-
_: 1
|
201
|
-
})
|
202
|
-
]),
|
203
|
-
_: 1
|
204
|
-
}, 8, ["model"])
|
205
|
-
]),
|
206
|
-
n(W, {
|
207
|
-
shadow: "never",
|
208
|
-
class: "table-container"
|
209
|
-
}, {
|
210
|
-
header: l(() => [
|
211
|
-
n(O, {
|
212
|
-
justify: "space-between",
|
213
|
-
span: 20
|
214
|
-
}, {
|
215
|
-
default: l(() => [
|
216
|
-
n(M, {
|
217
|
-
span: 24,
|
218
|
-
class: "container-float"
|
219
|
-
}, {
|
220
|
-
default: l(() => [
|
221
|
-
n(K, {
|
222
|
-
modelValue: r(v),
|
223
|
-
"onUpdate:modelValue": t[8] || (t[8] = (e) => $(v) ? v.value = e : v = e),
|
224
|
-
"label-name": "asset/asset-inventory-record"
|
225
|
-
}, null, 8, ["modelValue"])
|
226
|
-
]),
|
227
|
-
_: 1
|
228
|
-
})
|
229
|
-
]),
|
230
|
-
_: 1
|
231
|
-
})
|
232
|
-
]),
|
233
|
-
footer: l(() => [
|
234
|
-
r(_) > 0 ? (f(), V(J, {
|
235
|
-
key: 0,
|
236
|
-
total: r(_),
|
237
|
-
"onUpdate:total": t[9] || (t[9] = (e) => $(_) ? _.value = e : null),
|
238
|
-
"current-page": a.value.curPage,
|
239
|
-
"onUpdate:currentPage": t[10] || (t[10] = (e) => a.value.curPage = e),
|
240
|
-
"page-size": a.value.pageSize,
|
241
|
-
"onUpdate:pageSize": t[11] || (t[11] = (e) => a.value.pageSize = e),
|
242
|
-
onPagination: t[12] || (t[12] = (e) => r(s).getList())
|
243
|
-
}, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
|
244
|
-
]),
|
245
|
-
default: l(() => [
|
246
|
-
n(G, {
|
247
|
-
ref_key: "multipleTableRef",
|
248
|
-
ref: U,
|
249
|
-
class: "table-top",
|
250
|
-
"row-key": "inventoryId",
|
251
|
-
"list-loading": r(z),
|
252
|
-
data: r(A),
|
253
|
-
"table-label": r(v),
|
254
|
-
onSelectionChange: L
|
255
|
-
}, {
|
256
|
-
orgId: l((e) => [
|
257
|
-
u("span", null, d(r(b).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
|
258
|
-
]),
|
259
|
-
siteName: l((e) => [
|
260
|
-
u("span", null, d(e.data.row.siteName), 1)
|
261
|
-
]),
|
262
|
-
inventoryTime: l((e) => [
|
263
|
-
u("span", null, d(r(T).$moment.formatDate(
|
264
|
-
e.data.row.inventoryTime,
|
265
|
-
"YYYY-MM-DD HH:mm"
|
266
|
-
)), 1)
|
267
|
-
]),
|
268
|
-
userName: l((e) => [
|
269
|
-
u("span", null, d(e.data.row.userName), 1)
|
270
|
-
]),
|
271
|
-
inventoryStatus: l((e) => [
|
272
|
-
u("span", null, d(r(b).inventoryResults.getEnumValue(e.data.row.inventoryStatus)), 1)
|
273
|
-
]),
|
274
|
-
inventoryNote: l((e) => [
|
275
|
-
u("span", null, d(e.data.row.inventoryNote), 1)
|
276
|
-
]),
|
277
|
-
operation: l((e) => [
|
278
|
-
le((f(), V(k, {
|
279
|
-
type: "primary",
|
280
|
-
size: "small",
|
281
|
-
link: "",
|
282
|
-
onClick: (ve) => Y(e.data.row)
|
283
|
-
}, {
|
284
|
-
default: l(() => [
|
285
|
-
w(d(o.$t("common.view")), 1)
|
286
|
-
]),
|
287
|
-
_: 2
|
288
|
-
}, 1032, ["onClick"])), [
|
289
|
-
[Z, ["asset:inventory_record:view"]]
|
290
|
-
])
|
291
|
-
]),
|
292
|
-
_: 1
|
293
|
-
}, 8, ["list-loading", "data", "table-label"])
|
294
|
-
]),
|
295
|
-
_: 1
|
296
|
-
}),
|
297
|
-
u("button", {
|
298
|
-
onClick: t[13] || (t[13] = (e) => p.value = !0)
|
299
|
-
}, "测试弹框按钮A"),
|
300
|
-
p.value ? (f(), V(ne, {
|
301
|
-
key: 0,
|
302
|
-
modelValue: p.value,
|
303
|
-
"onUpdate:modelValue": t[14] || (t[14] = (e) => p.value = e),
|
304
|
-
width: "700px",
|
305
|
-
onRefreshA: D
|
306
|
-
}, null, 8, ["modelValue"])) : N("", !0),
|
307
|
-
u("button", {
|
308
|
-
onClick: t[15] || (t[15] = (e) => g.value = !0)
|
309
|
-
}, "测试弹框组件B"),
|
310
|
-
g.value ? (f(), V(ae, {
|
311
|
-
key: 1,
|
312
|
-
modelValue: g.value,
|
313
|
-
"onUpdate:modelValue": t[16] || (t[16] = (e) => g.value = e),
|
314
|
-
width: "1000px"
|
315
|
-
}, null, 8, ["modelValue"])) : N("", !0),
|
316
|
-
n(X, { "dept-id": h.value }, null, 8, ["dept-id"])
|
317
|
-
]);
|
318
|
-
};
|
319
|
-
}
|
320
|
-
});
|
321
|
-
export {
|
322
|
-
we as default
|
323
|
-
};
|