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
@@ -0,0 +1,345 @@
|
|
1
|
+
import { defineComponent as W, ref as b, resolveComponent as n, resolveDirective as X, openBlock as f, createElementBlock as y, createElementVNode as d, createVNode as l, withCtx as o, unref as s, withKeys as I, toDisplayString as p, Fragment as Z, renderList as x, createBlock as A, createTextVNode as R, isRef as k, createCommentVNode as ee, withDirectives as te } from "vue";
|
2
|
+
import { D as _, s as le } from "./index-BK24yagy.mjs";
|
3
|
+
import { useI18n as oe } from "vue-i18n";
|
4
|
+
import { s as ae } from "./index-BwbnYpa1.mjs";
|
5
|
+
import { useTableHooks as re } from "jmash-core";
|
6
|
+
import { useRouter as ne } from "vue-router";
|
7
|
+
import { c as C } from "./common-kbgEWG-E.mjs";
|
8
|
+
const se = { class: "app-container" }, ie = { class: "search-container" }, pe = /* @__PURE__ */ d("div", { class: "clear" }, null, -1), de = ["onClick"], Ie = /* @__PURE__ */ W({
|
9
|
+
__name: "index",
|
10
|
+
setup(ue) {
|
11
|
+
_.unionOrgBizLayDict.useValues(), _.siteDict.useValues();
|
12
|
+
const $ = ne(), { t: N } = oe();
|
13
|
+
let h = b();
|
14
|
+
const c = b([]), r = b({
|
15
|
+
curPage: 1,
|
16
|
+
pageSize: 10
|
17
|
+
}), {
|
18
|
+
tableHooks: i,
|
19
|
+
multipleTableRef: P,
|
20
|
+
queryFormRef: L,
|
21
|
+
listLoading: T,
|
22
|
+
tableData: z,
|
23
|
+
total: g
|
24
|
+
} = re(N, ae, r);
|
25
|
+
let m = b([
|
26
|
+
{
|
27
|
+
label: "serviceApptRecord.orgId",
|
28
|
+
prop: "orgId",
|
29
|
+
slotName: "orgId",
|
30
|
+
columnType: "slot",
|
31
|
+
isColumn: !0
|
32
|
+
},
|
33
|
+
{
|
34
|
+
label: "serviceApptRecord.siteId",
|
35
|
+
prop: "siteId",
|
36
|
+
slotName: "siteId",
|
37
|
+
columnType: "slot",
|
38
|
+
isColumn: !0
|
39
|
+
},
|
40
|
+
// 预约项目
|
41
|
+
{
|
42
|
+
label: "serviceApptRecord.serviceName",
|
43
|
+
prop: "serviceName",
|
44
|
+
isColumn: !0
|
45
|
+
},
|
46
|
+
// 预约日期
|
47
|
+
{
|
48
|
+
label: "serviceApptRecord.appointmentDate",
|
49
|
+
prop: "appointmentDate",
|
50
|
+
width: "180",
|
51
|
+
isColumn: !0
|
52
|
+
},
|
53
|
+
// 预约时间段
|
54
|
+
{
|
55
|
+
label: "serviceApptRecord.time",
|
56
|
+
prop: "time",
|
57
|
+
slotName: "time",
|
58
|
+
columnType: "slot",
|
59
|
+
width: "180",
|
60
|
+
isColumn: !0
|
61
|
+
},
|
62
|
+
// 限制人流
|
63
|
+
{
|
64
|
+
label: "serviceApptRecord.limitPerson",
|
65
|
+
prop: "limitPerson",
|
66
|
+
isColumn: !0,
|
67
|
+
width: "180"
|
68
|
+
},
|
69
|
+
// 已预约人数
|
70
|
+
{
|
71
|
+
label: "serviceApptRecord.apptPerson",
|
72
|
+
prop: "apptPerson",
|
73
|
+
isColumn: !0,
|
74
|
+
width: "180"
|
75
|
+
},
|
76
|
+
// 已签到人数
|
77
|
+
{
|
78
|
+
label: "serviceApptRecord.signPerson",
|
79
|
+
prop: "signPerson",
|
80
|
+
isColumn: !0,
|
81
|
+
width: "180"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
label: "common.operate",
|
85
|
+
slotName: "operation",
|
86
|
+
columnType: "slot",
|
87
|
+
fixed: "right",
|
88
|
+
isColumn: !0,
|
89
|
+
width: "80"
|
90
|
+
}
|
91
|
+
]);
|
92
|
+
function S(a) {
|
93
|
+
r.value.siteId = "", le.findList({ orgId: a }).then(({ data: { results: t } }) => {
|
94
|
+
h.value = t;
|
95
|
+
});
|
96
|
+
}
|
97
|
+
function U(a) {
|
98
|
+
if (a) {
|
99
|
+
if (c.value = a, c.value.length !== 2) return;
|
100
|
+
r.value.startDate = C(a[0]).getFullDate(), r.value.endDate = C(a[1]).getFullDate(), i.handleQuery();
|
101
|
+
} else
|
102
|
+
D();
|
103
|
+
}
|
104
|
+
function j(a) {
|
105
|
+
$.push({
|
106
|
+
path: "/asset/asset-service-appt-record/assetRecordInfo",
|
107
|
+
query: { entityKey: a.recordId }
|
108
|
+
});
|
109
|
+
}
|
110
|
+
function D() {
|
111
|
+
c.value = [], r.value.startDate = "", r.value.endDate = "", i.resetQuery();
|
112
|
+
}
|
113
|
+
return i.getList(), (a, t) => {
|
114
|
+
const q = n("el-tooltip"), B = n("el-tree-select"), v = n("el-form-item"), u = n("el-col"), Q = n("el-option"), F = n("el-select"), K = n("el-input"), O = n("el-date-picker"), w = n("el-row"), V = n("el-button"), Y = n("el-form"), E = n("jmash-column-select"), H = n("jmash-table"), M = n("jmash-pagination"), G = n("el-card"), J = X("hasPerm");
|
115
|
+
return f(), y("div", se, [
|
116
|
+
d("div", ie, [
|
117
|
+
l(Y, {
|
118
|
+
ref_key: "queryFormRef",
|
119
|
+
ref: L,
|
120
|
+
model: r.value,
|
121
|
+
inline: !0
|
122
|
+
}, {
|
123
|
+
default: o(() => [
|
124
|
+
l(w, null, {
|
125
|
+
default: o(() => [
|
126
|
+
l(u, { span: 6 }, {
|
127
|
+
default: o(() => [
|
128
|
+
l(v, {
|
129
|
+
label: a.$t("serviceApptRecord.orgId"),
|
130
|
+
prop: "orgId"
|
131
|
+
}, {
|
132
|
+
default: o(() => [
|
133
|
+
l(B, {
|
134
|
+
modelValue: r.value.orgId,
|
135
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.orgId = e),
|
136
|
+
data: s(_).unionOrgBizLayDict.values,
|
137
|
+
filterable: "",
|
138
|
+
clearable: "",
|
139
|
+
"check-strictly": "",
|
140
|
+
"render-after-expand": !1,
|
141
|
+
placeholder: a.$t("serviceApptRecord.orgIdRequired"),
|
142
|
+
class: "!w-[203px]",
|
143
|
+
onKeyup: t[1] || (t[1] = I((e) => s(i).handleQuery(), ["enter"])),
|
144
|
+
onChange: S
|
145
|
+
}, {
|
146
|
+
default: o(({ data: e }) => [
|
147
|
+
d("span", null, [
|
148
|
+
l(q, {
|
149
|
+
class: "box-item",
|
150
|
+
effect: "light",
|
151
|
+
content: e.label,
|
152
|
+
placement: "top"
|
153
|
+
}, {
|
154
|
+
default: o(() => [
|
155
|
+
d("span", null, p(e.label), 1)
|
156
|
+
]),
|
157
|
+
_: 2
|
158
|
+
}, 1032, ["content"])
|
159
|
+
])
|
160
|
+
]),
|
161
|
+
_: 1
|
162
|
+
}, 8, ["modelValue", "data", "placeholder"])
|
163
|
+
]),
|
164
|
+
_: 1
|
165
|
+
}, 8, ["label"])
|
166
|
+
]),
|
167
|
+
_: 1
|
168
|
+
}),
|
169
|
+
l(u, { span: 6 }, {
|
170
|
+
default: o(() => [
|
171
|
+
l(v, {
|
172
|
+
label: a.$t("serviceApptRecord.siteId"),
|
173
|
+
prop: "siteId"
|
174
|
+
}, {
|
175
|
+
default: o(() => [
|
176
|
+
l(F, {
|
177
|
+
modelValue: r.value.siteId,
|
178
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.siteId = e),
|
179
|
+
disabled: !r.value.orgId,
|
180
|
+
placeholder: a.$t("serviceApptRecord.siteIdRequired"),
|
181
|
+
class: "!w-[203px]",
|
182
|
+
clearable: "",
|
183
|
+
onKeyup: t[3] || (t[3] = I((e) => s(i).handleQuery(), ["enter"]))
|
184
|
+
}, {
|
185
|
+
default: o(() => [
|
186
|
+
(f(!0), y(Z, null, x(s(h), (e) => (f(), A(Q, {
|
187
|
+
key: e.siteId,
|
188
|
+
label: e.name,
|
189
|
+
value: e.siteId
|
190
|
+
}, null, 8, ["label", "value"]))), 128))
|
191
|
+
]),
|
192
|
+
_: 1
|
193
|
+
}, 8, ["modelValue", "disabled", "placeholder"])
|
194
|
+
]),
|
195
|
+
_: 1
|
196
|
+
}, 8, ["label"])
|
197
|
+
]),
|
198
|
+
_: 1
|
199
|
+
}),
|
200
|
+
l(u, { span: 6 }, {
|
201
|
+
default: o(() => [
|
202
|
+
l(v, {
|
203
|
+
label: a.$t("serviceApptRecord.serviceName"),
|
204
|
+
prop: "likeServiceName"
|
205
|
+
}, {
|
206
|
+
default: o(() => [
|
207
|
+
l(K, {
|
208
|
+
modelValue: r.value.likeServiceName,
|
209
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.likeServiceName = e),
|
210
|
+
placeholder: a.$t("serviceApptRecord.serviceNameRequired"),
|
211
|
+
onKeyup: t[5] || (t[5] = I((e) => s(i).handleQuery(), ["enter"]))
|
212
|
+
}, null, 8, ["modelValue", "placeholder"])
|
213
|
+
]),
|
214
|
+
_: 1
|
215
|
+
}, 8, ["label"])
|
216
|
+
]),
|
217
|
+
_: 1
|
218
|
+
}),
|
219
|
+
l(u, { span: 6 }, {
|
220
|
+
default: o(() => [
|
221
|
+
l(v, {
|
222
|
+
label: a.$t("serviceApptRecord.appointmentDate"),
|
223
|
+
prop: "startDate"
|
224
|
+
}, {
|
225
|
+
default: o(() => [
|
226
|
+
l(O, {
|
227
|
+
modelValue: c.value,
|
228
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => c.value = e),
|
229
|
+
class: "dropdown-left",
|
230
|
+
type: "daterange",
|
231
|
+
"start-placeholder": a.$t("serviceApptRecord.startDate"),
|
232
|
+
"end-placeholder": a.$t("serviceApptRecord.endDate"),
|
233
|
+
format: "YYYY-MM-DD",
|
234
|
+
onChange: U
|
235
|
+
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
236
|
+
]),
|
237
|
+
_: 1
|
238
|
+
}, 8, ["label"])
|
239
|
+
]),
|
240
|
+
_: 1
|
241
|
+
})
|
242
|
+
]),
|
243
|
+
_: 1
|
244
|
+
}),
|
245
|
+
l(v, { class: "search-btn" }, {
|
246
|
+
default: o(() => [
|
247
|
+
l(V, {
|
248
|
+
type: "primary",
|
249
|
+
onClick: t[7] || (t[7] = (e) => s(i).handleQuery())
|
250
|
+
}, {
|
251
|
+
default: o(() => [
|
252
|
+
R(p(a.$t("common.search")), 1)
|
253
|
+
]),
|
254
|
+
_: 1
|
255
|
+
}),
|
256
|
+
l(V, { onClick: D }, {
|
257
|
+
default: o(() => [
|
258
|
+
R(p(a.$t("common.reset")), 1)
|
259
|
+
]),
|
260
|
+
_: 1
|
261
|
+
})
|
262
|
+
]),
|
263
|
+
_: 1
|
264
|
+
})
|
265
|
+
]),
|
266
|
+
_: 1
|
267
|
+
}, 8, ["model"]),
|
268
|
+
pe
|
269
|
+
]),
|
270
|
+
l(G, {
|
271
|
+
shadow: "never",
|
272
|
+
class: "table-container"
|
273
|
+
}, {
|
274
|
+
footer: o(() => [
|
275
|
+
s(g) > 0 ? (f(), A(M, {
|
276
|
+
key: 0,
|
277
|
+
total: s(g),
|
278
|
+
"onUpdate:total": t[9] || (t[9] = (e) => k(g) ? g.value = e : null),
|
279
|
+
"current-page": r.value.curPage,
|
280
|
+
"onUpdate:currentPage": t[10] || (t[10] = (e) => r.value.curPage = e),
|
281
|
+
"page-size": r.value.pageSize,
|
282
|
+
"onUpdate:pageSize": t[11] || (t[11] = (e) => r.value.pageSize = e),
|
283
|
+
onPagination: t[12] || (t[12] = (e) => s(i).getList())
|
284
|
+
}, null, 8, ["total", "current-page", "page-size"])) : ee("", !0)
|
285
|
+
]),
|
286
|
+
default: o(() => [
|
287
|
+
l(w, { justify: "space-between" }, {
|
288
|
+
default: o(() => [
|
289
|
+
l(u, { span: 17 }),
|
290
|
+
l(u, {
|
291
|
+
span: 7,
|
292
|
+
class: "container-float"
|
293
|
+
}, {
|
294
|
+
default: o(() => [
|
295
|
+
l(E, {
|
296
|
+
modelValue: s(m),
|
297
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => k(m) ? m.value = e : m = e),
|
298
|
+
"label-name": "asset/asset-service-appt-record"
|
299
|
+
}, null, 8, ["modelValue"])
|
300
|
+
]),
|
301
|
+
_: 1
|
302
|
+
})
|
303
|
+
]),
|
304
|
+
_: 1
|
305
|
+
}),
|
306
|
+
l(H, {
|
307
|
+
ref_key: "multipleTableRef",
|
308
|
+
ref: P,
|
309
|
+
class: "table-top",
|
310
|
+
"row-key": "recordId",
|
311
|
+
"list-loading": s(T),
|
312
|
+
data: s(z),
|
313
|
+
"table-label": s(m)
|
314
|
+
}, {
|
315
|
+
orgId: o((e) => [
|
316
|
+
d("span", null, p(s(_).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
|
317
|
+
]),
|
318
|
+
siteId: o((e) => [
|
319
|
+
d("span", null, p(s(_).siteDict.getValue(e.data.row.siteId)), 1)
|
320
|
+
]),
|
321
|
+
time: o((e) => [
|
322
|
+
d("span", null, p(e.data.row.startTime) + " - " + p(e.data.row.endTime), 1)
|
323
|
+
]),
|
324
|
+
operation: o((e) => [
|
325
|
+
te((f(), y("span", {
|
326
|
+
class: "el-button-color",
|
327
|
+
onClick: (ce) => j(e.data.row)
|
328
|
+
}, [
|
329
|
+
R(p(a.$t("common.view")), 1)
|
330
|
+
], 8, de)), [
|
331
|
+
[J, ["asset:service_appt_record:view"]]
|
332
|
+
])
|
333
|
+
]),
|
334
|
+
_: 1
|
335
|
+
}, 8, ["list-loading", "data", "table-label"])
|
336
|
+
]),
|
337
|
+
_: 1
|
338
|
+
})
|
339
|
+
]);
|
340
|
+
};
|
341
|
+
}
|
342
|
+
});
|
343
|
+
export {
|
344
|
+
Ie as default
|
345
|
+
};
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { useUserStore as t, clearEmpty as s, request as n } from "jmash-core";
|
2
|
+
class c {
|
3
|
+
getKey(e) {
|
4
|
+
return {
|
5
|
+
recordId: e.recordId
|
6
|
+
};
|
7
|
+
}
|
8
|
+
// 查询翻页信息服务项目预约记录
|
9
|
+
findPage(e) {
|
10
|
+
const r = t().user.tenant;
|
11
|
+
return s(e), n({
|
12
|
+
url: "/v1/asset/service_appt_record/page/" + r,
|
13
|
+
method: "get",
|
14
|
+
params: e
|
15
|
+
});
|
16
|
+
}
|
17
|
+
// 查询服务项目预约记录
|
18
|
+
findById(e) {
|
19
|
+
const r = t().user.tenant;
|
20
|
+
return s(e), n({
|
21
|
+
url: "/v1/asset/service_appt_record/id/" + r + "/" + e.recordId,
|
22
|
+
method: "get"
|
23
|
+
});
|
24
|
+
}
|
25
|
+
}
|
26
|
+
const p = new c();
|
27
|
+
export {
|
28
|
+
p as s
|
29
|
+
};
|
@@ -0,0 +1,213 @@
|
|
1
|
+
import { defineComponent as U, ref as y, resolveComponent as u, openBlock as h, createElementBlock as j, createVNode as l, withCtx as e, createTextVNode as i, toDisplayString as o, unref as t, createBlock as M, isRef as K, createCommentVNode as O, createElementVNode as s } from "vue";
|
2
|
+
import { useRouter as q, useRoute as H } from "vue-router";
|
3
|
+
import { D as g } from "./index-BK24yagy.mjs";
|
4
|
+
import { useUserStore as A, clearEmpty as I, request as R, useTableHooks as F, routerUtil as G } from "jmash-core";
|
5
|
+
import { s as J } from "./index-BwbnYpa1.mjs";
|
6
|
+
import { useI18n as Q } from "vue-i18n";
|
7
|
+
class W {
|
8
|
+
getKey(n) {
|
9
|
+
return {
|
10
|
+
recordId: n.recordId,
|
11
|
+
memberId: n.memberId
|
12
|
+
};
|
13
|
+
}
|
14
|
+
// 查询翻页信息预约会员
|
15
|
+
findPage(n) {
|
16
|
+
const m = A().user.tenant;
|
17
|
+
return I(n), R({
|
18
|
+
url: "/v1/asset/service_appt_member/page/" + m,
|
19
|
+
method: "get",
|
20
|
+
params: n
|
21
|
+
});
|
22
|
+
}
|
23
|
+
// 查询列表信息预约会员
|
24
|
+
findList(n) {
|
25
|
+
const m = A().user.tenant;
|
26
|
+
return I(n), R({
|
27
|
+
url: "/v1/asset/service_appt_member/list/" + m,
|
28
|
+
method: "get",
|
29
|
+
params: n
|
30
|
+
});
|
31
|
+
}
|
32
|
+
}
|
33
|
+
const X = new W(), Y = { class: "app-container" }, Z = /* @__PURE__ */ s("div", { class: "title-content" }, "预约信息", -1), x = { class: "cell-item" }, ee = { class: "cell-item" }, te = { class: "cell-item" }, oe = { class: "cell-item" }, le = { class: "cell-item" }, se = { class: "cell-item" }, ae = { class: "cell-item" }, ne = /* @__PURE__ */ s("div", { class: "title-content" }, "预约人员信息", -1), me = /* @__PURE__ */ U({
|
34
|
+
__name: "index",
|
35
|
+
setup(D) {
|
36
|
+
g.unionOrgBizLayDict.useValues(), g.serviceNameDict.useValues();
|
37
|
+
const { t: n } = Q(), m = q(), b = H(), _ = y({
|
38
|
+
curPage: 1,
|
39
|
+
pageSize: 10,
|
40
|
+
recordId: b.query.entityKey
|
41
|
+
}), { tableHooks: v, multipleTableRef: P, listLoading: k, tableData: N, total: f } = F(n, X, _);
|
42
|
+
let w = y([
|
43
|
+
{
|
44
|
+
label: "serviceApptMember.realName",
|
45
|
+
prop: "realName",
|
46
|
+
isColumn: !0
|
47
|
+
},
|
48
|
+
{
|
49
|
+
label: "serviceApptMember.status",
|
50
|
+
prop: "status",
|
51
|
+
slotName: "status",
|
52
|
+
columnType: "slot",
|
53
|
+
isColumn: !0
|
54
|
+
}
|
55
|
+
]);
|
56
|
+
function V(a) {
|
57
|
+
v.selectionRows.value = a;
|
58
|
+
}
|
59
|
+
const r = y({});
|
60
|
+
J.findById({ recordId: b.query.entityKey }).then((a) => {
|
61
|
+
r.value = a.data;
|
62
|
+
});
|
63
|
+
function S() {
|
64
|
+
G.closeTagView(b.fullPath, m, !1);
|
65
|
+
}
|
66
|
+
return v.getList(), (a, c) => {
|
67
|
+
const $ = u("el-button"), d = u("el-descriptions-item"), z = u("el-descriptions"), C = u("el-col"), T = u("el-row"), B = u("jmash-table"), L = u("jmash-pagination"), E = u("el-card");
|
68
|
+
return h(), j("div", Y, [
|
69
|
+
l(E, { shadow: "never" }, {
|
70
|
+
header: e(() => [
|
71
|
+
l($, {
|
72
|
+
type: "primary",
|
73
|
+
onClick: S
|
74
|
+
}, {
|
75
|
+
default: e(() => [
|
76
|
+
i(o(a.$t("common.back")), 1)
|
77
|
+
]),
|
78
|
+
_: 1
|
79
|
+
})
|
80
|
+
]),
|
81
|
+
footer: e(() => [
|
82
|
+
t(f) > 0 ? (h(), M(L, {
|
83
|
+
key: 0,
|
84
|
+
total: t(f),
|
85
|
+
"onUpdate:total": c[0] || (c[0] = (p) => K(f) ? f.value = p : null),
|
86
|
+
"current-page": t(_).curPage,
|
87
|
+
"onUpdate:currentPage": c[1] || (c[1] = (p) => t(_).curPage = p),
|
88
|
+
"page-size": t(_).pageSize,
|
89
|
+
"onUpdate:pageSize": c[2] || (c[2] = (p) => t(_).pageSize = p),
|
90
|
+
onPagination: c[3] || (c[3] = (p) => t(v).getList())
|
91
|
+
}, null, 8, ["total", "current-page", "page-size"])) : O("", !0),
|
92
|
+
i(" ")
|
93
|
+
]),
|
94
|
+
default: e(() => [
|
95
|
+
l(T, {
|
96
|
+
gutter: 20,
|
97
|
+
style: { width: "100%" }
|
98
|
+
}, {
|
99
|
+
default: e(() => [
|
100
|
+
l(C, { span: 24 }, {
|
101
|
+
default: e(() => [
|
102
|
+
Z,
|
103
|
+
l(z, {
|
104
|
+
class: "margin-top",
|
105
|
+
column: 2,
|
106
|
+
border: ""
|
107
|
+
}, {
|
108
|
+
default: e(() => [
|
109
|
+
l(d, null, {
|
110
|
+
label: e(() => [
|
111
|
+
s("div", x, o(a.$t("serviceApptRecord.orgId")), 1)
|
112
|
+
]),
|
113
|
+
default: e(() => [
|
114
|
+
i(" " + o(t(g).unionOrgBizLayDict.getValue(t(r).orgId)), 1)
|
115
|
+
]),
|
116
|
+
_: 1
|
117
|
+
}),
|
118
|
+
l(d, null, {
|
119
|
+
label: e(() => [
|
120
|
+
s("div", ee, o(a.$t("serviceApptRecord.siteId")), 1)
|
121
|
+
]),
|
122
|
+
default: e(() => [
|
123
|
+
i(" " + o(t(g).serviceNameDict.getValue(t(r).siteId)), 1)
|
124
|
+
]),
|
125
|
+
_: 1
|
126
|
+
}),
|
127
|
+
l(d, null, {
|
128
|
+
label: e(() => [
|
129
|
+
s("div", te, o(a.$t("serviceApptRecord.appointmentDate")), 1)
|
130
|
+
]),
|
131
|
+
default: e(() => [
|
132
|
+
i(" " + o(t(r).appointmentDate), 1)
|
133
|
+
]),
|
134
|
+
_: 1
|
135
|
+
}),
|
136
|
+
l(d, null, {
|
137
|
+
label: e(() => [
|
138
|
+
s("span", null, [
|
139
|
+
s("div", oe, o(a.$t("serviceApptRecord.time")), 1)
|
140
|
+
])
|
141
|
+
]),
|
142
|
+
default: e(() => [
|
143
|
+
i(" " + o(t(r).startTime) + " - " + o(t(r).endTime), 1)
|
144
|
+
]),
|
145
|
+
_: 1
|
146
|
+
}),
|
147
|
+
l(d, null, {
|
148
|
+
label: e(() => [
|
149
|
+
s("div", le, o(a.$t("serviceApptRecord.serviceName")), 1)
|
150
|
+
]),
|
151
|
+
default: e(() => [
|
152
|
+
i(" " + o(t(r).serviceName), 1)
|
153
|
+
]),
|
154
|
+
_: 1
|
155
|
+
}),
|
156
|
+
l(d, null, {
|
157
|
+
label: e(() => [
|
158
|
+
s("span", null, [
|
159
|
+
s("div", se, o(a.$t("serviceApptRecord.limitPerson")), 1)
|
160
|
+
])
|
161
|
+
]),
|
162
|
+
default: e(() => [
|
163
|
+
i(" " + o(t(r).limitPerson), 1)
|
164
|
+
]),
|
165
|
+
_: 1
|
166
|
+
}),
|
167
|
+
l(d, null, {
|
168
|
+
label: e(() => [
|
169
|
+
s("span", null, [
|
170
|
+
s("div", ae, o(a.$t("serviceApptRecord.apptPerson")), 1)
|
171
|
+
])
|
172
|
+
]),
|
173
|
+
default: e(() => [
|
174
|
+
i(" " + o(t(r).apptPerson), 1)
|
175
|
+
]),
|
176
|
+
_: 1
|
177
|
+
})
|
178
|
+
]),
|
179
|
+
_: 1
|
180
|
+
})
|
181
|
+
]),
|
182
|
+
_: 1
|
183
|
+
})
|
184
|
+
]),
|
185
|
+
_: 1
|
186
|
+
}),
|
187
|
+
ne,
|
188
|
+
l(B, {
|
189
|
+
ref_key: "multipleTableRef",
|
190
|
+
ref: P,
|
191
|
+
"is-selection": !1,
|
192
|
+
class: "table-top",
|
193
|
+
"row-key": "recordId",
|
194
|
+
"list-loading": t(k),
|
195
|
+
data: t(N),
|
196
|
+
"table-label": t(w),
|
197
|
+
onSelectionChange: V
|
198
|
+
}, {
|
199
|
+
status: e((p) => [
|
200
|
+
s("span", null, o(t(g).statusDictEnum.getEnumValue(p.data.row.status)), 1)
|
201
|
+
]),
|
202
|
+
_: 1
|
203
|
+
}, 8, ["list-loading", "data", "table-label"])
|
204
|
+
]),
|
205
|
+
_: 1
|
206
|
+
})
|
207
|
+
]);
|
208
|
+
};
|
209
|
+
}
|
210
|
+
});
|
211
|
+
export {
|
212
|
+
me as default
|
213
|
+
};
|