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