xyvcard-itsmsys 0.0.12 → 0.0.13

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/{edit-aqBMKpoJ.mjs → edit-B7N9QLYv.mjs} +97 -82
  2. package/dist/{edit-C-Ddf0UV.mjs → edit-CBnnqc6q.mjs} +103 -87
  3. package/dist/{edit-BSgQ7aTw.mjs → edit-CuD0yKla.mjs} +1 -1
  4. package/dist/{edit-BSllWdRO.mjs → edit-D2lhB7lU.mjs} +1 -1
  5. package/dist/{edit-CNw8JPUb.mjs → edit-DQ04LbhC.mjs} +89 -74
  6. package/dist/{edit-Cd4dWFsH.mjs → edit-IRLCMnWT.mjs} +1 -1
  7. package/dist/{edit-q5TFAMBm.mjs → edit-g4L03h6h.mjs} +1 -1
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-BJcLgzvH.mjs → edit.vue_vue_type_script_setup_true_lang-CEzM2X-C.mjs} +50 -50
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-BA39WCu3.mjs → edit.vue_vue_type_script_setup_true_lang-DD9BucLK.mjs} +50 -50
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-D1lAHFeM.mjs → edit.vue_vue_type_script_setup_true_lang-Daxe3FpV.mjs} +44 -37
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-BV_YHrlE.mjs → edit.vue_vue_type_script_setup_true_lang-SzJApeB-.mjs} +74 -74
  12. package/dist/import-upload-Bsl-7w0B.mjs +161 -0
  13. package/dist/import-upload-COLdGpcs.mjs +161 -0
  14. package/dist/{index-Dno_3GpX.mjs → index-B4M6ZC7N.mjs} +91 -40
  15. package/dist/{index-BY5Djw_C.mjs → index-BBPQd1dS.mjs} +138 -127
  16. package/dist/{index-BaixQptZ.mjs → index-BxX1lrD5.mjs} +63 -61
  17. package/dist/{index-LOMCvxtf.mjs → index-CzVhcXfx.mjs} +57 -55
  18. package/dist/index-DNpEXtyQ.mjs +423 -0
  19. package/dist/{index-DrBtW9Aj.mjs → index-Dh_kNwqv.mjs} +144 -157
  20. package/dist/{index-Cz9Xj4Mn.mjs → index-Dih4mOx4.mjs} +1 -1
  21. package/dist/index-n4FekcLF.mjs +504 -0
  22. package/dist/index.mjs +118 -114
  23. package/dist/{index.vue_vue_type_script_setup_true_lang-C67sXgs5.mjs → index.vue_vue_type_script_setup_true_lang-D0pyunau.mjs} +2 -2
  24. package/dist/info-BHylKqOX.mjs +186 -0
  25. package/dist/info-BZOWTNSd.mjs +209 -0
  26. package/dist/{info-BUDmirQy.mjs → info-CDtqpKVD.mjs} +80 -58
  27. package/dist/{info-D0Pwnmsu.mjs → info-XDDe5ve6.mjs} +1 -1
  28. package/dist/{info-C3knY6l_.mjs → info-bwhmPzeG.mjs} +1 -1
  29. package/dist/info-dBqoxL-p.mjs +209 -0
  30. package/dist/style.css +1 -1
  31. package/dts/api/dict.d.ts +7 -1
  32. package/dts/api/index.d.ts +3 -1
  33. package/dts/api/itsm-sys-org/types.d.ts +1 -0
  34. package/dts/api/itsm-sys-user-ext/types.d.ts +4 -0
  35. package/dts/constant.d.ts +8 -0
  36. package/dts/lang/itsmsys/zh-cn.d.ts +4 -0
  37. package/package.json +1 -1
  38. package/dist/import-upload-BIT504-g.mjs +0 -4
  39. package/dist/import-upload-pZG8yku3.mjs +0 -4
  40. package/dist/import-upload.vue_vue_type_script_setup_true_lang-pjSs3v9e.mjs +0 -162
  41. package/dist/import-upload.vue_vue_type_script_setup_true_lang-tjMLoB_W.mjs +0 -162
  42. package/dist/index-CoMhbtrg.mjs +0 -449
  43. package/dist/index-DPz8be3T.mjs +0 -351
  44. package/dist/info-BivxW-qV.mjs +0 -187
  45. package/dist/info-Bn-BseIm.mjs +0 -187
  46. package/dist/info-C-ga_8K9.mjs +0 -176
@@ -1,351 +0,0 @@
1
- import { defineComponent as oe, ref as U, reactive as I, resolveComponent as s, resolveDirective as le, openBlock as u, createElementBlock as w, createElementVNode as y, createVNode as a, withCtx as l, withKeys as R, unref as n, createTextVNode as d, toDisplayString as r, withDirectives as c, createBlock as b, isRef as M, createCommentVNode as V, vShow as T } from "vue";
2
- import { useTableHooks as ae } from "jmash-core";
3
- import { useI18n as ne } from "vue-i18n";
4
- import { useRouter as se } from "vue-router";
5
- import { C as q, D as S } from "./index-Dno_3GpX.mjs";
6
- import { sysUserExtApi as re } from "./index.mjs";
7
- import { _ as ie } from "./edit.vue_vue_type_script_setup_true_lang-BV_YHrlE.mjs";
8
- const ue = { class: "app-container" }, me = { class: "search-container" }, de = { key: 0 }, pe = ["onClick"], ce = ["onClick"], ye = ["onClick"], Ce = /* @__PURE__ */ oe({
9
- __name: "index",
10
- setup(be) {
11
- const { t: g } = ne(), z = se(), m = U({
12
- userType: q.userType.companyManager
13
- }), {
14
- tableHooks: i,
15
- multipleTableRef: L,
16
- queryFormRef: x,
17
- listLoading: K,
18
- tableData: Q,
19
- total: h
20
- } = ae(g, re, m);
21
- let f = U([
22
- {
23
- label: "sysUserMan.realName",
24
- prop: "realName",
25
- width: "200",
26
- isColumn: !0
27
- },
28
- {
29
- label: "sysUserMan.gender",
30
- prop: "gender",
31
- width: "100",
32
- isColumn: !0,
33
- slotName: "gender",
34
- columnType: "slot"
35
- },
36
- {
37
- label: "sysUserMan.mobilePhone",
38
- prop: "mobilePhone",
39
- width: "150",
40
- isColumn: !0,
41
- slotName: "mobilePhone",
42
- columnType: "slot"
43
- },
44
- {
45
- label: "sysUserMan.email",
46
- prop: "email",
47
- isColumn: !0,
48
- slotName: "email",
49
- columnType: "slot"
50
- },
51
- {
52
- label: "sysUserMan.jobStatus",
53
- prop: "jobStatus",
54
- width: "150",
55
- isColumn: !0,
56
- slotName: "jobStatus",
57
- columnType: "slot"
58
- },
59
- {
60
- label: "common.operate",
61
- width: "200",
62
- slotName: "operation",
63
- columnType: "slot",
64
- fixed: "right",
65
- isColumn: !0
66
- }
67
- ]);
68
- function E(o) {
69
- o.showEncrypt = !o.showEncrypt;
70
- }
71
- const p = U({
72
- title: g("common.edit"),
73
- visible: !1
74
- });
75
- let j = I({});
76
- function B() {
77
- j = I({}), p.value.title = g("common.add"), p.value.visible = !0;
78
- }
79
- function A(o) {
80
- j.userId = o.userId, p.value.title = g("common.edit"), p.value.visible = !0;
81
- }
82
- function F(o) {
83
- z.push({
84
- path: "/rawitsmsys/itsm-sys-user-man/userManInfo",
85
- query: { userId: o.userId }
86
- });
87
- }
88
- function H(o) {
89
- i.selectionRows.value = o;
90
- }
91
- function G(o) {
92
- i.handleSort(o.prop, o.order);
93
- }
94
- function J(o) {
95
- o && i.getList();
96
- }
97
- return i.getList(), (o, t) => {
98
- const O = s("el-input"), $ = s("el-form-item"), _ = s("el-col"), W = s("jmash-select"), k = s("el-button"), N = s("el-row"), X = s("el-form"), Y = s("jmash-column-select"), P = s("el-tag"), D = s("svg-icon"), Z = s("jmash-table"), ee = s("jmash-pagination"), te = s("el-card"), v = le("hasPerm");
99
- return u(), w("div", ue, [
100
- y("div", me, [
101
- a(X, {
102
- ref_key: "queryFormRef",
103
- ref: x,
104
- model: m.value,
105
- inline: !0
106
- }, {
107
- default: l(() => [
108
- a(N, null, {
109
- default: l(() => [
110
- a(_, { span: 6 }, {
111
- default: l(() => [
112
- a($, {
113
- label: o.$t("sysUserMan.realName"),
114
- prop: "likeUserName"
115
- }, {
116
- default: l(() => [
117
- a(O, {
118
- modelValue: m.value.likeUserName,
119
- "onUpdate:modelValue": t[0] || (t[0] = (e) => m.value.likeUserName = e),
120
- placeholder: o.$t("sysUserMan.realNameRequired"),
121
- onKeyup: t[1] || (t[1] = R((e) => n(i).handleQuery(), ["enter"])),
122
- class: "!w-[203px]",
123
- clearable: ""
124
- }, null, 8, ["modelValue", "placeholder"])
125
- ]),
126
- _: 1
127
- }, 8, ["label"])
128
- ]),
129
- _: 1
130
- }),
131
- a(_, { span: 6 }, {
132
- default: l(() => [
133
- a($, {
134
- label: o.$t("sysUserMan.jobStatus"),
135
- prop: "jobStatus"
136
- }, {
137
- default: l(() => [
138
- a(W, {
139
- modelValue: m.value.jobStatus,
140
- "onUpdate:modelValue": t[2] || (t[2] = (e) => m.value.jobStatus = e),
141
- placeholder: o.$t("sysUserMan.jobStatusRequired"),
142
- data: n(S).jobStatusDictEnum.values,
143
- onKeyup: t[3] || (t[3] = R((e) => n(i).handleQuery(), ["enter"])),
144
- clearable: ""
145
- }, null, 8, ["modelValue", "placeholder", "data"])
146
- ]),
147
- _: 1
148
- }, 8, ["label"])
149
- ]),
150
- _: 1
151
- }),
152
- a(_, { span: 12 }, {
153
- default: l(() => [
154
- a($, { class: "search-btn" }, {
155
- default: l(() => [
156
- a(k, {
157
- type: "primary",
158
- onClick: t[4] || (t[4] = (e) => n(i).handleQuery())
159
- }, {
160
- default: l(() => [
161
- d(r(o.$t("common.search")), 1)
162
- ]),
163
- _: 1
164
- }),
165
- a(k, {
166
- onClick: t[5] || (t[5] = (e) => n(i).resetQuery())
167
- }, {
168
- default: l(() => [
169
- d(r(o.$t("common.reset")), 1)
170
- ]),
171
- _: 1
172
- })
173
- ]),
174
- _: 1
175
- })
176
- ]),
177
- _: 1
178
- })
179
- ]),
180
- _: 1
181
- })
182
- ]),
183
- _: 1
184
- }, 8, ["model"]),
185
- t[13] || (t[13] = y("div", { class: "clear" }, null, -1))
186
- ]),
187
- a(te, {
188
- shadow: "never",
189
- class: "table-container"
190
- }, {
191
- header: l(() => [
192
- a(N, null, {
193
- default: l(() => [
194
- a(_, { span: 17 }, {
195
- default: l(() => [
196
- c((u(), b(k, {
197
- type: "primary",
198
- onClick: B
199
- }, {
200
- default: l(() => [
201
- d(r(o.$t("common.add")), 1)
202
- ]),
203
- _: 1
204
- })), [
205
- [v, ["itsmsys:sys_user_ext:add"]]
206
- ]),
207
- c((u(), b(k, {
208
- type: "primary",
209
- onClick: t[6] || (t[6] = (e) => n(i).deleteRecords())
210
- }, {
211
- default: l(() => [
212
- d(r(o.$t("common.batchDelete")), 1)
213
- ]),
214
- _: 1
215
- })), [
216
- [v, ["itsmsys:sys_user_ext:delete"]]
217
- ])
218
- ]),
219
- _: 1
220
- }),
221
- a(_, {
222
- span: 7,
223
- class: "container-float"
224
- }, {
225
- default: l(() => [
226
- a(Y, {
227
- modelValue: n(f),
228
- "onUpdate:modelValue": t[7] || (t[7] = (e) => M(f) ? f.value = e : f = e),
229
- "label-name": "itsmsys/itsm-sys-user-ext"
230
- }, null, 8, ["modelValue"])
231
- ]),
232
- _: 1
233
- })
234
- ]),
235
- _: 1
236
- })
237
- ]),
238
- footer: l(() => [
239
- n(h) > 0 ? (u(), b(ee, {
240
- key: 0,
241
- total: n(h),
242
- "onUpdate:total": t[8] || (t[8] = (e) => M(h) ? h.value = e : null),
243
- "current-page": m.value.curPage,
244
- "onUpdate:currentPage": t[9] || (t[9] = (e) => m.value.curPage = e),
245
- "page-size": m.value.pageSize,
246
- "onUpdate:pageSize": t[10] || (t[10] = (e) => m.value.pageSize = e),
247
- onPagination: t[11] || (t[11] = (e) => n(i).getList())
248
- }, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
249
- ]),
250
- default: l(() => [
251
- a(Z, {
252
- ref_key: "multipleTableRef",
253
- ref: L,
254
- "row-key": "userId",
255
- "list-loading": n(K),
256
- data: n(Q),
257
- "table-label": n(f),
258
- onSelectionChange: H,
259
- onSortChange: G
260
- }, {
261
- gender: l((e) => [
262
- y("span", null, r(n(S).genderDict.getEnumValue(e.data.row.gender)), 1)
263
- ]),
264
- mobilePhone: l((e) => [
265
- y("span", null, r(e.data.row.showEncrypt ? e.data.row.mobilePhone : e.data.row.mobilePhoneIns), 1)
266
- ]),
267
- email: l((e) => [
268
- y("span", null, r(e.data.row.showEncrypt ? e.data.row.email : e.data.row.emailIns), 1)
269
- ]),
270
- jobStatus: l((e) => [
271
- y("span", null, [
272
- e.data.row.jobStatus === n(q).jobStatus.working ? (u(), b(P, {
273
- key: 0,
274
- type: "primary"
275
- }, {
276
- default: l(() => [
277
- d(r(n(S).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
278
- ]),
279
- _: 2
280
- }, 1024)) : (u(), b(P, {
281
- key: 1,
282
- type: "danger"
283
- }, {
284
- default: l(() => [
285
- d(r(n(S).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
286
- ]),
287
- _: 2
288
- }, 1024))
289
- ])
290
- ]),
291
- operation: l((e) => [
292
- e.data.row.mobilePhoneIns || e.data.row.emailIns ? (u(), w("span", de, [
293
- c(a(D, {
294
- "icon-class": "close-eye",
295
- onClick: (C) => E(e.data.row)
296
- }, null, 8, ["onClick"]), [
297
- [T, !e.data.row.showEncrypt]
298
- ]),
299
- c(a(D, {
300
- "icon-class": "eye-open",
301
- onClick: (C) => E(e.data.row)
302
- }, null, 8, ["onClick"]), [
303
- [T, e.data.row.showEncrypt]
304
- ])
305
- ])) : V("", !0),
306
- c((u(), w("span", {
307
- class: "el-button-color dropdown-left",
308
- onClick: (C) => A(e.data.row)
309
- }, [
310
- d(r(o.$t("common.edit")), 1)
311
- ], 8, pe)), [
312
- [v, ["itsmsys:sys_user_ext:update"]]
313
- ]),
314
- c((u(), w("span", {
315
- class: "el-button-color dropdown-left",
316
- onClick: (C) => n(i).deleteRecord(e.data.row)
317
- }, [
318
- d(r(o.$t("common.delete")), 1)
319
- ], 8, ce)), [
320
- [v, ["itsmsys:sys_user_ext:delete"]]
321
- ]),
322
- c((u(), w("span", {
323
- class: "el-button-color dropdown-left",
324
- onClick: (C) => F(e.data.row)
325
- }, [
326
- d(r(o.$t("common.view")), 1)
327
- ], 8, ye)), [
328
- [v, ["itsmsys:sys_user_ext:view"]]
329
- ])
330
- ]),
331
- _: 1
332
- }, 8, ["list-loading", "data", "table-label"])
333
- ]),
334
- _: 1
335
- }),
336
- p.value.visible ? (u(), b(ie, {
337
- key: 0,
338
- modelValue: p.value.visible,
339
- "onUpdate:modelValue": t[12] || (t[12] = (e) => p.value.visible = e),
340
- title: p.value.title,
341
- "entity-key": n(j),
342
- onRefresh: J,
343
- width: "900px"
344
- }, null, 8, ["modelValue", "title", "entity-key"])) : V("", !0)
345
- ]);
346
- };
347
- }
348
- });
349
- export {
350
- Ce as default
351
- };
@@ -1,187 +0,0 @@
1
- import { defineComponent as C, ref as p, onBeforeMount as G, resolveComponent as a, openBlock as B, createElementBlock as w, createVNode as l, withCtx as e, createTextVNode as r, toDisplayString as t, createElementVNode as s, unref as y } from "vue";
2
- import { useRouter as M, useRoute as j } from "vue-router";
3
- import { routerUtil as q } from "jmash-core";
4
- import { sysOrgApi as A } from "./index.mjs";
5
- import { s as R } from "./index-B6vJj_z6.mjs";
6
- import { D as g } from "./index-Dno_3GpX.mjs";
7
- const S = { class: "app-container" }, U = { class: "cell-item" }, L = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, ee = /* @__PURE__ */ C({
8
- __name: "info",
9
- setup(K) {
10
- const h = M(), b = j(), n = p({}), _ = p([]), m = p("first");
11
- function I(o) {
12
- m.value = o.props.name, m.value === "second" && $();
13
- }
14
- const v = p([!1]);
15
- function P(o) {
16
- v.value[o] = !v.value[o];
17
- }
18
- function N() {
19
- q.closeTagView(b.fullPath, h, !1);
20
- }
21
- G(() => {
22
- A.findById({ orgId: b.query.orgId }).then(({ data: o }) => {
23
- n.value = Object.assign(n.value, o);
24
- });
25
- });
26
- function $() {
27
- R.findList({ orgId: b.query.orgId }).then(({ data: o }) => {
28
- _.value = o.results;
29
- });
30
- }
31
- return (o, d) => {
32
- const k = a("el-button"), c = a("el-descriptions-item"), T = a("jmash-mobileIns-component"), E = a("el-descriptions"), f = a("el-tab-pane"), u = a("el-table-column"), O = a("el-table"), V = a("el-tabs"), D = a("el-card");
33
- return B(), w("div", S, [
34
- l(D, { shadow: "never" }, {
35
- header: e(() => [
36
- l(k, {
37
- type: "primary",
38
- onClick: N
39
- }, {
40
- default: e(() => [
41
- r(t(o.$t("common.back")), 1)
42
- ]),
43
- _: 1
44
- })
45
- ]),
46
- default: e(() => [
47
- l(V, {
48
- modelValue: m.value,
49
- "onUpdate:modelValue": d[1] || (d[1] = (i) => m.value = i),
50
- onTabClick: I
51
- }, {
52
- default: e(() => [
53
- l(f, {
54
- label: "厅局单位信息",
55
- name: "first"
56
- }, {
57
- default: e(() => [
58
- l(E, {
59
- class: "margin-top",
60
- column: 2,
61
- border: ""
62
- }, {
63
- default: e(() => [
64
- l(c, null, {
65
- label: e(() => [
66
- s("div", U, t(o.$t("sysGov.orgName")), 1)
67
- ]),
68
- default: e(() => [
69
- r(" " + t(n.value.orgName), 1)
70
- ]),
71
- _: 1
72
- }),
73
- l(c, null, {
74
- label: e(() => [
75
- s("div", L, t(o.$t("sysGov.status")), 1)
76
- ]),
77
- default: e(() => [
78
- r(" " + t(y(g).hasStatusDict.getValue(n.value.status)), 1)
79
- ]),
80
- _: 1
81
- }),
82
- l(c, null, {
83
- label: e(() => [
84
- s("div", z, t(o.$t("sysGov.contactPerson")), 1)
85
- ]),
86
- default: e(() => [
87
- r(" " + t(n.value.contactPerson), 1)
88
- ]),
89
- _: 1
90
- }),
91
- l(c, null, {
92
- label: e(() => [
93
- s("div", F, t(o.$t("sysGov.contactPersonPosi")), 1)
94
- ]),
95
- default: e(() => [
96
- r(" " + t(n.value.contactPersonPosi), 1)
97
- ]),
98
- _: 1
99
- }),
100
- l(c, null, {
101
- label: e(() => [
102
- s("div", H, t(o.$t("sysGov.contactPersonMobile")), 1)
103
- ]),
104
- default: e(() => [
105
- l(T, {
106
- mobilePhoneIns: n.value.contactPersonMobileIns,
107
- mobilePhone: n.value.contactPersonMobile,
108
- mobileEncrypt: v.value[0],
109
- onToggleEncrypt: d[0] || (d[0] = (i) => P(0))
110
- }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
111
- ]),
112
- _: 1
113
- }),
114
- l(c, null, {
115
- label: e(() => [
116
- s("div", J, t(o.$t("sysGov.contactPersonTel")), 1)
117
- ]),
118
- default: e(() => [
119
- r(" " + t(n.value.contactPersonTel), 1)
120
- ]),
121
- _: 1
122
- })
123
- ]),
124
- _: 1
125
- })
126
- ]),
127
- _: 1
128
- }),
129
- l(f, {
130
- label: "发票信息",
131
- name: "second"
132
- }, {
133
- default: e(() => [
134
- l(O, {
135
- data: _.value,
136
- style: { width: "100%" }
137
- }, {
138
- default: e(() => [
139
- l(u, {
140
- prop: "invoiceType",
141
- label: o.$t("sysOrgInvoice.invoiceType")
142
- }, {
143
- default: e(({ row: i }) => [
144
- s("div", null, t(y(g).invoiceTypeDictEnum.getEnumValue(i.invoiceType)), 1)
145
- ]),
146
- _: 1
147
- }, 8, ["label"]),
148
- l(u, {
149
- prop: "invoiceTitle",
150
- label: o.$t("sysOrgInvoice.invoiceTitle")
151
- }, null, 8, ["label"]),
152
- l(u, {
153
- prop: "taxNumber",
154
- label: o.$t("sysOrgInvoice.taxNumber")
155
- }, null, 8, ["label"]),
156
- l(u, {
157
- prop: "bankName",
158
- label: o.$t("sysOrgInvoice.bankName")
159
- }, null, 8, ["label"]),
160
- l(u, {
161
- prop: "backNumber",
162
- label: o.$t("sysOrgInvoice.backNumber")
163
- }, {
164
- default: e(({ row: i }) => [
165
- s("div", null, t(i.backNumber), 1)
166
- ]),
167
- _: 1
168
- }, 8, ["label"])
169
- ]),
170
- _: 1
171
- }, 8, ["data"])
172
- ]),
173
- _: 1
174
- })
175
- ]),
176
- _: 1
177
- }, 8, ["modelValue"])
178
- ]),
179
- _: 1
180
- })
181
- ]);
182
- };
183
- }
184
- });
185
- export {
186
- ee as default
187
- };