xyvcard-itsmsys 0.0.12 → 0.0.14

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 (48) hide show
  1. package/dist/{edit-BSgQ7aTw.mjs → edit-BKRcHRhe.mjs} +1 -1
  2. package/dist/{edit-C-Ddf0UV.mjs → edit-BOYD0hK4.mjs} +103 -87
  3. package/dist/{edit-BSllWdRO.mjs → edit-CHMLN0tR.mjs} +1 -1
  4. package/dist/{edit-Cd4dWFsH.mjs → edit-DNMyksDd.mjs} +1 -1
  5. package/dist/{edit-q5TFAMBm.mjs → edit-W7Cqo-_d.mjs} +1 -1
  6. package/dist/{edit-CNw8JPUb.mjs → edit-b2ih9M1u.mjs} +89 -74
  7. package/dist/{edit-aqBMKpoJ.mjs → edit-mVmM-PRk.mjs} +97 -82
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-D1lAHFeM.mjs → edit.vue_vue_type_script_setup_true_lang-CAq_h6E3.mjs} +44 -37
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-BA39WCu3.mjs → edit.vue_vue_type_script_setup_true_lang-D31iEutB.mjs} +73 -73
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-BV_YHrlE.mjs → edit.vue_vue_type_script_setup_true_lang-DCq50Piw.mjs} +74 -74
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-BJcLgzvH.mjs → edit.vue_vue_type_script_setup_true_lang-hotcXxq3.mjs} +73 -73
  12. package/dist/import-upload-DBaTv04c.mjs +161 -0
  13. package/dist/import-upload-DZJ0GptW.mjs +161 -0
  14. package/dist/index-Cd5F5D4a.mjs +423 -0
  15. package/dist/{index-BaixQptZ.mjs → index-CvZlFuc4.mjs} +63 -61
  16. package/dist/{index-BY5Djw_C.mjs → index-Cy9iOhxs.mjs} +138 -127
  17. package/dist/index-Cz0VExll.mjs +196 -0
  18. package/dist/index-D8h0lcNy.mjs +504 -0
  19. package/dist/{index-LOMCvxtf.mjs → index-XoL9Os_9.mjs} +57 -55
  20. package/dist/{index-Cz9Xj4Mn.mjs → index-qfyel9S8.mjs} +1 -1
  21. package/dist/{index-DrBtW9Aj.mjs → index-uqlBd_1I.mjs} +163 -176
  22. package/dist/index.mjs +128 -124
  23. package/dist/{index.vue_vue_type_script_setup_true_lang-C67sXgs5.mjs → index.vue_vue_type_script_setup_true_lang-MCS-o6Sy.mjs} +2 -2
  24. package/dist/{info-C3knY6l_.mjs → info-C821AMSV.mjs} +21 -21
  25. package/dist/info-CU4nIMVM.mjs +186 -0
  26. package/dist/{info-BUDmirQy.mjs → info-CXCnXNu4.mjs} +80 -58
  27. package/dist/info-CYDV3va6.mjs +209 -0
  28. package/dist/info-DPIIgRG8.mjs +209 -0
  29. package/dist/{info-D0Pwnmsu.mjs → info-DcUASS45.mjs} +13 -13
  30. package/dist/style.css +1 -1
  31. package/dts/api/dict.d.ts +7 -1
  32. package/dts/api/index.d.ts +6 -4
  33. package/dts/api/itsm-sys-org/types.d.ts +1 -0
  34. package/dts/api/itsm-sys-user-ext/types.d.ts +18 -14
  35. package/dts/constant.d.ts +13 -5
  36. package/dts/lang/itsmsys/en.d.ts +2 -2
  37. package/dts/lang/itsmsys/zh-cn.d.ts +12 -8
  38. package/package.json +1 -1
  39. package/dist/import-upload-BIT504-g.mjs +0 -4
  40. package/dist/import-upload-pZG8yku3.mjs +0 -4
  41. package/dist/import-upload.vue_vue_type_script_setup_true_lang-pjSs3v9e.mjs +0 -162
  42. package/dist/import-upload.vue_vue_type_script_setup_true_lang-tjMLoB_W.mjs +0 -162
  43. package/dist/index-CoMhbtrg.mjs +0 -449
  44. package/dist/index-DPz8be3T.mjs +0 -351
  45. package/dist/index-Dno_3GpX.mjs +0 -145
  46. package/dist/info-BivxW-qV.mjs +0 -187
  47. package/dist/info-Bn-BseIm.mjs +0 -187
  48. 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-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([]), 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
+ };
@@ -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 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
+ };
@@ -1,6 +1,6 @@
1
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
2
  import { useRouter as C, useRoute as T } from "vue-router";
3
- import { D as u } from "./index-Dno_3GpX.mjs";
3
+ import { D as u } from "./index-Cz0VExll.mjs";
4
4
  import { routerUtil as B } from "jmash-core";
5
5
  import { sysUserExtApi as M } from "./index.mjs";
6
6
  import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -110,33 +110,33 @@ const S = { class: "app-container" }, j = { class: "container" }, k = { class: "
110
110
  }),
111
111
  s(i, null, {
112
112
  label: e(() => [
113
- n("div", x, t(o.$t("sysUserOps.engineeType")), 1)
113
+ n("div", x, t(o.$t("sysUserOps.engineerType")), 1)
114
114
  ]),
115
115
  default: e(() => [
116
- a(" " + t(r(u).engineeTypeDictEnum.getEnumValue(
117
- l.value.engineeType
116
+ a(" " + t(r(u).engineerTypeDictEnum.getEnumValue(
117
+ l.value.engineerType
118
118
  )), 1)
119
119
  ]),
120
120
  _: 1
121
121
  }),
122
122
  s(i, null, {
123
123
  label: e(() => [
124
- n("div", A, t(o.$t("sysUserOps.engineeCertificate")), 1)
124
+ n("div", A, t(o.$t("sysUserOps.engineerCertificate")), 1)
125
125
  ]),
126
126
  default: e(() => [
127
- a(" " + t(r(u).engineeCertificateDict.getDictValue(
128
- l.value.engineeCertificate
127
+ a(" " + t(r(u).engineerCertificateDict.getDictValue(
128
+ l.value.engineerCertificate
129
129
  )), 1)
130
130
  ]),
131
131
  _: 1
132
132
  }),
133
133
  s(i, null, {
134
134
  label: e(() => [
135
- n("div", F, t(o.$t("sysUserOps.engineeJobMode")), 1)
135
+ n("div", F, t(o.$t("sysUserOps.engineerJobMode")), 1)
136
136
  ]),
137
137
  default: e(() => [
138
- a(" " + t(r(u).engineeJobModeDictEnum.getEnumValue(
139
- l.value.engineeJobMode
138
+ a(" " + t(r(u).engineerJobModeDictEnum.getEnumValue(
139
+ l.value.engineerJobMode
140
140
  )), 1)
141
141
  ]),
142
142
  _: 1
@@ -166,10 +166,10 @@ const S = { class: "app-container" }, j = { class: "container" }, k = { class: "
166
166
  }),
167
167
  s(i, null, {
168
168
  label: e(() => [
169
- n("div", L, t(o.$t("sysUserOps.engineeSpecialty")), 1)
169
+ n("div", L, t(o.$t("sysUserOps.engineerSpecialty")), 1)
170
170
  ]),
171
171
  default: e(() => [
172
- a(" " + t(l.value.engineeSpecialty), 1)
172
+ a(" " + t(l.value.engineerSpecialty), 1)
173
173
  ]),
174
174
  _: 1
175
175
  })
@@ -184,7 +184,7 @@ const S = { class: "app-container" }, j = { class: "container" }, k = { class: "
184
184
  ]);
185
185
  };
186
186
  }
187
- }), oe = /* @__PURE__ */ N(Q, [["__scopeId", "data-v-760f7ed3"]]);
187
+ }), oe = /* @__PURE__ */ N(Q, [["__scopeId", "data-v-a32f3219"]]);
188
188
  export {
189
189
  oe as default
190
190
  };