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.
Files changed (139) hide show
  1. package/README.md +52 -52
  2. package/dist/assign-BLa-fXcy.mjs +1626 -0
  3. package/dist/{edit-zFZfd8e1.mjs → edit-CCrekeeb.mjs} +1 -1
  4. package/dist/{edit-CE3u81Q0.mjs → edit-DmRG7fo0.mjs} +1 -1
  5. package/dist/edit-Dn-QMuy6.mjs +4 -0
  6. package/dist/edit-FdqpKRgF.mjs +294 -0
  7. package/dist/edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs +547 -0
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs → edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs} +146 -139
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs +278 -0
  10. package/dist/index copy-Di49EjkG.mjs +76 -0
  11. package/dist/index-B4vUTwSW.mjs +171 -0
  12. package/dist/index-BK24yagy.mjs +1663 -0
  13. package/dist/index-BW-5IuVN.mjs +91 -0
  14. package/dist/index-BWwU9hSp.mjs +320 -0
  15. package/dist/index-BvKWLFdr.mjs +345 -0
  16. package/dist/index-BwbnYpa1.mjs +29 -0
  17. package/dist/index-ByVysHgI.mjs +4 -0
  18. package/dist/index-C5_f5Lce.mjs +213 -0
  19. package/dist/index-CgAq70-p.mjs +314 -0
  20. package/dist/index-DElPNxc7.mjs +398 -0
  21. package/dist/index-De4u-LEl.mjs +325 -0
  22. package/dist/index-DeBZxOsC.mjs +372 -0
  23. package/dist/index-Dyo7je0Z.mjs +38 -0
  24. package/dist/index-FUnFB7nG.mjs +61 -0
  25. package/dist/index-axEqTssj.mjs +378 -0
  26. package/dist/index-jOcS7tqC.mjs +311 -0
  27. package/dist/index-qQuyprvx.mjs +4 -0
  28. package/dist/index-xyCxQquE.mjs +432 -0
  29. package/dist/index.mjs +2752 -35
  30. package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +274 -0
  31. package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +120 -0
  32. package/dist/index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs +105 -0
  33. package/dist/index/345/244/207/344/273/275-CaiMDP8J.mjs +319 -0
  34. package/dist/style.css +1 -1
  35. package/dts/src/api/asset/asset-asset/index.d.ts +10 -5
  36. package/dts/src/api/asset/asset-asset/types.d.ts +39 -23
  37. package/dts/src/api/asset/asset-asset-detail/index.d.ts +12 -0
  38. package/dts/src/api/asset/asset-asset-detail/types.d.ts +56 -0
  39. package/dts/src/api/asset/asset-depreciation-record/index.d.ts +11 -0
  40. package/dts/src/api/asset/asset-depreciation-record/types.d.ts +38 -0
  41. package/dts/src/api/asset/asset-inventory-record/index.d.ts +10 -0
  42. package/dts/src/api/asset/asset-inventory-record/types.d.ts +62 -0
  43. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +1 -12
  44. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +1 -44
  45. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +1 -12
  46. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +7 -68
  47. package/dts/src/api/asset/asset-site/index.d.ts +1 -2
  48. package/dts/src/api/asset/asset-site/types.d.ts +4 -14
  49. package/dts/src/api/asset/asset-site-service/index.d.ts +1 -2
  50. package/dts/src/api/asset/asset-site-service/types.d.ts +1 -0
  51. package/dts/src/api/asset/text/index.d.ts +0 -0
  52. package/dts/src/api/asset/text/types.d.ts +0 -0
  53. package/dts/src/api/dict.d.ts +1 -4
  54. package/dts/src/api/index.d.ts +2 -0
  55. package/dts/src/components/PeopleSelect/index.vue.d.ts +18 -0
  56. package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
  57. package/dts/{components/TMaps/index.vue.d.ts → src/components copy/PeopleSelect/index.vue.d.ts } +5 -7
  58. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +34 -0
  59. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +18 -0
  60. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +34 -0
  61. 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
  62. 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
  63. 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
  64. 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
  65. package/dts/{components/Upload/ImageUpload.vue.d.ts → src/components copy/Upload/ImageUpload.vue.d.ts } +1 -1
  66. package/dts/src/constant.d.ts +4 -1
  67. package/dts/src/index.d.ts +3 -1
  68. package/dts/src/lang/asset/zh-cn.d.ts +59 -1
  69. package/dts/src/router/page.d.ts +4 -0
  70. package/dts/src/utils/momentPlugin.d.ts +5 -0
  71. package/dts/{views/asset/asset-asset/edit.vue.d.ts → src/views/asset/asset-asset/assign.vue.d.ts} +12 -5
  72. package/dts/{views/asset/asset-site → src/views/asset/asset-asset-detail}/edit.vue.d.ts +5 -7
  73. package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
  74. package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
  75. package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
  76. package/dts/tsconfig.tsbuildinfo +1 -1
  77. package/package.json +7 -6
  78. package/dist/edit-Bo9bnbUP.mjs +0 -492
  79. package/dist/edit-DJFxVmvv.mjs +0 -624
  80. package/dist/edit-qp_2xtTZ.mjs +0 -242
  81. package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +0 -322
  82. package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +0 -1
  83. package/dist/index-Bf5U4Ucl.mjs +0 -369
  84. package/dist/index-Bh2imlN_.mjs +0 -149
  85. package/dist/index-CHNiaFZk.mjs +0 -291
  86. package/dist/index-CmlP_Rro.mjs +0 -332
  87. package/dist/index-Cqw_E8lr.mjs +0 -1269
  88. package/dist/index-DA_FS24d.mjs +0 -146
  89. package/dist/index-DKmGNvQl.mjs +0 -370
  90. package/dist/index-DLxpE9s5.mjs +0 -305
  91. package/dist/index-DWaL87j5.mjs +0 -89
  92. package/dist/index-jOnQLJaB.mjs +0 -416
  93. package/dist/index-pyyjj1xa.mjs +0 -187
  94. package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +0 -37
  95. package/dts/api/asset/asset-asset/index.d.ts +0 -20
  96. package/dts/api/asset/asset-asset/types.d.ts +0 -93
  97. package/dts/api/asset/asset-service-appt-member/index.d.ts +0 -20
  98. package/dts/api/asset/asset-service-appt-member/types.d.ts +0 -71
  99. package/dts/api/asset/asset-service-appt-record/index.d.ts +0 -20
  100. package/dts/api/asset/asset-service-appt-record/types.d.ts +0 -98
  101. package/dts/api/asset/asset-site/index.d.ts +0 -15
  102. package/dts/api/asset/asset-site/types.d.ts +0 -81
  103. package/dts/api/asset/asset-site-service/index.d.ts +0 -14
  104. package/dts/api/asset/asset-site-service/types.d.ts +0 -80
  105. package/dts/api/dict.d.ts +0 -22
  106. package/dts/api/index.d.ts +0 -14
  107. package/dts/api/org/union-org/index.d.ts +0 -14
  108. package/dts/api/org/union-org/types.d.ts +0 -49
  109. package/dts/components/EnumRadio/index.vue.d.ts +0 -18
  110. package/dts/components/EnumSelect/index.vue.d.ts +0 -18
  111. package/dts/constant.d.ts +0 -16
  112. package/dts/index.d.ts +0 -4
  113. package/dts/lang/asset/en.d.ts +0 -2
  114. package/dts/lang/asset/zh-cn.d.ts +0 -91
  115. package/dts/lang/index.d.ts +0 -1
  116. package/dts/main.d.ts +0 -4
  117. package/dts/permission.d.ts +0 -1
  118. package/dts/router/page.d.ts +0 -2
  119. package/dts/src/api/org/union-org/index.d.ts +0 -14
  120. package/dts/src/api/org/union-org/types.d.ts +0 -49
  121. package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
  122. package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
  123. package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
  124. package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
  125. package/dts/utils/common.d.ts +0 -51
  126. package/dts/utils/index.d.ts +0 -24
  127. package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
  128. package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
  129. package/dts/views/asset/asset-site-service/edit.vue.d.ts +0 -22
  130. /package/dts/{views/asset/asset-asset → src/components/deptPeopleSelect}/index.vue.d.ts +0 -0
  131. /package/dts/{components → src/components copy}/Upload/MultiUpload.vue.d.ts +0 -0
  132. /package/dts/src/{views/asset/asset-service-appt-member → components copy/deptPeopleSelect}/index.vue.d.ts +0 -0
  133. /package/dts/{views/asset/asset-service-appt-record → src/views/asset/asset-asset/info}/index.vue.d.ts +0 -0
  134. /package/dts/{views/asset/asset-service-appt-member → src/views/asset/asset-asset-detail}/index.vue.d.ts +0 -0
  135. /package/dts/{views/asset/asset-service-appt-record/info → src/views/asset/asset-depreciation-record}/index.vue.d.ts +0 -0
  136. /package/dts/{views/asset/asset-site-service → src/views/asset/asset-depreciation-record/info}/index.vue.d.ts +0 -0
  137. /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/index.vue.d.ts +0 -0
  138. /package/dts/{App.vue.d.ts → src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts"} +0 -0
  139. /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/info/index.vue.d.ts +0 -0
@@ -1,146 +0,0 @@
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
- };
@@ -1,370 +0,0 @@
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
- };