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,146 @@
|
|
1
|
+
var u = Object.defineProperty;
|
2
|
+
var l = (o, e, t) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
|
3
|
+
var p = (o, e, t) => (l(o, 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 c } from "./index-Cqw_E8lr.mjs";
|
6
|
+
class i {
|
7
|
+
constructor() {
|
8
|
+
// 修改实体服务项目预约记录
|
9
|
+
p(this, "update", function(e) {
|
10
|
+
return e.tenant = s().user.tenant, a(e), n({
|
11
|
+
url: "/v1/asset/service_appt_record",
|
12
|
+
method: "patch",
|
13
|
+
data: e
|
14
|
+
});
|
15
|
+
});
|
16
|
+
}
|
17
|
+
getKey(e) {
|
18
|
+
return {
|
19
|
+
recordId: e.recordId
|
20
|
+
};
|
21
|
+
}
|
22
|
+
// 查询翻页信息服务项目预约记录
|
23
|
+
findPage(e) {
|
24
|
+
const t = s().user.tenant;
|
25
|
+
return a(e), n({
|
26
|
+
url: "/v1/asset/service_appt_record/page/" + t,
|
27
|
+
method: "get",
|
28
|
+
params: e
|
29
|
+
});
|
30
|
+
}
|
31
|
+
// 查询列表信息服务项目预约记录
|
32
|
+
findList(e) {
|
33
|
+
const t = s().user.tenant;
|
34
|
+
return a(e), n({
|
35
|
+
url: "/v1/asset/service_appt_record/list/" + t,
|
36
|
+
method: "get",
|
37
|
+
params: e
|
38
|
+
});
|
39
|
+
}
|
40
|
+
// 查询服务项目预约记录
|
41
|
+
findById(e) {
|
42
|
+
const t = s().user.tenant;
|
43
|
+
return a(e), n({
|
44
|
+
url: "/v1/asset/service_appt_record/id/" + t + "/" + e.recordId,
|
45
|
+
method: "get"
|
46
|
+
});
|
47
|
+
}
|
48
|
+
// 创建实体服务项目预约记录
|
49
|
+
create(e) {
|
50
|
+
return e.tenant = s().user.tenant, a(e), n({
|
51
|
+
url: "/v1/asset/service_appt_record",
|
52
|
+
method: "post",
|
53
|
+
data: e
|
54
|
+
});
|
55
|
+
}
|
56
|
+
// 上移下移
|
57
|
+
move(e, t) {
|
58
|
+
const r = { ...e };
|
59
|
+
return r.tenant = s().user.tenant, r.up = t, a(r), n({
|
60
|
+
url: "/v1/asset/service_appt_record/move",
|
61
|
+
method: "put",
|
62
|
+
data: r
|
63
|
+
});
|
64
|
+
}
|
65
|
+
// 启用/禁用
|
66
|
+
enable(e, t) {
|
67
|
+
const r = { ...e };
|
68
|
+
return r.tenant = s().user.tenant, r.enable = t, a(r), n({
|
69
|
+
url: "/v1/asset/service_appt_record/enable",
|
70
|
+
method: "put",
|
71
|
+
data: r
|
72
|
+
});
|
73
|
+
}
|
74
|
+
// 删除服务项目预约记录
|
75
|
+
delete(e) {
|
76
|
+
return e.tenant = s().user.tenant, a(e), n({
|
77
|
+
url: "/v1/asset/service_appt_record/id",
|
78
|
+
method: "delete",
|
79
|
+
params: e
|
80
|
+
});
|
81
|
+
}
|
82
|
+
// 批量删除服务项目预约记录
|
83
|
+
batchDelete(e) {
|
84
|
+
const t = e.map((d) => d.recordId), r = {
|
85
|
+
tenant: s().user.tenant,
|
86
|
+
RecordId: t
|
87
|
+
};
|
88
|
+
return a(r), n({
|
89
|
+
url: "/v1/asset/service_appt_record/batch",
|
90
|
+
method: "put",
|
91
|
+
data: r
|
92
|
+
});
|
93
|
+
}
|
94
|
+
// 下载导入模板服务项目预约记录
|
95
|
+
downloadTemplate() {
|
96
|
+
const e = s().user.tenant;
|
97
|
+
return n({
|
98
|
+
url: "/v1/asset/service_appt_record/" + e + "/template.xlsx",
|
99
|
+
method: "get",
|
100
|
+
responseType: "blob",
|
101
|
+
params: {
|
102
|
+
tenant: s().user.tenant
|
103
|
+
}
|
104
|
+
});
|
105
|
+
}
|
106
|
+
// 导入服务项目预约记录
|
107
|
+
importExcel(e) {
|
108
|
+
return e.tenant = s().user.tenant, a(e), n({
|
109
|
+
url: "/v1/asset/service_appt_record/import",
|
110
|
+
method: "patch",
|
111
|
+
data: e
|
112
|
+
});
|
113
|
+
}
|
114
|
+
// 导出服务项目预约记录Excel文件
|
115
|
+
exportExcel(e) {
|
116
|
+
const t = s().user.tenant;
|
117
|
+
a(e);
|
118
|
+
const r = c.stringify(e, {
|
119
|
+
arrayFormat: "brackets",
|
120
|
+
allowDots: !0
|
121
|
+
});
|
122
|
+
return n({
|
123
|
+
url: "/v1/asset/service_appt_record/" + t + "/service_appt_records.xlsx?" + r,
|
124
|
+
method: "get",
|
125
|
+
responseType: "blob"
|
126
|
+
});
|
127
|
+
}
|
128
|
+
// 打印服务项目预约记录PDF文件
|
129
|
+
exportPdf(e) {
|
130
|
+
const t = s().user.tenant;
|
131
|
+
a(e);
|
132
|
+
const r = c.stringify(e, {
|
133
|
+
arrayFormat: "brackets",
|
134
|
+
allowDots: !0
|
135
|
+
});
|
136
|
+
return n({
|
137
|
+
url: "/v1/asset/service_appt_record/" + t + "/service_appt_records.pdf?" + r,
|
138
|
+
method: "get",
|
139
|
+
responseType: "blob"
|
140
|
+
});
|
141
|
+
}
|
142
|
+
}
|
143
|
+
const h = new i();
|
144
|
+
export {
|
145
|
+
h as s
|
146
|
+
};
|
@@ -0,0 +1,370 @@
|
|
1
|
+
import { _ as x } from "./index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs";
|
2
|
+
import { defineComponent as ee, ref as g, resolveComponent as m, resolveDirective as te, openBlock as d, createElementBlock as h, createElementVNode as C, createVNode as a, withCtx as l, withKeys as M, unref as r, createTextVNode as u, toDisplayString as p, withDirectives as _, createBlock as b, isRef as T, createCommentVNode as N } from "vue";
|
3
|
+
import { useI18n as le } from "vue-i18n";
|
4
|
+
import "element-plus";
|
5
|
+
import { s as oe } from "./index-Bh2imlN_.mjs";
|
6
|
+
import "./edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs";
|
7
|
+
import { useTableHooks as ae } from "jmash-core";
|
8
|
+
const re = { class: "app-container" }, ne = { class: "search-container" }, se = ["onClick"], fe = /* @__PURE__ */ ee({
|
9
|
+
__name: "index",
|
10
|
+
setup(me) {
|
11
|
+
const { t: v } = le(), s = g({
|
12
|
+
curPage: 1,
|
13
|
+
pageSize: 10
|
14
|
+
}), { tableHooks: n, multipleTableRef: U, queryFormRef: S, listLoading: j, tableData: P, total: V } = ae(v, oe, s);
|
15
|
+
let y = g([
|
16
|
+
{
|
17
|
+
label: "serviceApptMember.recordId",
|
18
|
+
prop: "recordId",
|
19
|
+
width: "150",
|
20
|
+
sortable: "custom",
|
21
|
+
isColumn: !0
|
22
|
+
},
|
23
|
+
{
|
24
|
+
label: "serviceApptMember.memberId",
|
25
|
+
prop: "memberId",
|
26
|
+
width: "150",
|
27
|
+
sortable: "custom",
|
28
|
+
isColumn: !0
|
29
|
+
},
|
30
|
+
{
|
31
|
+
label: "serviceApptMember.realName",
|
32
|
+
prop: "realName",
|
33
|
+
width: "150",
|
34
|
+
sortable: "custom",
|
35
|
+
isColumn: !0
|
36
|
+
},
|
37
|
+
{
|
38
|
+
label: "serviceApptMember.status",
|
39
|
+
prop: "status",
|
40
|
+
width: "150",
|
41
|
+
sortable: "custom",
|
42
|
+
isColumn: !0
|
43
|
+
},
|
44
|
+
{
|
45
|
+
label: "serviceApptMember.statusTime",
|
46
|
+
prop: "statusTime",
|
47
|
+
width: "150",
|
48
|
+
sortable: "custom",
|
49
|
+
isColumn: !0
|
50
|
+
},
|
51
|
+
{
|
52
|
+
label: v("common.operate"),
|
53
|
+
width: "200",
|
54
|
+
slotName: "operation",
|
55
|
+
columnType: "slot",
|
56
|
+
fixed: "right",
|
57
|
+
isColumn: !0
|
58
|
+
}
|
59
|
+
]);
|
60
|
+
const R = g(""), z = g(!1), $ = g(!1);
|
61
|
+
function D() {
|
62
|
+
R.value = v("common.add"), z.value = !0;
|
63
|
+
}
|
64
|
+
function E(o) {
|
65
|
+
n.selectionRows.value = o;
|
66
|
+
}
|
67
|
+
function Q(o) {
|
68
|
+
n.handleSort(o.prop, o.order);
|
69
|
+
}
|
70
|
+
function B() {
|
71
|
+
$.value = !1;
|
72
|
+
}
|
73
|
+
function K(o) {
|
74
|
+
o.updateMask = "", n.importExcel(o).then((t) => {
|
75
|
+
$.value = !1;
|
76
|
+
});
|
77
|
+
}
|
78
|
+
return n.getList(), (o, t) => {
|
79
|
+
const k = m("el-input"), c = m("el-form-item"), L = x, i = m("el-button"), q = m("el-form"), A = m("el-col"), F = m("jmash-column-select"), H = m("el-row"), O = m("Bottom"), I = m("el-icon"), G = m("Top"), J = m("el-switch"), W = m("jmash-table"), X = m("jmash-pagination"), Y = m("el-card"), Z = m("jmash-import-upload"), f = te("hasPerm");
|
80
|
+
return d(), h("div", re, [
|
81
|
+
C("div", ne, [
|
82
|
+
a(q, {
|
83
|
+
ref_key: "queryFormRef",
|
84
|
+
ref: S,
|
85
|
+
model: s.value,
|
86
|
+
inline: !0
|
87
|
+
}, {
|
88
|
+
default: l(() => [
|
89
|
+
a(c, {
|
90
|
+
label: o.$t("serviceApptMember.recordId"),
|
91
|
+
prop: "recordId"
|
92
|
+
}, {
|
93
|
+
default: l(() => [
|
94
|
+
a(k, {
|
95
|
+
modelValue: s.value.recordId,
|
96
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => s.value.recordId = e),
|
97
|
+
placeholder: o.$t("serviceApptMember.recordId"),
|
98
|
+
onKeyup: t[1] || (t[1] = M((e) => r(n).handleQuery(), ["enter"]))
|
99
|
+
}, null, 8, ["modelValue", "placeholder"])
|
100
|
+
]),
|
101
|
+
_: 1
|
102
|
+
}, 8, ["label"]),
|
103
|
+
a(c, {
|
104
|
+
label: o.$t("serviceApptMember.memberId"),
|
105
|
+
prop: "memberId"
|
106
|
+
}, {
|
107
|
+
default: l(() => [
|
108
|
+
a(k, {
|
109
|
+
modelValue: s.value.memberId,
|
110
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => s.value.memberId = e),
|
111
|
+
placeholder: o.$t("serviceApptMember.memberId"),
|
112
|
+
onKeyup: t[3] || (t[3] = M((e) => r(n).handleQuery(), ["enter"]))
|
113
|
+
}, null, 8, ["modelValue", "placeholder"])
|
114
|
+
]),
|
115
|
+
_: 1
|
116
|
+
}, 8, ["label"]),
|
117
|
+
a(c, {
|
118
|
+
label: o.$t("serviceApptMember.realName"),
|
119
|
+
prop: "realName"
|
120
|
+
}, {
|
121
|
+
default: l(() => [
|
122
|
+
a(k, {
|
123
|
+
modelValue: s.value.realName,
|
124
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => s.value.realName = e),
|
125
|
+
placeholder: o.$t("serviceApptMember.realName"),
|
126
|
+
onKeyup: t[5] || (t[5] = M((e) => r(n).handleQuery(), ["enter"]))
|
127
|
+
}, null, 8, ["modelValue", "placeholder"])
|
128
|
+
]),
|
129
|
+
_: 1
|
130
|
+
}, 8, ["label"]),
|
131
|
+
a(c, {
|
132
|
+
label: o.$t("serviceApptMember.status"),
|
133
|
+
prop: "status"
|
134
|
+
}, {
|
135
|
+
default: l(() => [
|
136
|
+
a(L, {
|
137
|
+
modelValue: s.value.status,
|
138
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => s.value.status = e),
|
139
|
+
placeholder: o.$t("serviceApptMember.status"),
|
140
|
+
"enum-type": "jmash.rbac.protobuf.UserStatus",
|
141
|
+
clearable: "",
|
142
|
+
style: { width: "203px" }
|
143
|
+
}, null, 8, ["modelValue", "placeholder"])
|
144
|
+
]),
|
145
|
+
_: 1
|
146
|
+
}, 8, ["label"]),
|
147
|
+
a(c, {
|
148
|
+
label: o.$t("serviceApptMember.statusTime"),
|
149
|
+
prop: "statusTime"
|
150
|
+
}, {
|
151
|
+
default: l(() => [
|
152
|
+
a(k, {
|
153
|
+
modelValue: s.value.statusTime,
|
154
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => s.value.statusTime = e),
|
155
|
+
placeholder: o.$t("serviceApptMember.statusTime"),
|
156
|
+
onKeyup: t[8] || (t[8] = M((e) => r(n).handleQuery(), ["enter"]))
|
157
|
+
}, null, 8, ["modelValue", "placeholder"])
|
158
|
+
]),
|
159
|
+
_: 1
|
160
|
+
}, 8, ["label"]),
|
161
|
+
a(c, null, {
|
162
|
+
default: l(() => [
|
163
|
+
a(i, {
|
164
|
+
type: "primary",
|
165
|
+
onClick: t[9] || (t[9] = (e) => r(n).handleQuery())
|
166
|
+
}, {
|
167
|
+
default: l(() => [
|
168
|
+
u(p(o.$t("common.search")), 1)
|
169
|
+
]),
|
170
|
+
_: 1
|
171
|
+
}),
|
172
|
+
a(i, {
|
173
|
+
onClick: t[10] || (t[10] = (e) => r(n).resetQuery())
|
174
|
+
}, {
|
175
|
+
default: l(() => [
|
176
|
+
u(p(o.$t("common.reset")), 1)
|
177
|
+
]),
|
178
|
+
_: 1
|
179
|
+
})
|
180
|
+
]),
|
181
|
+
_: 1
|
182
|
+
})
|
183
|
+
]),
|
184
|
+
_: 1
|
185
|
+
}, 8, ["model"])
|
186
|
+
]),
|
187
|
+
a(Y, {
|
188
|
+
shadow: "never",
|
189
|
+
class: "table-container"
|
190
|
+
}, {
|
191
|
+
header: l(() => [
|
192
|
+
a(H, {
|
193
|
+
justify: "space-between",
|
194
|
+
span: 20
|
195
|
+
}, {
|
196
|
+
default: l(() => [
|
197
|
+
a(A, { span: 12 }, {
|
198
|
+
default: l(() => [
|
199
|
+
_((d(), b(i, {
|
200
|
+
type: "primary",
|
201
|
+
onClick: D
|
202
|
+
}, {
|
203
|
+
default: l(() => [
|
204
|
+
u(p(o.$t("common.add")), 1)
|
205
|
+
]),
|
206
|
+
_: 1
|
207
|
+
})), [
|
208
|
+
[f, ["asset:service_appt_member:add"]]
|
209
|
+
]),
|
210
|
+
_((d(), b(i, {
|
211
|
+
type: "primary",
|
212
|
+
onClick: t[11] || (t[11] = (e) => r(n).deleteRecords())
|
213
|
+
}, {
|
214
|
+
default: l(() => [
|
215
|
+
u(p(o.$t("common.batchDelete")), 1)
|
216
|
+
]),
|
217
|
+
_: 1
|
218
|
+
})), [
|
219
|
+
[f, ["asset:service_appt_member:delete"]]
|
220
|
+
])
|
221
|
+
]),
|
222
|
+
_: 1
|
223
|
+
}),
|
224
|
+
a(A, {
|
225
|
+
span: 8,
|
226
|
+
align: "right"
|
227
|
+
}, {
|
228
|
+
default: l(() => [
|
229
|
+
_((d(), b(i, {
|
230
|
+
plain: "",
|
231
|
+
type: "primary",
|
232
|
+
onClick: t[12] || (t[12] = (e) => $.value = !0)
|
233
|
+
}, {
|
234
|
+
default: l(() => [
|
235
|
+
u(p(o.$t("common.import")), 1)
|
236
|
+
]),
|
237
|
+
_: 1
|
238
|
+
})), [
|
239
|
+
[f, ["asset:service_appt_member:import"]]
|
240
|
+
]),
|
241
|
+
_((d(), b(i, {
|
242
|
+
plain: "",
|
243
|
+
type: "primary",
|
244
|
+
onClick: t[13] || (t[13] = (e) => r(n).handleExport(r(v)("asset.serviceApptMember.name")))
|
245
|
+
}, {
|
246
|
+
default: l(() => [
|
247
|
+
u(p(o.$t("common.export")), 1)
|
248
|
+
]),
|
249
|
+
_: 1
|
250
|
+
})), [
|
251
|
+
[f, ["asset:service_appt_member:export"]]
|
252
|
+
]),
|
253
|
+
_((d(), b(i, {
|
254
|
+
plain: "",
|
255
|
+
type: "primary",
|
256
|
+
onClick: t[14] || (t[14] = (e) => r(n).handleExportPdf(r(v)("asset.serviceApptMember.name")))
|
257
|
+
}, {
|
258
|
+
default: l(() => [
|
259
|
+
u(p(o.$t("common.print")), 1)
|
260
|
+
]),
|
261
|
+
_: 1
|
262
|
+
})), [
|
263
|
+
[f, ["asset:service_appt_member:print"]]
|
264
|
+
]),
|
265
|
+
a(F, {
|
266
|
+
modelValue: r(y),
|
267
|
+
"onUpdate:modelValue": t[15] || (t[15] = (e) => T(y) ? y.value = e : y = e),
|
268
|
+
"label-name": "asset/asset-service-appt-member"
|
269
|
+
}, null, 8, ["modelValue"])
|
270
|
+
]),
|
271
|
+
_: 1
|
272
|
+
})
|
273
|
+
]),
|
274
|
+
_: 1
|
275
|
+
})
|
276
|
+
]),
|
277
|
+
footer: l(() => [
|
278
|
+
r(V) > 0 ? (d(), b(X, {
|
279
|
+
key: 0,
|
280
|
+
total: r(V),
|
281
|
+
"onUpdate:total": t[16] || (t[16] = (e) => T(V) ? V.value = e : null),
|
282
|
+
"current-page": s.value.curPage,
|
283
|
+
"onUpdate:currentPage": t[17] || (t[17] = (e) => s.value.curPage = e),
|
284
|
+
"page-size": s.value.pageSize,
|
285
|
+
"onUpdate:pageSize": t[18] || (t[18] = (e) => s.value.pageSize = e),
|
286
|
+
onPagination: t[19] || (t[19] = (e) => r(n).getList())
|
287
|
+
}, null, 8, ["total", "current-page", "page-size"])) : N("", !0),
|
288
|
+
u(" ")
|
289
|
+
]),
|
290
|
+
default: l(() => [
|
291
|
+
a(W, {
|
292
|
+
ref_key: "multipleTableRef",
|
293
|
+
ref: U,
|
294
|
+
class: "table-top",
|
295
|
+
"row-key": "serviceApptMemberPk",
|
296
|
+
"list-loading": r(j),
|
297
|
+
data: r(P),
|
298
|
+
"table-label": r(y),
|
299
|
+
onSelectionChange: E,
|
300
|
+
onSortChange: Q
|
301
|
+
}, {
|
302
|
+
recordId: l((e) => [
|
303
|
+
C("span", null, p(e.data.row.recordId), 1)
|
304
|
+
]),
|
305
|
+
memberId: l((e) => [
|
306
|
+
C("span", null, p(e.data.row.memberId), 1)
|
307
|
+
]),
|
308
|
+
realName: l((e) => [
|
309
|
+
C("span", null, p(e.data.row.realName), 1)
|
310
|
+
]),
|
311
|
+
statusTime: l((e) => [
|
312
|
+
C("span", null, p(e.data.row.statusTime), 1)
|
313
|
+
]),
|
314
|
+
listOrder: l((e) => [
|
315
|
+
a(I, {
|
316
|
+
size: "16",
|
317
|
+
onClick: (w) => r(n).handleMove(e.data.row, !1)
|
318
|
+
}, {
|
319
|
+
default: l(() => [
|
320
|
+
a(O)
|
321
|
+
]),
|
322
|
+
_: 2
|
323
|
+
}, 1032, ["onClick"]),
|
324
|
+
a(I, {
|
325
|
+
size: "16",
|
326
|
+
onClick: (w) => r(n).handleMove(e.data.row, !0)
|
327
|
+
}, {
|
328
|
+
default: l(() => [
|
329
|
+
a(G)
|
330
|
+
]),
|
331
|
+
_: 2
|
332
|
+
}, 1032, ["onClick"])
|
333
|
+
]),
|
334
|
+
enable: l((e) => [
|
335
|
+
a(J, {
|
336
|
+
modelValue: e.data.row.enable,
|
337
|
+
"onUpdate:modelValue": (w) => e.data.row.enable = w,
|
338
|
+
onChange: (w) => r(n).enableRecord(e.data.row, e.data.row.enable)
|
339
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
340
|
+
]),
|
341
|
+
operation: l((e) => [
|
342
|
+
_((d(), h("span", {
|
343
|
+
class: "el-button-color dropdown-left",
|
344
|
+
onClick: (w) => r(n).deleteRecord(e.data.row)
|
345
|
+
}, [
|
346
|
+
u(p(o.$t("common.delete")), 1)
|
347
|
+
], 8, se)), [
|
348
|
+
[f, ["asset:service_appt_member:delete"]]
|
349
|
+
])
|
350
|
+
]),
|
351
|
+
_: 1
|
352
|
+
}, 8, ["list-loading", "data", "table-label"])
|
353
|
+
]),
|
354
|
+
_: 1
|
355
|
+
}),
|
356
|
+
$.value ? (d(), b(Z, {
|
357
|
+
key: 0,
|
358
|
+
"upload-visible": $.value,
|
359
|
+
"template-title": o.$t("sysUser.templateDownload"),
|
360
|
+
onTemplateDown: t[20] || (t[20] = (e) => r(n).downloadTemplate(r(v)("asset.serviceApptMember.name"))),
|
361
|
+
onImportEvents: K,
|
362
|
+
onUploadClosed: B
|
363
|
+
}, null, 8, ["upload-visible", "template-title"])) : N("", !0)
|
364
|
+
]);
|
365
|
+
};
|
366
|
+
}
|
367
|
+
});
|
368
|
+
export {
|
369
|
+
fe as default
|
370
|
+
};
|