xyvcard-itsmsys 0.0.2 → 0.0.4

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 (70) hide show
  1. package/dist/common-B2PCBCJ2.mjs +13 -0
  2. package/dist/edit-BhRXuYku.mjs +342 -0
  3. package/dist/edit-CIm8Y0Be.mjs +4 -0
  4. package/dist/edit-CWVYUzgf.mjs +369 -0
  5. package/dist/edit-CkaU_6vk.mjs +342 -0
  6. package/dist/edit-D82hX9if.mjs +4 -0
  7. package/dist/edit-DPM0jGQT.mjs +4 -0
  8. package/dist/edit-DZJU5ZPt.mjs +4 -0
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs +437 -0
  10. package/dist/edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs +439 -0
  11. package/dist/edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs +248 -0
  12. package/dist/edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs +439 -0
  13. package/dist/index-BRupqW34.mjs +96 -0
  14. package/dist/index-B_cot8iN.mjs +439 -0
  15. package/dist/index-BkHGzL0R.mjs +358 -0
  16. package/dist/index-C6KvLUoL.mjs +4 -0
  17. package/dist/index-CEUyLrKg.mjs +404 -0
  18. package/dist/index-ChTssr8-.mjs +123 -0
  19. package/dist/index-ClU157bA.mjs +324 -0
  20. package/dist/index-CogdeN09.mjs +331 -0
  21. package/dist/{index-B-FkgFqA.mjs → index-DOXuGEyW.mjs} +6 -6
  22. package/dist/index-i7X9N_rj.mjs +341 -0
  23. package/dist/index.mjs +2903 -70
  24. package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +180 -0
  25. package/dist/info-70H0sycC.mjs +187 -0
  26. package/dist/info-BWgVN2mJ.mjs +176 -0
  27. package/dist/info-CE-ZnFj5.mjs +179 -0
  28. package/dist/info-Kf11Ye-N.mjs +187 -0
  29. package/dist/info-MYJGcyMX.mjs +179 -0
  30. package/dist/info-Z5LuCRmr.mjs +187 -0
  31. package/dist/style.css +1 -1
  32. package/dts/src/api/dict.d.ts +9 -1
  33. package/dts/src/api/index.d.ts +8 -1
  34. package/dts/src/api/itsm-sys-org/index.d.ts +2 -0
  35. package/dts/src/api/itsm-sys-org/types.d.ts +14 -6
  36. package/dts/src/api/itsm-sys-user-ext/index.d.ts +14 -0
  37. package/dts/src/api/itsm-sys-user-ext/types.d.ts +91 -0
  38. package/dts/src/constant.d.ts +11 -0
  39. package/dts/src/index.d.ts +2 -0
  40. package/dts/src/lang/itsmsys/zh-cn.d.ts +87 -10
  41. package/dts/src/router/index.d.ts +8 -1
  42. package/dts/src/utils/common.d.ts +1 -0
  43. package/dts/src/utils/momentPlugin.d.ts +5 -0
  44. package/dts/src/views/itsmsys/itsm-sys-gov/edit.vue.d.ts +1 -21
  45. package/dts/src/views/itsmsys/itsm-sys-gov/info.vue.d.ts +2 -0
  46. package/dts/src/views/itsmsys/{itsm-sys-org/invoiceEdit.vue.d.ts → itsm-sys-org-invoice/edit.vue.d.ts} +3 -12
  47. package/dts/src/views/itsmsys/itsm-sys-org-invoice/index.vue.d.ts +2 -0
  48. package/dts/src/views/itsmsys/itsm-sys-out/edit.vue.d.ts +2 -0
  49. package/dts/src/views/itsmsys/itsm-sys-out/index.vue.d.ts +2 -0
  50. package/dts/src/views/itsmsys/itsm-sys-out/info.vue.d.ts +2 -0
  51. package/dts/src/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +22 -0
  52. package/dts/src/views/itsmsys/itsm-sys-user-man/index.vue.d.ts +2 -0
  53. package/dts/src/views/itsmsys/itsm-sys-user-man/info.vue.d.ts +2 -0
  54. package/dts/src/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +22 -0
  55. package/dts/src/views/itsmsys/itsm-sys-user-ops/index.vue.d.ts +2 -0
  56. package/dts/src/views/itsmsys/itsm-sys-user-ops/info.vue.d.ts +2 -0
  57. package/dts/src/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +22 -0
  58. package/dts/src/views/itsmsys/itsm-sys-user-out/index.vue.d.ts +2 -0
  59. package/dts/src/views/itsmsys/itsm-sys-user-out/info.vue.d.ts +2 -0
  60. package/package.json +3 -3
  61. package/dist/edit-BKMLirl4.mjs +0 -602
  62. package/dist/edit-ccGk5679.mjs +0 -610
  63. package/dist/index-BGwm5W6z.mjs +0 -343
  64. package/dist/index-CSDhKMEP.mjs +0 -332
  65. package/dist/info-CSOdbuvm.mjs +0 -192
  66. package/dist/invoiceEdit-D9zxwIoM.mjs +0 -288
  67. package/dts/src/api/itsm-sys-gov/index.d.ts +0 -15
  68. package/dts/src/api/itsm-sys-gov/types.d.ts +0 -87
  69. package/dts/src/api/itsm-sys-gov-invoice/index.d.ts +0 -13
  70. package/dts/src/api/itsm-sys-gov-invoice/types.d.ts +0 -48
@@ -1,192 +0,0 @@
1
- import { defineComponent as P, ref as _, onBeforeMount as T, resolveComponent as i, openBlock as V, createElementBlock as C, createVNode as t, withCtx as e, createTextVNode as c, toDisplayString as o, createElementVNode as n } from "vue";
2
- import { useRouter as B, useRoute as w } from "vue-router";
3
- import { routerUtil as D } from "jmash-core";
4
- import { sysOrgApi as E } from "./index.mjs";
5
- import { s as M } from "./index-B-FkgFqA.mjs";
6
- const q = { class: "app-container" }, A = { class: "cell-item" }, R = { class: "cell-item" }, U = { class: "cell-item" }, j = { class: "cell-item" }, L = { class: "cell-item" }, S = { class: "cell-item" }, Q = /* @__PURE__ */ P({
7
- __name: "info",
8
- setup(z) {
9
- const f = B(), m = w(), s = _({}), p = _([]), d = _("first");
10
- function g(l) {
11
- d.value = l.props.name, d.value === "second" && O();
12
- }
13
- function y() {
14
- D.closeTagView(m.fullPath, f, !1);
15
- }
16
- T(() => {
17
- E.findById({ orgId: m.query.orgId }).then(({ data: l }) => {
18
- s.value = Object.assign(s.value, l);
19
- });
20
- });
21
- function O() {
22
- M.findList({ orgId: m.query.orgId }).then(({ data: l }) => {
23
- p.value = l.results;
24
- });
25
- }
26
- return (l, b) => {
27
- const N = i("el-button"), r = i("el-descriptions-item"), h = i("el-descriptions"), v = i("el-tab-pane"), u = i("el-table-column"), k = i("el-table"), I = i("el-tabs"), $ = i("el-card");
28
- return V(), C("div", q, [
29
- t($, { shadow: "never" }, {
30
- header: e(() => [
31
- t(N, {
32
- type: "primary",
33
- onClick: y
34
- }, {
35
- default: e(() => [
36
- c(o(l.$t("common.back")), 1)
37
- ]),
38
- _: 1
39
- })
40
- ]),
41
- default: e(() => [
42
- t(I, {
43
- modelValue: d.value,
44
- "onUpdate:modelValue": b[0] || (b[0] = (a) => d.value = a),
45
- onTabClick: g
46
- }, {
47
- default: e(() => [
48
- t(v, {
49
- label: "公司信息",
50
- name: "first"
51
- }, {
52
- default: e(() => [
53
- t(h, {
54
- class: "margin-top",
55
- column: 2,
56
- border: ""
57
- }, {
58
- default: e(() => [
59
- t(r, null, {
60
- label: e(() => [
61
- n("div", A, o(l.$t("sysOrg.orgName")), 1)
62
- ]),
63
- default: e(() => [
64
- c(" " + o(s.value.orgName), 1)
65
- ]),
66
- _: 1
67
- }),
68
- t(r, null, {
69
- label: e(() => [
70
- n("div", R, o(l.$t("sysOrg.status")), 1)
71
- ]),
72
- default: e(() => [
73
- c(" " + o(s.value.status), 1)
74
- ]),
75
- _: 1
76
- }),
77
- t(r, null, {
78
- label: e(() => [
79
- n("div", U, o(l.$t("sysOrg.contactPerson")), 1)
80
- ]),
81
- default: e(() => [
82
- c(" " + o(s.value.contactPerson), 1)
83
- ]),
84
- _: 1
85
- }),
86
- t(r, null, {
87
- label: e(() => [
88
- n("div", j, o(l.$t("sysOrg.contactPersonPosi")), 1)
89
- ]),
90
- default: e(() => [
91
- c(" " + o(s.value.contactPersonPosi), 1)
92
- ]),
93
- _: 1
94
- }),
95
- t(r, null, {
96
- label: e(() => [
97
- n("div", L, o(l.$t("sysOrg.contactPersonMobile")), 1)
98
- ]),
99
- default: e(() => [
100
- c(" " + o(s.value.contactPersonMobile), 1)
101
- ]),
102
- _: 1
103
- }),
104
- t(r, null, {
105
- label: e(() => [
106
- n("div", S, o(l.$t("sysOrg.contactPersonTel")), 1)
107
- ]),
108
- default: e(() => [
109
- c(" " + o(s.value.contactPersonTel), 1)
110
- ]),
111
- _: 1
112
- })
113
- ]),
114
- _: 1
115
- })
116
- ]),
117
- _: 1
118
- }),
119
- t(v, {
120
- label: "发票信息",
121
- name: "second"
122
- }, {
123
- default: e(() => [
124
- t(k, {
125
- data: p.value,
126
- style: { width: "100%" }
127
- }, {
128
- default: e(() => [
129
- t(u, {
130
- prop: "invoiceType",
131
- label: l.$t("sysOrgInvoice.invoiceType")
132
- }, {
133
- default: e(({ row: a }) => [
134
- n("div", null, o(a.invoiceType), 1)
135
- ]),
136
- _: 1
137
- }, 8, ["label"]),
138
- t(u, {
139
- prop: "invoiceTitle",
140
- label: l.$t("sysOrgInvoice.invoiceTitle")
141
- }, {
142
- default: e(({ row: a }) => [
143
- n("div", null, o(a.invoiceTitle), 1)
144
- ]),
145
- _: 1
146
- }, 8, ["label"]),
147
- t(u, {
148
- prop: "taxNumber",
149
- label: l.$t("sysOrgInvoice.taxNumber")
150
- }, {
151
- default: e(({ row: a }) => [
152
- n("div", null, o(a.taxNumber), 1)
153
- ]),
154
- _: 1
155
- }, 8, ["label"]),
156
- t(u, {
157
- prop: "bankName",
158
- label: l.$t("sysOrgInvoice.bankName")
159
- }, {
160
- default: e(({ row: a }) => [
161
- n("div", null, o(a.bankName), 1)
162
- ]),
163
- _: 1
164
- }, 8, ["label"]),
165
- t(u, {
166
- prop: "backNumber",
167
- label: l.$t("sysOrgInvoice.backNumber")
168
- }, {
169
- default: e(({ row: a }) => [
170
- n("div", null, o(a.backNumber), 1)
171
- ]),
172
- _: 1
173
- }, 8, ["label"])
174
- ]),
175
- _: 1
176
- }, 8, ["data"])
177
- ]),
178
- _: 1
179
- })
180
- ]),
181
- _: 1
182
- }, 8, ["modelValue"])
183
- ]),
184
- _: 1
185
- })
186
- ]);
187
- };
188
- }
189
- });
190
- export {
191
- Q as default
192
- };
@@ -1,288 +0,0 @@
1
- var j = Object.defineProperty;
2
- var A = (n, i, l) => i in n ? j(n, i, { enumerable: !0, configurable: !0, writable: !0, value: l }) : n[i] = l;
3
- var d = (n, i, l) => A(n, typeof i != "symbol" ? i + "" : i, l);
4
- import { ref as _, reactive as I, defineComponent as B, mergeModels as S, useModel as K, resolveComponent as p, openBlock as Y, createBlock as F, withCtx as t, createElementVNode as L, createVNode as e, createTextVNode as w, toDisplayString as E, unref as r } from "vue";
5
- import { ElMessage as R } from "element-plus";
6
- import { useI18n as H } from "vue-i18n";
7
- import { s as y } from "./index-B-FkgFqA.mjs";
8
- import { EnumDict as P } from "jmash-core";
9
- import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
10
- class v {
11
- }
12
- //模块
13
- d(v, "MODULE_ITSMSYS", "itsmsys"), // 公司管理状态
14
- d(v, "HAS_STATUS", _([
15
- { key: !0, value: "启用" },
16
- { key: !1, value: "禁用" }
17
- ])), // 公司发票类型
18
- d(v, "ENUM_INVOICE_TYPE", "xyvcard.itsmsys.protobuf.InvoiceType");
19
- class G {
20
- constructor(i, l) {
21
- d(this, "values", I([]));
22
- // 查询条件
23
- d(this, "query");
24
- this.values.length = 0, this.values.push(...i.value), this.query = l;
25
- }
26
- // 根据给定键获取业务数据项的值的方法
27
- getValue(i) {
28
- for (const l of this.values)
29
- if (l.key == i)
30
- return l.value;
31
- return "";
32
- }
33
- }
34
- class N {
35
- }
36
- // 公司管理状态
37
- d(N, "hasStatusDict", new G(v.HAS_STATUS, {})), // 公司发票类型
38
- d(N, "invoiceTypeDictEnum", new P(
39
- v.MODULE_ITSMSYS,
40
- v.ENUM_INVOICE_TYPE
41
- ));
42
- const J = { class: "dialog-footer" }, Q = /* @__PURE__ */ B({
43
- __name: "invoiceEdit",
44
- props: /* @__PURE__ */ S({
45
- // 公司信息ID(orgId)
46
- orgKey: {
47
- type: String,
48
- default: () => ""
49
- },
50
- // 发票信息主键ID
51
- invoiceKey: {
52
- type: Object,
53
- default: () => {
54
- }
55
- }
56
- }, {
57
- modelValue: { type: Boolean },
58
- modelModifiers: {}
59
- }),
60
- emits: /* @__PURE__ */ S(["refresh"], ["update:modelValue"]),
61
- setup(n, { emit: i }) {
62
- const { t: l } = H(), h = _(), c = K(n, "modelValue"), O = i;
63
- let a = I({
64
- requestId: Math.random() * 10 + "",
65
- updateMask: ""
66
- });
67
- const M = I({
68
- invoiceType: [
69
- {
70
- required: !0,
71
- message: l("sysOrgInvoice.invoiceTypeRequired"),
72
- trigger: "blur"
73
- }
74
- ],
75
- invoiceTitle: [
76
- {
77
- required: !0,
78
- message: l("sysOrgInvoice.invoiceTitleRequired"),
79
- trigger: "blur"
80
- }
81
- ],
82
- taxNumber: [
83
- {
84
- required: !0,
85
- message: l("sysOrgInvoice.taxNumberRequired"),
86
- trigger: "blur"
87
- }
88
- ],
89
- bankName: [
90
- {
91
- required: !0,
92
- message: l("sysOrgInvoice.bankNameRequired"),
93
- trigger: "blur"
94
- }
95
- ],
96
- backNumber: [
97
- {
98
- required: !0,
99
- message: l("sysOrgInvoice.backNumberRequired"),
100
- trigger: "blur"
101
- },
102
- {
103
- min: 16,
104
- max: 20,
105
- message: l("sysOrgInvoice.backNumberLengthRequired"),
106
- trigger: "blur"
107
- }
108
- ]
109
- }), V = n, U = Object.keys(V.invoiceKey), k = _(U.length >= 1);
110
- k.value && y.findById({ invoiceId: V.invoiceKey.invoiceId }).then(({ data: o }) => {
111
- Object.assign(a, o);
112
- });
113
- const $ = async () => {
114
- var o;
115
- await ((o = h.value) == null ? void 0 : o.validate((s) => {
116
- s && (k.value ? y.update(a).then((m) => {
117
- console.log(m), m.status === 200 && (R({
118
- message: l("common.submitSuccess"),
119
- type: "success"
120
- }), c.value && (c.value = !1), O("refresh", m.status === 200));
121
- }) : y.create(a).then((m) => {
122
- console.log(m), m.status === 200 && (R({
123
- message: l("common.submitSuccess"),
124
- type: "success"
125
- }), c.value && (c.value = !1), O("refresh", m.status === 200));
126
- }));
127
- }));
128
- };
129
- function T() {
130
- c.value && (c.value = !1);
131
- }
132
- return (o, s) => {
133
- const m = p("jmash-select"), f = p("el-form-item"), b = p("el-col"), g = p("el-input"), D = p("el-row"), x = p("el-form"), q = p("el-button"), C = p("el-dialog");
134
- return Y(), F(C, {
135
- modelValue: c.value,
136
- "onUpdate:modelValue": s[5] || (s[5] = (u) => c.value = u),
137
- onClose: T
138
- }, {
139
- footer: t(() => [
140
- L("div", J, [
141
- e(q, { onClick: T }, {
142
- default: t(() => [
143
- w(E(o.$t("common.cancel")), 1)
144
- ]),
145
- _: 1
146
- }),
147
- e(q, {
148
- type: "primary",
149
- onClick: $
150
- }, {
151
- default: t(() => [
152
- w(E(o.$t("common.confirm")), 1)
153
- ]),
154
- _: 1
155
- })
156
- ])
157
- ]),
158
- default: t(() => [
159
- e(x, {
160
- ref_key: "sysOrgInvoiceFormRef",
161
- ref: h,
162
- model: r(a),
163
- "label-width": "100px",
164
- rules: M
165
- }, {
166
- default: t(() => [
167
- e(D, null, {
168
- default: t(() => [
169
- e(b, { span: 24 }, {
170
- default: t(() => [
171
- e(f, {
172
- label: o.$t("sysOrgInvoice.invoiceType"),
173
- prop: "invoiceType"
174
- }, {
175
- default: t(() => [
176
- e(m, {
177
- modelValue: r(a).invoiceType,
178
- "onUpdate:modelValue": s[0] || (s[0] = (u) => r(a).invoiceType = u),
179
- placeholder: o.$t("sysOrgInvoice.invoiceTypeRequired"),
180
- data: r(N).invoiceTypeDictEnum.values,
181
- class: "w-full",
182
- clearable: ""
183
- }, null, 8, ["modelValue", "placeholder", "data"])
184
- ]),
185
- _: 1
186
- }, 8, ["label"])
187
- ]),
188
- _: 1
189
- }),
190
- e(b, { span: 24 }, {
191
- default: t(() => [
192
- e(f, {
193
- label: o.$t("sysOrgInvoice.invoiceTitle"),
194
- prop: "invoiceTitle"
195
- }, {
196
- default: t(() => [
197
- e(g, {
198
- modelValue: r(a).invoiceTitle,
199
- "onUpdate:modelValue": s[1] || (s[1] = (u) => r(a).invoiceTitle = u),
200
- placeholder: o.$t("sysOrgInvoice.invoiceTitleRequired"),
201
- maxlength: "50",
202
- "show-word-limit": "",
203
- clearable: ""
204
- }, null, 8, ["modelValue", "placeholder"])
205
- ]),
206
- _: 1
207
- }, 8, ["label"])
208
- ]),
209
- _: 1
210
- }),
211
- e(b, { span: 24 }, {
212
- default: t(() => [
213
- e(f, {
214
- label: o.$t("sysOrgInvoice.taxNumber"),
215
- prop: "taxNumber"
216
- }, {
217
- default: t(() => [
218
- e(g, {
219
- modelValue: r(a).taxNumber,
220
- "onUpdate:modelValue": s[2] || (s[2] = (u) => r(a).taxNumber = u),
221
- placeholder: o.$t("sysOrgInvoice.taxNumberRequired"),
222
- maxlength: "50",
223
- "show-word-limit": "",
224
- clearable: ""
225
- }, null, 8, ["modelValue", "placeholder"])
226
- ]),
227
- _: 1
228
- }, 8, ["label"])
229
- ]),
230
- _: 1
231
- }),
232
- e(b, { span: 24 }, {
233
- default: t(() => [
234
- e(f, {
235
- label: o.$t("sysOrgInvoice.bankName"),
236
- prop: "bankName"
237
- }, {
238
- default: t(() => [
239
- e(g, {
240
- modelValue: r(a).bankName,
241
- "onUpdate:modelValue": s[3] || (s[3] = (u) => r(a).bankName = u),
242
- placeholder: o.$t("sysOrgInvoice.bankNameRequired"),
243
- maxlength: "50",
244
- "show-word-limit": "",
245
- clearable: ""
246
- }, null, 8, ["modelValue", "placeholder"])
247
- ]),
248
- _: 1
249
- }, 8, ["label"])
250
- ]),
251
- _: 1
252
- }),
253
- e(b, { span: 24 }, {
254
- default: t(() => [
255
- e(f, {
256
- label: o.$t("sysOrgInvoice.backNumber"),
257
- prop: "backNumber"
258
- }, {
259
- default: t(() => [
260
- e(g, {
261
- modelValue: r(a).backNumber,
262
- "onUpdate:modelValue": s[4] || (s[4] = (u) => r(a).backNumber = u),
263
- placeholder: o.$t("sysOrgInvoice.backNumberRequired"),
264
- maxlength: "20",
265
- "show-word-limit": "",
266
- clearable: ""
267
- }, null, 8, ["modelValue", "placeholder"])
268
- ]),
269
- _: 1
270
- }, 8, ["label"])
271
- ]),
272
- _: 1
273
- })
274
- ]),
275
- _: 1
276
- })
277
- ]),
278
- _: 1
279
- }, 8, ["model", "rules"])
280
- ]),
281
- _: 1
282
- }, 8, ["modelValue"]);
283
- };
284
- }
285
- }), ae = /* @__PURE__ */ z(Q, [["__scopeId", "data-v-50deacd6"]]);
286
- export {
287
- ae as default
288
- };
@@ -1,15 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { SysGovApi, SysGovReq, SysGovModel, SysGovList, SysGovKey, SysGovCreateReq, SysGovUpdateReq } from "./types";
3
- declare class SysGovApiImpl implements SysGovApi {
4
- getKey(model: SysGovModel): SysGovKey;
5
- findList(query?: SysGovReq): AxiosPromise<SysGovList>;
6
- findById(query: SysGovKey): AxiosPromise<SysGovModel>;
7
- create(data: SysGovCreateReq): AxiosPromise<SysGovModel>;
8
- update(data: SysGovUpdateReq): AxiosPromise<SysGovModel>;
9
- move(key: SysGovKey, up: boolean): AxiosPromise<boolean>;
10
- enable(key: SysGovKey, enable: boolean): AxiosPromise<boolean>;
11
- delete(query: SysGovKey): AxiosPromise<SysGovModel>;
12
- batchDelete(keys: SysGovKey[]): AxiosPromise<number>;
13
- }
14
- declare const sysGovApi: SysGovApiImpl;
15
- export { sysGovApi };
@@ -1,87 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
2
- export interface SysGovApi extends EntityApi {
3
- }
4
- export interface SysGovReq extends EntityReq {
5
- shortName?: string;
6
- contactPerson?: string;
7
- status?: boolean;
8
- hasStatus?: boolean;
9
- orgType?: string;
10
- hasOrgType?: boolean;
11
- }
12
- export interface SysGovModel extends EntityModel {
13
- orgId?: string;
14
- orgName?: string;
15
- shortName?: string;
16
- orgType?: string;
17
- address?: string;
18
- geoLongitude?: string;
19
- geoLatitude?: string;
20
- contactPerson?: string;
21
- contactPersonPosi?: string;
22
- contactPersonMobile?: string;
23
- contactPersonMobileIns?: string;
24
- contactPersonTel?: string;
25
- status?: boolean;
26
- parentId?: string;
27
- depth?: string;
28
- orderBy?: string;
29
- }
30
- export interface SysGovList extends EntityList {
31
- results: Array<SysGovModel>;
32
- }
33
- export interface SysGovKey extends EntityKey {
34
- tenant?: string;
35
- orgId?: string;
36
- }
37
- export interface SysGovKeyList extends EntityKeyList {
38
- tenant?: string;
39
- orgId?: Array<string>;
40
- }
41
- export interface SysGovCreateReq extends EntityCreateReq {
42
- orgId?: string;
43
- orgName?: string;
44
- shortName?: string;
45
- orgType?: string;
46
- address?: string;
47
- geoLongitude?: string;
48
- geoLatitude?: string;
49
- contactPerson?: string;
50
- contactPersonPosi?: string;
51
- contactPersonMobile?: string;
52
- contactPersonMobileIns?: string;
53
- contactPersonTel?: string;
54
- status?: boolean;
55
- parentId?: string;
56
- depth?: string;
57
- orderBy?: string;
58
- }
59
- export interface SysGovUpdateReq extends EntityUpdateReq {
60
- orgId?: string;
61
- orgName?: string;
62
- shortName?: string;
63
- orgType?: string;
64
- address?: string;
65
- geoLongitude?: string;
66
- geoLatitude?: string;
67
- contactPerson?: string;
68
- contactPersonPosi?: string;
69
- contactPersonMobile?: string;
70
- contactPersonMobileIns?: string;
71
- contactPersonTel?: string;
72
- status?: boolean;
73
- parentId?: string;
74
- depth?: string;
75
- orderBy?: string;
76
- }
77
- export type SysGovFormReq = SysGovCreateReq | SysGovUpdateReq;
78
- export interface SysGovMoveKey {
79
- tenant?: string;
80
- orgId?: string;
81
- up?: boolean;
82
- }
83
- export interface SysGovEnableKey {
84
- tenant?: string;
85
- orgId?: string;
86
- enable?: boolean;
87
- }
@@ -1,13 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { SysGovInvoiceApi, SysGovInvoiceReq, SysGovInvoiceModel, SysGovInvoicePage, SysGovInvoiceList, SysGovInvoiceKey, SysGovInvoiceCreateReq, SysGovInvoiceUpdateReq } from "./types";
3
- declare class SysGovInvoiceApiImpl implements SysGovInvoiceApi {
4
- getKey(model: SysGovInvoiceModel): SysGovInvoiceKey;
5
- findPage(query?: SysGovInvoiceReq): AxiosPromise<SysGovInvoicePage>;
6
- findList(query?: SysGovInvoiceReq): AxiosPromise<SysGovInvoiceList>;
7
- findById(query: SysGovInvoiceKey): AxiosPromise<SysGovInvoiceModel>;
8
- create(data: SysGovInvoiceCreateReq): AxiosPromise<SysGovInvoiceModel>;
9
- update(data: SysGovInvoiceUpdateReq): AxiosPromise<SysGovInvoiceModel>;
10
- delete(query: SysGovInvoiceKey): AxiosPromise<SysGovInvoiceModel>;
11
- }
12
- declare const sysGovInvoiceApi: SysGovInvoiceApiImpl;
13
- export { sysGovInvoiceApi };
@@ -1,48 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityCreateReq, EntityUpdateReq } from "jmash-core";
2
- export interface SysGovInvoiceApi extends EntityApi {
3
- }
4
- export interface SysGovInvoiceReq extends EntityReq {
5
- }
6
- export interface SysGovInvoiceModel extends EntityModel {
7
- invoiceId?: string;
8
- orgId?: string;
9
- invoiceType?: string;
10
- invoiceTitle?: string;
11
- taxNumber?: string;
12
- bankName?: string;
13
- backNumber?: string;
14
- }
15
- export interface SysGovInvoiceList extends EntityList {
16
- results: Array<SysGovInvoiceModel>;
17
- }
18
- export interface SysGovInvoicePage extends EntityPage {
19
- results: Array<SysGovInvoiceModel>;
20
- subTotalDto: SysGovInvoiceModelTotal;
21
- totalDto: SysGovInvoiceModelTotal;
22
- }
23
- export interface SysGovInvoiceModelTotal extends EntityTotal {
24
- totalSize: number;
25
- }
26
- export interface SysGovInvoiceKey extends EntityKey {
27
- tenant?: string;
28
- invoiceId?: string;
29
- }
30
- export interface SysGovInvoiceCreateReq extends EntityCreateReq {
31
- invoiceId?: string;
32
- orgId?: string;
33
- invoiceType?: string;
34
- invoiceTitle?: string;
35
- taxNumber?: string;
36
- bankName?: string;
37
- backNumber?: string;
38
- }
39
- export interface SysGovInvoiceUpdateReq extends EntityUpdateReq {
40
- invoiceId?: string;
41
- orgId?: string;
42
- invoiceType?: string;
43
- invoiceTitle?: string;
44
- taxNumber?: string;
45
- bankName?: string;
46
- backNumber?: string;
47
- }
48
- export type SysGovInvoiceFormReq = SysGovInvoiceCreateReq | SysGovInvoiceUpdateReq;