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
@@ -0,0 +1,398 @@
|
|
1
|
+
import { defineComponent as ae, ref as k, reactive as j, resolveComponent as s, resolveDirective as ne, openBlock as u, createElementBlock as p, createElementVNode as y, createVNode as o, withCtx as a, unref as n, withKeys as R, toDisplayString as d, createTextVNode as f, withDirectives as b, createBlock as D, isRef as z, createCommentVNode as S, vShow as L } from "vue";
|
2
|
+
import { D as C, s as se } from "./index-BK24yagy.mjs";
|
3
|
+
import { useI18n as ie } from "vue-i18n";
|
4
|
+
import { useRouter as re } from "vue-router";
|
5
|
+
import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs";
|
6
|
+
import { useTableHooks as de } from "jmash-core";
|
7
|
+
const me = { class: "app-container" }, pe = { class: "search-container" }, ce = { key: 0 }, fe = { key: 1 }, be = {
|
8
|
+
key: 2,
|
9
|
+
class: "distance-left"
|
10
|
+
}, _e = ["onClick"], ve = ["onClick"], ye = ["onClick"], Ie = /* @__PURE__ */ ae({
|
11
|
+
__name: "index",
|
12
|
+
setup(ge) {
|
13
|
+
C.unionOrgBizLayDict.useValues();
|
14
|
+
const T = re(), { t: V } = ie(), i = k({
|
15
|
+
curPage: 1,
|
16
|
+
pageSize: 10
|
17
|
+
}), {
|
18
|
+
tableHooks: r,
|
19
|
+
multipleTableRef: q,
|
20
|
+
queryFormRef: Q,
|
21
|
+
listLoading: B,
|
22
|
+
tableData: K,
|
23
|
+
total: g
|
24
|
+
} = de(V, se, i);
|
25
|
+
let _ = k([
|
26
|
+
// 场地码
|
27
|
+
{
|
28
|
+
label: "site.siteQrcode",
|
29
|
+
prop: "siteQrcode",
|
30
|
+
width: "150",
|
31
|
+
isColumn: !0
|
32
|
+
},
|
33
|
+
// 所属工会
|
34
|
+
{
|
35
|
+
label: "site.orgId",
|
36
|
+
prop: "orgId",
|
37
|
+
slotName: "orgId",
|
38
|
+
columnType: "slot",
|
39
|
+
isColumn: !0
|
40
|
+
},
|
41
|
+
// 场地名称
|
42
|
+
{
|
43
|
+
label: "site.name",
|
44
|
+
prop: "name",
|
45
|
+
sortable: "custom",
|
46
|
+
isColumn: !0
|
47
|
+
},
|
48
|
+
// 面积
|
49
|
+
{
|
50
|
+
label: "site.area",
|
51
|
+
prop: "area",
|
52
|
+
width: "150",
|
53
|
+
isColumn: !0
|
54
|
+
},
|
55
|
+
// 场地地址
|
56
|
+
{
|
57
|
+
label: "site.address",
|
58
|
+
prop: "address",
|
59
|
+
width: "150",
|
60
|
+
isColumn: !0
|
61
|
+
},
|
62
|
+
// 建成时间
|
63
|
+
{
|
64
|
+
label: "site.buildDate",
|
65
|
+
prop: "buildDate",
|
66
|
+
width: "150",
|
67
|
+
isColumn: !0
|
68
|
+
},
|
69
|
+
// 场地管理员姓名
|
70
|
+
{
|
71
|
+
label: "site.manager",
|
72
|
+
prop: "manager",
|
73
|
+
width: "150",
|
74
|
+
isColumn: !0
|
75
|
+
},
|
76
|
+
// 管理员手机号脱敏
|
77
|
+
{
|
78
|
+
label: "site.mobilePhone",
|
79
|
+
prop: "mobilePhone",
|
80
|
+
slotName: "mobilePhone",
|
81
|
+
columnType: "slot",
|
82
|
+
width: "150",
|
83
|
+
isColumn: !0
|
84
|
+
},
|
85
|
+
// 场地状态
|
86
|
+
{
|
87
|
+
label: "site.status",
|
88
|
+
prop: "status",
|
89
|
+
slotName: "status",
|
90
|
+
columnType: "slot",
|
91
|
+
width: "80",
|
92
|
+
sortable: "custom",
|
93
|
+
isColumn: !0
|
94
|
+
},
|
95
|
+
{
|
96
|
+
label: "common.operate",
|
97
|
+
width: "180",
|
98
|
+
slotName: "operation",
|
99
|
+
columnType: "slot",
|
100
|
+
fixed: "right",
|
101
|
+
isColumn: !0
|
102
|
+
}
|
103
|
+
]);
|
104
|
+
const $ = k(""), v = k(!1);
|
105
|
+
let I = j({});
|
106
|
+
function O() {
|
107
|
+
I = j({}), $.value = V("common.add"), v.value = !0;
|
108
|
+
}
|
109
|
+
function A(l) {
|
110
|
+
I.siteId = l.siteId, $.value = V("common.edit"), v.value = !0;
|
111
|
+
}
|
112
|
+
function F(l) {
|
113
|
+
T.push({
|
114
|
+
path: "/asset/asset-site/assetSiteInfo",
|
115
|
+
query: { entityKey: l.siteId }
|
116
|
+
});
|
117
|
+
}
|
118
|
+
function H(l) {
|
119
|
+
l && r.getList();
|
120
|
+
}
|
121
|
+
function G(l) {
|
122
|
+
r.handleSort(l.prop, l.order);
|
123
|
+
}
|
124
|
+
function J(l) {
|
125
|
+
r.selectionRows.value = l;
|
126
|
+
}
|
127
|
+
function N(l) {
|
128
|
+
l.mobileEncrypt = !l.mobileEncrypt;
|
129
|
+
}
|
130
|
+
return r.getList(), (l, t) => {
|
131
|
+
const M = s("el-tooltip"), W = s("el-tree-select"), h = s("el-form-item"), c = s("el-col"), X = s("el-input"), Y = s("jmash-select"), P = s("el-button"), E = s("el-row"), Z = s("el-form"), x = s("jmash-column-select"), U = s("svg-icon"), ee = s("el-switch"), te = s("jmash-table"), le = s("jmash-pagination"), oe = s("el-card"), w = ne("hasPerm");
|
132
|
+
return u(), p("div", me, [
|
133
|
+
y("div", pe, [
|
134
|
+
o(Z, {
|
135
|
+
ref_key: "queryFormRef",
|
136
|
+
ref: Q,
|
137
|
+
model: i.value,
|
138
|
+
inline: !0
|
139
|
+
}, {
|
140
|
+
default: a(() => [
|
141
|
+
o(E, null, {
|
142
|
+
default: a(() => [
|
143
|
+
o(c, { span: 6 }, {
|
144
|
+
default: a(() => [
|
145
|
+
o(h, {
|
146
|
+
label: l.$t("site.orgId"),
|
147
|
+
prop: "orgId"
|
148
|
+
}, {
|
149
|
+
default: a(() => [
|
150
|
+
o(W, {
|
151
|
+
modelValue: i.value.orgId,
|
152
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => i.value.orgId = e),
|
153
|
+
data: n(C).unionOrgBizLayDict.values,
|
154
|
+
filterable: "",
|
155
|
+
clearable: "",
|
156
|
+
"check-strictly": "",
|
157
|
+
"render-after-expand": !1,
|
158
|
+
placeholder: l.$t("site.orgIdRequired"),
|
159
|
+
class: "!w-[203px]",
|
160
|
+
onKeyup: t[1] || (t[1] = R((e) => n(r).handleQuery(), ["enter"]))
|
161
|
+
}, {
|
162
|
+
default: a(({ data: e }) => [
|
163
|
+
y("span", null, [
|
164
|
+
o(M, {
|
165
|
+
class: "box-item",
|
166
|
+
effect: "light",
|
167
|
+
content: e.label,
|
168
|
+
placement: "top"
|
169
|
+
}, {
|
170
|
+
default: a(() => [
|
171
|
+
y("span", null, d(e.label), 1)
|
172
|
+
]),
|
173
|
+
_: 2
|
174
|
+
}, 1032, ["content"])
|
175
|
+
])
|
176
|
+
]),
|
177
|
+
_: 1
|
178
|
+
}, 8, ["modelValue", "data", "placeholder"])
|
179
|
+
]),
|
180
|
+
_: 1
|
181
|
+
}, 8, ["label"])
|
182
|
+
]),
|
183
|
+
_: 1
|
184
|
+
}),
|
185
|
+
o(c, { span: 6 }, {
|
186
|
+
default: a(() => [
|
187
|
+
o(h, {
|
188
|
+
label: l.$t("site.name"),
|
189
|
+
prop: "likeName"
|
190
|
+
}, {
|
191
|
+
default: a(() => [
|
192
|
+
o(X, {
|
193
|
+
modelValue: i.value.likeName,
|
194
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => i.value.likeName = e),
|
195
|
+
placeholder: l.$t("site.nameRequired"),
|
196
|
+
class: "!w-[203px]",
|
197
|
+
onKeyup: t[3] || (t[3] = R((e) => n(r).handleQuery(), ["enter"]))
|
198
|
+
}, null, 8, ["modelValue", "placeholder"])
|
199
|
+
]),
|
200
|
+
_: 1
|
201
|
+
}, 8, ["label"])
|
202
|
+
]),
|
203
|
+
_: 1
|
204
|
+
}),
|
205
|
+
o(c, { span: 6 }, {
|
206
|
+
default: a(() => [
|
207
|
+
o(h, {
|
208
|
+
label: l.$t("site.status"),
|
209
|
+
prop: "status"
|
210
|
+
}, {
|
211
|
+
default: a(() => [
|
212
|
+
o(Y, {
|
213
|
+
modelValue: i.value.status,
|
214
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => i.value.status = e),
|
215
|
+
placeholder: l.$t("site.statusRequired"),
|
216
|
+
data: n(C).enableDict.values,
|
217
|
+
onKeyup: t[5] || (t[5] = R((e) => n(r).handleQuery(), ["enter"]))
|
218
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
219
|
+
]),
|
220
|
+
_: 1
|
221
|
+
}, 8, ["label"])
|
222
|
+
]),
|
223
|
+
_: 1
|
224
|
+
}),
|
225
|
+
o(c, { span: 6 }, {
|
226
|
+
default: a(() => [
|
227
|
+
o(h, { class: "search-btn" }, {
|
228
|
+
default: a(() => [
|
229
|
+
o(P, {
|
230
|
+
type: "primary",
|
231
|
+
onClick: t[6] || (t[6] = (e) => n(r).handleQuery())
|
232
|
+
}, {
|
233
|
+
default: a(() => [
|
234
|
+
f(d(l.$t("common.search")), 1)
|
235
|
+
]),
|
236
|
+
_: 1
|
237
|
+
}),
|
238
|
+
o(P, {
|
239
|
+
onClick: t[7] || (t[7] = (e) => n(r).resetQuery())
|
240
|
+
}, {
|
241
|
+
default: a(() => [
|
242
|
+
f(d(l.$t("common.reset")), 1)
|
243
|
+
]),
|
244
|
+
_: 1
|
245
|
+
})
|
246
|
+
]),
|
247
|
+
_: 1
|
248
|
+
})
|
249
|
+
]),
|
250
|
+
_: 1
|
251
|
+
})
|
252
|
+
]),
|
253
|
+
_: 1
|
254
|
+
})
|
255
|
+
]),
|
256
|
+
_: 1
|
257
|
+
}, 8, ["model"])
|
258
|
+
]),
|
259
|
+
o(oe, {
|
260
|
+
shadow: "never",
|
261
|
+
class: "table-container"
|
262
|
+
}, {
|
263
|
+
header: a(() => [
|
264
|
+
o(E, { justify: "space-between" }, {
|
265
|
+
default: a(() => [
|
266
|
+
o(c, { span: 17 }, {
|
267
|
+
default: a(() => [
|
268
|
+
b((u(), D(P, {
|
269
|
+
type: "primary",
|
270
|
+
onClick: O
|
271
|
+
}, {
|
272
|
+
default: a(() => [
|
273
|
+
f(d(l.$t("common.add")), 1)
|
274
|
+
]),
|
275
|
+
_: 1
|
276
|
+
})), [
|
277
|
+
[w, ["asset:site:add"]]
|
278
|
+
])
|
279
|
+
]),
|
280
|
+
_: 1
|
281
|
+
}),
|
282
|
+
o(c, {
|
283
|
+
span: 7,
|
284
|
+
class: "container-float"
|
285
|
+
}, {
|
286
|
+
default: a(() => [
|
287
|
+
o(x, {
|
288
|
+
modelValue: n(_),
|
289
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => z(_) ? _.value = e : _ = e),
|
290
|
+
"label-name": "asset/asset-site"
|
291
|
+
}, null, 8, ["modelValue"])
|
292
|
+
]),
|
293
|
+
_: 1
|
294
|
+
})
|
295
|
+
]),
|
296
|
+
_: 1
|
297
|
+
})
|
298
|
+
]),
|
299
|
+
footer: a(() => [
|
300
|
+
n(g) > 0 ? (u(), D(le, {
|
301
|
+
key: 0,
|
302
|
+
total: n(g),
|
303
|
+
"onUpdate:total": t[9] || (t[9] = (e) => z(g) ? g.value = e : null),
|
304
|
+
"current-page": i.value.curPage,
|
305
|
+
"onUpdate:currentPage": t[10] || (t[10] = (e) => i.value.curPage = e),
|
306
|
+
"page-size": i.value.pageSize,
|
307
|
+
"onUpdate:pageSize": t[11] || (t[11] = (e) => i.value.pageSize = e),
|
308
|
+
onPagination: t[12] || (t[12] = (e) => n(r).getList())
|
309
|
+
}, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
|
310
|
+
]),
|
311
|
+
default: a(() => [
|
312
|
+
o(te, {
|
313
|
+
ref_key: "multipleTableRef",
|
314
|
+
ref: q,
|
315
|
+
class: "table-top",
|
316
|
+
"row-key": "siteId",
|
317
|
+
"list-loading": n(B),
|
318
|
+
data: n(K),
|
319
|
+
"table-label": n(_),
|
320
|
+
onSelectionChange: J,
|
321
|
+
onSortChange: G
|
322
|
+
}, {
|
323
|
+
orgId: a((e) => [
|
324
|
+
y("span", null, d(n(C).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
|
325
|
+
]),
|
326
|
+
mobilePhone: a((e) => [
|
327
|
+
e.data.row.mobileEncrypt ? (u(), p("span", fe, d(e.data.row.mobilePhone), 1)) : (u(), p("span", ce, d(e.data.row.mobilePhoneIns), 1)),
|
328
|
+
e.data.row.mobilePhoneIns ? (u(), p("span", be, [
|
329
|
+
b(o(U, {
|
330
|
+
"icon-class": "close-eye",
|
331
|
+
onClick: (m) => N(e.data.row)
|
332
|
+
}, null, 8, ["onClick"]), [
|
333
|
+
[L, !e.data.row.mobileEncrypt]
|
334
|
+
]),
|
335
|
+
b(o(U, {
|
336
|
+
"icon-class": "eye-open",
|
337
|
+
onClick: (m) => N(e.data.row)
|
338
|
+
}, null, 8, ["onClick"]), [
|
339
|
+
[L, e.data.row.mobileEncrypt]
|
340
|
+
])
|
341
|
+
])) : S("", !0)
|
342
|
+
]),
|
343
|
+
status: a((e) => [
|
344
|
+
y("span", null, [
|
345
|
+
o(ee, {
|
346
|
+
modelValue: e.data.row.status,
|
347
|
+
"onUpdate:modelValue": (m) => e.data.row.status = m,
|
348
|
+
onChange: (m) => n(r).enableRecord(e.data.row, e.data.row.status)
|
349
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
350
|
+
])
|
351
|
+
]),
|
352
|
+
operation: a((e) => [
|
353
|
+
b((u(), p("span", {
|
354
|
+
class: "el-button-color",
|
355
|
+
onClick: (m) => A(e.data.row)
|
356
|
+
}, [
|
357
|
+
f(d(l.$t("common.edit")), 1)
|
358
|
+
], 8, _e)), [
|
359
|
+
[w, ["asset:site:update"]]
|
360
|
+
]),
|
361
|
+
b((u(), p("span", {
|
362
|
+
class: "el-button-color dropdown-left",
|
363
|
+
onClick: (m) => n(r).deleteRecord(e.data.row)
|
364
|
+
}, [
|
365
|
+
f(d(l.$t("common.delete")), 1)
|
366
|
+
], 8, ve)), [
|
367
|
+
[w, ["asset:site:delete"]]
|
368
|
+
]),
|
369
|
+
b((u(), p("span", {
|
370
|
+
class: "el-button-color dropdown-left",
|
371
|
+
onClick: (m) => F(e.data.row)
|
372
|
+
}, [
|
373
|
+
f(d(l.$t("common.view")), 1)
|
374
|
+
], 8, ye)), [
|
375
|
+
[w, ["asset:site:view"]]
|
376
|
+
])
|
377
|
+
]),
|
378
|
+
_: 1
|
379
|
+
}, 8, ["list-loading", "data", "table-label"])
|
380
|
+
]),
|
381
|
+
_: 1
|
382
|
+
}),
|
383
|
+
v.value ? (u(), D(ue, {
|
384
|
+
key: 0,
|
385
|
+
modelValue: v.value,
|
386
|
+
"onUpdate:modelValue": t[13] || (t[13] = (e) => v.value = e),
|
387
|
+
title: $.value,
|
388
|
+
"entity-key": n(I),
|
389
|
+
width: "900px",
|
390
|
+
onRefresh: H
|
391
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0)
|
392
|
+
]);
|
393
|
+
};
|
394
|
+
}
|
395
|
+
});
|
396
|
+
export {
|
397
|
+
Ie as default
|
398
|
+
};
|