xyvcard-asset 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{assign-D4YB344H.mjs → assign-Cx16U6jb.mjs} +7 -5
- package/dist/{edit-yvYhMo5N.mjs → edit-B49ygJbc.mjs} +1 -1
- package/dist/{edit-Bwq5Vg9D.mjs → edit-Ds7g0sBn.mjs} +1 -1
- package/dist/{edit-D3zlqt11.mjs → edit-DuHNKz_4.mjs} +1 -1
- package/dist/{edit-DxvSeH5Y.mjs → edit-JbjxRp1e.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CA2vVvh7.mjs → edit.vue_vue_type_script_setup_true_lang-BKhYm0-l.mjs} +28 -24
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CK2dpk1z.mjs → edit.vue_vue_type_script_setup_true_lang-C06QNWoO.mjs} +120 -115
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DnzT146Q.mjs → edit.vue_vue_type_script_setup_true_lang-DCQmjaPp.mjs} +10 -8
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D59t05Ec.mjs → edit.vue_vue_type_script_setup_true_lang-mrDURO_L.mjs} +14 -13
- package/dist/{index-4gYJADQ3.mjs → index-5OS9ZzQf.mjs} +1 -1
- package/dist/index-BI8iDWzU.mjs +117 -0
- package/dist/index-BPuC76hs.mjs +338 -0
- package/dist/index-BQdGP1ah.mjs +152 -0
- package/dist/{index-DZAvRhPJ.mjs → index-BTfwEQad.mjs} +18 -16
- package/dist/index-BTvHsKHc.mjs +48286 -0
- package/dist/{index-CVU2G5rZ.mjs → index-B_EEJeEN.mjs} +1 -1
- package/dist/{index-CQE1DdOZ.mjs → index-C0Rd9wWv.mjs} +30 -27
- package/dist/{index-e_AlnW3A.mjs → index-C0cy2lYz.mjs} +37 -35
- package/dist/{index-BmxQiLjm.mjs → index-C33SaJIu.mjs} +48 -46
- package/dist/{index-DxQzN9_F.mjs → index-ColX0w7n.mjs} +17 -14
- package/dist/{index-Bx1vPk7S.mjs → index-D13F64qL.mjs} +142 -152
- package/dist/{index-vfIgwaoQ.mjs → index-DGHhDZ-w.mjs} +24 -22
- package/dist/{index-DmX4B8mf.mjs → index-DTHatck1.mjs} +61 -59
- package/dist/{index-eTof-sqF.mjs → index-DwPSpT78.mjs} +22 -20
- package/dist/index-U4WVV44p.mjs +1412 -0
- package/dist/{index-hCldWS2K.mjs → index-yjFsDfGI.mjs} +48 -45
- package/dist/index.mjs +2 -2
- package/dist/style.css +1 -1
- package/dts/api/asset/asset-asset/index.d.ts +1 -8
- package/dts/api/asset/asset-site-service/index.d.ts +2 -2
- package/dts/api/asset/asset-site-service/types.d.ts +1 -5
- package/dts/api/dict.d.ts +1 -4
- package/dts/api/index.d.ts +2 -1
- package/dts/constant.d.ts +3 -3
- package/dts/main.d.ts +1 -0
- package/dts/utils/common.d.ts +0 -41
- package/dts/views/asset/asset-site/edit.vue.d.ts +1 -1
- package/package.json +11 -13
- package/dist/index-0_FQdBCk.mjs +0 -322
- package/dist/index-BOS2gtjd.mjs +0 -165
- package/dist/index-eassrLOa.mjs +0 -1673
- package/dts/api/asset/text/index.d.ts +0 -140
- package/dts/api/asset/text/types.d.ts +0 -179
- package/dts/components/Upload/ImageUpload.vue.d.ts +0 -38
- package/dts/components/Upload/MultiUpload.vue.d.ts +0 -24
- package/dts/utils/index.d.ts +0 -24
@@ -1,21 +1,22 @@
|
|
1
|
-
import { defineComponent as M, ref as y, onBeforeMount as j, resolveComponent as c,
|
1
|
+
import { defineComponent as M, ref as y, onBeforeMount as j, resolveComponent as c, createElementBlock as k, openBlock as v, createVNode as s, withCtx as e, createBlock as h, createCommentVNode as b, createElementVNode as l, createTextVNode as n, toDisplayString as t, unref as r, isRef as K } from "vue";
|
2
2
|
import { useRouter as U, useRoute as O } from "vue-router";
|
3
|
-
import { D as p,
|
4
|
-
import { useTableHooks as
|
5
|
-
import { useI18n as
|
6
|
-
import { a as
|
3
|
+
import { D as p, C as A } from "./index-BTvHsKHc.mjs";
|
4
|
+
import { useTableHooks as H, routerUtil as Q } from "jmash-core";
|
5
|
+
import { useI18n as F } from "vue-i18n";
|
6
|
+
import { a as G } from "./index-BI8iDWzU.mjs";
|
7
|
+
import { a as C } from "./index-B_EEJeEN.mjs";
|
7
8
|
const J = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ee = { class: "cell-item" }, te = { class: "cell-item" }, le = { class: "cell-item" }, ae = { class: "cell-item" }, se = { class: "cell-item" }, oe = { class: "cell-item" }, ne = { class: "cell-item" }, ie = { class: "cell-item" }, ue = {
|
8
9
|
key: 1,
|
9
10
|
class: "title-content"
|
10
|
-
},
|
11
|
+
}, be = /* @__PURE__ */ M({
|
11
12
|
__name: "index",
|
12
13
|
setup(de) {
|
13
14
|
p.unionOrgBizLayDict.useValues(), p.siteDict.useValues();
|
14
|
-
const { t: w } =
|
15
|
+
const { t: w } = F(), T = U(), m = O(), _ = y({
|
15
16
|
curPage: 1,
|
16
17
|
pageSize: 10,
|
17
18
|
assetId: m.query.entityKey
|
18
|
-
}), { tableHooks: D, multipleTableRef: V, listLoading: N, tableData: g, total: f } =
|
19
|
+
}), { tableHooks: D, multipleTableRef: V, listLoading: N, tableData: g, total: f } = H(w, C, _);
|
19
20
|
let z = y([
|
20
21
|
// 码牌
|
21
22
|
{
|
@@ -57,7 +58,7 @@ const J = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
|
|
57
58
|
D.selectionRows.value = a;
|
58
59
|
}
|
59
60
|
const o = y({});
|
60
|
-
|
61
|
+
G.findById({ assetId: m.query.entityKey }).then((a) => {
|
61
62
|
o.value = a.data;
|
62
63
|
}), j(() => {
|
63
64
|
m.query.entityKey ? C.findPage({
|
@@ -67,7 +68,7 @@ const J = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
|
|
67
68
|
}) : g.value = [];
|
68
69
|
});
|
69
70
|
function E() {
|
70
|
-
|
71
|
+
Q.closeTagView(m.fullPath, T, !1);
|
71
72
|
}
|
72
73
|
return (a, u) => {
|
73
74
|
const P = c("el-button"), i = c("el-descriptions-item"), I = c("el-descriptions"), S = c("el-col"), $ = c("el-row"), L = c("jmash-table"), R = c("jmash-pagination"), q = c("el-card");
|
@@ -197,12 +198,13 @@ const J = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
|
|
197
198
|
_: 1
|
198
199
|
})
|
199
200
|
]),
|
200
|
-
_: 1
|
201
|
+
_: 1,
|
202
|
+
__: [4]
|
201
203
|
})
|
202
204
|
]),
|
203
205
|
_: 1
|
204
206
|
}),
|
205
|
-
o.value.depreciationType !== r(
|
207
|
+
o.value.depreciationType !== r(A).NONE ? (v(), h($, {
|
206
208
|
key: 0,
|
207
209
|
gutter: 20,
|
208
210
|
style: { width: "100%" }
|
@@ -270,7 +272,8 @@ const J = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
|
|
270
272
|
_: 1
|
271
273
|
})
|
272
274
|
]),
|
273
|
-
_: 1
|
275
|
+
_: 1,
|
276
|
+
__: [5]
|
274
277
|
})
|
275
278
|
]),
|
276
279
|
_: 1
|
@@ -307,5 +310,5 @@ const J = { class: "app-container" }, W = { class: "cell-item" }, X = { class: "
|
|
307
310
|
}
|
308
311
|
});
|
309
312
|
export {
|
310
|
-
|
313
|
+
be as default
|
311
314
|
};
|
@@ -1,28 +1,25 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useTableHooks as re, fileApi as
|
3
|
-
import { D as
|
4
|
-
import { useI18n as
|
1
|
+
import { defineComponent as ne, ref as h, reactive as E, onActivated as se, resolveComponent as s, resolveDirective as ie, createElementBlock as w, openBlock as d, createElementVNode as _, createVNode as a, createBlock as q, createCommentVNode as N, withCtx as o, withKeys as R, unref as n, toDisplayString as u, createTextVNode as c, withDirectives as C, isRef as U } from "vue";
|
2
|
+
import { useTableHooks as re, fileApi as j } from "jmash-core";
|
3
|
+
import { D as k, s as ue } from "./index-BTvHsKHc.mjs";
|
4
|
+
import { useI18n as de } from "vue-i18n";
|
5
5
|
import { useRouter as me } from "vue-router";
|
6
|
-
import { _ as pe } from "./edit.vue_vue_type_script_setup_true_lang-
|
7
|
-
const ce = { class: "app-container" },
|
8
|
-
key: 2,
|
9
|
-
class: "distance-left"
|
10
|
-
}, ge = ["onClick"], ye = ["onClick"], we = ["onClick"], qe = /* @__PURE__ */ se({
|
6
|
+
import { _ as pe } from "./edit.vue_vue_type_script_setup_true_lang-BKhYm0-l.mjs";
|
7
|
+
const ce = { class: "app-container" }, be = { class: "search-container" }, fe = ["onClick"], _e = ["onClick"], ge = ["onClick"], $e = /* @__PURE__ */ ne({
|
11
8
|
__name: "index",
|
12
|
-
setup(
|
13
|
-
|
14
|
-
const
|
9
|
+
setup(ve) {
|
10
|
+
k.unionOrgBizLayDict.useValues();
|
11
|
+
const T = me(), { t: V } = de(), i = h({
|
15
12
|
curPage: 1,
|
16
13
|
pageSize: 10
|
17
14
|
}), {
|
18
15
|
tableHooks: r,
|
19
|
-
multipleTableRef:
|
20
|
-
queryFormRef:
|
21
|
-
listLoading:
|
22
|
-
tableData:
|
23
|
-
total:
|
24
|
-
} = re(V,
|
25
|
-
let
|
16
|
+
multipleTableRef: S,
|
17
|
+
queryFormRef: z,
|
18
|
+
listLoading: L,
|
19
|
+
tableData: B,
|
20
|
+
total: g
|
21
|
+
} = re(V, ue, i);
|
22
|
+
let b = h([
|
26
23
|
// 场地码
|
27
24
|
{
|
28
25
|
label: "site.qrcode",
|
@@ -105,74 +102,76 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
105
102
|
isColumn: !0
|
106
103
|
}
|
107
104
|
]);
|
108
|
-
const $ =
|
105
|
+
const $ = h(""), f = h(!1);
|
109
106
|
let I = E({});
|
110
|
-
function
|
111
|
-
I = E({}), $.value = V("common.add"),
|
107
|
+
function K() {
|
108
|
+
I = E({}), $.value = V("common.add"), f.value = !0;
|
112
109
|
}
|
113
|
-
function
|
114
|
-
I.siteId = l.siteId, $.value = V("common.edit"),
|
110
|
+
function Q(l) {
|
111
|
+
I.siteId = l.siteId, $.value = V("common.edit"), f.value = !0;
|
115
112
|
}
|
116
|
-
function
|
117
|
-
|
113
|
+
function A(l) {
|
114
|
+
T.push({
|
118
115
|
path: "/rawasset/asset-site/info",
|
119
116
|
query: { entityKey: l.siteId }
|
120
117
|
});
|
121
118
|
}
|
122
|
-
function
|
119
|
+
function O(l) {
|
123
120
|
l && r.getList();
|
124
121
|
}
|
125
|
-
function
|
122
|
+
function F(l) {
|
126
123
|
r.handleSort(l.prop, l.order);
|
127
124
|
}
|
128
|
-
function
|
125
|
+
function H(l) {
|
129
126
|
r.selectionRows.value = l;
|
130
127
|
}
|
131
|
-
function
|
128
|
+
function G(l) {
|
132
129
|
l.mobileEncrypt = !l.mobileEncrypt;
|
133
130
|
}
|
134
|
-
return
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
131
|
+
return se(() => {
|
132
|
+
r.getList();
|
133
|
+
}), (l, t) => {
|
134
|
+
const J = s("el-tooltip"), M = s("el-tree-select"), v = s("el-form-item"), m = s("el-col"), W = s("el-input"), X = s("jmash-select"), P = s("el-button"), D = s("el-row"), Y = s("el-form"), Z = s("jmash-column-select"), x = s("el-image"), ee = s("jmash-mobileIns-component"), te = s("el-switch"), le = s("jmash-table"), oe = s("jmash-pagination"), ae = s("el-card"), y = ie("hasPerm");
|
135
|
+
return d(), w("div", ce, [
|
136
|
+
_("div", be, [
|
137
|
+
a(Y, {
|
139
138
|
ref_key: "queryFormRef",
|
140
|
-
ref:
|
139
|
+
ref: z,
|
141
140
|
model: i.value,
|
142
141
|
inline: !0
|
143
142
|
}, {
|
144
|
-
default:
|
145
|
-
|
146
|
-
default:
|
147
|
-
|
148
|
-
default:
|
149
|
-
|
143
|
+
default: o(() => [
|
144
|
+
a(D, null, {
|
145
|
+
default: o(() => [
|
146
|
+
a(m, { span: 6 }, {
|
147
|
+
default: o(() => [
|
148
|
+
a(v, {
|
150
149
|
label: l.$t("site.orgId"),
|
151
150
|
prop: "orgId"
|
152
151
|
}, {
|
153
|
-
default:
|
154
|
-
|
152
|
+
default: o(() => [
|
153
|
+
a(M, {
|
155
154
|
modelValue: i.value.orgId,
|
156
155
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => i.value.orgId = e),
|
157
|
-
data: n(
|
156
|
+
data: n(k).unionOrgBizLayDict.values,
|
158
157
|
filterable: "",
|
159
158
|
clearable: "",
|
160
159
|
"check-strictly": "",
|
161
160
|
"render-after-expand": !1,
|
162
161
|
placeholder: l.$t("site.orgIdRequired"),
|
163
162
|
class: "!w-[203px]",
|
164
|
-
onKeyup: t[1] || (t[1] =
|
163
|
+
onKeyup: t[1] || (t[1] = R((e) => n(r).handleQuery(), ["enter"]))
|
165
164
|
}, {
|
166
|
-
default:
|
167
|
-
|
168
|
-
|
165
|
+
default: o(({ data: e }) => [
|
166
|
+
_("span", null, [
|
167
|
+
a(J, {
|
169
168
|
class: "box-item",
|
170
169
|
effect: "light",
|
171
170
|
content: e.label,
|
172
171
|
placement: "top"
|
173
172
|
}, {
|
174
|
-
default:
|
175
|
-
|
173
|
+
default: o(() => [
|
174
|
+
_("span", null, u(e.label), 1)
|
176
175
|
]),
|
177
176
|
_: 2
|
178
177
|
}, 1032, ["content"])
|
@@ -186,19 +185,19 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
186
185
|
]),
|
187
186
|
_: 1
|
188
187
|
}),
|
189
|
-
|
190
|
-
default:
|
191
|
-
|
188
|
+
a(m, { span: 6 }, {
|
189
|
+
default: o(() => [
|
190
|
+
a(v, {
|
192
191
|
label: l.$t("site.name"),
|
193
192
|
prop: "likeName"
|
194
193
|
}, {
|
195
|
-
default:
|
196
|
-
|
194
|
+
default: o(() => [
|
195
|
+
a(W, {
|
197
196
|
modelValue: i.value.likeName,
|
198
197
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => i.value.likeName = e),
|
199
198
|
placeholder: l.$t("site.nameRequired"),
|
200
199
|
class: "!w-[203px]",
|
201
|
-
onKeyup: t[3] || (t[3] =
|
200
|
+
onKeyup: t[3] || (t[3] = R((e) => n(r).handleQuery(), ["enter"]))
|
202
201
|
}, null, 8, ["modelValue", "placeholder"])
|
203
202
|
]),
|
204
203
|
_: 1
|
@@ -206,19 +205,19 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
206
205
|
]),
|
207
206
|
_: 1
|
208
207
|
}),
|
209
|
-
|
210
|
-
default:
|
211
|
-
|
208
|
+
a(m, { span: 6 }, {
|
209
|
+
default: o(() => [
|
210
|
+
a(v, {
|
212
211
|
label: l.$t("site.status"),
|
213
212
|
prop: "status"
|
214
213
|
}, {
|
215
|
-
default:
|
216
|
-
|
214
|
+
default: o(() => [
|
215
|
+
a(X, {
|
217
216
|
modelValue: i.value.status,
|
218
217
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => i.value.status = e),
|
219
218
|
placeholder: l.$t("site.statusRequired"),
|
220
|
-
data: n(
|
221
|
-
onKeyup: t[5] || (t[5] =
|
219
|
+
data: n(k).enableDict.values,
|
220
|
+
onKeyup: t[5] || (t[5] = R((e) => n(r).handleQuery(), ["enter"]))
|
222
221
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
223
222
|
]),
|
224
223
|
_: 1
|
@@ -226,24 +225,24 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
226
225
|
]),
|
227
226
|
_: 1
|
228
227
|
}),
|
229
|
-
|
230
|
-
default:
|
231
|
-
|
232
|
-
default:
|
233
|
-
|
228
|
+
a(m, { span: 6 }, {
|
229
|
+
default: o(() => [
|
230
|
+
a(v, { class: "search-btn" }, {
|
231
|
+
default: o(() => [
|
232
|
+
a(P, {
|
234
233
|
type: "primary",
|
235
234
|
onClick: t[6] || (t[6] = (e) => n(r).handleQuery())
|
236
235
|
}, {
|
237
|
-
default:
|
238
|
-
|
236
|
+
default: o(() => [
|
237
|
+
c(u(l.$t("common.search")), 1)
|
239
238
|
]),
|
240
239
|
_: 1
|
241
240
|
}),
|
242
|
-
|
241
|
+
a(P, {
|
243
242
|
onClick: t[7] || (t[7] = (e) => n(r).resetQuery())
|
244
243
|
}, {
|
245
|
-
default:
|
246
|
-
|
244
|
+
default: o(() => [
|
245
|
+
c(u(l.$t("common.reset")), 1)
|
247
246
|
]),
|
248
247
|
_: 1
|
249
248
|
})
|
@@ -260,37 +259,37 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
260
259
|
_: 1
|
261
260
|
}, 8, ["model"])
|
262
261
|
]),
|
263
|
-
|
262
|
+
a(ae, {
|
264
263
|
shadow: "never",
|
265
264
|
class: "table-container"
|
266
265
|
}, {
|
267
|
-
header:
|
268
|
-
|
269
|
-
default:
|
270
|
-
|
271
|
-
default:
|
272
|
-
|
266
|
+
header: o(() => [
|
267
|
+
a(D, { justify: "space-between" }, {
|
268
|
+
default: o(() => [
|
269
|
+
a(m, { span: 17 }, {
|
270
|
+
default: o(() => [
|
271
|
+
C((d(), q(P, {
|
273
272
|
type: "primary",
|
274
|
-
onClick:
|
273
|
+
onClick: K
|
275
274
|
}, {
|
276
|
-
default:
|
277
|
-
|
275
|
+
default: o(() => [
|
276
|
+
c(u(l.$t("common.add")), 1)
|
278
277
|
]),
|
279
278
|
_: 1
|
280
279
|
})), [
|
281
|
-
[
|
280
|
+
[y, ["asset:site:add"]]
|
282
281
|
])
|
283
282
|
]),
|
284
283
|
_: 1
|
285
284
|
}),
|
286
|
-
|
285
|
+
a(m, {
|
287
286
|
span: 7,
|
288
287
|
class: "container-float"
|
289
288
|
}, {
|
290
|
-
default:
|
291
|
-
|
292
|
-
modelValue: n(
|
293
|
-
"onUpdate:modelValue": t[8] || (t[8] = (e) =>
|
289
|
+
default: o(() => [
|
290
|
+
a(Z, {
|
291
|
+
modelValue: n(b),
|
292
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => U(b) ? b.value = e : b = e),
|
294
293
|
"label-name": "asset/asset-site"
|
295
294
|
}, null, 8, ["modelValue"])
|
296
295
|
]),
|
@@ -300,92 +299,83 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
300
299
|
_: 1
|
301
300
|
})
|
302
301
|
]),
|
303
|
-
footer:
|
304
|
-
n(
|
302
|
+
footer: o(() => [
|
303
|
+
n(g) > 0 ? (d(), q(oe, {
|
305
304
|
key: 0,
|
306
|
-
total: n(
|
307
|
-
"onUpdate:total": t[9] || (t[9] = (e) =>
|
305
|
+
total: n(g),
|
306
|
+
"onUpdate:total": t[9] || (t[9] = (e) => U(g) ? g.value = e : null),
|
308
307
|
"current-page": i.value.curPage,
|
309
308
|
"onUpdate:currentPage": t[10] || (t[10] = (e) => i.value.curPage = e),
|
310
309
|
"page-size": i.value.pageSize,
|
311
310
|
"onUpdate:pageSize": t[11] || (t[11] = (e) => i.value.pageSize = e),
|
312
311
|
onPagination: t[12] || (t[12] = (e) => n(r).getList())
|
313
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
312
|
+
}, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
|
314
313
|
]),
|
315
|
-
default:
|
316
|
-
|
314
|
+
default: o(() => [
|
315
|
+
a(le, {
|
317
316
|
ref_key: "multipleTableRef",
|
318
|
-
ref:
|
317
|
+
ref: S,
|
319
318
|
class: "table-top",
|
320
319
|
"row-key": "siteId",
|
321
|
-
"list-loading": n(
|
322
|
-
data: n(
|
323
|
-
"table-label": n(
|
324
|
-
onSelectionChange:
|
325
|
-
onSortChange:
|
320
|
+
"list-loading": n(L),
|
321
|
+
data: n(B),
|
322
|
+
"table-label": n(b),
|
323
|
+
onSelectionChange: H,
|
324
|
+
onSortChange: F
|
326
325
|
}, {
|
327
|
-
qrcode:
|
328
|
-
|
329
|
-
src: n(
|
330
|
-
"preview-src-list": [n(
|
326
|
+
qrcode: o((e) => [
|
327
|
+
a(x, {
|
328
|
+
src: n(j).imageUrl(e.data.row.qrcode, 30, 30),
|
329
|
+
"preview-src-list": [n(j).imageUrl(e.data.row.qrcode)],
|
331
330
|
"preview-teleported": "",
|
332
331
|
"hide-on-click-modal": "",
|
333
332
|
fit: "contain"
|
334
333
|
}, null, 8, ["src", "preview-src-list"])
|
335
334
|
]),
|
336
|
-
orgId:
|
337
|
-
|
335
|
+
orgId: o((e) => [
|
336
|
+
_("span", null, u(n(k).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
|
338
337
|
]),
|
339
|
-
mobilePhone:
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
[z, !e.data.row.mobileEncrypt]
|
347
|
-
]),
|
348
|
-
b(o(S, {
|
349
|
-
"icon-class": "eye-open",
|
350
|
-
onClick: (m) => N(e.data.row)
|
351
|
-
}, null, 8, ["onClick"]), [
|
352
|
-
[z, e.data.row.mobileEncrypt]
|
353
|
-
])
|
354
|
-
])) : D("", !0)
|
338
|
+
mobilePhone: o((e) => [
|
339
|
+
a(ee, {
|
340
|
+
mobileEncrypt: e.data.row.mobileEncrypt,
|
341
|
+
mobilePhoneIns: e.data.row.mobilePhoneIns,
|
342
|
+
mobilePhone: e.data.row.mobilePhone,
|
343
|
+
onToggleEncrypt: (p) => G(e.data.row)
|
344
|
+
}, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone", "onToggleEncrypt"])
|
355
345
|
]),
|
356
|
-
status:
|
357
|
-
|
358
|
-
|
346
|
+
status: o((e) => [
|
347
|
+
_("span", null, [
|
348
|
+
a(te, {
|
359
349
|
modelValue: e.data.row.status,
|
360
|
-
"onUpdate:modelValue": (
|
361
|
-
onChange: (
|
350
|
+
"onUpdate:modelValue": (p) => e.data.row.status = p,
|
351
|
+
onChange: (p) => n(r).enableRecord(e.data.row, e.data.row.status)
|
362
352
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
363
353
|
])
|
364
354
|
]),
|
365
|
-
operation:
|
366
|
-
|
355
|
+
operation: o((e) => [
|
356
|
+
C((d(), w("span", {
|
367
357
|
class: "el-button-color",
|
368
|
-
onClick: (
|
358
|
+
onClick: (p) => Q(e.data.row)
|
369
359
|
}, [
|
370
|
-
|
371
|
-
], 8,
|
372
|
-
[
|
360
|
+
c(u(l.$t("common.edit")), 1)
|
361
|
+
], 8, fe)), [
|
362
|
+
[y, ["asset:site:update"]]
|
373
363
|
]),
|
374
|
-
|
364
|
+
C((d(), w("span", {
|
375
365
|
class: "el-button-color dropdown-left",
|
376
|
-
onClick: (
|
366
|
+
onClick: (p) => n(r).deleteRecord(e.data.row)
|
377
367
|
}, [
|
378
|
-
|
379
|
-
], 8,
|
380
|
-
[
|
368
|
+
c(u(l.$t("common.delete")), 1)
|
369
|
+
], 8, _e)), [
|
370
|
+
[y, ["asset:site:delete"]]
|
381
371
|
]),
|
382
|
-
|
372
|
+
C((d(), w("span", {
|
383
373
|
class: "el-button-color dropdown-left",
|
384
|
-
onClick: (
|
374
|
+
onClick: (p) => A(e.data.row)
|
385
375
|
}, [
|
386
|
-
|
387
|
-
], 8,
|
388
|
-
[
|
376
|
+
c(u(l.$t("common.view")), 1)
|
377
|
+
], 8, ge)), [
|
378
|
+
[y, ["asset:site:view"]]
|
389
379
|
])
|
390
380
|
]),
|
391
381
|
_: 1
|
@@ -393,19 +383,19 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
393
383
|
]),
|
394
384
|
_: 1
|
395
385
|
}),
|
396
|
-
|
386
|
+
f.value ? (d(), q(pe, {
|
397
387
|
key: 0,
|
398
|
-
modelValue:
|
399
|
-
"onUpdate:modelValue": t[13] || (t[13] = (e) =>
|
388
|
+
modelValue: f.value,
|
389
|
+
"onUpdate:modelValue": t[13] || (t[13] = (e) => f.value = e),
|
400
390
|
title: $.value,
|
401
391
|
"entity-key": n(I),
|
402
392
|
width: "900px",
|
403
|
-
onRefresh:
|
404
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
393
|
+
onRefresh: O
|
394
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : N("", !0)
|
405
395
|
]);
|
406
396
|
};
|
407
397
|
}
|
408
398
|
});
|
409
399
|
export {
|
410
|
-
|
400
|
+
$e as default
|
411
401
|
};
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import { defineComponent as H, getCurrentInstance as G, ref as b, resolveComponent as s, resolveDirective as
|
2
|
-
import { useTableHooks as
|
3
|
-
import { useI18n as
|
1
|
+
import { defineComponent as H, getCurrentInstance as G, ref as b, onActivated as J, resolveComponent as s, resolveDirective as W, createElementBlock as S, openBlock as _, createElementVNode as d, createVNode as n, withCtx as o, withKeys as R, unref as r, createTextVNode as w, toDisplayString as u, withDirectives as X, createBlock as Z, createCommentVNode as x, isRef as V } from "vue";
|
2
|
+
import { useTableHooks as ee } from "jmash-core";
|
3
|
+
import { useI18n as te } from "vue-i18n";
|
4
4
|
import { c as k } from "./common-CshrwPyx.mjs";
|
5
|
-
import { i as
|
6
|
-
import { D as y } from "./index-
|
7
|
-
import { useRouter as
|
8
|
-
const
|
5
|
+
import { i as oe } from "./index-5OS9ZzQf.mjs";
|
6
|
+
import { D as y } from "./index-BTvHsKHc.mjs";
|
7
|
+
import { useRouter as ne } from "vue-router";
|
8
|
+
const le = { class: "app-container" }, ae = { class: "search-container" }, re = ["onClick"], fe = /* @__PURE__ */ H({
|
9
9
|
__name: "index",
|
10
|
-
setup(
|
11
|
-
const { proxy: D } = G(), T =
|
10
|
+
setup(se) {
|
11
|
+
const { proxy: D } = G(), T = ne(), { t: C } = te();
|
12
12
|
y.unionOrgBizLayDict.useValues();
|
13
13
|
const a = b({
|
14
14
|
curPage: 1,
|
@@ -20,7 +20,7 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
20
20
|
listLoading: P,
|
21
21
|
tableData: j,
|
22
22
|
total: f
|
23
|
-
} =
|
23
|
+
} = ee(C, oe, a);
|
24
24
|
let p = b([
|
25
25
|
// 所属工会
|
26
26
|
{
|
@@ -95,10 +95,12 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
95
95
|
query: { inventoryId: l.inventoryId }
|
96
96
|
});
|
97
97
|
}
|
98
|
-
return
|
99
|
-
|
100
|
-
|
101
|
-
|
98
|
+
return J(() => {
|
99
|
+
i.getList();
|
100
|
+
}), (l, t) => {
|
101
|
+
const L = s("el-tree-select"), v = s("el-form-item"), m = s("el-col"), Q = s("el-input"), B = s("jmash-select"), g = s("el-row"), E = s("el-date-picker"), h = s("el-button"), q = s("el-form"), F = s("jmash-column-select"), K = s("jmash-table"), M = s("jmash-pagination"), A = s("el-card"), O = W("hasPerm");
|
102
|
+
return _(), S("div", le, [
|
103
|
+
d("div", ae, [
|
102
104
|
n(q, {
|
103
105
|
ref_key: "queryFormRef",
|
104
106
|
ref: I,
|
@@ -233,7 +235,7 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
233
235
|
}, 8, ["model"]),
|
234
236
|
t[13] || (t[13] = d("div", { class: "clear" }, null, -1))
|
235
237
|
]),
|
236
|
-
n(
|
238
|
+
n(A, {
|
237
239
|
shadow: "never",
|
238
240
|
class: "table-container"
|
239
241
|
}, {
|
@@ -261,7 +263,7 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
261
263
|
})
|
262
264
|
]),
|
263
265
|
footer: o(() => [
|
264
|
-
r(f) > 0 ? (_(),
|
266
|
+
r(f) > 0 ? (_(), Z(M, {
|
265
267
|
key: 0,
|
266
268
|
total: r(f),
|
267
269
|
"onUpdate:total": t[9] || (t[9] = (e) => V(f) ? f.value = e : null),
|
@@ -270,7 +272,7 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
270
272
|
"page-size": a.value.pageSize,
|
271
273
|
"onUpdate:pageSize": t[11] || (t[11] = (e) => a.value.pageSize = e),
|
272
274
|
onPagination: t[12] || (t[12] = (e) => r(i).getList())
|
273
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
275
|
+
}, null, 8, ["total", "current-page", "page-size"])) : x("", !0)
|
274
276
|
]),
|
275
277
|
default: o(() => [
|
276
278
|
n(K, {
|
@@ -305,13 +307,13 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
305
307
|
d("span", null, u(e.data.row.inventoryNote), 1)
|
306
308
|
]),
|
307
309
|
operation: o((e) => [
|
308
|
-
|
310
|
+
X((_(), S("span", {
|
309
311
|
class: "el-button-color",
|
310
|
-
onClick: (
|
312
|
+
onClick: (ie) => Y(e.data.row)
|
311
313
|
}, [
|
312
314
|
w(u(l.$t("common.view")), 1)
|
313
|
-
], 8,
|
314
|
-
[
|
315
|
+
], 8, re)), [
|
316
|
+
[O, ["asset:inventory_record:view"]]
|
315
317
|
])
|
316
318
|
]),
|
317
319
|
_: 1
|
@@ -324,5 +326,5 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
324
326
|
}
|
325
327
|
});
|
326
328
|
export {
|
327
|
-
|
329
|
+
fe as default
|
328
330
|
};
|