xyvcard-asset 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +52 -52
- package/dist/assign-BLa-fXcy.mjs +1626 -0
- package/dist/{edit-zFZfd8e1.mjs → edit-CCrekeeb.mjs} +1 -1
- package/dist/{edit-CE3u81Q0.mjs → edit-DmRG7fo0.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-CkBAP9Bk.mjs +547 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs → edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs} +146 -139
- package/dist/edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs +278 -0
- package/dist/index copy-Di49EjkG.mjs +76 -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-ByVysHgI.mjs +4 -0
- package/dist/index-C5_f5Lce.mjs +213 -0
- package/dist/index-CgAq70-p.mjs +314 -0
- package/dist/index-DElPNxc7.mjs +398 -0
- package/dist/index-De4u-LEl.mjs +325 -0
- package/dist/index-DeBZxOsC.mjs +372 -0
- package/dist/index-Dyo7je0Z.mjs +38 -0
- package/dist/index-FUnFB7nG.mjs +61 -0
- package/dist/index-axEqTssj.mjs +378 -0
- package/dist/index-jOcS7tqC.mjs +311 -0
- package/dist/index-qQuyprvx.mjs +4 -0
- package/dist/index-xyCxQquE.mjs +432 -0
- package/dist/index.mjs +2752 -35
- package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +274 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +120 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs +105 -0
- package/dist/index/345/244/207/344/273/275-CaiMDP8J.mjs +319 -0
- package/dist/style.css +1 -1
- 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/{components/TMaps/index.vue.d.ts → src/components copy/PeopleSelect/index.vue.d.ts } +5 -7
- 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/{components/Upload/ImageUpload.vue.d.ts → src/components copy/Upload/ImageUpload.vue.d.ts } +1 -1
- 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-asset/edit.vue.d.ts → src/views/asset/asset-asset/assign.vue.d.ts} +12 -5
- package/dts/{views/asset/asset-site → src/views/asset/asset-asset-detail}/edit.vue.d.ts +5 -7
- package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -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/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/asset/asset-asset/index.d.ts +0 -20
- package/dts/api/asset/asset-asset/types.d.ts +0 -93
- package/dts/api/asset/asset-service-appt-member/index.d.ts +0 -20
- package/dts/api/asset/asset-service-appt-member/types.d.ts +0 -71
- package/dts/api/asset/asset-service-appt-record/index.d.ts +0 -20
- package/dts/api/asset/asset-service-appt-record/types.d.ts +0 -98
- package/dts/api/asset/asset-site/index.d.ts +0 -15
- package/dts/api/asset/asset-site/types.d.ts +0 -81
- package/dts/api/asset/asset-site-service/index.d.ts +0 -14
- package/dts/api/asset/asset-site-service/types.d.ts +0 -80
- package/dts/api/dict.d.ts +0 -22
- package/dts/api/index.d.ts +0 -14
- 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/constant.d.ts +0 -16
- package/dts/index.d.ts +0 -4
- package/dts/lang/asset/en.d.ts +0 -2
- package/dts/lang/asset/zh-cn.d.ts +0 -91
- package/dts/lang/index.d.ts +0 -1
- package/dts/main.d.ts +0 -4
- package/dts/permission.d.ts +0 -1
- package/dts/router/page.d.ts +0 -2
- 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/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
- package/dts/utils/common.d.ts +0 -51
- package/dts/utils/index.d.ts +0 -24
- package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
- package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +0 -22
- /package/dts/{views/asset/asset-asset → src/components/deptPeopleSelect}/index.vue.d.ts +0 -0
- /package/dts/{components → src/components copy}/Upload/MultiUpload.vue.d.ts +0 -0
- /package/dts/src/{views/asset/asset-service-appt-member → components copy/deptPeopleSelect}/index.vue.d.ts +0 -0
- /package/dts/{views/asset/asset-service-appt-record → src/views/asset/asset-asset/info}/index.vue.d.ts +0 -0
- /package/dts/{views/asset/asset-service-appt-member → src/views/asset/asset-asset-detail}/index.vue.d.ts +0 -0
- /package/dts/{views/asset/asset-service-appt-record/info → src/views/asset/asset-depreciation-record}/index.vue.d.ts +0 -0
- /package/dts/{views/asset/asset-site-service → src/views/asset/asset-depreciation-record/info}/index.vue.d.ts +0 -0
- /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/index.vue.d.ts +0 -0
- /package/dts/{App.vue.d.ts → src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts"} +0 -0
- /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/info/index.vue.d.ts +0 -0
package/dist/index-DLxpE9s5.mjs
DELETED
@@ -1,305 +0,0 @@
|
|
1
|
-
var m = Object.defineProperty;
|
2
|
-
var E = (c, e, t) => e in c ? m(c, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[e] = t;
|
3
|
-
var s = (c, e, t) => (E(c, typeof e != "symbol" ? e + "" : e, t), t);
|
4
|
-
import { useUserStore as i, clearEmpty as r, request as u, BizLayDict as _, BizDict as d, EnumDict as v } from "jmash-core";
|
5
|
-
import { reactive as T, ref as h } from "vue";
|
6
|
-
class g {
|
7
|
-
constructor() {
|
8
|
-
// 修改实体场地管理
|
9
|
-
s(this, "update", function(e) {
|
10
|
-
return e.tenant = i().user.tenant, r(e), u({
|
11
|
-
url: "/v1/asset/site",
|
12
|
-
method: "patch",
|
13
|
-
data: e
|
14
|
-
});
|
15
|
-
});
|
16
|
-
}
|
17
|
-
getKey(e) {
|
18
|
-
return {
|
19
|
-
siteId: e.siteId
|
20
|
-
};
|
21
|
-
}
|
22
|
-
// 查询翻页信息场地管理
|
23
|
-
findPage(e) {
|
24
|
-
e && (e.hasStatus = e.status != null);
|
25
|
-
const t = i().user.tenant;
|
26
|
-
return r(e), u({
|
27
|
-
url: "/v1/asset/site/page/" + t,
|
28
|
-
method: "get",
|
29
|
-
params: e
|
30
|
-
});
|
31
|
-
}
|
32
|
-
// 查询列表信息场地管理
|
33
|
-
findList(e) {
|
34
|
-
const t = i().user.tenant;
|
35
|
-
return r(e), u({
|
36
|
-
url: "/v1/asset/site/list/" + t,
|
37
|
-
method: "get",
|
38
|
-
params: e
|
39
|
-
});
|
40
|
-
}
|
41
|
-
// 查询场地管理
|
42
|
-
findById(e) {
|
43
|
-
const t = i().user.tenant;
|
44
|
-
return r(e), u({
|
45
|
-
url: "/v1/asset/site/id/" + t + "/" + e.siteId,
|
46
|
-
method: "get"
|
47
|
-
});
|
48
|
-
}
|
49
|
-
// 创建实体场地管理
|
50
|
-
create(e) {
|
51
|
-
return e.tenant = i().user.tenant, r(e), u({
|
52
|
-
url: "/v1/asset/site",
|
53
|
-
method: "post",
|
54
|
-
data: e
|
55
|
-
});
|
56
|
-
}
|
57
|
-
// 启用/禁用
|
58
|
-
enable(e, t) {
|
59
|
-
const a = { ...e };
|
60
|
-
return a.tenant = i().user.tenant, a.enable = t, r(a), u({
|
61
|
-
url: "/v1/asset/site/enable",
|
62
|
-
method: "put",
|
63
|
-
data: a
|
64
|
-
});
|
65
|
-
}
|
66
|
-
// 删除场地管理
|
67
|
-
delete(e) {
|
68
|
-
return e.tenant = i().user.tenant, r(e), u({
|
69
|
-
url: "/v1/asset/site/id",
|
70
|
-
method: "delete",
|
71
|
-
params: e
|
72
|
-
});
|
73
|
-
}
|
74
|
-
// 批量删除场地管理
|
75
|
-
batchDelete(e) {
|
76
|
-
const t = e.map((l) => l.siteId), a = {
|
77
|
-
tenant: i().user.tenant,
|
78
|
-
SiteId: t
|
79
|
-
};
|
80
|
-
return r(a), u({
|
81
|
-
url: "/v1/asset/site/batch",
|
82
|
-
method: "put",
|
83
|
-
data: a
|
84
|
-
});
|
85
|
-
}
|
86
|
-
}
|
87
|
-
const A = new g();
|
88
|
-
class I {
|
89
|
-
getKey(e) {
|
90
|
-
return {
|
91
|
-
orgId: e.orgId
|
92
|
-
};
|
93
|
-
}
|
94
|
-
/**
|
95
|
-
* 获取工会组织架构树形列表
|
96
|
-
*
|
97
|
-
* @param query 查询参数,可选
|
98
|
-
* @returns 返回工会组织架构树形列表的 AxiosPromise 对象
|
99
|
-
*/
|
100
|
-
findUnionOrgTreeListApi(e) {
|
101
|
-
const t = i().user.tenant;
|
102
|
-
return r(e), u({
|
103
|
-
url: "/v1/union/union_org/treelist/" + t,
|
104
|
-
method: "get",
|
105
|
-
params: e
|
106
|
-
});
|
107
|
-
}
|
108
|
-
}
|
109
|
-
const U = new I();
|
110
|
-
class f {
|
111
|
-
constructor() {
|
112
|
-
// 修改实体场地预约服务项目
|
113
|
-
s(this, "update", function(e) {
|
114
|
-
return e.tenant = i().user.tenant, r(e), u({
|
115
|
-
url: "/v1/asset/site_service",
|
116
|
-
method: "patch",
|
117
|
-
data: e
|
118
|
-
});
|
119
|
-
});
|
120
|
-
}
|
121
|
-
getKey(e) {
|
122
|
-
return {
|
123
|
-
serviceId: e.serviceId
|
124
|
-
};
|
125
|
-
}
|
126
|
-
// 查询翻页信息场地预约服务项目
|
127
|
-
findPage(e) {
|
128
|
-
const t = i().user.tenant;
|
129
|
-
return e != null && e.hasStatus && (e.hasStatus = !1), e != null && e.status && (e.hasStatus = !0), r(e), u({
|
130
|
-
url: "/v1/asset/site_service/page/" + t,
|
131
|
-
method: "get",
|
132
|
-
params: e
|
133
|
-
});
|
134
|
-
}
|
135
|
-
// 查询列表信息场地预约服务项目
|
136
|
-
findList(e) {
|
137
|
-
const t = i().user.tenant;
|
138
|
-
return r(e), u({
|
139
|
-
url: "/v1/asset/site_service/list/" + t,
|
140
|
-
method: "get",
|
141
|
-
params: e
|
142
|
-
});
|
143
|
-
}
|
144
|
-
// 查询场地预约服务项目
|
145
|
-
findById(e) {
|
146
|
-
const t = i().user.tenant;
|
147
|
-
return r(e), u({
|
148
|
-
url: "/v1/asset/site_service/id/" + t + "/" + e.serviceId,
|
149
|
-
method: "get"
|
150
|
-
});
|
151
|
-
}
|
152
|
-
// 创建实体场地预约服务项目
|
153
|
-
create(e) {
|
154
|
-
return e.tenant = i().user.tenant, r(e), u({
|
155
|
-
url: "/v1/asset/site_service",
|
156
|
-
method: "post",
|
157
|
-
data: e
|
158
|
-
});
|
159
|
-
}
|
160
|
-
// 删除场地预约服务项目
|
161
|
-
delete(e) {
|
162
|
-
return e.tenant = i().user.tenant, r(e), u({
|
163
|
-
url: "/v1/asset/site_service/id",
|
164
|
-
method: "delete",
|
165
|
-
params: e
|
166
|
-
});
|
167
|
-
}
|
168
|
-
// 批量删除场地预约服务项目
|
169
|
-
batchDelete(e) {
|
170
|
-
const t = e.map((l) => l.serviceId), a = {
|
171
|
-
tenant: i().user.tenant,
|
172
|
-
ServiceId: t
|
173
|
-
};
|
174
|
-
return r(a), u({
|
175
|
-
url: "/v1/asset/site_service/batch",
|
176
|
-
method: "put",
|
177
|
-
data: a
|
178
|
-
});
|
179
|
-
}
|
180
|
-
}
|
181
|
-
const p = new f();
|
182
|
-
class S {
|
183
|
-
constructor(e, t) {
|
184
|
-
s(this, "values", T([]));
|
185
|
-
// 查询条件
|
186
|
-
s(this, "query");
|
187
|
-
this.values.length = 0, this.values.push(...e.value), this.query = t;
|
188
|
-
}
|
189
|
-
// 根据给定键获取业务数据项的值的方法
|
190
|
-
getValue(e) {
|
191
|
-
for (const t of this.values)
|
192
|
-
if (t.key == e)
|
193
|
-
return t.value;
|
194
|
-
return "";
|
195
|
-
}
|
196
|
-
}
|
197
|
-
class D extends _ {
|
198
|
-
// 实现 useValues 方法
|
199
|
-
useValues() {
|
200
|
-
return new Promise((e, t) => {
|
201
|
-
U.findUnionOrgTreeListApi().then(({ data: a }) => {
|
202
|
-
this.values.length = 0, this.values.push(...a.results), e(this.values);
|
203
|
-
}).catch(t);
|
204
|
-
});
|
205
|
-
}
|
206
|
-
}
|
207
|
-
class L extends d {
|
208
|
-
// 实现 useValues 方法
|
209
|
-
useValues() {
|
210
|
-
return new Promise((e, t) => {
|
211
|
-
A.findList(this.query).then(({ data: a }) => {
|
212
|
-
this.values.length = 0, this.values.push(
|
213
|
-
...a.results.map(
|
214
|
-
(l) => ({
|
215
|
-
key: l.siteId,
|
216
|
-
value: l.name
|
217
|
-
})
|
218
|
-
)
|
219
|
-
), e(this.values);
|
220
|
-
}).catch(t);
|
221
|
-
});
|
222
|
-
}
|
223
|
-
}
|
224
|
-
class w extends d {
|
225
|
-
// 实现 useValues 方法
|
226
|
-
useValues() {
|
227
|
-
return new Promise((e, t) => {
|
228
|
-
p.findList(this.query).then(({ data: a }) => {
|
229
|
-
this.values.length = 0, this.values.push(
|
230
|
-
...a.results.map(
|
231
|
-
(l) => ({
|
232
|
-
key: l.siteId,
|
233
|
-
value: l.serviceName
|
234
|
-
})
|
235
|
-
)
|
236
|
-
), e(this.values);
|
237
|
-
}).catch(t);
|
238
|
-
});
|
239
|
-
}
|
240
|
-
}
|
241
|
-
class N extends d {
|
242
|
-
// 实现 useValues 方法
|
243
|
-
useValues() {
|
244
|
-
return new Promise((e, t) => {
|
245
|
-
p.findList().then(({ data: a }) => {
|
246
|
-
this.values.length = 0, this.values.push(
|
247
|
-
...a.results.map(
|
248
|
-
(l) => ({
|
249
|
-
key: l.siteId,
|
250
|
-
value: l.manager
|
251
|
-
})
|
252
|
-
)
|
253
|
-
), e(this.values);
|
254
|
-
}).catch(t);
|
255
|
-
});
|
256
|
-
}
|
257
|
-
}
|
258
|
-
class n {
|
259
|
-
}
|
260
|
-
// 模块
|
261
|
-
s(n, "MODULE_ASSET", "asset"), // 启用禁用
|
262
|
-
s(n, "ENABLE_VALUES", h([
|
263
|
-
{ key: "true", value: "启用" },
|
264
|
-
{ key: "false", value: "禁用" }
|
265
|
-
])), // 分配状态
|
266
|
-
s(n, "ENUM_ASSET_STATUS", h([
|
267
|
-
{ key: "true", value: "已分配" },
|
268
|
-
{ key: "false", value: "未分配" }
|
269
|
-
])), // 项目状态
|
270
|
-
s(n, "ENUM_SERVICE_STATUS", "xyvcard.asset.protobuf.ServiceStatus"), // 场地地址
|
271
|
-
s(n, "DICT_SITE_ID", "siteId"), // 状态
|
272
|
-
s(n, "ENUM_STATUS", "xyvcard.asset.protobuf.ApptMemberStatus"), // 资产属性
|
273
|
-
s(n, "ENUM_SORT_STATUS", "xyvcard.asset.protobuf.AssetSortType"), // 折旧方式
|
274
|
-
s(n, "ENUM_DEPRECIA_TION", "xyvcard.asset.protobuf.DepreciationType");
|
275
|
-
class o {
|
276
|
-
}
|
277
|
-
// 启用禁用
|
278
|
-
s(o, "enableDict", new S(n.ENABLE_VALUES, {})), // 所属工会
|
279
|
-
s(o, "unionOrgBizLayDict", new D({})), // 项目状态
|
280
|
-
s(o, "serviceStatusEnum", new v(
|
281
|
-
n.MODULE_ASSET,
|
282
|
-
n.ENUM_SERVICE_STATUS
|
283
|
-
)), // 场地名称
|
284
|
-
s(o, "siteDict", new L({})), // 项目名称
|
285
|
-
s(o, "serviceNameDict", new w({})), // 管理员姓名
|
286
|
-
s(o, "managerDict", new N({})), // 状态
|
287
|
-
s(o, "statusDictEnum", new v(
|
288
|
-
n.MODULE_ASSET,
|
289
|
-
n.ENUM_STATUS
|
290
|
-
)), // 分配状态
|
291
|
-
s(o, "assetStatusDict", new S(n.ENUM_ASSET_STATUS, {})), // 资产属性
|
292
|
-
s(o, "assetSortDictEnum", new v(
|
293
|
-
n.MODULE_ASSET,
|
294
|
-
n.ENUM_SORT_STATUS
|
295
|
-
)), // 折旧方式
|
296
|
-
s(o, "depreciationTypeEnum", new v(
|
297
|
-
n.MODULE_ASSET,
|
298
|
-
n.ENUM_DEPRECIA_TION
|
299
|
-
));
|
300
|
-
export {
|
301
|
-
o as D,
|
302
|
-
L as S,
|
303
|
-
p as a,
|
304
|
-
A as s
|
305
|
-
};
|
package/dist/index-DWaL87j5.mjs
DELETED
@@ -1,89 +0,0 @@
|
|
1
|
-
import { defineComponent as v, ref as D, resolveComponent as s, openBlock as B, createElementBlock as k, createVNode as t, withCtx as e, createTextVNode as l, toDisplayString as n, createElementVNode as a, unref as c } from "vue";
|
2
|
-
import { useRouter as w, useRoute as I } from "vue-router";
|
3
|
-
import { s as u, D as _ } from "./index-DLxpE9s5.mjs";
|
4
|
-
const V = { class: "app-container" }, q = /* @__PURE__ */ a("div", { class: "title-content" }, "场地信息", -1), C = { class: "cell-item" }, O = { class: "cell-item" }, R = { class: "cell-item" }, L = /* @__PURE__ */ v({
|
5
|
-
__name: "index",
|
6
|
-
setup($) {
|
7
|
-
const m = w(), d = I(), i = D({});
|
8
|
-
d.query.entityKey && u.findById && u.findById({ siteId: d.query.entityKey }).then(({ data: o }) => {
|
9
|
-
console.log(o, "data"), i.value = Object.assign(i, o);
|
10
|
-
}), _.unionOrgBizLayDict.useValues();
|
11
|
-
function p() {
|
12
|
-
m.push({ path: "/asset/asset-site" });
|
13
|
-
}
|
14
|
-
return (o, N) => {
|
15
|
-
const f = s("el-button"), r = s("el-descriptions-item"), y = s("el-descriptions"), h = s("el-col"), g = s("el-row"), b = s("el-card");
|
16
|
-
return B(), k("div", V, [
|
17
|
-
t(b, { shadow: "never" }, {
|
18
|
-
header: e(() => [
|
19
|
-
t(f, {
|
20
|
-
type: "primary",
|
21
|
-
onClick: p
|
22
|
-
}, {
|
23
|
-
default: e(() => [
|
24
|
-
l(n(o.$t("common.back")), 1)
|
25
|
-
]),
|
26
|
-
_: 1
|
27
|
-
})
|
28
|
-
]),
|
29
|
-
default: e(() => [
|
30
|
-
t(g, {
|
31
|
-
gutter: 20,
|
32
|
-
style: { width: "100%" }
|
33
|
-
}, {
|
34
|
-
default: e(() => [
|
35
|
-
t(h, { span: 24 }, {
|
36
|
-
default: e(() => [
|
37
|
-
q,
|
38
|
-
t(y, {
|
39
|
-
class: "margin-top",
|
40
|
-
column: 2,
|
41
|
-
border: ""
|
42
|
-
}, {
|
43
|
-
default: e(() => [
|
44
|
-
t(r, null, {
|
45
|
-
label: e(() => [
|
46
|
-
a("div", C, n(o.$t("site.orgId")), 1)
|
47
|
-
]),
|
48
|
-
default: e(() => [
|
49
|
-
l(" " + n(c(_).unionOrgBizLayDict.getValue(c(i).orgId)), 1)
|
50
|
-
]),
|
51
|
-
_: 1
|
52
|
-
}),
|
53
|
-
t(r, null, {
|
54
|
-
label: e(() => [
|
55
|
-
a("div", O, n(o.$t("site.nameRequired")), 1)
|
56
|
-
]),
|
57
|
-
default: e(() => [
|
58
|
-
l(" " + n(c(i).name), 1)
|
59
|
-
]),
|
60
|
-
_: 1
|
61
|
-
}),
|
62
|
-
t(r, null, {
|
63
|
-
label: e(() => [
|
64
|
-
a("div", R, n(o.$t("site.buildDateRequired")), 1)
|
65
|
-
]),
|
66
|
-
default: e(() => [
|
67
|
-
l(" " + n(c(i).buildDate), 1)
|
68
|
-
]),
|
69
|
-
_: 1
|
70
|
-
})
|
71
|
-
]),
|
72
|
-
_: 1
|
73
|
-
})
|
74
|
-
]),
|
75
|
-
_: 1
|
76
|
-
})
|
77
|
-
]),
|
78
|
-
_: 1
|
79
|
-
})
|
80
|
-
]),
|
81
|
-
_: 1
|
82
|
-
})
|
83
|
-
]);
|
84
|
-
};
|
85
|
-
}
|
86
|
-
});
|
87
|
-
export {
|
88
|
-
L as default
|
89
|
-
};
|