xyvcard-asset 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assign-CbKUuMPJ.mjs +1603 -0
- package/dist/{edit-DR-WgdT5.mjs → edit-BMiwAU2V.mjs} +1 -1
- package/dist/{edit-C4aYV45m.mjs → edit-CX2z9EYu.mjs} +2 -2
- package/dist/{edit-BD4l4cZV.mjs → edit-D6NV2pb2.mjs} +1 -1
- package/dist/{edit-BIE_CJlr.mjs → edit-DfLSODib.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs → edit.vue_vue_type_script_setup_true_lang-B_2yu4sv.mjs} +96 -96
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs → edit.vue_vue_type_script_setup_true_lang-C8EJ4xOS.mjs} +57 -57
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs → edit.vue_vue_type_script_setup_true_lang-DnsSFyiS.mjs} +73 -73
- package/dist/{index-Bqv9_BYL.mjs → index--YY_lyB7.mjs} +51 -49
- package/dist/{index-Cz4CVX5Y.mjs → index-BQ16pRTg.mjs} +33 -33
- package/dist/{index-DfOZUIkb.mjs → index-BWZKXQRi.mjs} +9 -7
- package/dist/{index-rSyUfdXn.mjs → index-BiBCzEqz.mjs} +1 -1
- package/dist/{index-CKF69gMl.mjs → index-BqLh2sg0.mjs} +20 -20
- package/dist/{index-BzUXtBGU.mjs → index-Btpx1Vf2.mjs} +17 -17
- package/dist/{index-8j66ouA1.mjs → index-C4xJg5F_.mjs} +54 -54
- package/dist/{index-C9FfnHCZ.mjs → index-C5OQhStx.mjs} +6 -4
- package/dist/{index-CHaJu5hs.mjs → index-CFUAQG0g.mjs} +64 -69
- package/dist/{index-CuDcmifl.mjs → index-CMtqB1MP.mjs} +47 -47
- package/dist/{index-BxeGNuSx.mjs → index-D4T2vouF.mjs} +18 -15
- package/dist/{index-CJhQRbHt.mjs → index-DrajJZ20.mjs} +39 -39
- package/dist/{index-CGds22-2.mjs → index-Dw9AQlSo.mjs} +418 -399
- package/dist/{index-Ds5MwEwr.mjs → index-XlZKwbCX.mjs} +76 -76
- package/dist/index.mjs +2 -2
- package/dist/style.css +1 -1
- package/dts/App.vue.d.ts +1 -1
- package/dts/components/Upload/ImageUpload.vue.d.ts +6 -6
- package/dts/components/Upload/MultiUpload.vue.d.ts +6 -6
- package/dts/constant.d.ts +12 -0
- package/dts/views/asset/asset-asset/assign.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-asset/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset-detail/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-inventory-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-site/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-site-service/index.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/assign-4SD6S-Fb.mjs +0 -1626
- package/dts/src/App.vue.d.ts +0 -2
- package/dts/src/api/asset/asset-asset/index.d.ts +0 -27
- package/dts/src/api/asset/asset-asset/types.d.ts +0 -115
- package/dts/src/api/asset/asset-asset-detail/index.d.ts +0 -20
- package/dts/src/api/asset/asset-asset-detail/types.d.ts +0 -65
- package/dts/src/api/asset/asset-inventory-record/index.d.ts +0 -15
- package/dts/src/api/asset/asset-inventory-record/types.d.ts +0 -63
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +0 -20
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +0 -71
- package/dts/src/api/asset/asset-service-appt-record/index.d.ts +0 -9
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +0 -37
- package/dts/src/api/asset/asset-site/index.d.ts +0 -15
- package/dts/src/api/asset/asset-site/types.d.ts +0 -71
- package/dts/src/api/asset/asset-site-service/index.d.ts +0 -14
- package/dts/src/api/asset/asset-site-service/types.d.ts +0 -81
- package/dts/src/api/dict.d.ts +0 -19
- package/dts/src/api/index.d.ts +0 -16
- package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
- package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +0 -38
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -24
- package/dts/src/constant.d.ts +0 -19
- package/dts/src/index.d.ts +0 -6
- package/dts/src/lang/asset/en.d.ts +0 -2
- package/dts/src/lang/asset/zh-cn.d.ts +0 -117
- package/dts/src/lang/index.d.ts +0 -1
- package/dts/src/main.d.ts +0 -4
- package/dts/src/permission.d.ts +0 -1
- package/dts/src/router/page.d.ts +0 -6
- package/dts/src/utils/common.d.ts +0 -51
- package/dts/src/utils/index.d.ts +0 -24
- package/dts/src/utils/momentPlugin.d.ts +0 -5
- package/dts/src/views/asset/asset-asset/assign.vue.d.ts +0 -29
- package/dts/src/views/asset/asset-asset/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-asset/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-asset/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-site/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-site-service/index.vue.d.ts +0 -2
- package/dts/tsconfig.tsbuildinfo +0 -1
@@ -1,13 +1,13 @@
|
|
1
|
-
import { defineComponent as le, ref as
|
2
|
-
import { D as
|
1
|
+
import { defineComponent as le, ref as _, reactive as R, resolveComponent as i, resolveDirective as ae, openBlock as d, createElementBlock as S, createElementVNode as m, createVNode as o, withCtx as l, unref as s, toDisplayString as r, Fragment as oe, renderList as se, createBlock as I, withKeys as L, createTextVNode as g, withDirectives as $, isRef as z, createCommentVNode as j } from "vue";
|
2
|
+
import { D as p, b as ne, S as ie } from "./index-Dw9AQlSo.mjs";
|
3
3
|
import { useI18n as re } from "vue-i18n";
|
4
|
-
import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-
|
4
|
+
import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-C8EJ4xOS.mjs";
|
5
5
|
import { useTableHooks as de } from "jmash-core";
|
6
|
-
const me = { class: "app-container" },
|
6
|
+
const me = { class: "app-container" }, pe = { class: "search-container" }, ce = ["onClick"], ve = ["onClick"], Ie = /* @__PURE__ */ le({
|
7
7
|
__name: "index",
|
8
|
-
setup(
|
9
|
-
|
10
|
-
const { t: V } = re(), n =
|
8
|
+
setup(fe) {
|
9
|
+
p.unionOrgBizLayDict.useValues(), p.siteDict.useValues();
|
10
|
+
const { t: V } = re(), n = _({
|
11
11
|
curPage: 1,
|
12
12
|
pageSize: 10
|
13
13
|
}), {
|
@@ -18,7 +18,7 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
18
18
|
tableData: q,
|
19
19
|
total: y
|
20
20
|
} = de(V, ne, n);
|
21
|
-
let v =
|
21
|
+
let v = _([
|
22
22
|
// 所属工会
|
23
23
|
{
|
24
24
|
label: "siteService.orgId",
|
@@ -79,19 +79,19 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
79
79
|
fixed: "right",
|
80
80
|
isColumn: !0
|
81
81
|
}
|
82
|
-
]), N =
|
82
|
+
]), N = _();
|
83
83
|
function B(a) {
|
84
84
|
n.value.siteId = "";
|
85
85
|
const t = new ie({ orgId: a });
|
86
86
|
t.useValues(), N.value = t.values;
|
87
87
|
}
|
88
|
-
const k =
|
89
|
-
let
|
88
|
+
const k = _(""), f = _(!1);
|
89
|
+
let w = R({});
|
90
90
|
function E() {
|
91
|
-
|
91
|
+
w = R({}), k.value = V("common.add"), f.value = !0;
|
92
92
|
}
|
93
93
|
function K(a) {
|
94
|
-
|
94
|
+
w.serviceId = a.serviceId, k.value = V("common.edit"), f.value = !0;
|
95
95
|
}
|
96
96
|
function O(a) {
|
97
97
|
u.selectionRows.value = a;
|
@@ -103,9 +103,9 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
103
103
|
a && u.getList();
|
104
104
|
}
|
105
105
|
return u.getList(), (a, t) => {
|
106
|
-
const A = i("el-tooltip"), H = i("el-tree-select"),
|
106
|
+
const A = i("el-tooltip"), H = i("el-tree-select"), b = i("el-form-item"), c = i("el-col"), G = i("el-option"), J = i("el-select"), M = i("el-input"), W = i("jmash-select"), D = i("el-row"), h = i("el-button"), X = i("el-form"), Y = i("jmash-column-select"), Z = i("jmash-table"), x = i("jmash-pagination"), ee = i("el-card"), C = ae("hasPerm");
|
107
107
|
return d(), S("div", me, [
|
108
|
-
m("div",
|
108
|
+
m("div", pe, [
|
109
109
|
o(X, {
|
110
110
|
ref_key: "queryFormRef",
|
111
111
|
ref: U,
|
@@ -115,9 +115,9 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
115
115
|
default: l(() => [
|
116
116
|
o(D, null, {
|
117
117
|
default: l(() => [
|
118
|
-
o(
|
118
|
+
o(c, { span: 6 }, {
|
119
119
|
default: l(() => [
|
120
|
-
o(
|
120
|
+
o(b, {
|
121
121
|
label: a.$t("siteService.orgId"),
|
122
122
|
prop: "orgId"
|
123
123
|
}, {
|
@@ -125,7 +125,7 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
125
125
|
o(H, {
|
126
126
|
modelValue: n.value.orgId,
|
127
127
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => n.value.orgId = e),
|
128
|
-
data: s(
|
128
|
+
data: s(p).unionOrgBizLayDict.values,
|
129
129
|
filterable: "",
|
130
130
|
clearable: "",
|
131
131
|
"check-strictly": "",
|
@@ -157,9 +157,9 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
157
157
|
]),
|
158
158
|
_: 1
|
159
159
|
}),
|
160
|
-
o(
|
160
|
+
o(c, { span: 6 }, {
|
161
161
|
default: l(() => [
|
162
|
-
o(
|
162
|
+
o(b, {
|
163
163
|
label: a.$t("siteService.siteId"),
|
164
164
|
prop: "siteId"
|
165
165
|
}, {
|
@@ -187,9 +187,9 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
187
187
|
]),
|
188
188
|
_: 1
|
189
189
|
}),
|
190
|
-
o(
|
190
|
+
o(c, { span: 6 }, {
|
191
191
|
default: l(() => [
|
192
|
-
o(
|
192
|
+
o(b, {
|
193
193
|
label: a.$t("siteService.serviceName"),
|
194
194
|
prop: "likeServiceName"
|
195
195
|
}, {
|
@@ -206,9 +206,9 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
206
206
|
]),
|
207
207
|
_: 1
|
208
208
|
}),
|
209
|
-
o(
|
209
|
+
o(c, { span: 6 }, {
|
210
210
|
default: l(() => [
|
211
|
-
o(
|
211
|
+
o(b, {
|
212
212
|
label: a.$t("siteService.status"),
|
213
213
|
prop: "status"
|
214
214
|
}, {
|
@@ -217,7 +217,7 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
217
217
|
modelValue: n.value.status,
|
218
218
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => n.value.status = e),
|
219
219
|
placeholder: a.$t("siteService.statusRequired"),
|
220
|
-
data: s(
|
220
|
+
data: s(p).serviceStatusEnum.values,
|
221
221
|
onKeyup: t[5] || (t[5] = L((e) => s(u).handleQuery(), ["enter"]))
|
222
222
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
223
223
|
]),
|
@@ -229,9 +229,9 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
229
229
|
]),
|
230
230
|
_: 1
|
231
231
|
}),
|
232
|
-
o(
|
232
|
+
o(b, { class: "search-btn" }, {
|
233
233
|
default: l(() => [
|
234
|
-
o(
|
234
|
+
o(h, {
|
235
235
|
type: "primary",
|
236
236
|
onClick: t[6] || (t[6] = (e) => s(u).handleQuery())
|
237
237
|
}, {
|
@@ -240,7 +240,7 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
240
240
|
]),
|
241
241
|
_: 1
|
242
242
|
}),
|
243
|
-
o(
|
243
|
+
o(h, {
|
244
244
|
onClick: t[7] || (t[7] = (e) => s(u).resetQuery())
|
245
245
|
}, {
|
246
246
|
default: l(() => [
|
@@ -254,7 +254,7 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
254
254
|
]),
|
255
255
|
_: 1
|
256
256
|
}, 8, ["model"]),
|
257
|
-
|
257
|
+
t[14] || (t[14] = m("div", { class: "clear" }, null, -1))
|
258
258
|
]),
|
259
259
|
o(ee, {
|
260
260
|
shadow: "never",
|
@@ -263,9 +263,9 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
263
263
|
header: l(() => [
|
264
264
|
o(D, { justify: "space-between" }, {
|
265
265
|
default: l(() => [
|
266
|
-
o(
|
266
|
+
o(c, { span: 17 }, {
|
267
267
|
default: l(() => [
|
268
|
-
$((d(), I(
|
268
|
+
$((d(), I(h, {
|
269
269
|
type: "primary",
|
270
270
|
onClick: E
|
271
271
|
}, {
|
@@ -279,7 +279,7 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
279
279
|
]),
|
280
280
|
_: 1
|
281
281
|
}),
|
282
|
-
o(
|
282
|
+
o(c, {
|
283
283
|
span: 7,
|
284
284
|
class: "container-float"
|
285
285
|
}, {
|
@@ -321,16 +321,16 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
321
321
|
onSortChange: Q
|
322
322
|
}, {
|
323
323
|
orgId: l((e) => [
|
324
|
-
m("span", null, r(s(
|
324
|
+
m("span", null, r(s(p).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
|
325
325
|
]),
|
326
326
|
siteId: l((e) => [
|
327
|
-
m("span", null, r(s(
|
327
|
+
m("span", null, r(s(p).siteDict.getValue(e.data.row.siteId)), 1)
|
328
328
|
]),
|
329
329
|
day: l((e) => [
|
330
330
|
m("span", null, r(e.data.row.minDay) + " - " + r(e.data.row.maxDay), 1)
|
331
331
|
]),
|
332
332
|
status: l((e) => [
|
333
|
-
m("span", null, r(s(
|
333
|
+
m("span", null, r(s(p).serviceStatusEnum.getEnumValue(e.data.row.status)), 1)
|
334
334
|
]),
|
335
335
|
operation: l((e) => [
|
336
336
|
$((d(), S("span", {
|
@@ -338,7 +338,7 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
338
338
|
onClick: (te) => K(e.data.row)
|
339
339
|
}, [
|
340
340
|
g(r(a.$t("common.edit")), 1)
|
341
|
-
], 8,
|
341
|
+
], 8, ce)), [
|
342
342
|
[C, ["asset:site_service:update"]]
|
343
343
|
]),
|
344
344
|
$((d(), S("span", {
|
@@ -346,7 +346,7 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
346
346
|
onClick: (te) => s(u).deleteRecord(e.data.row)
|
347
347
|
}, [
|
348
348
|
g(r(a.$t("common.delete")), 1)
|
349
|
-
], 8,
|
349
|
+
], 8, ve)), [
|
350
350
|
[C, ["asset:site_service:delete"]]
|
351
351
|
])
|
352
352
|
]),
|
@@ -360,7 +360,7 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
360
360
|
modelValue: f.value,
|
361
361
|
"onUpdate:modelValue": t[13] || (t[13] = (e) => f.value = e),
|
362
362
|
title: k.value,
|
363
|
-
"entity-key": s(
|
363
|
+
"entity-key": s(w),
|
364
364
|
width: "900px",
|
365
365
|
onRefresh: F
|
366
366
|
}, null, 8, ["modelValue", "title", "entity-key"])) : j("", !0)
|
@@ -369,5 +369,5 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
|
|
369
369
|
}
|
370
370
|
});
|
371
371
|
export {
|
372
|
-
|
372
|
+
Ie as default
|
373
373
|
};
|