xyvcard-itsmsys 0.0.13 → 0.0.15

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 (41) hide show
  1. package/dist/avatar-DFToerb2.mjs +4 -0
  2. package/dist/{edit-IRLCMnWT.mjs → edit-BKRcHRhe.mjs} +1 -1
  3. package/dist/{edit-CBnnqc6q.mjs → edit-BOYD0hK4.mjs} +2 -2
  4. package/dist/{edit-g4L03h6h.mjs → edit-BjOW2vs6.mjs} +1 -1
  5. package/dist/{edit-CuD0yKla.mjs → edit-DNMyksDd.mjs} +1 -1
  6. package/dist/{edit-D2lhB7lU.mjs → edit-DzjV79y1.mjs} +1 -1
  7. package/dist/{edit-DQ04LbhC.mjs → edit-b2ih9M1u.mjs} +2 -2
  8. package/dist/{edit-B7N9QLYv.mjs → edit-mVmM-PRk.mjs} +2 -2
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-Daxe3FpV.mjs → edit.vue_vue_type_script_setup_true_lang-CAq_h6E3.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-CEzM2X-C.mjs → edit.vue_vue_type_script_setup_true_lang-CHEDA0A_.mjs} +106 -182
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-DD9BucLK.mjs → edit.vue_vue_type_script_setup_true_lang-CfUAkfJW.mjs} +106 -182
  12. package/dist/{edit.vue_vue_type_script_setup_true_lang-SzJApeB-.mjs → edit.vue_vue_type_script_setup_true_lang-DCq50Piw.mjs} +1 -1
  13. package/dist/{import-upload-Bsl-7w0B.mjs → import-upload-DBaTv04c.mjs} +1 -1
  14. package/dist/{import-upload-COLdGpcs.mjs → import-upload-DZJ0GptW.mjs} +1 -1
  15. package/dist/{index-Dh_kNwqv.mjs → index-BXbOuSmq.mjs} +32 -32
  16. package/dist/{index-DNpEXtyQ.mjs → index-Cd5F5D4a.mjs} +2 -2
  17. package/dist/{index-BxX1lrD5.mjs → index-CvZlFuc4.mjs} +1 -1
  18. package/dist/{index-BBPQd1dS.mjs → index-Cy9iOhxs.mjs} +1 -1
  19. package/dist/{index-B4M6ZC7N.mjs → index-Cz0VExll.mjs} +11 -11
  20. package/dist/{index-n4FekcLF.mjs → index-D12MySRa.mjs} +33 -33
  21. package/dist/{index-CzVhcXfx.mjs → index-XoL9Os_9.mjs} +1 -1
  22. package/dist/{index-Dih4mOx4.mjs → index-qfyel9S8.mjs} +1 -1
  23. package/dist/index.mjs +14 -14
  24. package/dist/{index.vue_vue_type_script_setup_true_lang-D0pyunau.mjs → index.vue_vue_type_script_setup_true_lang-MCS-o6Sy.mjs} +2 -2
  25. package/dist/info--MGKuszF.mjs +194 -0
  26. package/dist/info-0NbCPcmX.mjs +223 -0
  27. package/dist/info-CCwx_-dG.mjs +223 -0
  28. package/dist/{info-XDDe5ve6.mjs → info-CIwhiTud.mjs} +61 -57
  29. package/dist/info-CPTCNZK-.mjs +223 -0
  30. package/dist/{info-BHylKqOX.mjs → info-D-UkVKd0.mjs} +47 -46
  31. package/dist/style.css +1 -1
  32. package/dts/api/index.d.ts +3 -3
  33. package/dts/api/itsm-sys-user-ext/types.d.ts +16 -16
  34. package/dts/constant.d.ts +5 -5
  35. package/dts/lang/itsmsys/en.d.ts +2 -2
  36. package/dts/lang/itsmsys/zh-cn.d.ts +8 -8
  37. package/package.json +1 -1
  38. package/dist/info-BZOWTNSd.mjs +0 -209
  39. package/dist/info-CDtqpKVD.mjs +0 -209
  40. package/dist/info-bwhmPzeG.mjs +0 -190
  41. package/dist/info-dBqoxL-p.mjs +0 -209
@@ -1,190 +0,0 @@
1
- import { defineComponent as D, getCurrentInstance as $, ref as f, onBeforeMount as U, resolveComponent as d, openBlock as O, createElementBlock as V, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as t, createElementVNode as n, unref as r } from "vue";
2
- import { useRouter as C, useRoute as T } from "vue-router";
3
- import { D as u } from "./index-B4M6ZC7N.mjs";
4
- import { routerUtil as B } from "jmash-core";
5
- import { sysUserExtApi as M } from "./index.mjs";
6
- import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
- const S = { class: "app-container" }, j = { class: "container" }, k = { class: "img-box" }, w = ["src"], Y = { class: "descriptions" }, z = { style: { "font-size": "18px", "font-weight": "bold", "margin-right": "30px", "margin-left": "30px" } }, J = { class: "cell-item" }, H = { class: "cell-item" }, R = { class: "cell-item" }, q = { class: "cell-item" }, x = { class: "cell-item" }, A = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, K = { class: "cell-item" }, L = { class: "cell-item" }, Q = /* @__PURE__ */ D({
8
- __name: "info",
9
- setup(W) {
10
- const { proxy: g } = $(), h = C(), b = T(), l = f({});
11
- u.sysOrgBizDict.useValues();
12
- const m = f([!1]);
13
- function p(o) {
14
- m.value[o] = !m.value[o];
15
- }
16
- function y() {
17
- B.closeTagView(b.fullPath, h, !1);
18
- }
19
- return U(() => {
20
- M.findById({
21
- userId: b.query.userId
22
- }).then(({ data: o }) => {
23
- l.value = o;
24
- });
25
- }), (o, c) => {
26
- const E = d("el-button"), i = d("el-descriptions-item"), _ = d("jmash-mobileIns-component"), I = d("el-descriptions"), P = d("el-card");
27
- return O(), V("div", S, [
28
- s(P, { shadow: "never" }, {
29
- header: e(() => [
30
- s(E, {
31
- type: "primary",
32
- onClick: y
33
- }, {
34
- default: e(() => [
35
- a(t(o.$t("common.back")), 1)
36
- ]),
37
- _: 1
38
- })
39
- ]),
40
- default: e(() => [
41
- n("div", j, [
42
- n("div", k, [
43
- n("span", null, [
44
- n("img", {
45
- src: l.value.avatar,
46
- style: { width: "100px", height: "100px" },
47
- alt: ""
48
- }, null, 8, w)
49
- ])
50
- ]),
51
- n("div", Y, [
52
- n("span", z, t(l.value.realName), 1),
53
- a(" " + t(r(u).genderDict.getEnumValue(l.value.gender)) + " ", 1),
54
- s(I, {
55
- class: "margin-top",
56
- column: 2,
57
- border: ""
58
- }, {
59
- default: e(() => [
60
- s(i, null, {
61
- label: e(() => [
62
- n("div", J, t(o.$t("sysUserOps.orgId")), 1)
63
- ]),
64
- default: e(() => [
65
- a(" " + t(r(u).sysOrgBizDict.getValue(l.value.orgId)), 1)
66
- ]),
67
- _: 1
68
- }),
69
- s(i, null, {
70
- label: e(() => [
71
- n("div", H, t(o.$t("sysUserOps.mobilePhone")), 1)
72
- ]),
73
- default: e(() => [
74
- s(_, {
75
- mobilePhoneIns: l.value.mobilePhoneIns,
76
- mobilePhone: l.value.mobilePhone,
77
- mobileEncrypt: m.value[0],
78
- onToggleEncrypt: c[0] || (c[0] = (v) => p(0))
79
- }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
80
- ]),
81
- _: 1
82
- }),
83
- s(i, null, {
84
- label: e(() => [
85
- n("div", R, t(o.$t("sysUserOps.email")), 1)
86
- ]),
87
- default: e(() => [
88
- s(_, {
89
- mobilePhoneIns: l.value.emailIns,
90
- mobilePhone: l.value.email,
91
- mobileEncrypt: m.value[1],
92
- onToggleEncrypt: c[1] || (c[1] = (v) => p(1))
93
- }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
94
- ]),
95
- _: 1
96
- }),
97
- s(i, null, {
98
- label: e(() => [
99
- n("div", q, t(o.$t("sysUserOps.idNo")), 1)
100
- ]),
101
- default: e(() => [
102
- s(_, {
103
- mobilePhoneIns: l.value.idNoIns,
104
- mobilePhone: l.value.idNo,
105
- mobileEncrypt: m.value[2],
106
- onToggleEncrypt: c[2] || (c[2] = (v) => p(2))
107
- }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
108
- ]),
109
- _: 1
110
- }),
111
- s(i, null, {
112
- label: e(() => [
113
- n("div", x, t(o.$t("sysUserOps.engineeType")), 1)
114
- ]),
115
- default: e(() => [
116
- a(" " + t(r(u).engineeTypeDictEnum.getEnumValue(
117
- l.value.engineeType
118
- )), 1)
119
- ]),
120
- _: 1
121
- }),
122
- s(i, null, {
123
- label: e(() => [
124
- n("div", A, t(o.$t("sysUserOps.engineeCertificate")), 1)
125
- ]),
126
- default: e(() => [
127
- a(" " + t(r(u).engineeCertificateDict.getDictValue(
128
- l.value.engineeCertificate
129
- )), 1)
130
- ]),
131
- _: 1
132
- }),
133
- s(i, null, {
134
- label: e(() => [
135
- n("div", F, t(o.$t("sysUserOps.engineeJobMode")), 1)
136
- ]),
137
- default: e(() => [
138
- a(" " + t(r(u).engineeJobModeDictEnum.getEnumValue(
139
- l.value.engineeJobMode
140
- )), 1)
141
- ]),
142
- _: 1
143
- }),
144
- s(i, null, {
145
- label: e(() => [
146
- n("div", G, t(o.$t("sysUserOps.jobStatus")), 1)
147
- ]),
148
- default: e(() => [
149
- a(" " + t(r(u).jobStatusDictEnum.getEnumValue(
150
- l.value.jobStatus
151
- )), 1)
152
- ]),
153
- _: 1
154
- }),
155
- s(i, null, {
156
- label: e(() => [
157
- n("div", K, t(o.$t("sysUserOps.userCreateTime")), 1)
158
- ]),
159
- default: e(() => [
160
- n("span", null, t(r(g).$moment.formatDate(
161
- l.value.userCreateTime,
162
- "YYYY-MM-DD HH:mm"
163
- )), 1)
164
- ]),
165
- _: 1
166
- }),
167
- s(i, null, {
168
- label: e(() => [
169
- n("div", L, t(o.$t("sysUserOps.engineeSpecialty")), 1)
170
- ]),
171
- default: e(() => [
172
- a(" " + t(l.value.engineeSpecialty), 1)
173
- ]),
174
- _: 1
175
- })
176
- ]),
177
- _: 1
178
- })
179
- ])
180
- ])
181
- ]),
182
- _: 1
183
- })
184
- ]);
185
- };
186
- }
187
- }), oe = /* @__PURE__ */ N(Q, [["__scopeId", "data-v-e0f9480a"]]);
188
- export {
189
- oe as default
190
- };
@@ -1,209 +0,0 @@
1
- import { defineComponent as C, ref as p, onBeforeMount as B, resolveComponent as i, openBlock as L, createElementBlock as w, createVNode as t, withCtx as e, createTextVNode as c, toDisplayString as o, createElementVNode as s, unref as g } 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 y } from "./index-B4M6ZC7N.mjs";
7
- const S = { class: "app-container" }, U = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, K = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, oe = /* @__PURE__ */ C({
8
- __name: "info",
9
- setup(X) {
10
- const h = M(), _ = j(), n = p({}), v = p([]), u = p("first");
11
- function O(l) {
12
- u.value = l.props.name, u.value === "second" && $();
13
- }
14
- const b = p([!1]);
15
- function I(l) {
16
- b.value[l] = !b.value[l];
17
- }
18
- function P() {
19
- q.closeTagView(_.fullPath, h, !1);
20
- }
21
- B(() => {
22
- A.findById({ orgId: _.query.orgId }).then(({ data: l }) => {
23
- n.value = Object.assign(n.value, l);
24
- });
25
- });
26
- function $() {
27
- R.findList({ orgId: _.query.orgId }).then(({ data: l }) => {
28
- v.value = l.results;
29
- });
30
- }
31
- return (l, d) => {
32
- const N = i("el-button"), a = i("el-descriptions-item"), T = i("jmash-mobileIns-component"), k = i("el-descriptions"), f = i("el-tab-pane"), r = i("el-table-column"), E = i("el-table"), V = i("el-tabs"), D = i("el-card");
33
- return L(), w("div", S, [
34
- t(D, { shadow: "never" }, {
35
- header: e(() => [
36
- t(N, {
37
- type: "primary",
38
- onClick: P
39
- }, {
40
- default: e(() => [
41
- c(o(l.$t("common.back")), 1)
42
- ]),
43
- _: 1
44
- })
45
- ]),
46
- default: e(() => [
47
- t(V, {
48
- modelValue: u.value,
49
- "onUpdate:modelValue": d[1] || (d[1] = (m) => u.value = m),
50
- onTabClick: O
51
- }, {
52
- default: e(() => [
53
- t(f, {
54
- label: "公司信息",
55
- name: "first"
56
- }, {
57
- default: e(() => [
58
- t(k, {
59
- class: "margin-top",
60
- column: 2,
61
- border: ""
62
- }, {
63
- default: e(() => [
64
- t(a, null, {
65
- label: e(() => [
66
- s("div", U, o(l.$t("sysOrg.orgName")), 1)
67
- ]),
68
- default: e(() => [
69
- c(" " + o(n.value.orgName), 1)
70
- ]),
71
- _: 1
72
- }),
73
- t(a, null, {
74
- label: e(() => [
75
- s("div", z, o(l.$t("sysOrg.status")), 1)
76
- ]),
77
- default: e(() => [
78
- c(" " + o(g(y).hasStatusDict.getValue(n.value.status)), 1)
79
- ]),
80
- _: 1
81
- }),
82
- t(a, null, {
83
- label: e(() => [
84
- s("div", F, o(l.$t("sysOrg.contactPerson")), 1)
85
- ]),
86
- default: e(() => [
87
- c(" " + o(n.value.contactPerson), 1)
88
- ]),
89
- _: 1
90
- }),
91
- t(a, null, {
92
- label: e(() => [
93
- s("div", G, o(l.$t("sysOrg.contactPersonPosi")), 1)
94
- ]),
95
- default: e(() => [
96
- c(" " + o(n.value.contactPersonPosi), 1)
97
- ]),
98
- _: 1
99
- }),
100
- t(a, null, {
101
- label: e(() => [
102
- s("div", H, o(l.$t("sysOrg.contactPersonMobile")), 1)
103
- ]),
104
- default: e(() => [
105
- t(T, {
106
- mobilePhoneIns: n.value.contactPersonMobileIns,
107
- mobilePhone: n.value.contactPersonMobile,
108
- mobileEncrypt: b.value[0],
109
- onToggleEncrypt: d[0] || (d[0] = (m) => I(0))
110
- }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
111
- ]),
112
- _: 1
113
- }),
114
- t(a, null, {
115
- label: e(() => [
116
- s("div", J, o(l.$t("sysOrg.contactPersonTel")), 1)
117
- ]),
118
- default: e(() => [
119
- c(" " + o(n.value.contactPersonTel), 1)
120
- ]),
121
- _: 1
122
- }),
123
- t(a, null, {
124
- label: e(() => [
125
- s("div", K, o(l.$t("sysOrg.geoLongitude")), 1)
126
- ]),
127
- default: e(() => [
128
- c(" " + o(n.value.geoLongitude), 1)
129
- ]),
130
- _: 1
131
- }),
132
- t(a, null, {
133
- label: e(() => [
134
- s("div", Q, o(l.$t("sysOrg.geoLatitude")), 1)
135
- ]),
136
- default: e(() => [
137
- c(" " + o(n.value.geoLatitude), 1)
138
- ]),
139
- _: 1
140
- }),
141
- t(a, null, {
142
- label: e(() => [
143
- s("div", W, o(l.$t("sysOrg.address")), 1)
144
- ]),
145
- default: e(() => [
146
- c(" " + o(n.value.address), 1)
147
- ]),
148
- _: 1
149
- })
150
- ]),
151
- _: 1
152
- })
153
- ]),
154
- _: 1
155
- }),
156
- t(f, {
157
- label: "发票信息",
158
- name: "second"
159
- }, {
160
- default: e(() => [
161
- t(E, {
162
- data: v.value,
163
- style: { width: "100%" }
164
- }, {
165
- default: e(() => [
166
- t(r, {
167
- prop: "invoiceType",
168
- label: l.$t("sysOrgInvoice.invoiceType")
169
- }, {
170
- default: e(({ row: m }) => [
171
- s("div", null, o(g(y).invoiceTypeDictEnum.getEnumValue(m.invoiceType)), 1)
172
- ]),
173
- _: 1
174
- }, 8, ["label"]),
175
- t(r, {
176
- prop: "invoiceTitle",
177
- label: l.$t("sysOrgInvoice.invoiceTitle")
178
- }, null, 8, ["label"]),
179
- t(r, {
180
- prop: "taxNumber",
181
- label: l.$t("sysOrgInvoice.taxNumber")
182
- }, null, 8, ["label"]),
183
- t(r, {
184
- prop: "bankName",
185
- label: l.$t("sysOrgInvoice.bankName")
186
- }, null, 8, ["label"]),
187
- t(r, {
188
- prop: "backNumber",
189
- label: l.$t("sysOrgInvoice.backNumber")
190
- }, null, 8, ["label"])
191
- ]),
192
- _: 1
193
- }, 8, ["data"])
194
- ]),
195
- _: 1
196
- })
197
- ]),
198
- _: 1
199
- }, 8, ["modelValue"])
200
- ]),
201
- _: 1
202
- })
203
- ]);
204
- };
205
- }
206
- });
207
- export {
208
- oe as default
209
- };