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.
@@ -18,7 +18,7 @@ const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-pr
18
18
  },
19
19
  emits: ["templateDown", "importEvents", "uploadClosed"],
20
20
  setup(_, { emit: U }) {
21
- const { t: g } = L(), k = i(w.uploadUrl()), b = i(w.authHeader()), $ = C({
21
+ const { t: g } = L(), k = i(w.uploadUrl()), $ = i(w.authHeader()), b = C({
22
22
  tenant: D().user.tenant
23
23
  }), E = i(), d = C({
24
24
  tenant: D().user.tenant,
@@ -121,8 +121,8 @@ const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-pr
121
121
  ref: E,
122
122
  drag: "",
123
123
  action: k.value,
124
- headers: b.value,
125
- data: $,
124
+ headers: $.value,
125
+ data: b,
126
126
  limit: 1,
127
127
  "on-success": q,
128
128
  "on-exceed": B,
@@ -155,7 +155,7 @@ const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-pr
155
155
  }, 8, ["modelValue", "title"]);
156
156
  };
157
157
  }
158
- }), se = /* @__PURE__ */ P(Y, [["__scopeId", "data-v-402ba96e"]]);
158
+ }), se = /* @__PURE__ */ P(Y, [["__scopeId", "data-v-2d832d04"]]);
159
159
  export {
160
160
  se as default
161
161
  };
@@ -155,7 +155,7 @@ const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-pr
155
155
  }, 8, ["modelValue", "title"]);
156
156
  };
157
157
  }
158
- }), se = /* @__PURE__ */ P(Y, [["__scopeId", "data-v-f070dd9d"]]);
158
+ }), se = /* @__PURE__ */ P(Y, [["__scopeId", "data-v-96565565"]]);
159
159
  export {
160
160
  se as default
161
161
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as W, ref as $, resolveComponent as s, resolveDirective as X, openBlock as i, createElementBlock as h, createElementVNode as V, createVNode as n, withCtx as l, withKeys as N, unref as a, createTextVNode as m, toDisplayString as d, withDirectives as _, createBlock as C, isRef as O, createCommentVNode as Y } from "vue";
2
- import { useTableHooks as Z } from "jmash-core";
3
- import { useI18n as x } from "vue-i18n";
4
- import { useRouter as ee } from "vue-router";
5
- import { C as k, D as te } from "./index-dIcRC4jE.mjs";
6
- import { sysOrgApi as oe } from "./index.mjs";
7
- const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], be = /* @__PURE__ */ W({
1
+ import { defineComponent as W, ref as $, onActivated as X, resolveComponent as s, resolveDirective as Y, openBlock as i, createElementBlock as h, createElementVNode as V, createVNode as n, withCtx as l, withKeys as N, unref as a, createTextVNode as m, toDisplayString as d, withDirectives as _, createBlock as C, isRef as O, createCommentVNode as Z } from "vue";
2
+ import { useTableHooks as x } from "jmash-core";
3
+ import { useI18n as ee } from "vue-i18n";
4
+ import { useRouter as te } from "vue-router";
5
+ import { C as k, D as oe } from "./index-dIcRC4jE.mjs";
6
+ import { sysOrgApi as le } from "./index.mjs";
7
+ const ne = { class: "app-container" }, ae = { class: "search-container" }, se = ["onClick"], re = ["onClick"], ue = ["onClick"], _e = /* @__PURE__ */ W({
8
8
  __name: "index",
9
- setup(ue) {
10
- const { t: T } = x(), v = ee(), u = $({
9
+ setup(ie) {
10
+ const { t: T } = ee(), v = te(), u = $({
11
11
  orgType: k.orgType.outsource,
12
12
  orderName: k.orderBy.orderName,
13
13
  orderAsc: k.orderBy.orderAsc
@@ -18,7 +18,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
18
18
  listLoading: R,
19
19
  tableData: j,
20
20
  total: f
21
- } = Z(T, oe, u);
21
+ } = x(T, le, u);
22
22
  let c = $([
23
23
  {
24
24
  label: "sysOut.orgName",
@@ -92,10 +92,12 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
92
92
  function z(o) {
93
93
  r.handleSort(o.prop, o.order);
94
94
  }
95
- return r.getList(), (o, t) => {
96
- const B = s("el-input"), w = s("el-form-item"), y = s("el-col"), A = s("jmash-select"), g = s("el-button"), P = s("el-row"), K = s("el-form"), L = s("jmash-column-select"), Q = s("jmash-mobileIns-component"), F = s("el-switch"), H = s("jmash-table"), G = s("jmash-pagination"), J = s("el-card"), b = X("hasPerm");
97
- return i(), h("div", le, [
98
- V("div", ne, [
95
+ return X(() => {
96
+ r.getList();
97
+ }), (o, t) => {
98
+ const A = s("el-input"), w = s("el-form-item"), y = s("el-col"), B = s("jmash-select"), g = s("el-button"), P = s("el-row"), K = s("el-form"), L = s("jmash-column-select"), Q = s("jmash-mobileIns-component"), F = s("el-switch"), H = s("jmash-table"), G = s("jmash-pagination"), J = s("el-card"), b = Y("hasPerm");
99
+ return i(), h("div", ne, [
100
+ V("div", ae, [
99
101
  n(K, {
100
102
  ref_key: "queryFormRef",
101
103
  ref: I,
@@ -112,7 +114,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
112
114
  prop: "likeOrgName"
113
115
  }, {
114
116
  default: l(() => [
115
- n(B, {
117
+ n(A, {
116
118
  modelValue: u.value.likeOrgName,
117
119
  "onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.likeOrgName = e),
118
120
  placeholder: o.$t("sysOut.orgNameRequired"),
@@ -133,11 +135,11 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
133
135
  prop: "status"
134
136
  }, {
135
137
  default: l(() => [
136
- n(A, {
138
+ n(B, {
137
139
  modelValue: u.value.status,
138
140
  "onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.status = e),
139
141
  placeholder: o.$t("sysOut.statusRequired"),
140
- data: a(te).hasStatusDict.values,
142
+ data: a(oe).hasStatusDict.values,
141
143
  clearable: "",
142
144
  onKeyup: t[3] || (t[3] = N((e) => a(r).handleQuery(), ["enter"]))
143
145
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -243,7 +245,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
243
245
  "page-size": u.value.pageSize,
244
246
  "onUpdate:pageSize": t[10] || (t[10] = (e) => u.value.pageSize = e),
245
247
  onPagination: t[11] || (t[11] = (e) => a(r).getList())
246
- }, null, 8, ["total", "current-page", "page-size"])) : Y("", !0)
248
+ }, null, 8, ["total", "current-page", "page-size"])) : Z("", !0)
247
249
  ]),
248
250
  default: l(() => [
249
251
  n(H, {
@@ -277,7 +279,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
277
279
  onClick: (p) => U(e.data.row)
278
280
  }, [
279
281
  m(d(o.$t("common.edit")), 1)
280
- ], 8, ae)), [
282
+ ], 8, se)), [
281
283
  [b, ["itsmsys:sys_org_out:update"]]
282
284
  ]),
283
285
  _((i(), h("span", {
@@ -285,7 +287,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
285
287
  onClick: (p) => a(r).deleteRecord(e.data.row)
286
288
  }, [
287
289
  m(d(o.$t("common.delete")), 1)
288
- ], 8, se)), [
290
+ ], 8, re)), [
289
291
  [b, ["itsmsys:sys_org_out:delete"]]
290
292
  ]),
291
293
  _((i(), h("span", {
@@ -293,7 +295,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
293
295
  onClick: (p) => q(e.data.row)
294
296
  }, [
295
297
  m(d(o.$t("common.view")), 1)
296
- ], 8, re)), [
298
+ ], 8, ue)), [
297
299
  [b, ["itsmsys:sys_org_out:view"]]
298
300
  ])
299
301
  ]),
@@ -307,5 +309,5 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
307
309
  }
308
310
  });
309
311
  export {
310
- be as default
312
+ _e as default
311
313
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as te, ref as N, resolveComponent as s, resolveDirective as ne, openBlock as y, createElementBlock as k, createElementVNode as R, createVNode as n, withCtx as l, withKeys as I, unref as _, createTextVNode as c, toDisplayString as d, withDirectives as h, createBlock as G, isRef as le } from "vue";
2
- import { useTableHooks as se } from "jmash-core";
1
+ import { defineComponent as te, ref as N, onActivated as ne, resolveComponent as s, resolveDirective as le, openBlock as y, createElementBlock as k, createElementVNode as R, createVNode as n, withCtx as l, withKeys as I, unref as _, createTextVNode as c, toDisplayString as d, withDirectives as h, createBlock as G, isRef as se } from "vue";
2
+ import { useTableHooks as ae } from "jmash-core";
3
3
  import { ElMessageBox as j, ElMessage as T } from "element-plus";
4
- import { useI18n as ae } from "vue-i18n";
5
- import { C as re, D as ie } from "./index-dIcRC4jE.mjs";
4
+ import { useI18n as re } from "vue-i18n";
5
+ import { C as ie, D as me } from "./index-dIcRC4jE.mjs";
6
6
  import { sysOrgApi as u } from "./index.mjs";
7
- import { useRouter as me } from "vue-router";
8
- const ce = { class: "app-container" }, de = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], fe = ["onClick"], ke = /* @__PURE__ */ te({
7
+ import { useRouter as ce } from "vue-router";
8
+ const de = { class: "app-container" }, ue = { class: "search-container" }, pe = ["onClick"], fe = ["onClick"], ye = ["onClick"], $e = /* @__PURE__ */ te({
9
9
  __name: "index",
10
- setup(ye) {
11
- const { t: a } = ae(), $ = me(), p = N({
12
- orgType: re.orgType.hall
13
- }), { tableHooks: r, multipleTableRef: P, queryFormRef: V, listLoading: M, tableData: S } = se(a, u, p);
10
+ setup(_e) {
11
+ const { t: a } = re(), $ = ce(), p = N({
12
+ orgType: ie.orgType.hall
13
+ }), { tableHooks: r, multipleTableRef: P, queryFormRef: V, listLoading: M, tableData: S } = ae(a, u, p);
14
14
  let b = N([
15
15
  {
16
16
  label: "sysGov.orgName",
@@ -89,7 +89,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
89
89
  function U(e) {
90
90
  r.selectionRows.value = e;
91
91
  }
92
- function F(e) {
92
+ function A(e) {
93
93
  r.handleSort(e.prop, e.order);
94
94
  }
95
95
  function B(e, t) {
@@ -100,7 +100,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
100
100
  !m || typeof m != "object" || m.status === 200 && r.findList();
101
101
  });
102
102
  }
103
- function z(e) {
103
+ function F(e) {
104
104
  j.confirm(a("common.confirmDelete"), a("common.delete"), {
105
105
  cancelButtonText: a("common.cancel"),
106
106
  confirmButtonText: a("common.confirm"),
@@ -114,7 +114,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
114
114
  });
115
115
  });
116
116
  }
117
- function A() {
117
+ function z() {
118
118
  if (r.selectionRows.value.length === 0) {
119
119
  T({
120
120
  message: a("common.chooseDelete"),
@@ -145,10 +145,12 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
145
145
  function H() {
146
146
  V.value.resetFields(), w();
147
147
  }
148
- return r.findList(), (e, t) => {
149
- const f = s("el-input"), m = s("el-form-item"), v = s("el-col"), Q = s("jmash-select"), C = s("el-button"), D = s("el-row"), x = s("el-form"), J = s("jmash-column-select"), W = s("jmash-mobileIns-component"), X = s("Bottom"), E = s("el-icon"), Y = s("Top"), Z = s("el-switch"), ee = s("jmash-table"), oe = s("el-card"), g = ne("hasPerm");
150
- return y(), k("div", ce, [
151
- R("div", de, [
148
+ return ne(() => {
149
+ r.findList();
150
+ }), (e, t) => {
151
+ const f = s("el-input"), m = s("el-form-item"), v = s("el-col"), Q = s("jmash-select"), C = s("el-button"), D = s("el-row"), x = s("el-form"), J = s("jmash-column-select"), W = s("jmash-mobileIns-component"), X = s("Bottom"), E = s("el-icon"), Y = s("Top"), Z = s("el-switch"), ee = s("jmash-table"), oe = s("el-card"), g = le("hasPerm");
152
+ return y(), k("div", de, [
153
+ R("div", ue, [
152
154
  n(x, {
153
155
  ref_key: "queryFormRef",
154
156
  ref: V,
@@ -190,7 +192,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
190
192
  modelValue: p.value.status,
191
193
  "onUpdate:modelValue": t[2] || (t[2] = (o) => p.value.status = o),
192
194
  placeholder: e.$t("sysGov.statusRequired"),
193
- data: _(ie).hasStatusDict.values,
195
+ data: _(me).hasStatusDict.values,
194
196
  clearable: "",
195
197
  onKeyup: t[3] || (t[3] = I((o) => w(), ["enter"]))
196
198
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -257,7 +259,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
257
259
  ]),
258
260
  h((y(), G(C, {
259
261
  type: "primary",
260
- onClick: t[6] || (t[6] = (o) => A())
262
+ onClick: t[6] || (t[6] = (o) => z())
261
263
  }, {
262
264
  default: l(() => [
263
265
  c(d(e.$t("common.batchDelete")), 1)
@@ -276,7 +278,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
276
278
  default: l(() => [
277
279
  n(J, {
278
280
  modelValue: _(b),
279
- "onUpdate:modelValue": t[7] || (t[7] = (o) => le(b) ? b.value = o : b = o),
281
+ "onUpdate:modelValue": t[7] || (t[7] = (o) => se(b) ? b.value = o : b = o),
280
282
  "label-name": "itsmsys/itsm-sys-org"
281
283
  }, null, 8, ["modelValue"])
282
284
  ]),
@@ -295,7 +297,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
295
297
  data: _(S),
296
298
  "table-label": _(b),
297
299
  onSelectionChange: U,
298
- onSortChange: F
300
+ onSortChange: A
299
301
  }, {
300
302
  contactPersonMobile: l((o) => [
301
303
  n(W, {
@@ -338,15 +340,15 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
338
340
  onClick: (i) => K(o.data.row)
339
341
  }, [
340
342
  c(d(e.$t("common.edit")), 1)
341
- ], 8, ue)), [
343
+ ], 8, pe)), [
342
344
  [g, ["itsmsys:sys_org_gov:update"]]
343
345
  ]),
344
346
  h((y(), k("span", {
345
347
  class: "el-button-color dropdown-left",
346
- onClick: (i) => z(o.data.row)
348
+ onClick: (i) => F(o.data.row)
347
349
  }, [
348
350
  c(d(e.$t("common.delete")), 1)
349
- ], 8, pe)), [
351
+ ], 8, fe)), [
350
352
  [g, ["itsmsys:sys_org_gov:delete"]]
351
353
  ]),
352
354
  h((y(), k("span", {
@@ -354,7 +356,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
354
356
  onClick: (i) => O(o.data.row)
355
357
  }, [
356
358
  c(d(e.$t("common.view")), 1)
357
- ], 8, fe)), [
359
+ ], 8, ye)), [
358
360
  [g, ["itsmsys:sys_org_gov:view"]]
359
361
  ])
360
362
  ]),
@@ -368,5 +370,5 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
368
370
  }
369
371
  });
370
372
  export {
371
- ke as default
373
+ $e as default
372
374
  };
@@ -1,25 +1,25 @@
1
- import { defineComponent as re, ref as V, reactive as J, resolveComponent as u, resolveDirective as ie, openBlock as d, createElementBlock as $, createElementVNode as m, createVNode as a, withCtx as l, withKeys as E, unref as n, createTextVNode as p, toDisplayString as s, withDirectives as c, createBlock as f, isRef as q, createCommentVNode as S, vShow as K } from "vue";
2
- import { useTableHooks as ue } from "jmash-core";
3
- import { useI18n as de } from "vue-i18n";
4
- import { useRouter as pe } from "vue-router";
1
+ import { defineComponent as re, ref as V, reactive as J, onActivated as ie, resolveComponent as u, resolveDirective as ue, openBlock as d, createElementBlock as $, createElementVNode as m, createVNode as a, withCtx as l, withKeys as E, unref as n, createTextVNode as p, 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 pe } from "vue-i18n";
4
+ import { useRouter as me } from "vue-router";
5
5
  import { C as O, D as y } from "./index-dIcRC4jE.mjs";
6
6
  import { sysUserExtApi as Q } from "./index.mjs";
7
- import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-D2j1brBX.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" }, ge = { key: 0 }, ve = ["onClick"], we = ["onClick"], _e = ["onClick"], De = /* @__PURE__ */ re({
7
+ import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-D2j1brBX.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" }, ge = { class: "search-container" }, ve = { key: 0 }, we = ["onClick"], _e = ["onClick"], Ce = ["onClick"], Ne = /* @__PURE__ */ re({
11
11
  __name: "index",
12
- setup(Ce) {
13
- const { t: w } = de(), z = pe(), r = V({
12
+ setup(he) {
13
+ const { t: w } = pe(), z = me(), r = V({
14
14
  userType: O.userType.companyOps
15
15
  }), {
16
16
  tableHooks: i,
17
17
  multipleTableRef: L,
18
18
  queryFormRef: x,
19
- listLoading: B,
20
- tableData: F,
19
+ listLoading: A,
20
+ tableData: B,
21
21
  total: T
22
- } = ue(w, Q, r);
22
+ } = de(w, Q, r);
23
23
  let _ = V([
24
24
  {
25
25
  label: "sysUserOps.realName",
@@ -99,7 +99,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
99
99
  visible: !1
100
100
  });
101
101
  let j = J({});
102
- function A() {
102
+ function F() {
103
103
  j = J({}), b.value.title = w("common.add"), b.value.visible = !0;
104
104
  }
105
105
  function H(o) {
@@ -120,7 +120,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
120
120
  const D = new Blob([t.data], {
121
121
  type: "application/octet-stream"
122
122
  });
123
- ye.saveAs(D, o + ".xlsx");
123
+ be.saveAs(D, o + ".xlsx");
124
124
  });
125
125
  }
126
126
  function Y(o) {
@@ -137,10 +137,12 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
137
137
  function te(o) {
138
138
  o && i.getList();
139
139
  }
140
- return i.getList(), (o, t) => {
141
- const D = u("el-input"), h = u("el-form-item"), g = u("el-col"), N = u("jmash-select"), k = u("el-button"), P = u("el-row"), oe = u("el-form"), le = u("jmash-column-select"), R = u("el-tag"), I = u("svg-icon"), ne = u("jmash-table"), ae = u("jmash-pagination"), se = u("el-card"), v = ie("hasPerm");
142
- return d(), $("div", ce, [
143
- m("div", fe, [
140
+ return ie(() => {
141
+ i.getList();
142
+ }), (o, t) => {
143
+ const D = u("el-input"), h = u("el-form-item"), g = u("el-col"), N = u("jmash-select"), k = u("el-button"), P = u("el-row"), oe = u("el-form"), le = u("jmash-column-select"), R = u("el-tag"), I = u("svg-icon"), ne = u("jmash-table"), ae = u("jmash-pagination"), se = u("el-card"), v = ue("hasPerm");
144
+ return d(), $("div", fe, [
145
+ m("div", ge, [
144
146
  a(oe, {
145
147
  ref_key: "queryFormRef",
146
148
  ref: x,
@@ -279,7 +281,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
279
281
  default: l(() => [
280
282
  c((d(), f(k, {
281
283
  type: "primary",
282
- onClick: A
284
+ onClick: F
283
285
  }, {
284
286
  default: l(() => [
285
287
  p(s(o.$t("common.add")), 1)
@@ -348,8 +350,8 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
348
350
  ref_key: "multipleTableRef",
349
351
  ref: L,
350
352
  "row-key": "userId",
351
- "list-loading": n(B),
352
- data: n(F),
353
+ "list-loading": n(A),
354
+ data: n(B),
353
355
  "table-label": n(_),
354
356
  onSelectionChange: Z,
355
357
  onSortChange: ee
@@ -400,7 +402,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
400
402
  )), 1)
401
403
  ]),
402
404
  operation: l((e) => [
403
- e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), $("span", ge, [
405
+ e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), $("span", ve, [
404
406
  c(a(I, {
405
407
  "icon-class": "close-eye",
406
408
  onClick: (U) => M(e.data.row)
@@ -419,7 +421,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
419
421
  onClick: (U) => H(e.data.row)
420
422
  }, [
421
423
  p(s(o.$t("common.edit")), 1)
422
- ], 8, ve)), [
424
+ ], 8, we)), [
423
425
  [v, ["itsmsys:sys_user_ext_ops:update"]]
424
426
  ]),
425
427
  c((d(), $("span", {
@@ -427,7 +429,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
427
429
  onClick: (U) => n(i).deleteRecord(e.data.row)
428
430
  }, [
429
431
  p(s(o.$t("common.delete")), 1)
430
- ], 8, we)), [
432
+ ], 8, _e)), [
431
433
  [v, ["itsmsys:sys_user_ext_ops:delete"]]
432
434
  ]),
433
435
  c((d(), $("span", {
@@ -435,7 +437,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
435
437
  onClick: (U) => G(e.data.row)
436
438
  }, [
437
439
  p(s(o.$t("common.view")), 1)
438
- ], 8, _e)), [
440
+ ], 8, Ce)), [
439
441
  [v, ["itsmsys:sys_user_ext_ops:view"]]
440
442
  ])
441
443
  ]),
@@ -444,7 +446,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
444
446
  ]),
445
447
  _: 1
446
448
  }),
447
- b.value.visible ? (d(), f(me, {
449
+ b.value.visible ? (d(), f(ye, {
448
450
  key: 0,
449
451
  modelValue: b.value.visible,
450
452
  "onUpdate:modelValue": t[17] || (t[17] = (e) => b.value.visible = e),
@@ -453,7 +455,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
453
455
  onRefresh: te,
454
456
  width: "900px"
455
457
  }, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0),
456
- C.value ? (d(), f(be, {
458
+ C.value ? (d(), f(ce, {
457
459
  key: 1,
458
460
  "upload-visible": C.value,
459
461
  "template-title": o.$t("sysUser.templateDownload"),
@@ -466,5 +468,5 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
466
468
  }
467
469
  });
468
470
  export {
469
- De as default
471
+ Ne as default
470
472
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as re, ref as S, reactive as M, resolveComponent as i, resolveDirective as ue, openBlock as d, createElementBlock as V, createElementVNode as m, createVNode as a, withCtx as o, unref as n, withKeys as k, createTextVNode as y, toDisplayString as s, withDirectives as f, createBlock as c, isRef as J, createCommentVNode as O, vShow as q } from "vue";
2
- import { useTableHooks as ie } from "jmash-core";
3
- import { useI18n as de } from "vue-i18n";
4
- import { useRouter as pe } from "vue-router";
1
+ import { defineComponent as re, ref as S, reactive as M, onActivated as ue, resolveComponent as i, resolveDirective as ie, openBlock as d, createElementBlock as V, createElementVNode as m, createVNode as a, withCtx as o, unref as n, withKeys as k, createTextVNode as y, toDisplayString as s, withDirectives as f, createBlock as c, isRef as J, createCommentVNode as O, vShow as q } from "vue";
2
+ import { useTableHooks as de } from "jmash-core";
3
+ import { useI18n as pe } from "vue-i18n";
4
+ import { useRouter as me } from "vue-router";
5
5
  import { D as p, C as D } from "./index-dIcRC4jE.mjs";
6
6
  import { sysUserExtApi as z } from "./index.mjs";
7
- import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-BOvUiQbv.mjs";
8
- import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
9
- import be from "./import-upload-BvY7RZa-.mjs";
10
- const ge = { class: "app-container" }, fe = { class: "search-container" }, ce = { key: 0 }, ve = ["onClick"], we = ["onClick"], _e = ["onClick"], je = /* @__PURE__ */ re({
7
+ import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-BOvUiQbv.mjs";
8
+ import { F as be } from "./FileSaver.min-BeKvLuyk.mjs";
9
+ import ge from "./import-upload-CC1Ho43e.mjs";
10
+ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve = { key: 0 }, we = ["onClick"], _e = ["onClick"], Ce = ["onClick"], De = /* @__PURE__ */ re({
11
11
  __name: "index",
12
- setup(Ce) {
13
- const { t: C } = de(), B = pe();
12
+ setup(he) {
13
+ const { t: C } = pe(), B = me();
14
14
  p.sysOutBizDict.useValues();
15
15
  const r = S({
16
16
  userType: D.userType.outsourceOps
@@ -19,9 +19,9 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
19
19
  multipleTableRef: K,
20
20
  queryFormRef: Q,
21
21
  listLoading: L,
22
- tableData: F,
22
+ tableData: A,
23
23
  total: T
24
- } = ie(C, z, r);
24
+ } = de(C, z, r);
25
25
  let h = S([
26
26
  {
27
27
  label: "sysUserOps.realName",
@@ -109,7 +109,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
109
109
  visible: !1
110
110
  });
111
111
  let j = M({});
112
- function A() {
112
+ function F() {
113
113
  j = M({}), b.value.title = C("common.add"), b.value.visible = !0;
114
114
  }
115
115
  function x(l) {
@@ -130,7 +130,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
130
130
  const v = new Blob([t.data], {
131
131
  type: "application/octet-stream"
132
132
  });
133
- ye.saveAs(v, l + ".xlsx");
133
+ be.saveAs(v, l + ".xlsx");
134
134
  });
135
135
  }
136
136
  function X(l) {
@@ -147,10 +147,12 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
147
147
  function ee(l) {
148
148
  l && u.getList();
149
149
  }
150
- return u.getList(), (l, t) => {
151
- const v = i("jmash-select"), w = i("el-form-item"), g = i("el-col"), te = i("el-input"), U = i("el-button"), N = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), R = i("el-tag"), P = i("svg-icon"), ne = i("jmash-table"), ae = i("jmash-pagination"), se = i("el-card"), _ = ue("hasPerm");
152
- return d(), V("div", ge, [
153
- m("div", fe, [
150
+ return ue(() => {
151
+ u.getList();
152
+ }), (l, t) => {
153
+ const v = i("jmash-select"), w = i("el-form-item"), g = i("el-col"), te = i("el-input"), U = i("el-button"), N = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), R = i("el-tag"), P = i("svg-icon"), ne = i("jmash-table"), ae = i("jmash-pagination"), se = i("el-card"), _ = ie("hasPerm");
154
+ return d(), V("div", fe, [
155
+ m("div", ce, [
154
156
  a(le, {
155
157
  ref_key: "queryFormRef",
156
158
  ref: Q,
@@ -310,7 +312,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
310
312
  default: o(() => [
311
313
  f((d(), c(U, {
312
314
  type: "primary",
313
- onClick: A
315
+ onClick: F
314
316
  }, {
315
317
  default: o(() => [
316
318
  y(s(l.$t("common.add")), 1)
@@ -380,7 +382,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
380
382
  ref: K,
381
383
  "row-key": "userId",
382
384
  "list-loading": n(L),
383
- data: n(F),
385
+ data: n(A),
384
386
  "table-label": n(h),
385
387
  onSelectionChange: Y,
386
388
  onSortChange: Z
@@ -434,7 +436,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
434
436
  )), 1)
435
437
  ]),
436
438
  operation: o((e) => [
437
- e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), V("span", ce, [
439
+ e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), V("span", ve, [
438
440
  f(a(P, {
439
441
  "icon-class": "close-eye",
440
442
  onClick: (E) => I(e.data.row)
@@ -453,7 +455,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
453
455
  onClick: (E) => x(e.data.row)
454
456
  }, [
455
457
  y(s(l.$t("common.edit")), 1)
456
- ], 8, ve)), [
458
+ ], 8, we)), [
457
459
  [_, ["itsmsys:sys_user_ext_out:update"]]
458
460
  ]),
459
461
  f((d(), V("span", {
@@ -461,7 +463,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
461
463
  onClick: (E) => n(u).deleteRecord(e.data.row)
462
464
  }, [
463
465
  y(s(l.$t("common.delete")), 1)
464
- ], 8, we)), [
466
+ ], 8, _e)), [
465
467
  [_, ["itsmsys:sys_user_ext_out:delete"]]
466
468
  ]),
467
469
  f((d(), V("span", {
@@ -469,7 +471,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
469
471
  onClick: (E) => H(e.data.row)
470
472
  }, [
471
473
  y(s(l.$t("common.view")), 1)
472
- ], 8, _e)), [
474
+ ], 8, Ce)), [
473
475
  [_, ["itsmsys:sys_user_ext_out:view"]]
474
476
  ])
475
477
  ]),
@@ -478,7 +480,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
478
480
  ]),
479
481
  _: 1
480
482
  }),
481
- b.value.visible ? (d(), c(me, {
483
+ b.value.visible ? (d(), c(ye, {
482
484
  key: 0,
483
485
  modelValue: b.value.visible,
484
486
  "onUpdate:modelValue": t[19] || (t[19] = (e) => b.value.visible = e),
@@ -487,7 +489,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
487
489
  onRefresh: ee,
488
490
  width: "900px"
489
491
  }, null, 8, ["modelValue", "title", "entity-key"])) : O("", !0),
490
- $.value ? (d(), c(be, {
492
+ $.value ? (d(), c(ge, {
491
493
  key: 1,
492
494
  "upload-visible": $.value,
493
495
  "template-title": l.$t("sysUser.templateDownload"),
@@ -500,5 +502,5 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
500
502
  }
501
503
  });
502
504
  export {
503
- je as default
505
+ De as default
504
506
  };