xyvcard-itsmsys 0.0.14 → 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.
@@ -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 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-Cz0VExll.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([]), r = p("first");
11
- function O(l) {
12
- r.value = l.props.name, r.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"), u = 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: r.value,
49
- "onUpdate:modelValue": d[1] || (d[1] = (m) => r.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("sysOut.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("sysOut.status")), 1)
76
- ]),
77
- default: e(() => [
78
- c(" " + o(y(g).hasStatusDict.getValue(n.value.status)), 1)
79
- ]),
80
- _: 1
81
- }),
82
- t(a, null, {
83
- label: e(() => [
84
- s("div", F, o(l.$t("sysOut.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("sysOut.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("sysOut.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("sysOut.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("sysOut.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("sysOut.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("sysOut.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(u, {
167
- prop: "invoiceType",
168
- label: l.$t("sysOrgInvoice.invoiceType")
169
- }, {
170
- default: e(({ row: m }) => [
171
- s("div", null, o(y(g).invoiceTypeDictEnum.getEnumValue(m.invoiceType)), 1)
172
- ]),
173
- _: 1
174
- }, 8, ["label"]),
175
- t(u, {
176
- prop: "invoiceTitle",
177
- label: l.$t("sysOrgInvoice.invoiceTitle")
178
- }, null, 8, ["label"]),
179
- t(u, {
180
- prop: "taxNumber",
181
- label: l.$t("sysOrgInvoice.taxNumber")
182
- }, null, 8, ["label"]),
183
- t(u, {
184
- prop: "bankName",
185
- label: l.$t("sysOrgInvoice.bankName")
186
- }, null, 8, ["label"]),
187
- t(u, {
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
- };