xyvcard-asset 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +52 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/common-kbgEWG-E.mjs +24 -0
- package/dist/edit-Bo9bnbUP.mjs +492 -0
- package/dist/edit-CE3u81Q0.mjs +4 -0
- package/dist/edit-DJFxVmvv.mjs +624 -0
- package/dist/edit-qp_2xtTZ.mjs +242 -0
- package/dist/edit-zFZfd8e1.mjs +4 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs +401 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +322 -0
- package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index-Bf5U4Ucl.mjs +369 -0
- package/dist/index-Bh2imlN_.mjs +149 -0
- package/dist/index-CHNiaFZk.mjs +291 -0
- package/dist/index-CmlP_Rro.mjs +332 -0
- package/dist/index-Cqw_E8lr.mjs +1269 -0
- package/dist/index-DA_FS24d.mjs +146 -0
- package/dist/index-DKmGNvQl.mjs +370 -0
- package/dist/index-DLxpE9s5.mjs +305 -0
- package/dist/index-DWaL87j5.mjs +89 -0
- package/dist/index-jOnQLJaB.mjs +416 -0
- package/dist/index-pyyjj1xa.mjs +187 -0
- package/dist/index.mjs +144 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +37 -0
- package/dist/style.css +1 -0
- package/dts/App.vue.d.ts +2 -0
- package/dts/api/asset/asset-asset/index.d.ts +20 -0
- package/dts/api/asset/asset-asset/types.d.ts +93 -0
- package/dts/api/asset/asset-service-appt-member/index.d.ts +20 -0
- package/dts/api/asset/asset-service-appt-member/types.d.ts +71 -0
- package/dts/api/asset/asset-service-appt-record/index.d.ts +20 -0
- package/dts/api/asset/asset-service-appt-record/types.d.ts +98 -0
- package/dts/api/asset/asset-site/index.d.ts +15 -0
- package/dts/api/asset/asset-site/types.d.ts +81 -0
- package/dts/api/asset/asset-site-service/index.d.ts +14 -0
- package/dts/api/asset/asset-site-service/types.d.ts +80 -0
- package/dts/api/dict.d.ts +22 -0
- package/dts/api/index.d.ts +14 -0
- package/dts/api/org/union-org/index.d.ts +14 -0
- package/dts/api/org/union-org/types.d.ts +49 -0
- package/dts/components/EnumRadio/index.vue.d.ts +18 -0
- package/dts/components/EnumSelect/index.vue.d.ts +18 -0
- package/dts/components/TMaps/index.vue.d.ts +20 -0
- package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/constant.d.ts +16 -0
- package/dts/index.d.ts +4 -0
- package/dts/lang/asset/en.d.ts +2 -0
- package/dts/lang/asset/zh-cn.d.ts +91 -0
- package/dts/lang/index.d.ts +1 -0
- package/dts/main.d.ts +4 -0
- package/dts/permission.d.ts +1 -0
- package/dts/router/page.d.ts +2 -0
- package/dts/src/App.vue.d.ts +2 -0
- package/dts/src/api/asset/asset-asset/index.d.ts +20 -0
- package/dts/src/api/asset/asset-asset/types.d.ts +93 -0
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +20 -0
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +71 -0
- package/dts/src/api/asset/asset-service-appt-record/index.d.ts +20 -0
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +98 -0
- package/dts/src/api/asset/asset-site/index.d.ts +15 -0
- package/dts/src/api/asset/asset-site/types.d.ts +81 -0
- package/dts/src/api/asset/asset-site-service/index.d.ts +14 -0
- package/dts/src/api/asset/asset-site-service/types.d.ts +80 -0
- package/dts/src/api/dict.d.ts +22 -0
- package/dts/src/api/index.d.ts +14 -0
- package/dts/src/api/org/union-org/index.d.ts +14 -0
- package/dts/src/api/org/union-org/types.d.ts +49 -0
- package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
- package/dts/src/components/EnumSelect/index.vue.d.ts +18 -0
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/src/constant.d.ts +16 -0
- package/dts/src/index.d.ts +4 -0
- package/dts/src/lang/asset/en.d.ts +2 -0
- package/dts/src/lang/asset/zh-cn.d.ts +91 -0
- package/dts/src/lang/index.d.ts +1 -0
- package/dts/src/main.d.ts +4 -0
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/page.d.ts +4 -0
- package/dts/src/utils/common.d.ts +51 -0
- package/dts/src/utils/index.d.ts +24 -0
- package/dts/src/views/asset/asset-asset/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-asset/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-site/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-site/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-site/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-site-service/index.vue.d.ts +2 -0
- package/dts/tsconfig.tsbuildinfo +1 -0
- package/dts/utils/common.d.ts +51 -0
- package/dts/utils/index.d.ts +24 -0
- package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
- package/package.json +60 -0
@@ -0,0 +1,149 @@
|
|
1
|
+
var u = Object.defineProperty;
|
2
|
+
var i = (p, e, t) => e in p ? u(p, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[e] = t;
|
3
|
+
var m = (p, e, t) => (i(p, typeof e != "symbol" ? e + "" : e, t), t);
|
4
|
+
import { useUserStore as s, clearEmpty as a, request as n } from "jmash-core";
|
5
|
+
import { q as o } from "./index-Cqw_E8lr.mjs";
|
6
|
+
class l {
|
7
|
+
constructor() {
|
8
|
+
// 修改实体预约会员
|
9
|
+
m(this, "update", function(e) {
|
10
|
+
const t = s().user.tenant;
|
11
|
+
return a(e), n({
|
12
|
+
url: "/v1/asset/service_appt_member" + t,
|
13
|
+
method: "patch",
|
14
|
+
data: e
|
15
|
+
});
|
16
|
+
});
|
17
|
+
}
|
18
|
+
getKey(e) {
|
19
|
+
return {
|
20
|
+
recordId: e.recordId,
|
21
|
+
memberId: e.memberId
|
22
|
+
};
|
23
|
+
}
|
24
|
+
// 查询翻页信息预约会员
|
25
|
+
findPage(e) {
|
26
|
+
const t = s().user.tenant;
|
27
|
+
return a(e), n({
|
28
|
+
url: "/v1/asset/service_appt_member/page/" + t,
|
29
|
+
method: "get",
|
30
|
+
params: e
|
31
|
+
});
|
32
|
+
}
|
33
|
+
// 查询列表信息预约会员
|
34
|
+
findList(e) {
|
35
|
+
const t = s().user.tenant;
|
36
|
+
return a(e), n({
|
37
|
+
url: "/v1/asset/service_appt_member/list/" + t,
|
38
|
+
method: "get",
|
39
|
+
params: e
|
40
|
+
});
|
41
|
+
}
|
42
|
+
// 查询预约会员
|
43
|
+
findById(e) {
|
44
|
+
const t = s().user.tenant;
|
45
|
+
return a(e), n({
|
46
|
+
url: "/v1/asset/service_appt_member/id/" + t + "/" + e.recordId + "/" + e.memberId,
|
47
|
+
method: "get"
|
48
|
+
});
|
49
|
+
}
|
50
|
+
// 创建实体预约会员
|
51
|
+
create(e) {
|
52
|
+
const t = s().user.tenant;
|
53
|
+
return a(e), n({
|
54
|
+
url: "/v1/asset/service_appt_member" + t,
|
55
|
+
method: "post",
|
56
|
+
data: e
|
57
|
+
});
|
58
|
+
}
|
59
|
+
// 上移下移
|
60
|
+
move(e, t) {
|
61
|
+
const r = { ...e };
|
62
|
+
return r.tenant = s().user.tenant, r.up = t, a(r), n({
|
63
|
+
url: "/v1/asset/service_appt_member/move",
|
64
|
+
method: "put",
|
65
|
+
data: r
|
66
|
+
});
|
67
|
+
}
|
68
|
+
// 启用/禁用
|
69
|
+
enable(e, t) {
|
70
|
+
const r = { ...e };
|
71
|
+
return r.tenant = s().user.tenant, r.enable = t, a(r), n({
|
72
|
+
url: "/v1/asset/service_appt_member/enable",
|
73
|
+
method: "put",
|
74
|
+
data: r
|
75
|
+
});
|
76
|
+
}
|
77
|
+
// 删除预约会员
|
78
|
+
delete(e) {
|
79
|
+
return e.tenant = s().user.tenant, a(e), n({
|
80
|
+
url: "/v1/asset/service_appt_member/id",
|
81
|
+
method: "delete",
|
82
|
+
params: e
|
83
|
+
});
|
84
|
+
}
|
85
|
+
// 批量删除预约会员
|
86
|
+
batchDelete(e) {
|
87
|
+
const t = e.map((c) => c.serviceApptMemberPk), r = {
|
88
|
+
tenant: s().user.tenant,
|
89
|
+
serviceApptMemberPk: t
|
90
|
+
};
|
91
|
+
return a(r), n({
|
92
|
+
url: "/v1/asset/service_appt_member/batch",
|
93
|
+
method: "put",
|
94
|
+
data: r
|
95
|
+
});
|
96
|
+
}
|
97
|
+
// 下载导入模板预约会员
|
98
|
+
downloadTemplate() {
|
99
|
+
const e = s().user.tenant;
|
100
|
+
return n({
|
101
|
+
url: "/v1/asset/service_appt_member/" + e + "/template.xlsx",
|
102
|
+
method: "get",
|
103
|
+
responseType: "blob",
|
104
|
+
params: {
|
105
|
+
tenant: s().user.tenant
|
106
|
+
}
|
107
|
+
});
|
108
|
+
}
|
109
|
+
// 导入预约会员
|
110
|
+
importExcel(e) {
|
111
|
+
return e.tenant = s().user.tenant, a(e), n({
|
112
|
+
url: "/v1/asset/service_appt_member/import",
|
113
|
+
method: "patch",
|
114
|
+
data: e
|
115
|
+
});
|
116
|
+
}
|
117
|
+
// 导出预约会员Excel文件
|
118
|
+
exportExcel(e) {
|
119
|
+
const t = s().user.tenant;
|
120
|
+
a(e);
|
121
|
+
const r = o.stringify(e, {
|
122
|
+
arrayFormat: "brackets",
|
123
|
+
allowDots: !0
|
124
|
+
});
|
125
|
+
return n({
|
126
|
+
url: "/v1/asset/service_appt_member/" + t + "/service_appt_members.xlsx?" + r,
|
127
|
+
method: "get",
|
128
|
+
responseType: "blob"
|
129
|
+
});
|
130
|
+
}
|
131
|
+
// 打印预约会员PDF文件
|
132
|
+
exportPdf(e) {
|
133
|
+
const t = s().user.tenant;
|
134
|
+
a(e);
|
135
|
+
const r = o.stringify(e, {
|
136
|
+
arrayFormat: "brackets",
|
137
|
+
allowDots: !0
|
138
|
+
});
|
139
|
+
return n({
|
140
|
+
url: "/v1/asset/service_appt_member/" + t + "/service_appt_members.pdf?" + r,
|
141
|
+
method: "get",
|
142
|
+
responseType: "blob"
|
143
|
+
});
|
144
|
+
}
|
145
|
+
}
|
146
|
+
const _ = new l();
|
147
|
+
export {
|
148
|
+
_ as s
|
149
|
+
};
|
@@ -0,0 +1,291 @@
|
|
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
|
+
};
|