xyvcard-itsmsys 0.0.14 → 0.0.16

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 (38) hide show
  1. package/dist/avatar-DFToerb2.mjs +4 -0
  2. package/dist/{edit-BKRcHRhe.mjs → edit-C3NG4LWK.mjs} +1 -1
  3. package/dist/{edit-mVmM-PRk.mjs → edit-CJKLiFvj.mjs} +2 -2
  4. package/dist/{edit-b2ih9M1u.mjs → edit-DdBemEtp.mjs} +2 -2
  5. package/dist/{edit-BOYD0hK4.mjs → edit-DgxHpvC6.mjs} +2 -2
  6. package/dist/{edit-W7Cqo-_d.mjs → edit-Dxc1CH37.mjs} +1 -1
  7. package/dist/{edit-CHMLN0tR.mjs → edit-_PobHvyR.mjs} +1 -1
  8. package/dist/{edit-DNMyksDd.mjs → edit-pCyaGLeW.mjs} +1 -1
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-hotcXxq3.mjs → edit.vue_vue_type_script_setup_true_lang-BlMypmar.mjs} +86 -162
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-DCq50Piw.mjs → edit.vue_vue_type_script_setup_true_lang-BnfSGJv_.mjs} +1 -1
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-D31iEutB.mjs → edit.vue_vue_type_script_setup_true_lang-CtIAGnDl.mjs} +86 -162
  12. package/dist/{edit.vue_vue_type_script_setup_true_lang-CAq_h6E3.mjs → edit.vue_vue_type_script_setup_true_lang-ygCvblxi.mjs} +1 -1
  13. package/dist/{import-upload-DBaTv04c.mjs → import-upload-Dn6fqub8.mjs} +1 -1
  14. package/dist/{import-upload-DZJ0GptW.mjs → import-upload-r5sF-dob.mjs} +1 -1
  15. package/dist/{index-Cz0VExll.mjs → index-C57850Qg.mjs} +16 -13
  16. package/dist/{index-D8h0lcNy.mjs → index-Clqts1Tf.mjs} +47 -47
  17. package/dist/{index-uqlBd_1I.mjs → index-D-y6OhBi.mjs} +87 -87
  18. package/dist/{index-qfyel9S8.mjs → index-DGX9vRbo.mjs} +1 -1
  19. package/dist/{index-XoL9Os_9.mjs → index-byYol6y6.mjs} +40 -41
  20. package/dist/{index-Cy9iOhxs.mjs → index-ekie5iUI.mjs} +2 -3
  21. package/dist/{index-CvZlFuc4.mjs → index-rAUwvtcF.mjs} +2 -3
  22. package/dist/{index-Cd5F5D4a.mjs → index-uAbzEnZH.mjs} +38 -38
  23. package/dist/index.mjs +10 -9
  24. package/dist/{index.vue_vue_type_script_setup_true_lang-MCS-o6Sy.mjs → index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs} +2 -2
  25. package/dist/info-BNw5IiGi.mjs +194 -0
  26. package/dist/{info-DcUASS45.mjs → info-BqQdA6b-.mjs} +54 -50
  27. package/dist/info-BraECWiO.mjs +223 -0
  28. package/dist/info-Cjx0ceNM.mjs +223 -0
  29. package/dist/info-DHxVt25p.mjs +223 -0
  30. package/dist/{info-CU4nIMVM.mjs → info-to4iDhQX.mjs} +64 -63
  31. package/dist/style.css +1 -1
  32. package/dts/api/itsm-sys-user-ext/types.d.ts +1 -1
  33. package/dts/constant.d.ts +1 -0
  34. package/package.json +1 -1
  35. package/dist/info-C821AMSV.mjs +0 -190
  36. package/dist/info-CXCnXNu4.mjs +0 -209
  37. package/dist/info-CYDV3va6.mjs +0 -209
  38. package/dist/info-DPIIgRG8.mjs +0 -209
@@ -1,57 +1,61 @@
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-Cz0VExll.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({
1
+ import { defineComponent as U, getCurrentInstance as $, ref as f, computed as O, onBeforeMount as V, resolveComponent as d, openBlock as C, createElementBlock as T, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as t, createElementVNode as o, unref as r } from "vue";
2
+ import { useRouter as B, useRoute as M } from "vue-router";
3
+ import { D as u } from "./index-C57850Qg.mjs";
4
+ import { fileApi as N, routerUtil as S } from "jmash-core";
5
+ import { sysUserExtApi as j } from "./index.mjs";
6
+ import { d as k } from "./avatar-DFToerb2.mjs";
7
+ import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
+ const Y = { class: "app-container" }, z = { class: "container" }, A = { class: "img-box" }, J = ["src"], H = { class: "descriptions" }, R = { style: { "font-size": "18px", "font-weight": "bold", "margin-right": "30px", "margin-left": "30px" } }, q = { class: "cell-item" }, x = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, K = { class: "cell-item" }, L = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Z = { class: "cell-item" }, ee = /* @__PURE__ */ U({
8
9
  __name: "info",
9
- setup(W) {
10
- const { proxy: g } = $(), h = C(), b = T(), l = f({});
10
+ setup(te) {
11
+ const { proxy: g } = $(), h = B(), v = M(), l = f({});
11
12
  u.sysOutBizDict.useValues();
12
13
  const m = f([!1]);
13
- function p(o) {
14
- m.value[o] = !m.value[o];
14
+ function p(n) {
15
+ m.value[n] = !m.value[n];
15
16
  }
16
- function y() {
17
- B.closeTagView(b.fullPath, h, !1);
17
+ const y = O(
18
+ () => l.value && l.value.avatar ? N.imageUrl(l.value.avatar) : k
19
+ );
20
+ function E() {
21
+ S.closeTagView(v.fullPath, h, !1);
18
22
  }
19
- return U(() => {
20
- M.findById({
21
- userId: b.query.userId
22
- }).then(({ data: o }) => {
23
- l.value = o;
23
+ return V(() => {
24
+ j.findById({
25
+ userId: v.query.userId
26
+ }).then(({ data: n }) => {
27
+ l.value = n;
24
28
  });
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
+ }), (n, c) => {
30
+ const I = d("el-button"), i = d("el-descriptions-item"), _ = d("jmash-mobileIns-component"), P = d("el-descriptions"), D = d("el-card");
31
+ return C(), T("div", Y, [
32
+ s(D, { shadow: "never" }, {
29
33
  header: e(() => [
30
- s(E, {
34
+ s(I, {
31
35
  type: "primary",
32
- onClick: y
36
+ onClick: E
33
37
  }, {
34
38
  default: e(() => [
35
- a(t(o.$t("common.back")), 1)
39
+ a(t(n.$t("common.back")), 1)
36
40
  ]),
37
41
  _: 1
38
42
  })
39
43
  ]),
40
44
  default: e(() => [
41
- n("div", j, [
42
- n("div", k, [
43
- n("span", null, [
44
- n("img", {
45
- src: l.value.avatar,
45
+ o("div", z, [
46
+ o("div", A, [
47
+ o("span", null, [
48
+ o("img", {
49
+ src: y.value,
46
50
  style: { width: "100px", height: "100px" },
47
51
  alt: ""
48
- }, null, 8, w)
52
+ }, null, 8, J)
49
53
  ])
50
54
  ]),
51
- n("div", Y, [
52
- n("span", z, t(l.value.realName), 1),
55
+ o("div", H, [
56
+ o("span", R, t(l.value.realName), 1),
53
57
  a(" " + t(r(u).genderDict.getEnumValue(l.value.gender)) + " ", 1),
54
- s(I, {
58
+ s(P, {
55
59
  class: "margin-top",
56
60
  column: 2,
57
61
  border: ""
@@ -59,7 +63,7 @@ const S = { class: "app-container" }, j = { class: "container" }, k = { class: "
59
63
  default: e(() => [
60
64
  s(i, null, {
61
65
  label: e(() => [
62
- n("div", J, t(o.$t("sysUserOps.orgId")), 1)
66
+ o("div", q, t(n.$t("sysUserOps.orgId")), 1)
63
67
  ]),
64
68
  default: e(() => [
65
69
  a(" " + t(r(u).sysOutBizDict.getValue(l.value.orgId)), 1)
@@ -68,49 +72,49 @@ const S = { class: "app-container" }, j = { class: "container" }, k = { class: "
68
72
  }),
69
73
  s(i, null, {
70
74
  label: e(() => [
71
- n("div", H, t(o.$t("sysUserOps.mobilePhone")), 1)
75
+ o("div", x, t(n.$t("sysUserOps.mobilePhone")), 1)
72
76
  ]),
73
77
  default: e(() => [
74
78
  s(_, {
75
79
  mobilePhoneIns: l.value.mobilePhoneIns,
76
80
  mobilePhone: l.value.mobilePhone,
77
81
  mobileEncrypt: m.value[0],
78
- onToggleEncrypt: c[0] || (c[0] = (v) => p(0))
82
+ onToggleEncrypt: c[0] || (c[0] = (b) => p(0))
79
83
  }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
80
84
  ]),
81
85
  _: 1
82
86
  }),
83
87
  s(i, null, {
84
88
  label: e(() => [
85
- n("div", R, t(o.$t("sysUserOps.email")), 1)
89
+ o("div", F, t(n.$t("sysUserOps.email")), 1)
86
90
  ]),
87
91
  default: e(() => [
88
92
  s(_, {
89
93
  mobilePhoneIns: l.value.emailIns,
90
94
  mobilePhone: l.value.email,
91
95
  mobileEncrypt: m.value[1],
92
- onToggleEncrypt: c[1] || (c[1] = (v) => p(1))
96
+ onToggleEncrypt: c[1] || (c[1] = (b) => p(1))
93
97
  }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
94
98
  ]),
95
99
  _: 1
96
100
  }),
97
101
  s(i, null, {
98
102
  label: e(() => [
99
- n("div", q, t(o.$t("sysUserOps.idNo")), 1)
103
+ o("div", G, t(n.$t("sysUserOps.idNo")), 1)
100
104
  ]),
101
105
  default: e(() => [
102
106
  s(_, {
103
107
  mobilePhoneIns: l.value.idNoIns,
104
108
  mobilePhone: l.value.idNo,
105
109
  mobileEncrypt: m.value[2],
106
- onToggleEncrypt: c[2] || (c[2] = (v) => p(2))
110
+ onToggleEncrypt: c[2] || (c[2] = (b) => p(2))
107
111
  }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
108
112
  ]),
109
113
  _: 1
110
114
  }),
111
115
  s(i, null, {
112
116
  label: e(() => [
113
- n("div", x, t(o.$t("sysUserOps.engineerType")), 1)
117
+ o("div", K, t(n.$t("sysUserOps.engineerType")), 1)
114
118
  ]),
115
119
  default: e(() => [
116
120
  a(" " + t(r(u).engineerTypeDictEnum.getEnumValue(
@@ -121,7 +125,7 @@ const S = { class: "app-container" }, j = { class: "container" }, k = { class: "
121
125
  }),
122
126
  s(i, null, {
123
127
  label: e(() => [
124
- n("div", A, t(o.$t("sysUserOps.engineerCertificate")), 1)
128
+ o("div", L, t(n.$t("sysUserOps.engineerCertificate")), 1)
125
129
  ]),
126
130
  default: e(() => [
127
131
  a(" " + t(r(u).engineerCertificateDict.getDictValue(
@@ -132,7 +136,7 @@ const S = { class: "app-container" }, j = { class: "container" }, k = { class: "
132
136
  }),
133
137
  s(i, null, {
134
138
  label: e(() => [
135
- n("div", F, t(o.$t("sysUserOps.engineerJobMode")), 1)
139
+ o("div", Q, t(n.$t("sysUserOps.engineerJobMode")), 1)
136
140
  ]),
137
141
  default: e(() => [
138
142
  a(" " + t(r(u).engineerJobModeDictEnum.getEnumValue(
@@ -143,7 +147,7 @@ const S = { class: "app-container" }, j = { class: "container" }, k = { class: "
143
147
  }),
144
148
  s(i, null, {
145
149
  label: e(() => [
146
- n("div", G, t(o.$t("sysUserOps.jobStatus")), 1)
150
+ o("div", W, t(n.$t("sysUserOps.jobStatus")), 1)
147
151
  ]),
148
152
  default: e(() => [
149
153
  a(" " + t(r(u).jobStatusDictEnum.getEnumValue(
@@ -154,10 +158,10 @@ const S = { class: "app-container" }, j = { class: "container" }, k = { class: "
154
158
  }),
155
159
  s(i, null, {
156
160
  label: e(() => [
157
- n("div", K, t(o.$t("sysUserOps.userCreateTime")), 1)
161
+ o("div", X, t(n.$t("sysUserOps.userCreateTime")), 1)
158
162
  ]),
159
163
  default: e(() => [
160
- n("span", null, t(r(g).$moment.formatDate(
164
+ o("span", null, t(r(g).$moment.formatDate(
161
165
  l.value.userCreateTime,
162
166
  "YYYY-MM-DD HH:mm"
163
167
  )), 1)
@@ -166,7 +170,7 @@ const S = { class: "app-container" }, j = { class: "container" }, k = { class: "
166
170
  }),
167
171
  s(i, null, {
168
172
  label: e(() => [
169
- n("div", L, t(o.$t("sysUserOps.engineerSpecialty")), 1)
173
+ o("div", Z, t(n.$t("sysUserOps.engineerSpecialty")), 1)
170
174
  ]),
171
175
  default: e(() => [
172
176
  a(" " + t(l.value.engineerSpecialty), 1)
@@ -184,7 +188,7 @@ const S = { class: "app-container" }, j = { class: "container" }, k = { class: "
184
188
  ]);
185
189
  };
186
190
  }
187
- }), oe = /* @__PURE__ */ N(Q, [["__scopeId", "data-v-a32f3219"]]);
191
+ }), ue = /* @__PURE__ */ w(ee, [["__scopeId", "data-v-cecd8e01"]]);
188
192
  export {
189
- oe as default
193
+ ue as default
190
194
  };
@@ -0,0 +1,223 @@
1
+ import { defineComponent as w, ref as p, onBeforeMount as A, resolveComponent as a, openBlock as M, createElementBlock as q, createVNode as l, withCtx as t, createTextVNode as u, toDisplayString as o, createElementVNode as s, unref as _ } from "vue";
2
+ import { useRouter as G, useRoute as R } from "vue-router";
3
+ import { routerUtil as S } from "jmash-core";
4
+ import { sysOrgApi as U } from "./index.mjs";
5
+ import { s as J } from "./index-B6vJj_z6.mjs";
6
+ import { D as y, C as h } from "./index-C57850Qg.mjs";
7
+ const K = { class: "app-container" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ie = /* @__PURE__ */ w({
8
+ __name: "info",
9
+ setup(ee) {
10
+ const O = G(), v = R(), n = p({}), f = p([]), r = p("first");
11
+ function I(e) {
12
+ n.value.geoLatitude = e[0], n.value.geoLongitude = e[1];
13
+ }
14
+ function P(e) {
15
+ n.value.address = e;
16
+ }
17
+ function $(e) {
18
+ r.value = e.props.name, r.value === "second" && N();
19
+ }
20
+ const b = p([!1]);
21
+ function k(e) {
22
+ b.value[e] = !b.value[e];
23
+ }
24
+ function L() {
25
+ S.closeTagView(v.fullPath, O, !1);
26
+ }
27
+ A(() => {
28
+ U.findById({ orgId: v.query.orgId }).then(({ data: e }) => {
29
+ n.value = Object.assign(n.value, e);
30
+ });
31
+ });
32
+ function N() {
33
+ J.findList({ orgId: v.query.orgId }).then(({ data: e }) => {
34
+ f.value = e.results;
35
+ });
36
+ }
37
+ return (e, d) => {
38
+ const T = a("el-button"), i = a("el-descriptions-item"), C = a("jmash-mobileIns-component"), E = a("jmash-amap"), V = a("el-descriptions"), g = a("el-tab-pane"), c = a("el-table-column"), j = a("el-table"), D = a("el-tabs"), B = a("el-card");
39
+ return M(), q("div", K, [
40
+ l(B, { shadow: "never" }, {
41
+ header: t(() => [
42
+ l(T, {
43
+ type: "primary",
44
+ onClick: L
45
+ }, {
46
+ default: t(() => [
47
+ u(o(e.$t("common.back")), 1)
48
+ ]),
49
+ _: 1
50
+ })
51
+ ]),
52
+ default: t(() => [
53
+ l(D, {
54
+ modelValue: r.value,
55
+ "onUpdate:modelValue": d[1] || (d[1] = (m) => r.value = m),
56
+ onTabClick: $
57
+ }, {
58
+ default: t(() => [
59
+ l(g, {
60
+ label: "外协单位信息",
61
+ name: "first"
62
+ }, {
63
+ default: t(() => [
64
+ l(V, {
65
+ class: "margin-top",
66
+ column: 2,
67
+ border: ""
68
+ }, {
69
+ default: t(() => [
70
+ l(i, null, {
71
+ label: t(() => [
72
+ s("div", z, o(e.$t("sysOut.orgName")), 1)
73
+ ]),
74
+ default: t(() => [
75
+ u(" " + o(n.value.orgName), 1)
76
+ ]),
77
+ _: 1
78
+ }),
79
+ l(i, null, {
80
+ label: t(() => [
81
+ s("div", F, o(e.$t("sysOut.status")), 1)
82
+ ]),
83
+ default: t(() => [
84
+ u(" " + o(_(y).hasStatusDict.getValue(n.value.status)), 1)
85
+ ]),
86
+ _: 1
87
+ }),
88
+ l(i, null, {
89
+ label: t(() => [
90
+ s("div", H, o(e.$t("sysOut.contactPerson")), 1)
91
+ ]),
92
+ default: t(() => [
93
+ u(" " + o(n.value.contactPerson), 1)
94
+ ]),
95
+ _: 1
96
+ }),
97
+ l(i, null, {
98
+ label: t(() => [
99
+ s("div", Q, o(e.$t("sysOut.contactPersonPosi")), 1)
100
+ ]),
101
+ default: t(() => [
102
+ u(" " + o(n.value.contactPersonPosi), 1)
103
+ ]),
104
+ _: 1
105
+ }),
106
+ l(i, null, {
107
+ label: t(() => [
108
+ s("div", W, o(e.$t("sysOut.contactPersonMobile")), 1)
109
+ ]),
110
+ default: t(() => [
111
+ l(C, {
112
+ mobilePhoneIns: n.value.contactPersonMobileIns,
113
+ mobilePhone: n.value.contactPersonMobile,
114
+ mobileEncrypt: b.value[0],
115
+ onToggleEncrypt: d[0] || (d[0] = (m) => k(0))
116
+ }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
117
+ ]),
118
+ _: 1
119
+ }),
120
+ l(i, null, {
121
+ label: t(() => [
122
+ s("div", X, o(e.$t("sysOut.contactPersonTel")), 1)
123
+ ]),
124
+ default: t(() => [
125
+ u(" " + o(n.value.contactPersonTel), 1)
126
+ ]),
127
+ _: 1
128
+ }),
129
+ l(i, null, {
130
+ label: t(() => [
131
+ s("div", Y, o(e.$t("sysOut.geoLongitude")), 1)
132
+ ]),
133
+ default: t(() => [
134
+ u(" " + o(n.value.geoLongitude), 1)
135
+ ]),
136
+ _: 1
137
+ }),
138
+ l(i, null, {
139
+ label: t(() => [
140
+ s("div", Z, o(e.$t("sysOut.geoLatitude")), 1)
141
+ ]),
142
+ default: t(() => [
143
+ u(" " + o(n.value.geoLatitude), 1)
144
+ ]),
145
+ _: 1
146
+ }),
147
+ l(i, null, {
148
+ label: t(() => [
149
+ s("div", x, o(e.$t("sysOut.address")), 1)
150
+ ]),
151
+ default: t(() => [
152
+ u(" " + o(n.value.address) + " ", 1),
153
+ l(E, {
154
+ "security-js-code": _(h).amapConfig.securityJsCode,
155
+ "api-key": _(h).amapConfig.apiKey,
156
+ lat: n.value.geoLatitude,
157
+ lng: n.value.geoLongitude,
158
+ onGetLatLng: I,
159
+ onGetAddress: P
160
+ }, null, 8, ["security-js-code", "api-key", "lat", "lng"])
161
+ ]),
162
+ _: 1
163
+ })
164
+ ]),
165
+ _: 1
166
+ })
167
+ ]),
168
+ _: 1
169
+ }),
170
+ l(g, {
171
+ label: "发票信息",
172
+ name: "second"
173
+ }, {
174
+ default: t(() => [
175
+ l(j, {
176
+ data: f.value,
177
+ style: { width: "100%" }
178
+ }, {
179
+ default: t(() => [
180
+ l(c, {
181
+ prop: "invoiceType",
182
+ label: e.$t("sysOrgInvoice.invoiceType")
183
+ }, {
184
+ default: t(({ row: m }) => [
185
+ s("div", null, o(_(y).invoiceTypeDictEnum.getEnumValue(m.invoiceType)), 1)
186
+ ]),
187
+ _: 1
188
+ }, 8, ["label"]),
189
+ l(c, {
190
+ prop: "invoiceTitle",
191
+ label: e.$t("sysOrgInvoice.invoiceTitle")
192
+ }, null, 8, ["label"]),
193
+ l(c, {
194
+ prop: "taxNumber",
195
+ label: e.$t("sysOrgInvoice.taxNumber")
196
+ }, null, 8, ["label"]),
197
+ l(c, {
198
+ prop: "bankName",
199
+ label: e.$t("sysOrgInvoice.bankName")
200
+ }, null, 8, ["label"]),
201
+ l(c, {
202
+ prop: "backNumber",
203
+ label: e.$t("sysOrgInvoice.backNumber")
204
+ }, null, 8, ["label"])
205
+ ]),
206
+ _: 1
207
+ }, 8, ["data"])
208
+ ]),
209
+ _: 1
210
+ })
211
+ ]),
212
+ _: 1
213
+ }, 8, ["modelValue"])
214
+ ]),
215
+ _: 1
216
+ })
217
+ ]);
218
+ };
219
+ }
220
+ });
221
+ export {
222
+ ie as default
223
+ };
@@ -0,0 +1,223 @@
1
+ import { defineComponent as w, ref as p, onBeforeMount as A, resolveComponent as a, openBlock as M, createElementBlock as q, createVNode as t, withCtx as l, createTextVNode as c, toDisplayString as o, createElementVNode as s, unref as _ } from "vue";
2
+ import { useRouter as G, useRoute as R } from "vue-router";
3
+ import { routerUtil as S } from "jmash-core";
4
+ import { sysOrgApi as U } from "./index.mjs";
5
+ import { s as J } from "./index-B6vJj_z6.mjs";
6
+ import { D as y, C as h } from "./index-C57850Qg.mjs";
7
+ const K = { class: "app-container" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ie = /* @__PURE__ */ w({
8
+ __name: "info",
9
+ setup(ee) {
10
+ const O = G(), v = R(), n = p({}), g = p([]), r = p("first");
11
+ function I(e) {
12
+ n.value.geoLatitude = e[0], n.value.geoLongitude = e[1];
13
+ }
14
+ function P(e) {
15
+ n.value.address = e;
16
+ }
17
+ function $(e) {
18
+ r.value = e.props.name, r.value === "second" && N();
19
+ }
20
+ const b = p([!1]);
21
+ function k(e) {
22
+ b.value[e] = !b.value[e];
23
+ }
24
+ function L() {
25
+ S.closeTagView(v.fullPath, O, !1);
26
+ }
27
+ A(() => {
28
+ U.findById({ orgId: v.query.orgId }).then(({ data: e }) => {
29
+ n.value = Object.assign(n.value, e);
30
+ });
31
+ });
32
+ function N() {
33
+ J.findList({ orgId: v.query.orgId }).then(({ data: e }) => {
34
+ g.value = e.results;
35
+ });
36
+ }
37
+ return (e, d) => {
38
+ const T = a("el-button"), i = a("el-descriptions-item"), C = a("jmash-mobileIns-component"), E = a("jmash-amap"), V = a("el-descriptions"), f = a("el-tab-pane"), u = a("el-table-column"), j = a("el-table"), D = a("el-tabs"), B = a("el-card");
39
+ return M(), q("div", K, [
40
+ t(B, { shadow: "never" }, {
41
+ header: l(() => [
42
+ t(T, {
43
+ type: "primary",
44
+ onClick: L
45
+ }, {
46
+ default: l(() => [
47
+ c(o(e.$t("common.back")), 1)
48
+ ]),
49
+ _: 1
50
+ })
51
+ ]),
52
+ default: l(() => [
53
+ t(D, {
54
+ modelValue: r.value,
55
+ "onUpdate:modelValue": d[1] || (d[1] = (m) => r.value = m),
56
+ onTabClick: $
57
+ }, {
58
+ default: l(() => [
59
+ t(f, {
60
+ label: "公司信息",
61
+ name: "first"
62
+ }, {
63
+ default: l(() => [
64
+ t(V, {
65
+ class: "margin-top",
66
+ column: 2,
67
+ border: ""
68
+ }, {
69
+ default: l(() => [
70
+ t(i, null, {
71
+ label: l(() => [
72
+ s("div", z, o(e.$t("sysOrg.orgName")), 1)
73
+ ]),
74
+ default: l(() => [
75
+ c(" " + o(n.value.orgName), 1)
76
+ ]),
77
+ _: 1
78
+ }),
79
+ t(i, null, {
80
+ label: l(() => [
81
+ s("div", F, o(e.$t("sysOrg.status")), 1)
82
+ ]),
83
+ default: l(() => [
84
+ c(" " + o(_(y).hasStatusDict.getValue(n.value.status)), 1)
85
+ ]),
86
+ _: 1
87
+ }),
88
+ t(i, null, {
89
+ label: l(() => [
90
+ s("div", H, o(e.$t("sysOrg.contactPerson")), 1)
91
+ ]),
92
+ default: l(() => [
93
+ c(" " + o(n.value.contactPerson), 1)
94
+ ]),
95
+ _: 1
96
+ }),
97
+ t(i, null, {
98
+ label: l(() => [
99
+ s("div", Q, o(e.$t("sysOrg.contactPersonPosi")), 1)
100
+ ]),
101
+ default: l(() => [
102
+ c(" " + o(n.value.contactPersonPosi), 1)
103
+ ]),
104
+ _: 1
105
+ }),
106
+ t(i, null, {
107
+ label: l(() => [
108
+ s("div", W, o(e.$t("sysOrg.contactPersonMobile")), 1)
109
+ ]),
110
+ default: l(() => [
111
+ t(C, {
112
+ mobilePhoneIns: n.value.contactPersonMobileIns,
113
+ mobilePhone: n.value.contactPersonMobile,
114
+ mobileEncrypt: b.value[0],
115
+ onToggleEncrypt: d[0] || (d[0] = (m) => k(0))
116
+ }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
117
+ ]),
118
+ _: 1
119
+ }),
120
+ t(i, null, {
121
+ label: l(() => [
122
+ s("div", X, o(e.$t("sysOrg.contactPersonTel")), 1)
123
+ ]),
124
+ default: l(() => [
125
+ c(" " + o(n.value.contactPersonTel), 1)
126
+ ]),
127
+ _: 1
128
+ }),
129
+ t(i, null, {
130
+ label: l(() => [
131
+ s("div", Y, o(e.$t("sysOrg.geoLongitude")), 1)
132
+ ]),
133
+ default: l(() => [
134
+ c(" " + o(n.value.geoLongitude), 1)
135
+ ]),
136
+ _: 1
137
+ }),
138
+ t(i, null, {
139
+ label: l(() => [
140
+ s("div", Z, o(e.$t("sysOrg.geoLatitude")), 1)
141
+ ]),
142
+ default: l(() => [
143
+ c(" " + o(n.value.geoLatitude), 1)
144
+ ]),
145
+ _: 1
146
+ }),
147
+ t(i, null, {
148
+ label: l(() => [
149
+ s("div", x, o(e.$t("sysOrg.address")), 1)
150
+ ]),
151
+ default: l(() => [
152
+ c(" " + o(n.value.address) + " ", 1),
153
+ t(E, {
154
+ "security-js-code": _(h).amapConfig.securityJsCode,
155
+ "api-key": _(h).amapConfig.apiKey,
156
+ lat: n.value.geoLatitude,
157
+ lng: n.value.geoLongitude,
158
+ onGetLatLng: I,
159
+ onGetAddress: P
160
+ }, null, 8, ["security-js-code", "api-key", "lat", "lng"])
161
+ ]),
162
+ _: 1
163
+ })
164
+ ]),
165
+ _: 1
166
+ })
167
+ ]),
168
+ _: 1
169
+ }),
170
+ t(f, {
171
+ label: "发票信息",
172
+ name: "second"
173
+ }, {
174
+ default: l(() => [
175
+ t(j, {
176
+ data: g.value,
177
+ style: { width: "100%" }
178
+ }, {
179
+ default: l(() => [
180
+ t(u, {
181
+ prop: "invoiceType",
182
+ label: e.$t("sysOrgInvoice.invoiceType")
183
+ }, {
184
+ default: l(({ row: m }) => [
185
+ s("div", null, o(_(y).invoiceTypeDictEnum.getEnumValue(m.invoiceType)), 1)
186
+ ]),
187
+ _: 1
188
+ }, 8, ["label"]),
189
+ t(u, {
190
+ prop: "invoiceTitle",
191
+ label: e.$t("sysOrgInvoice.invoiceTitle")
192
+ }, null, 8, ["label"]),
193
+ t(u, {
194
+ prop: "taxNumber",
195
+ label: e.$t("sysOrgInvoice.taxNumber")
196
+ }, null, 8, ["label"]),
197
+ t(u, {
198
+ prop: "bankName",
199
+ label: e.$t("sysOrgInvoice.bankName")
200
+ }, null, 8, ["label"]),
201
+ t(u, {
202
+ prop: "backNumber",
203
+ label: e.$t("sysOrgInvoice.backNumber")
204
+ }, null, 8, ["label"])
205
+ ]),
206
+ _: 1
207
+ }, 8, ["data"])
208
+ ]),
209
+ _: 1
210
+ })
211
+ ]),
212
+ _: 1
213
+ }, 8, ["modelValue"])
214
+ ]),
215
+ _: 1
216
+ })
217
+ ]);
218
+ };
219
+ }
220
+ });
221
+ export {
222
+ ie as default
223
+ };