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.
Files changed (46) hide show
  1. package/dist/{assign-D4YB344H.mjs → assign-Cx16U6jb.mjs} +7 -5
  2. package/dist/{edit-yvYhMo5N.mjs → edit-B49ygJbc.mjs} +1 -1
  3. package/dist/{edit-Bwq5Vg9D.mjs → edit-Ds7g0sBn.mjs} +1 -1
  4. package/dist/{edit-D3zlqt11.mjs → edit-DuHNKz_4.mjs} +1 -1
  5. package/dist/{edit-DxvSeH5Y.mjs → edit-JbjxRp1e.mjs} +1 -1
  6. 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
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-CK2dpk1z.mjs → edit.vue_vue_type_script_setup_true_lang-C06QNWoO.mjs} +120 -115
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-DnzT146Q.mjs → edit.vue_vue_type_script_setup_true_lang-DCQmjaPp.mjs} +10 -8
  9. 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
  10. package/dist/{index-4gYJADQ3.mjs → index-5OS9ZzQf.mjs} +1 -1
  11. package/dist/index-BI8iDWzU.mjs +117 -0
  12. package/dist/index-BPuC76hs.mjs +338 -0
  13. package/dist/index-BQdGP1ah.mjs +152 -0
  14. package/dist/{index-DZAvRhPJ.mjs → index-BTfwEQad.mjs} +18 -16
  15. package/dist/index-BTvHsKHc.mjs +48286 -0
  16. package/dist/{index-CVU2G5rZ.mjs → index-B_EEJeEN.mjs} +1 -1
  17. package/dist/{index-CQE1DdOZ.mjs → index-C0Rd9wWv.mjs} +30 -27
  18. package/dist/{index-e_AlnW3A.mjs → index-C0cy2lYz.mjs} +37 -35
  19. package/dist/{index-BmxQiLjm.mjs → index-C33SaJIu.mjs} +48 -46
  20. package/dist/{index-DxQzN9_F.mjs → index-ColX0w7n.mjs} +17 -14
  21. package/dist/{index-Bx1vPk7S.mjs → index-D13F64qL.mjs} +142 -152
  22. package/dist/{index-vfIgwaoQ.mjs → index-DGHhDZ-w.mjs} +24 -22
  23. package/dist/{index-DmX4B8mf.mjs → index-DTHatck1.mjs} +61 -59
  24. package/dist/{index-eTof-sqF.mjs → index-DwPSpT78.mjs} +22 -20
  25. package/dist/index-U4WVV44p.mjs +1412 -0
  26. package/dist/{index-hCldWS2K.mjs → index-yjFsDfGI.mjs} +48 -45
  27. package/dist/index.mjs +2 -2
  28. package/dist/style.css +1 -1
  29. package/dts/api/asset/asset-asset/index.d.ts +1 -8
  30. package/dts/api/asset/asset-site-service/index.d.ts +2 -2
  31. package/dts/api/asset/asset-site-service/types.d.ts +1 -5
  32. package/dts/api/dict.d.ts +1 -4
  33. package/dts/api/index.d.ts +2 -1
  34. package/dts/constant.d.ts +3 -3
  35. package/dts/main.d.ts +1 -0
  36. package/dts/utils/common.d.ts +0 -41
  37. package/dts/views/asset/asset-site/edit.vue.d.ts +1 -1
  38. package/package.json +11 -13
  39. package/dist/index-0_FQdBCk.mjs +0 -322
  40. package/dist/index-BOS2gtjd.mjs +0 -165
  41. package/dist/index-eassrLOa.mjs +0 -1673
  42. package/dts/api/asset/text/index.d.ts +0 -140
  43. package/dts/api/asset/text/types.d.ts +0 -179
  44. package/dts/components/Upload/ImageUpload.vue.d.ts +0 -38
  45. package/dts/components/Upload/MultiUpload.vue.d.ts +0 -24
  46. 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, openBlock as v, createElementBlock as k, createVNode as s, withCtx as e, createTextVNode as n, toDisplayString as t, unref as r, createBlock as h, isRef as K, createCommentVNode as b, createElementVNode as l } from "vue";
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, a as A, C as H } from "./index-eassrLOa.mjs";
4
- import { useTableHooks as Q, routerUtil as F } from "jmash-core";
5
- import { useI18n as G } from "vue-i18n";
6
- import { a as C } from "./index-CVU2G5rZ.mjs";
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
- }, fe = /* @__PURE__ */ M({
11
+ }, be = /* @__PURE__ */ M({
11
12
  __name: "index",
12
13
  setup(de) {
13
14
  p.unionOrgBizLayDict.useValues(), p.siteDict.useValues();
14
- const { t: w } = G(), T = U(), m = O(), _ = y({
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 } = Q(w, C, _);
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
- A.findById({ assetId: m.query.entityKey }).then((a) => {
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
- F.closeTagView(m.fullPath, T, !1);
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(H).NONE ? (v(), h($, {
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
- fe as default
313
+ be as default
311
314
  };
@@ -1,28 +1,25 @@
1
- import { defineComponent as se, ref as k, reactive as E, resolveComponent as s, resolveDirective as ie, openBlock as d, createElementBlock as p, createElementVNode as g, createVNode as o, withCtx as a, unref as n, withKeys as q, toDisplayString as u, createTextVNode as f, withDirectives as b, createBlock as R, isRef as j, createCommentVNode as D, vShow as z } from "vue";
2
- import { useTableHooks as re, fileApi as T } from "jmash-core";
3
- import { D as C, s as de } from "./index-eassrLOa.mjs";
4
- import { useI18n as ue } from "vue-i18n";
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-CA2vVvh7.mjs";
7
- const ce = { class: "app-container" }, fe = { class: "search-container" }, be = { key: 0 }, _e = { key: 1 }, ve = {
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(he) {
13
- C.unionOrgBizLayDict.useValues();
14
- const L = me(), { t: V } = ue(), i = k({
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: B,
20
- queryFormRef: K,
21
- listLoading: Q,
22
- tableData: A,
23
- total: y
24
- } = re(V, de, i);
25
- let _ = k([
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 $ = k(""), v = k(!1);
105
+ const $ = h(""), f = h(!1);
109
106
  let I = E({});
110
- function O() {
111
- I = E({}), $.value = V("common.add"), v.value = !0;
107
+ function K() {
108
+ I = E({}), $.value = V("common.add"), f.value = !0;
112
109
  }
113
- function F(l) {
114
- I.siteId = l.siteId, $.value = V("common.edit"), v.value = !0;
110
+ function Q(l) {
111
+ I.siteId = l.siteId, $.value = V("common.edit"), f.value = !0;
115
112
  }
116
- function H(l) {
117
- L.push({
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 G(l) {
119
+ function O(l) {
123
120
  l && r.getList();
124
121
  }
125
- function J(l) {
122
+ function F(l) {
126
123
  r.handleSort(l.prop, l.order);
127
124
  }
128
- function M(l) {
125
+ function H(l) {
129
126
  r.selectionRows.value = l;
130
127
  }
131
- function N(l) {
128
+ function G(l) {
132
129
  l.mobileEncrypt = !l.mobileEncrypt;
133
130
  }
134
- return r.getList(), (l, t) => {
135
- const W = s("el-tooltip"), X = s("el-tree-select"), w = s("el-form-item"), c = s("el-col"), Y = s("el-input"), Z = s("jmash-select"), P = s("el-button"), U = s("el-row"), x = s("el-form"), ee = s("jmash-column-select"), te = s("el-image"), S = s("svg-icon"), le = s("el-switch"), oe = s("jmash-table"), ae = s("jmash-pagination"), ne = s("el-card"), h = ie("hasPerm");
136
- return d(), p("div", ce, [
137
- g("div", fe, [
138
- o(x, {
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: K,
139
+ ref: z,
141
140
  model: i.value,
142
141
  inline: !0
143
142
  }, {
144
- default: a(() => [
145
- o(U, null, {
146
- default: a(() => [
147
- o(c, { span: 6 }, {
148
- default: a(() => [
149
- o(w, {
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: a(() => [
154
- o(X, {
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(C).unionOrgBizLayDict.values,
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] = q((e) => n(r).handleQuery(), ["enter"]))
163
+ onKeyup: t[1] || (t[1] = R((e) => n(r).handleQuery(), ["enter"]))
165
164
  }, {
166
- default: a(({ data: e }) => [
167
- g("span", null, [
168
- o(W, {
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: a(() => [
175
- g("span", null, u(e.label), 1)
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
- o(c, { span: 6 }, {
190
- default: a(() => [
191
- o(w, {
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: a(() => [
196
- o(Y, {
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] = q((e) => n(r).handleQuery(), ["enter"]))
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
- o(c, { span: 6 }, {
210
- default: a(() => [
211
- o(w, {
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: a(() => [
216
- o(Z, {
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(C).enableDict.values,
221
- onKeyup: t[5] || (t[5] = q((e) => n(r).handleQuery(), ["enter"]))
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
- o(c, { span: 6 }, {
230
- default: a(() => [
231
- o(w, { class: "search-btn" }, {
232
- default: a(() => [
233
- o(P, {
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: a(() => [
238
- f(u(l.$t("common.search")), 1)
236
+ default: o(() => [
237
+ c(u(l.$t("common.search")), 1)
239
238
  ]),
240
239
  _: 1
241
240
  }),
242
- o(P, {
241
+ a(P, {
243
242
  onClick: t[7] || (t[7] = (e) => n(r).resetQuery())
244
243
  }, {
245
- default: a(() => [
246
- f(u(l.$t("common.reset")), 1)
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
- o(ne, {
262
+ a(ae, {
264
263
  shadow: "never",
265
264
  class: "table-container"
266
265
  }, {
267
- header: a(() => [
268
- o(U, { justify: "space-between" }, {
269
- default: a(() => [
270
- o(c, { span: 17 }, {
271
- default: a(() => [
272
- b((d(), R(P, {
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: O
273
+ onClick: K
275
274
  }, {
276
- default: a(() => [
277
- f(u(l.$t("common.add")), 1)
275
+ default: o(() => [
276
+ c(u(l.$t("common.add")), 1)
278
277
  ]),
279
278
  _: 1
280
279
  })), [
281
- [h, ["asset:site:add"]]
280
+ [y, ["asset:site:add"]]
282
281
  ])
283
282
  ]),
284
283
  _: 1
285
284
  }),
286
- o(c, {
285
+ a(m, {
287
286
  span: 7,
288
287
  class: "container-float"
289
288
  }, {
290
- default: a(() => [
291
- o(ee, {
292
- modelValue: n(_),
293
- "onUpdate:modelValue": t[8] || (t[8] = (e) => j(_) ? _.value = e : _ = 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: a(() => [
304
- n(y) > 0 ? (d(), R(ae, {
302
+ footer: o(() => [
303
+ n(g) > 0 ? (d(), q(oe, {
305
304
  key: 0,
306
- total: n(y),
307
- "onUpdate:total": t[9] || (t[9] = (e) => j(y) ? y.value = e : null),
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"])) : D("", !0)
312
+ }, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
314
313
  ]),
315
- default: a(() => [
316
- o(oe, {
314
+ default: o(() => [
315
+ a(le, {
317
316
  ref_key: "multipleTableRef",
318
- ref: B,
317
+ ref: S,
319
318
  class: "table-top",
320
319
  "row-key": "siteId",
321
- "list-loading": n(Q),
322
- data: n(A),
323
- "table-label": n(_),
324
- onSelectionChange: M,
325
- onSortChange: J
320
+ "list-loading": n(L),
321
+ data: n(B),
322
+ "table-label": n(b),
323
+ onSelectionChange: H,
324
+ onSortChange: F
326
325
  }, {
327
- qrcode: a((e) => [
328
- o(te, {
329
- src: n(T).imageUrl(e.data.row.qrcode, 30, 30),
330
- "preview-src-list": [n(T).imageUrl(e.data.row.qrcode)],
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: a((e) => [
337
- g("span", null, u(n(C).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
335
+ orgId: o((e) => [
336
+ _("span", null, u(n(k).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
338
337
  ]),
339
- mobilePhone: a((e) => [
340
- e.data.row.mobileEncrypt ? (d(), p("span", _e, u(e.data.row.mobilePhone), 1)) : (d(), p("span", be, u(e.data.row.mobilePhoneIns), 1)),
341
- e.data.row.mobilePhoneIns ? (d(), p("span", ve, [
342
- b(o(S, {
343
- "icon-class": "close-eye",
344
- onClick: (m) => N(e.data.row)
345
- }, null, 8, ["onClick"]), [
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: a((e) => [
357
- g("span", null, [
358
- o(le, {
346
+ status: o((e) => [
347
+ _("span", null, [
348
+ a(te, {
359
349
  modelValue: e.data.row.status,
360
- "onUpdate:modelValue": (m) => e.data.row.status = m,
361
- onChange: (m) => n(r).enableRecord(e.data.row, e.data.row.status)
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: a((e) => [
366
- b((d(), p("span", {
355
+ operation: o((e) => [
356
+ C((d(), w("span", {
367
357
  class: "el-button-color",
368
- onClick: (m) => F(e.data.row)
358
+ onClick: (p) => Q(e.data.row)
369
359
  }, [
370
- f(u(l.$t("common.edit")), 1)
371
- ], 8, ge)), [
372
- [h, ["asset:site:update"]]
360
+ c(u(l.$t("common.edit")), 1)
361
+ ], 8, fe)), [
362
+ [y, ["asset:site:update"]]
373
363
  ]),
374
- b((d(), p("span", {
364
+ C((d(), w("span", {
375
365
  class: "el-button-color dropdown-left",
376
- onClick: (m) => n(r).deleteRecord(e.data.row)
366
+ onClick: (p) => n(r).deleteRecord(e.data.row)
377
367
  }, [
378
- f(u(l.$t("common.delete")), 1)
379
- ], 8, ye)), [
380
- [h, ["asset:site:delete"]]
368
+ c(u(l.$t("common.delete")), 1)
369
+ ], 8, _e)), [
370
+ [y, ["asset:site:delete"]]
381
371
  ]),
382
- b((d(), p("span", {
372
+ C((d(), w("span", {
383
373
  class: "el-button-color dropdown-left",
384
- onClick: (m) => H(e.data.row)
374
+ onClick: (p) => A(e.data.row)
385
375
  }, [
386
- f(u(l.$t("common.view")), 1)
387
- ], 8, we)), [
388
- [h, ["asset:site:view"]]
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
- v.value ? (d(), R(pe, {
386
+ f.value ? (d(), q(pe, {
397
387
  key: 0,
398
- modelValue: v.value,
399
- "onUpdate:modelValue": t[13] || (t[13] = (e) => v.value = 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: G
404
- }, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0)
393
+ onRefresh: O
394
+ }, null, 8, ["modelValue", "title", "entity-key"])) : N("", !0)
405
395
  ]);
406
396
  };
407
397
  }
408
398
  });
409
399
  export {
410
- qe as default
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 J, openBlock as _, createElementBlock as S, createElementVNode as d, createVNode as n, withCtx as o, unref as r, withKeys as R, createTextVNode as w, toDisplayString as u, isRef as V, createBlock as W, createCommentVNode as X, withDirectives as Z } from "vue";
2
- import { useTableHooks as x } from "jmash-core";
3
- import { useI18n as ee } from "vue-i18n";
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 te } from "./index-4gYJADQ3.mjs";
6
- import { D as y } from "./index-eassrLOa.mjs";
7
- import { useRouter as oe } from "vue-router";
8
- const ne = { class: "app-container" }, le = { class: "search-container" }, ae = ["onClick"], ye = /* @__PURE__ */ H({
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(re) {
11
- const { proxy: D } = G(), T = oe(), { t: C } = ee();
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
- } = x(C, te, a);
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 i.getList(), (l, t) => {
99
- 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"), O = s("el-card"), A = J("hasPerm");
100
- return _(), S("div", ne, [
101
- d("div", le, [
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(O, {
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 ? (_(), W(M, {
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"])) : X("", !0)
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
- Z((_(), S("span", {
310
+ X((_(), S("span", {
309
311
  class: "el-button-color",
310
- onClick: (se) => Y(e.data.row)
312
+ onClick: (ie) => Y(e.data.row)
311
313
  }, [
312
314
  w(u(l.$t("common.view")), 1)
313
- ], 8, ae)), [
314
- [A, ["asset:inventory_record:view"]]
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
- ye as default
329
+ fe as default
328
330
  };