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,187 +0,0 @@
1
- import { defineComponent as C, ref as p, onBeforeMount as B, resolveComponent as a, openBlock as w, createElementBlock as M, createVNode as l, withCtx as e, createTextVNode as r, toDisplayString as o, createElementVNode as s, unref as y } from "vue";
2
- import { useRouter as j, useRoute as q } from "vue-router";
3
- import { routerUtil as A } from "jmash-core";
4
- import { sysOrgApi as R } from "./index.mjs";
5
- import { s as S } from "./index-B6vJj_z6.mjs";
6
- import { D as g } from "./index-Dno_3GpX.mjs";
7
- const U = { class: "app-container" }, L = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, ee = /* @__PURE__ */ C({
8
- __name: "info",
9
- setup(K) {
10
- const h = j(), b = q(), n = p({}), v = p([]), m = p("first");
11
- function I(t) {
12
- m.value = t.props.name, m.value === "second" && N();
13
- }
14
- const _ = p([!1]);
15
- function O(t) {
16
- _.value[t] = !_.value[t];
17
- }
18
- function P() {
19
- A.closeTagView(b.fullPath, h, !1);
20
- }
21
- B(() => {
22
- R.findById({ orgId: b.query.orgId }).then(({ data: t }) => {
23
- n.value = Object.assign(n.value, t);
24
- });
25
- });
26
- function N() {
27
- S.findList({ orgId: b.query.orgId }).then(({ data: t }) => {
28
- v.value = t.results;
29
- });
30
- }
31
- return (t, d) => {
32
- const $ = a("el-button"), c = a("el-descriptions-item"), k = a("jmash-mobileIns-component"), T = a("el-descriptions"), f = a("el-tab-pane"), u = a("el-table-column"), E = a("el-table"), V = a("el-tabs"), D = a("el-card");
33
- return w(), M("div", U, [
34
- l(D, { shadow: "never" }, {
35
- header: e(() => [
36
- l($, {
37
- type: "primary",
38
- onClick: P
39
- }, {
40
- default: e(() => [
41
- r(o(t.$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(T, {
59
- class: "margin-top",
60
- column: 2,
61
- border: ""
62
- }, {
63
- default: e(() => [
64
- l(c, null, {
65
- label: e(() => [
66
- s("div", L, o(t.$t("sysOut.orgName")), 1)
67
- ]),
68
- default: e(() => [
69
- r(" " + o(n.value.orgName), 1)
70
- ]),
71
- _: 1
72
- }),
73
- l(c, null, {
74
- label: e(() => [
75
- s("div", z, o(t.$t("sysOut.status")), 1)
76
- ]),
77
- default: e(() => [
78
- r(" " + o(y(g).hasStatusDict.getValue(n.value.status)), 1)
79
- ]),
80
- _: 1
81
- }),
82
- l(c, null, {
83
- label: e(() => [
84
- s("div", F, o(t.$t("sysOut.contactPerson")), 1)
85
- ]),
86
- default: e(() => [
87
- r(" " + o(n.value.contactPerson), 1)
88
- ]),
89
- _: 1
90
- }),
91
- l(c, null, {
92
- label: e(() => [
93
- s("div", G, o(t.$t("sysOut.contactPersonPosi")), 1)
94
- ]),
95
- default: e(() => [
96
- r(" " + o(n.value.contactPersonPosi), 1)
97
- ]),
98
- _: 1
99
- }),
100
- l(c, null, {
101
- label: e(() => [
102
- s("div", H, o(t.$t("sysOut.contactPersonMobile")), 1)
103
- ]),
104
- default: e(() => [
105
- l(k, {
106
- mobilePhoneIns: n.value.contactPersonMobileIns,
107
- mobilePhone: n.value.contactPersonMobile,
108
- mobileEncrypt: _.value[0],
109
- onToggleEncrypt: d[0] || (d[0] = (i) => O(0))
110
- }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
111
- ]),
112
- _: 1
113
- }),
114
- l(c, null, {
115
- label: e(() => [
116
- s("div", J, o(t.$t("sysOut.contactPersonTel")), 1)
117
- ]),
118
- default: e(() => [
119
- r(" " + o(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(E, {
135
- data: v.value,
136
- style: { width: "100%" }
137
- }, {
138
- default: e(() => [
139
- l(u, {
140
- prop: "invoiceType",
141
- label: t.$t("sysOrgInvoice.invoiceType")
142
- }, {
143
- default: e(({ row: i }) => [
144
- s("div", null, o(y(g).invoiceTypeDictEnum.getEnumValue(i.invoiceType)), 1)
145
- ]),
146
- _: 1
147
- }, 8, ["label"]),
148
- l(u, {
149
- prop: "invoiceTitle",
150
- label: t.$t("sysOrgInvoice.invoiceTitle")
151
- }, null, 8, ["label"]),
152
- l(u, {
153
- prop: "taxNumber",
154
- label: t.$t("sysOrgInvoice.taxNumber")
155
- }, null, 8, ["label"]),
156
- l(u, {
157
- prop: "bankName",
158
- label: t.$t("sysOrgInvoice.bankName")
159
- }, null, 8, ["label"]),
160
- l(u, {
161
- prop: "backNumber",
162
- label: t.$t("sysOrgInvoice.backNumber")
163
- }, {
164
- default: e(({ row: i }) => [
165
- s("div", null, o(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
- };
@@ -1,176 +0,0 @@
1
- import { defineComponent as D, getCurrentInstance as N, ref as d, onBeforeMount as U, resolveComponent as u, openBlock as j, createElementBlock as B, createVNode as s, withCtx as e, createTextVNode as r, toDisplayString as o, createElementVNode as l, unref as c } from "vue";
2
- import { useRouter as V, useRoute as C } from "vue-router";
3
- import { D as p } from "./index-Dno_3GpX.mjs";
4
- import { routerUtil as T } from "jmash-core";
5
- import { deptApi as k, jobApi as w } from "jmash-rbac";
6
- import { sysUserExtApi as S } from "./index.mjs";
7
- import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
- const x = { class: "app-container" }, z = { class: "container" }, A = { class: "img-box" }, H = ["src"], O = { class: "descriptions" }, R = { style: { "font-size": "18px", "font-weight": "bold", "margin-right": "30px", "margin-left": "30px" } }, q = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, J = { class: "cell-item" }, K = { class: "cell-item" }, L = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = /* @__PURE__ */ D({
9
- __name: "info",
10
- setup(Z) {
11
- const { proxy: g } = N(), I = V(), v = C(), t = d({});
12
- p.sysOrgBizDict.useValues();
13
- const m = d([!1]);
14
- function _(n) {
15
- m.value[n] = !m.value[n];
16
- }
17
- function E() {
18
- T.closeTagView(v.fullPath, I, !1);
19
- }
20
- const f = d(), h = d();
21
- return U(() => {
22
- S.findById({
23
- userId: v.query.userId
24
- }).then(({ data: n }) => {
25
- t.value = n, k.findById({
26
- deptId: t.value.deptId
27
- }).then(({ data: a }) => {
28
- f.value = a.deptName;
29
- }), w.findById({
30
- roleId: t.value.jobId
31
- }).then(({ data: a }) => {
32
- h.value = a.roleName;
33
- });
34
- });
35
- }), (n, a) => {
36
- const P = u("el-button"), i = u("el-descriptions-item"), b = u("jmash-mobileIns-component"), $ = u("el-descriptions"), M = u("el-card");
37
- return j(), B("div", x, [
38
- s(M, { shadow: "never" }, {
39
- header: e(() => [
40
- s(P, {
41
- type: "primary",
42
- onClick: E
43
- }, {
44
- default: e(() => [
45
- r(o(n.$t("common.back")), 1)
46
- ]),
47
- _: 1
48
- })
49
- ]),
50
- default: e(() => [
51
- l("div", z, [
52
- l("div", A, [
53
- l("span", null, [
54
- l("img", {
55
- src: t.value.avatar,
56
- style: { width: "100px", height: "100px" },
57
- alt: ""
58
- }, null, 8, H)
59
- ])
60
- ]),
61
- l("div", O, [
62
- l("span", R, o(t.value.realName), 1),
63
- r(" " + o(c(p).genderDict.getEnumValue(t.value.gender)) + " ", 1),
64
- s($, {
65
- class: "margin-top",
66
- column: 2,
67
- border: ""
68
- }, {
69
- default: e(() => [
70
- s(i, null, {
71
- label: e(() => [
72
- l("div", q, o(n.$t("sysUserMan.orgId")), 1)
73
- ]),
74
- default: e(() => [
75
- r(" " + o(c(p).sysOrgBizDict.getValue(t.value.orgId)), 1)
76
- ]),
77
- _: 1
78
- }),
79
- s(i, null, {
80
- label: e(() => [
81
- l("div", F, o(n.$t("sysUserMan.mobilePhone")), 1)
82
- ]),
83
- default: e(() => [
84
- s(b, {
85
- mobilePhoneIns: t.value.mobilePhoneIns,
86
- mobilePhone: t.value.mobilePhone,
87
- mobileEncrypt: m.value[0],
88
- onToggleEncrypt: a[0] || (a[0] = (y) => _(0))
89
- }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
90
- ]),
91
- _: 1
92
- }),
93
- s(i, null, {
94
- label: e(() => [
95
- l("div", G, o(n.$t("sysUserMan.email")), 1)
96
- ]),
97
- default: e(() => [
98
- s(b, {
99
- mobilePhoneIns: t.value.emailIns,
100
- mobilePhone: t.value.email,
101
- mobileEncrypt: m.value[1],
102
- onToggleEncrypt: a[1] || (a[1] = (y) => _(1))
103
- }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
104
- ]),
105
- _: 1
106
- }),
107
- s(i, null, {
108
- label: e(() => [
109
- l("div", J, o(n.$t("sysUserMan.idNo")), 1)
110
- ]),
111
- default: e(() => [
112
- s(b, {
113
- mobilePhoneIns: t.value.idNoIns,
114
- mobilePhone: t.value.idNo,
115
- mobileEncrypt: m.value[2],
116
- onToggleEncrypt: a[2] || (a[2] = (y) => _(2))
117
- }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
118
- ]),
119
- _: 1
120
- }),
121
- s(i, null, {
122
- label: e(() => [
123
- l("div", K, o(n.$t("sysUserMan.deptId")), 1)
124
- ]),
125
- default: e(() => [
126
- r(" " + o(f.value), 1)
127
- ]),
128
- _: 1
129
- }),
130
- s(i, null, {
131
- label: e(() => [
132
- l("div", L, o(n.$t("sysUserMan.jobId")), 1)
133
- ]),
134
- default: e(() => [
135
- r(" " + o(h.value), 1)
136
- ]),
137
- _: 1
138
- }),
139
- s(i, null, {
140
- label: e(() => [
141
- l("div", Q, o(n.$t("sysUserMan.jobStatus")), 1)
142
- ]),
143
- default: e(() => [
144
- r(" " + o(c(p).jobStatusDictEnum.getEnumValue(
145
- t.value.jobStatus
146
- )), 1)
147
- ]),
148
- _: 1
149
- }),
150
- s(i, null, {
151
- label: e(() => [
152
- l("div", W, o(n.$t("sysUserMan.userCreateTime")), 1)
153
- ]),
154
- default: e(() => [
155
- l("span", null, o(c(g).$moment.formatDate(
156
- t.value.userCreateTime,
157
- "YYYY-MM-DD HH:mm"
158
- )), 1)
159
- ]),
160
- _: 1
161
- })
162
- ]),
163
- _: 1
164
- })
165
- ])
166
- ])
167
- ]),
168
- _: 1
169
- })
170
- ]);
171
- };
172
- }
173
- }), ie = /* @__PURE__ */ Y(X, [["__scopeId", "data-v-6447dc64"]]);
174
- export {
175
- ie as default
176
- };