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