xyvcard-asset 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{assign-BLa-fXcy.mjs → assign-DzQUNp-Y.mjs} +26 -26
- package/dist/{edit-DmRG7fo0.mjs → edit-DdzPtYyH.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs → edit.vue_vue_type_script_setup_true_lang-BP4-GiBE.mjs} +33 -33
- package/dist/{index copy-Di49EjkG.mjs → index copy-CxTCJcvX.mjs } +21 -22
- package/dist/{index-xyCxQquE.mjs → index-CSMEsPcN.mjs} +1 -1
- package/dist/{index-DeBZxOsC.mjs → index-CugJCeed.mjs} +2 -1
- package/dist/{index-ByVysHgI.mjs → index-GhvyIwc3.mjs} +1 -1
- package/dist/{index-qQuyprvx.mjs → index-pfeu6d82.mjs} +1 -1
- package/dist/index.mjs +2 -1
- 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-CaiMDP8J.mjs → 275-BfKo5eBT.mjs} +84 -80
- package/dist/style.css +1 -1
- package/dts/App.vue.d.ts +2 -0
- package/dts/api/asset/asset-asset/index.d.ts +25 -0
- package/dts/api/asset/asset-asset/types.d.ts +109 -0
- 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 +9 -0
- package/dts/api/asset/asset-service-appt-member/types.d.ts +28 -0
- package/dts/api/asset/asset-service-appt-record/index.d.ts +9 -0
- package/dts/api/asset/asset-service-appt-record/types.d.ts +37 -0
- package/dts/api/asset/asset-site/index.d.ts +14 -0
- package/dts/api/asset/asset-site/types.d.ts +71 -0
- package/dts/api/asset/asset-site-service/index.d.ts +13 -0
- package/dts/api/asset/asset-site-service/types.d.ts +81 -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 +19 -0
- package/dts/api/index.d.ts +16 -0
- package/dts/components/PeopleSelectAsset/index.vue.d.ts +18 -0
- package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +14 -0
- package/dts/constant.d.ts +19 -0
- package/dts/index.d.ts +6 -0
- package/dts/lang/asset/en.d.ts +2 -0
- package/dts/lang/asset/zh-cn.d.ts +150 -0
- package/dts/lang/index.d.ts +1 -0
- package/dts/main.d.ts +4 -0
- package/dts/permission.d.ts +1 -0
- package/dts/router/page.d.ts +8 -0
- package/dts/utils/common.d.ts +51 -0
- package/dts/utils/index.d.ts +24 -0
- package/dts/utils/momentPlugin.d.ts +5 -0
- package/dts/views/asset/asset-asset/assign.vue.d.ts +29 -0
- package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-asset/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +20 -0
- 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/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
- package/package.json +3 -3
- package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +0 -274
- package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +0 -120
- package/dist/index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs +0 -105
@@ -0,0 +1,110 @@
|
|
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
|
+
};
|
@@ -0,0 +1,54 @@
|
|
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,30 +1,33 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { _ as
|
3
|
-
import { _ as
|
4
|
-
import { useTableHooks as
|
5
|
-
import { useI18n as
|
6
|
-
import { c as
|
7
|
-
import { i as
|
8
|
-
import { D as
|
9
|
-
import { useRouter as
|
10
|
-
const
|
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
11
|
__name: "index备份",
|
12
|
-
setup(
|
13
|
-
const
|
14
|
-
|
15
|
-
|
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();
|
16
19
|
}
|
17
|
-
const
|
18
|
-
|
19
|
-
const a =
|
20
|
+
const g = m(!1), { proxy: T } = ee(), I = ue(), { t: P } = ie();
|
21
|
+
b.unionOrgBizLayDict.useValues();
|
22
|
+
const a = m({}), {
|
20
23
|
tableHooks: s,
|
21
24
|
multipleTableRef: U,
|
22
25
|
queryFormRef: j,
|
23
26
|
listLoading: z,
|
24
|
-
tableData:
|
27
|
+
tableData: A,
|
25
28
|
total: _
|
26
|
-
} =
|
27
|
-
let
|
29
|
+
} = re(P, se, a);
|
30
|
+
let v = m([
|
28
31
|
// 所属工会
|
29
32
|
{
|
30
33
|
label: "inventoryRecord.orgId",
|
@@ -76,48 +79,48 @@ const se = { class: "app-container" }, ue = { class: "search-container" }, ke =
|
|
76
79
|
isColumn: !0
|
77
80
|
}
|
78
81
|
]);
|
79
|
-
const
|
82
|
+
const c = m([]);
|
80
83
|
function B(o) {
|
81
84
|
if (o) {
|
82
|
-
if (
|
83
|
-
a.value.inventoryStartTime =
|
85
|
+
if (c.value = o, c.value.length !== 2) return;
|
86
|
+
a.value.inventoryStartTime = C(
|
84
87
|
o[0]
|
85
|
-
).getFullDate(), a.value.inventoryEndTime =
|
88
|
+
).getFullDate(), a.value.inventoryEndTime = C(o[1]).getFullDate(), s.handleQuery();
|
86
89
|
} else
|
87
|
-
|
90
|
+
S();
|
88
91
|
}
|
89
92
|
function L(o) {
|
90
93
|
s.selectionRows.value = o;
|
91
94
|
}
|
92
|
-
function
|
93
|
-
|
95
|
+
function S() {
|
96
|
+
c.value = [], a.value.inventoryStartTime = "", a.value.inventoryEndTime = "", s.resetQuery();
|
94
97
|
}
|
95
98
|
function Y(o) {
|
96
|
-
|
99
|
+
I.push({
|
97
100
|
path: "/asset/asset-inventory-record/inventoryInfo",
|
98
101
|
query: { inventoryId: o.inventoryId }
|
99
102
|
});
|
100
103
|
}
|
101
104
|
return s.getList(), (o, t) => {
|
102
|
-
const
|
103
|
-
return f(),
|
104
|
-
u("div",
|
105
|
-
n(
|
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, {
|
106
109
|
ref_key: "queryFormRef",
|
107
110
|
ref: j,
|
108
111
|
model: a.value,
|
109
112
|
inline: !0
|
110
113
|
}, {
|
111
114
|
default: l(() => [
|
112
|
-
n(
|
115
|
+
n(y, {
|
113
116
|
label: o.$t("inventoryRecord.orgId"),
|
114
117
|
prop: "orgId"
|
115
118
|
}, {
|
116
119
|
default: l(() => [
|
117
|
-
n(
|
120
|
+
n(Q, {
|
118
121
|
modelValue: a.value.orgId,
|
119
122
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => a.value.orgId = e),
|
120
|
-
data: r(
|
123
|
+
data: r(b).unionOrgBizLayDict.values,
|
121
124
|
filterable: "",
|
122
125
|
clearable: "",
|
123
126
|
"check-strictly": "",
|
@@ -129,12 +132,12 @@ const se = { class: "app-container" }, ue = { class: "search-container" }, ke =
|
|
129
132
|
]),
|
130
133
|
_: 1
|
131
134
|
}, 8, ["label"]),
|
132
|
-
n(
|
135
|
+
n(y, {
|
133
136
|
label: o.$t("inventoryRecord.siteName"),
|
134
137
|
prop: "likeSiteName"
|
135
138
|
}, {
|
136
139
|
default: l(() => [
|
137
|
-
n(
|
140
|
+
n(E, {
|
138
141
|
modelValue: a.value.likeSiteName,
|
139
142
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => a.value.likeSiteName = e),
|
140
143
|
placeholder: o.$t("inventoryRecord.siteNamePlaceholder"),
|
@@ -143,29 +146,29 @@ const se = { class: "app-container" }, ue = { class: "search-container" }, ke =
|
|
143
146
|
]),
|
144
147
|
_: 1
|
145
148
|
}, 8, ["label"]),
|
146
|
-
n(
|
149
|
+
n(y, {
|
147
150
|
label: o.$t("inventoryRecord.inventoryStatus"),
|
148
151
|
prop: "inventoryStatus"
|
149
152
|
}, {
|
150
153
|
default: l(() => [
|
151
|
-
n(
|
154
|
+
n(q, {
|
152
155
|
modelValue: a.value.inventoryStatus,
|
153
156
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => a.value.inventoryStatus = e),
|
154
157
|
placeholder: o.$t("inventoryRecord.inventoryStatus"),
|
155
|
-
data: r(
|
158
|
+
data: r(b).inventoryResults.values,
|
156
159
|
onKeyup: t[5] || (t[5] = R((e) => r(s).handleQuery(), ["enter"]))
|
157
160
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
158
161
|
]),
|
159
162
|
_: 1
|
160
163
|
}, 8, ["label"]),
|
161
|
-
n(
|
164
|
+
n(y, {
|
162
165
|
label: o.$t("inventoryRecord.inventoryTime"),
|
163
166
|
prop: "inventoryTime"
|
164
167
|
}, {
|
165
168
|
default: l(() => [
|
166
|
-
n(
|
167
|
-
modelValue:
|
168
|
-
"onUpdate:modelValue": t[6] || (t[6] = (e) =>
|
169
|
+
n(F, {
|
170
|
+
modelValue: c.value,
|
171
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => c.value = e),
|
169
172
|
class: "dropdown-left",
|
170
173
|
type: "daterange",
|
171
174
|
"start-placeholder": o.$t("serviceApptRecord.startDate"),
|
@@ -176,20 +179,20 @@ const se = { class: "app-container" }, ue = { class: "search-container" }, ke =
|
|
176
179
|
]),
|
177
180
|
_: 1
|
178
181
|
}, 8, ["label"]),
|
179
|
-
n(
|
182
|
+
n(y, { class: "search-btn" }, {
|
180
183
|
default: l(() => [
|
181
184
|
n(k, {
|
182
185
|
type: "primary",
|
183
186
|
onClick: t[7] || (t[7] = (e) => r(s).handleQuery())
|
184
187
|
}, {
|
185
188
|
default: l(() => [
|
186
|
-
w(
|
189
|
+
w(d(o.$t("common.search")), 1)
|
187
190
|
]),
|
188
191
|
_: 1
|
189
192
|
}),
|
190
|
-
n(k, { onClick:
|
193
|
+
n(k, { onClick: S }, {
|
191
194
|
default: l(() => [
|
192
|
-
w(
|
195
|
+
w(d(o.$t("common.reset")), 1)
|
193
196
|
]),
|
194
197
|
_: 1
|
195
198
|
})
|
@@ -200,24 +203,24 @@ const se = { class: "app-container" }, ue = { class: "search-container" }, ke =
|
|
200
203
|
_: 1
|
201
204
|
}, 8, ["model"])
|
202
205
|
]),
|
203
|
-
n(
|
206
|
+
n(W, {
|
204
207
|
shadow: "never",
|
205
208
|
class: "table-container"
|
206
209
|
}, {
|
207
210
|
header: l(() => [
|
208
|
-
n(
|
211
|
+
n(O, {
|
209
212
|
justify: "space-between",
|
210
213
|
span: 20
|
211
214
|
}, {
|
212
215
|
default: l(() => [
|
213
|
-
n(
|
216
|
+
n(M, {
|
214
217
|
span: 24,
|
215
218
|
class: "container-float"
|
216
219
|
}, {
|
217
220
|
default: l(() => [
|
218
|
-
n(
|
219
|
-
modelValue: r(
|
220
|
-
"onUpdate:modelValue": t[8] || (t[8] = (e) =>
|
221
|
+
n(K, {
|
222
|
+
modelValue: r(v),
|
223
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => $(v) ? v.value = e : v = e),
|
221
224
|
"label-name": "asset/asset-inventory-record"
|
222
225
|
}, null, 8, ["modelValue"])
|
223
226
|
]),
|
@@ -228,10 +231,10 @@ const se = { class: "app-container" }, ue = { class: "search-container" }, ke =
|
|
228
231
|
})
|
229
232
|
]),
|
230
233
|
footer: l(() => [
|
231
|
-
r(_) > 0 ? (f(), V(
|
234
|
+
r(_) > 0 ? (f(), V(J, {
|
232
235
|
key: 0,
|
233
236
|
total: r(_),
|
234
|
-
"onUpdate:total": t[9] || (t[9] = (e) =>
|
237
|
+
"onUpdate:total": t[9] || (t[9] = (e) => $(_) ? _.value = e : null),
|
235
238
|
"current-page": a.value.curPage,
|
236
239
|
"onUpdate:currentPage": t[10] || (t[10] = (e) => a.value.curPage = e),
|
237
240
|
"page-size": a.value.pageSize,
|
@@ -240,50 +243,50 @@ const se = { class: "app-container" }, ue = { class: "search-container" }, ke =
|
|
240
243
|
}, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
|
241
244
|
]),
|
242
245
|
default: l(() => [
|
243
|
-
n(
|
246
|
+
n(G, {
|
244
247
|
ref_key: "multipleTableRef",
|
245
248
|
ref: U,
|
246
249
|
class: "table-top",
|
247
250
|
"row-key": "inventoryId",
|
248
251
|
"list-loading": r(z),
|
249
|
-
data: r(
|
250
|
-
"table-label": r(
|
252
|
+
data: r(A),
|
253
|
+
"table-label": r(v),
|
251
254
|
onSelectionChange: L
|
252
255
|
}, {
|
253
256
|
orgId: l((e) => [
|
254
|
-
u("span", null,
|
257
|
+
u("span", null, d(r(b).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
|
255
258
|
]),
|
256
259
|
siteName: l((e) => [
|
257
|
-
u("span", null,
|
260
|
+
u("span", null, d(e.data.row.siteName), 1)
|
258
261
|
]),
|
259
262
|
inventoryTime: l((e) => [
|
260
|
-
u("span", null,
|
263
|
+
u("span", null, d(r(T).$moment.formatDate(
|
261
264
|
e.data.row.inventoryTime,
|
262
265
|
"YYYY-MM-DD HH:mm"
|
263
266
|
)), 1)
|
264
267
|
]),
|
265
268
|
userName: l((e) => [
|
266
|
-
u("span", null,
|
269
|
+
u("span", null, d(e.data.row.userName), 1)
|
267
270
|
]),
|
268
271
|
inventoryStatus: l((e) => [
|
269
|
-
u("span", null,
|
272
|
+
u("span", null, d(r(b).inventoryResults.getEnumValue(e.data.row.inventoryStatus)), 1)
|
270
273
|
]),
|
271
274
|
inventoryNote: l((e) => [
|
272
|
-
u("span", null,
|
275
|
+
u("span", null, d(e.data.row.inventoryNote), 1)
|
273
276
|
]),
|
274
277
|
operation: l((e) => [
|
275
|
-
|
278
|
+
le((f(), V(k, {
|
276
279
|
type: "primary",
|
277
280
|
size: "small",
|
278
281
|
link: "",
|
279
|
-
onClick: (
|
282
|
+
onClick: (ve) => Y(e.data.row)
|
280
283
|
}, {
|
281
284
|
default: l(() => [
|
282
|
-
w(
|
285
|
+
w(d(o.$t("common.view")), 1)
|
283
286
|
]),
|
284
287
|
_: 2
|
285
288
|
}, 1032, ["onClick"])), [
|
286
|
-
[
|
289
|
+
[Z, ["asset:inventory_record:view"]]
|
287
290
|
])
|
288
291
|
]),
|
289
292
|
_: 1
|
@@ -292,28 +295,29 @@ const se = { class: "app-container" }, ue = { class: "search-container" }, ke =
|
|
292
295
|
_: 1
|
293
296
|
}),
|
294
297
|
u("button", {
|
295
|
-
onClick: t[13] || (t[13] = (e) =>
|
298
|
+
onClick: t[13] || (t[13] = (e) => p.value = !0)
|
296
299
|
}, "测试弹框按钮A"),
|
297
|
-
|
300
|
+
p.value ? (f(), V(ne, {
|
298
301
|
key: 0,
|
299
|
-
modelValue:
|
300
|
-
"onUpdate:modelValue": t[14] || (t[14] = (e) =>
|
302
|
+
modelValue: p.value,
|
303
|
+
"onUpdate:modelValue": t[14] || (t[14] = (e) => p.value = e),
|
301
304
|
width: "700px",
|
302
|
-
onRefreshA:
|
305
|
+
onRefreshA: D
|
303
306
|
}, null, 8, ["modelValue"])) : N("", !0),
|
304
307
|
u("button", {
|
305
|
-
onClick: t[15] || (t[15] = (e) =>
|
308
|
+
onClick: t[15] || (t[15] = (e) => g.value = !0)
|
306
309
|
}, "测试弹框组件B"),
|
307
|
-
|
310
|
+
g.value ? (f(), V(ae, {
|
308
311
|
key: 1,
|
309
|
-
modelValue:
|
310
|
-
"onUpdate:modelValue": t[16] || (t[16] = (e) =>
|
312
|
+
modelValue: g.value,
|
313
|
+
"onUpdate:modelValue": t[16] || (t[16] = (e) => g.value = e),
|
311
314
|
width: "1000px"
|
312
|
-
}, null, 8, ["modelValue"])) : N("", !0)
|
315
|
+
}, null, 8, ["modelValue"])) : N("", !0),
|
316
|
+
n(X, { "dept-id": h.value }, null, 8, ["dept-id"])
|
313
317
|
]);
|
314
318
|
};
|
315
319
|
}
|
316
320
|
});
|
317
321
|
export {
|
318
|
-
|
322
|
+
we as default
|
319
323
|
};
|
package/dist/style.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
@charset "UTF-8";.blue_color{color:#3370ff;font-size:16px;font-weight:600;margin-left:3px;margin-right:3px}.dis_bottom{margin-bottom:0!important}.total-num{border:var(--el-border);border-color:#bae7ff;background-color:#e6f7ff!important;padding:9px 18px;border-radius:3px;font-size:14px;margin-bottom:10px;color:#545a5d}.position-center[data-v-b36a82ba]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-b36a82ba]{position:absolute;right:0;top:0;margin-top:8px}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645,.045,.355,1);--el-transition-function-fast-bezier:cubic-bezier(.23,1,.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px}:root{color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.04),0px 8px 20px rgba(0,0,0,.08);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.12);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.08),0px 12px 32px rgba(0,0,0,.12),0px 8px 16px -8px rgba(0,0,0,.16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0,0,0,.8);--el-overlay-color-light:rgba(0,0,0,.7);--el-overlay-color-lighter:rgba(0,0,0,.5);--el-mask-color:rgba(255,255,255,.9);--el-mask-color-extra-light:rgba(255,255,255,.3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;display:inline-flex;height:1em;justify-content:center;line-height:1em;position:relative;width:1em;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;display:inline-block;position:relative;vertical-align:middle;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;left:50%;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;top:20px;transform:translate(-50%);transition:opacity var(--el-transition-duration),transform .4s,top .4s;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.el-message.is-center{justify-content:center}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}.el-form-item--default[data-v-ad3389c0]{margin-bottom:0}.dept-people-select-left-box[data-v-225942ea]{overflow:auto;border-right:1px solid #dcdfe6;min-height:300px;max-height:500px}
|
1
|
+
@charset "UTF-8";.blue_color{color:#3370ff;font-size:16px;font-weight:600;margin-left:3px;margin-right:3px}.dis_bottom{margin-bottom:0!important}.total-num{border:var(--el-border);border-color:#bae7ff;background-color:#e6f7ff!important;padding:9px 18px;border-radius:3px;font-size:14px;margin-bottom:10px;color:#545a5d}.position-center[data-v-b36a82ba]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-b36a82ba]{position:absolute;right:0;top:0;margin-top:8px}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645,.045,.355,1);--el-transition-function-fast-bezier:cubic-bezier(.23,1,.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px}:root{color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.04),0px 8px 20px rgba(0,0,0,.08);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.12);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.08),0px 12px 32px rgba(0,0,0,.12),0px 8px 16px -8px rgba(0,0,0,.16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0,0,0,.8);--el-overlay-color-light:rgba(0,0,0,.7);--el-overlay-color-lighter:rgba(0,0,0,.5);--el-mask-color:rgba(255,255,255,.9);--el-mask-color-extra-light:rgba(255,255,255,.3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;display:inline-flex;height:1em;justify-content:center;line-height:1em;position:relative;width:1em;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;display:inline-block;position:relative;vertical-align:middle;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;left:50%;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;top:20px;transform:translate(-50%);transition:opacity var(--el-transition-duration),transform .4s,top .4s;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.el-message.is-center{justify-content:center}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}.el-form-item--default[data-v-73f35db4]{margin-bottom:0}
|
package/dts/App.vue.d.ts
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
2
|
+
import type { AssetApi, AssetReq, AssetModel, AssetPage, AssetList, AssetKey, AssetCreateReq, AssetUpdateReq, AssetExportReq, AssetImportReq, AssetassignReq, UnionOrgReq, UnionOrgTree } from "./types";
|
3
|
+
declare class AssetApiImpl implements AssetApi {
|
4
|
+
getKey(model: AssetModel): AssetKey;
|
5
|
+
findPage(query?: AssetReq): AxiosPromise<AssetPage>;
|
6
|
+
findList(query?: AssetReq): AxiosPromise<AssetList>;
|
7
|
+
findById(query: AssetKey): AxiosPromise<AssetModel>;
|
8
|
+
create(data: AssetCreateReq): AxiosPromise<AssetModel>;
|
9
|
+
update(data: AssetUpdateReq): AxiosPromise<AssetModel>;
|
10
|
+
delete(query: AssetKey): AxiosPromise<AssetModel>;
|
11
|
+
batchDelete(keys: AssetKey[]): AxiosPromise<number>;
|
12
|
+
downloadTemplate(): AxiosPromise;
|
13
|
+
importExcel(data: AssetImportReq): AxiosPromise<string>;
|
14
|
+
assignment(data: AssetassignReq): AxiosPromise<boolean>;
|
15
|
+
exportExcel(queryParams: AssetExportReq): AxiosPromise;
|
16
|
+
/**
|
17
|
+
* 获取工会组织架构树形列表
|
18
|
+
*
|
19
|
+
* @param query 查询参数,可选
|
20
|
+
* @returns 返回工会组织架构树形列表的 AxiosPromise 对象
|
21
|
+
*/
|
22
|
+
findUnionOrgTreeListApi(query?: UnionOrgReq): AxiosPromise<UnionOrgTree>;
|
23
|
+
}
|
24
|
+
declare const assetApi: AssetApiImpl;
|
25
|
+
export { assetApi };
|