xyvcard-itsmsys 0.0.19 → 0.0.20

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.
@@ -1,27 +1,27 @@
1
- import { defineComponent as re, ref as U, reactive as B, resolveComponent as i, resolveDirective as ue, openBlock as d, createElementBlock as k, createElementVNode as b, createVNode as a, withCtx as o, withKeys as V, unref as n, createTextVNode as m, toDisplayString as s, withDirectives as c, createBlock as f, isRef as q, createCommentVNode as S, vShow as K } from "vue";
2
- import { useTableHooks as ie } from "jmash-core";
3
- import { useI18n as de } from "vue-i18n";
4
- import { useRouter as me } from "vue-router";
1
+ import { defineComponent as re, ref as U, reactive as B, onActivated as ue, resolveComponent as i, resolveDirective as ie, openBlock as d, createElementBlock as k, createElementVNode as b, createVNode as a, withCtx as o, withKeys as V, unref as n, createTextVNode as m, toDisplayString as s, withDirectives as c, createBlock as f, isRef as q, createCommentVNode as S, vShow as K } from "vue";
2
+ import { useTableHooks as de } from "jmash-core";
3
+ import { useI18n as me } from "vue-i18n";
4
+ import { useRouter as pe } from "vue-router";
5
5
  import { D as p, C as N } from "./index-dIcRC4jE.mjs";
6
6
  import { sysUserExtApi as Q } from "./index.mjs";
7
- import { _ as pe } from "./edit.vue_vue_type_script_setup_true_lang-CJmMqL9f.mjs";
8
- import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
9
- import be from "./import-upload-DBk1lPqR.mjs";
10
- const ce = { class: "app-container" }, fe = { class: "search-container" }, ve = { key: 0 }, we = ["onClick"], ge = ["onClick"], _e = ["onClick"], De = /* @__PURE__ */ re({
7
+ import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-CJmMqL9f.mjs";
8
+ import { F as be } from "./FileSaver.min-BeKvLuyk.mjs";
9
+ import ce from "./import-upload-BaJGVcNb.mjs";
10
+ const fe = { class: "app-container" }, ve = { class: "search-container" }, we = { key: 0 }, ge = ["onClick"], _e = ["onClick"], je = ["onClick"], Me = /* @__PURE__ */ re({
11
11
  __name: "index",
12
- setup(je) {
13
- const { t: g } = de(), L = me();
12
+ setup(he) {
13
+ const { t: g } = me(), L = pe();
14
14
  p.deptBizDict.useValues(), p.jobBizDict.useValues();
15
15
  const r = U({
16
16
  userType: N.userType.companyManager
17
17
  }), {
18
18
  tableHooks: u,
19
19
  multipleTableRef: x,
20
- queryFormRef: F,
21
- listLoading: A,
20
+ queryFormRef: A,
21
+ listLoading: F,
22
22
  tableData: H,
23
23
  total: I
24
- } = ie(g, Q, r);
24
+ } = de(g, Q, r);
25
25
  let _ = U([
26
26
  {
27
27
  label: "sysUserMan.loginName",
@@ -120,7 +120,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
120
120
  const D = new Blob([t.data], {
121
121
  type: "application/octet-stream"
122
122
  });
123
- ye.saveAs(D, l + ".xlsx");
123
+ be.saveAs(D, l + ".xlsx");
124
124
  });
125
125
  }
126
126
  function Y(l) {
@@ -137,13 +137,15 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
137
137
  function te(l) {
138
138
  l && u.getList();
139
139
  }
140
- return u.getList(), (l, t) => {
141
- const D = i("el-input"), h = i("el-form-item"), v = i("el-col"), M = i("jmash-select"), C = i("el-button"), P = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), R = i("el-tag"), z = i("svg-icon"), ae = i("jmash-table"), ne = i("jmash-pagination"), se = i("el-card"), w = ue("hasPerm");
142
- return d(), k("div", ce, [
143
- b("div", fe, [
140
+ return ue(() => {
141
+ u.getList();
142
+ }), (l, t) => {
143
+ const D = i("el-input"), h = i("el-form-item"), v = i("el-col"), M = i("jmash-select"), C = i("el-button"), P = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), R = i("el-tag"), z = i("svg-icon"), ae = i("jmash-table"), ne = i("jmash-pagination"), se = i("el-card"), w = ie("hasPerm");
144
+ return d(), k("div", fe, [
145
+ b("div", ve, [
144
146
  a(le, {
145
147
  ref_key: "queryFormRef",
146
- ref: F,
148
+ ref: A,
147
149
  model: r.value,
148
150
  inline: !0
149
151
  }, {
@@ -349,7 +351,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
349
351
  ref_key: "multipleTableRef",
350
352
  ref: x,
351
353
  "row-key": "userId",
352
- "list-loading": n(A),
354
+ "list-loading": n(F),
353
355
  data: n(H),
354
356
  "table-label": n(_),
355
357
  onSelectionChange: Z,
@@ -392,7 +394,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
392
394
  ])
393
395
  ]),
394
396
  operation: o((e) => [
395
- e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), k("span", ve, [
397
+ e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), k("span", we, [
396
398
  c(a(z, {
397
399
  "icon-class": "close-eye",
398
400
  onClick: ($) => T(e.data.row)
@@ -411,7 +413,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
411
413
  onClick: ($) => G(e.data.row)
412
414
  }, [
413
415
  m(s(l.$t("common.edit")), 1)
414
- ], 8, we)), [
416
+ ], 8, ge)), [
415
417
  [w, ["itsmsys:sys_user_ext:update"]]
416
418
  ]),
417
419
  c((d(), k("span", {
@@ -419,7 +421,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
419
421
  onClick: ($) => n(u).deleteRecord(e.data.row)
420
422
  }, [
421
423
  m(s(l.$t("common.delete")), 1)
422
- ], 8, ge)), [
424
+ ], 8, _e)), [
423
425
  [w, ["itsmsys:sys_user_ext:delete"]]
424
426
  ]),
425
427
  c((d(), k("span", {
@@ -427,7 +429,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
427
429
  onClick: ($) => J(e.data.row)
428
430
  }, [
429
431
  m(s(l.$t("common.view")), 1)
430
- ], 8, _e)), [
432
+ ], 8, je)), [
431
433
  [w, ["itsmsys:sys_user_ext:view"]]
432
434
  ])
433
435
  ]),
@@ -436,7 +438,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
436
438
  ]),
437
439
  _: 1
438
440
  }),
439
- y.value.visible ? (d(), f(pe, {
441
+ y.value.visible ? (d(), f(ye, {
440
442
  key: 0,
441
443
  modelValue: y.value.visible,
442
444
  "onUpdate:modelValue": t[17] || (t[17] = (e) => y.value.visible = e),
@@ -445,7 +447,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
445
447
  onRefresh: te,
446
448
  width: "900px"
447
449
  }, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0),
448
- j.value ? (d(), f(be, {
450
+ j.value ? (d(), f(ce, {
449
451
  key: 1,
450
452
  "upload-visible": j.value,
451
453
  "template-title": l.$t("sysUser.templateDownload"),
@@ -458,5 +460,5 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
458
460
  }
459
461
  });
460
462
  export {
461
- De as default
463
+ Me as default
462
464
  };
package/dist/index.mjs CHANGED
@@ -3203,7 +3203,7 @@ class ja {
3203
3203
  });
3204
3204
  }
3205
3205
  }
3206
- const Ja = new ja(), za = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-CNEVornb.mjs"), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-D__UxnZG.mjs"), "./views/itsmsys/itsm-sys-gov/info.vue": () => import("./info-BUKhtcuu.mjs"), "./views/itsmsys/itsm-sys-org-invoice/edit.vue": () => import("./edit-BrHOGUbU.mjs"), "./views/itsmsys/itsm-sys-org-invoice/index.vue": () => import("./index-IpHv0Vzi.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-DYqAdRsK.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-cpyRUYdS.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-G1z1-aeX.mjs"), "./views/itsmsys/itsm-sys-out/edit.vue": () => import("./edit-COKceKzl.mjs"), "./views/itsmsys/itsm-sys-out/index.vue": () => import("./index-CuBZptA_.mjs"), "./views/itsmsys/itsm-sys-out/info.vue": () => import("./info-EodyqiPm.mjs"), "./views/itsmsys/itsm-sys-user-man/edit.vue": () => import("./edit-Czi-Vkbf.mjs"), "./views/itsmsys/itsm-sys-user-man/import-upload.vue": () => import("./import-upload-DBk1lPqR.mjs"), "./views/itsmsys/itsm-sys-user-man/index.vue": () => import("./index-BHcHN6PY.mjs"), "./views/itsmsys/itsm-sys-user-man/info.vue": () => import("./info-Dx5fzSIP.mjs"), "./views/itsmsys/itsm-sys-user-ops/edit.vue": () => import("./edit-DybO5r3p.mjs"), "./views/itsmsys/itsm-sys-user-ops/index.vue": () => import("./index-p50UkFiJ.mjs"), "./views/itsmsys/itsm-sys-user-ops/info.vue": () => import("./info-bYWisCey.mjs"), "./views/itsmsys/itsm-sys-user-out/edit.vue": () => import("./edit-_QJnKCdq.mjs"), "./views/itsmsys/itsm-sys-user-out/import-upload.vue": () => import("./import-upload-BvY7RZa-.mjs"), "./views/itsmsys/itsm-sys-user-out/index.vue": () => import("./index-Cow_4AlE.mjs"), "./views/itsmsys/itsm-sys-user-out/info.vue": () => import("./info-Bn5mhJtq.mjs") }), Ba = {
3206
+ const Ja = new ja(), za = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-CNEVornb.mjs"), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-CAzxJ_Vp.mjs"), "./views/itsmsys/itsm-sys-gov/info.vue": () => import("./info-BUKhtcuu.mjs"), "./views/itsmsys/itsm-sys-org-invoice/edit.vue": () => import("./edit-BrHOGUbU.mjs"), "./views/itsmsys/itsm-sys-org-invoice/index.vue": () => import("./index-IpHv0Vzi.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-DYqAdRsK.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-cpyRUYdS.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-G1z1-aeX.mjs"), "./views/itsmsys/itsm-sys-out/edit.vue": () => import("./edit-COKceKzl.mjs"), "./views/itsmsys/itsm-sys-out/index.vue": () => import("./index-BV5uRZXE.mjs"), "./views/itsmsys/itsm-sys-out/info.vue": () => import("./info-EodyqiPm.mjs"), "./views/itsmsys/itsm-sys-user-man/edit.vue": () => import("./edit-Czi-Vkbf.mjs"), "./views/itsmsys/itsm-sys-user-man/import-upload.vue": () => import("./import-upload-BaJGVcNb.mjs"), "./views/itsmsys/itsm-sys-user-man/index.vue": () => import("./index-q_wZjCJN.mjs"), "./views/itsmsys/itsm-sys-user-man/info.vue": () => import("./info-Dx5fzSIP.mjs"), "./views/itsmsys/itsm-sys-user-ops/edit.vue": () => import("./edit-DybO5r3p.mjs"), "./views/itsmsys/itsm-sys-user-ops/index.vue": () => import("./index-Di1yx94g.mjs"), "./views/itsmsys/itsm-sys-user-ops/info.vue": () => import("./info-bYWisCey.mjs"), "./views/itsmsys/itsm-sys-user-out/edit.vue": () => import("./edit-_QJnKCdq.mjs"), "./views/itsmsys/itsm-sys-user-out/import-upload.vue": () => import("./import-upload-CC1Ho43e.mjs"), "./views/itsmsys/itsm-sys-user-out/index.vue": () => import("./index-WHNNztBg.mjs"), "./views/itsmsys/itsm-sys-user-out/info.vue": () => import("./info-Bn5mhJtq.mjs") }), Ba = {
3207
3207
  install(e) {
3208
3208
  Ys(za, 7), Os(Us), Va(bs), e.use(Ea);
3209
3209
  }