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
@@ -0,0 +1,209 @@
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
+ };