xyvcard-itsmsys 0.0.5 → 0.0.7
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.
- package/dist/{edit-DPM0jGQT.mjs → edit-B2gR_6I8.mjs} +1 -1
- package/dist/{edit-DLAiwJjs.mjs → edit-BbJa_Nfr.mjs} +10 -10
- package/dist/{edit-CIm8Y0Be.mjs → edit-C42Omp9z.mjs} +1 -1
- package/dist/{edit-DZJU5ZPt.mjs → edit-Dfay8i1B.mjs} +1 -1
- package/dist/{edit-CWVYUzgf.mjs → edit-Dm9CXMA6.mjs} +11 -10
- package/dist/{edit-D82hX9if.mjs → edit-Fi1_QjAr.mjs} +1 -1
- package/dist/{edit-BhRXuYku.mjs → edit-GlkC3kLR.mjs} +15 -15
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs → edit.vue_vue_type_script_setup_true_lang-C26lz_HM.mjs} +24 -23
- package/dist/{edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs → edit.vue_vue_type_script_setup_true_lang-Cj-FgUgJ.mjs} +49 -48
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs → edit.vue_vue_type_script_setup_true_lang-CoB3CDY2.mjs} +46 -45
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs → edit.vue_vue_type_script_setup_true_lang-r4tQk9wV.mjs} +2 -2
- package/dist/index-B6FMyHxQ.mjs +99 -0
- package/dist/index-B6vJj_z6.mjs +74 -0
- package/dist/{index-B_cot8iN.mjs → index-BHLCtDlx.mjs} +126 -133
- package/dist/{index-C6KvLUoL.mjs → index-BV8SsW14.mjs} +1 -1
- package/dist/{index-CEUyLrKg.mjs → index-CSMVzE7h.mjs} +101 -108
- package/dist/{index-BkHGzL0R.mjs → index-Ce07ACPH.mjs} +130 -137
- package/dist/{index-CogdeN09.mjs → index-DTjJvEfz.mjs} +103 -124
- package/dist/{index-ClU157bA.mjs → index-N57BEkTO.mjs} +116 -130
- package/dist/index-Up4lAJrU.mjs +364 -0
- package/dist/index.mjs +1096 -1055
- package/dist/index.vue_vue_type_script_setup_true_lang-C5j_HTke.mjs +191 -0
- package/dist/{info-BWgVN2mJ.mjs → info-BVrtvDle.mjs} +1 -1
- package/dist/{info-70H0sycC.mjs → info-Bc3bycK1.mjs} +2 -2
- package/dist/{info-CE-ZnFj5.mjs → info-Bz6yHt3N.mjs} +1 -1
- package/dist/{info-MYJGcyMX.mjs → info-D-ykgDrJ.mjs} +1 -1
- package/dist/{info-Z5LuCRmr.mjs → info-D7YAHptq.mjs} +2 -2
- package/dist/{info-Kf11Ye-N.mjs → info-DO3PSaAZ.mjs} +2 -2
- package/dts/src/api/itsm-sys-org/types.d.ts +0 -3
- package/dts/src/api/itsm-sys-org-invoice/index.d.ts +1 -0
- package/dts/src/api/itsm-sys-org-invoice/types.d.ts +5 -1
- package/dts/src/constant.d.ts +9 -1
- package/dts/src/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/index-BQRtMgmZ.mjs +0 -340
- package/dist/index-ChTssr8-.mjs +0 -123
- package/dist/index-DOXuGEyW.mjs +0 -62
- package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +0 -180
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Y, mergeModels as S, ref as g, useModel as x, reactive as C, resolveComponent as u, openBlock as b, createBlock as c, withCtx as a, createElementVNode as O, createVNode as e, createTextVNode as U, toDisplayString as V, unref as r, createCommentVNode as ee } from "vue";
|
|
2
2
|
import { ElMessage as A } from "element-plus";
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { D as M,
|
|
5
|
-
import { deptApi as
|
|
6
|
-
import {
|
|
3
|
+
import { useI18n as le } from "vue-i18n";
|
|
4
|
+
import { Constant as D, sysUserExtApi as M, sysOrgApi as ae } from "./index.mjs";
|
|
5
|
+
import { deptApi as se, jobApi as oe } from "jmash-rbac";
|
|
6
|
+
import { D as w } from "./index-B6FMyHxQ.mjs";
|
|
7
7
|
import { g as re } from "./common-B2PCBCJ2.mjs";
|
|
8
|
-
const te = { class: "dialog-footer" }, ge = /* @__PURE__ */
|
|
8
|
+
const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ Y({
|
|
9
9
|
__name: "edit",
|
|
10
10
|
props: /* @__PURE__ */ S({
|
|
11
11
|
entityKey: {
|
|
@@ -18,16 +18,17 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ W({
|
|
|
18
18
|
modelModifiers: {}
|
|
19
19
|
}),
|
|
20
20
|
emits: /* @__PURE__ */ S(["refresh"], ["update:modelValue"]),
|
|
21
|
-
setup(_, { emit:
|
|
22
|
-
const { t: n } =
|
|
23
|
-
|
|
21
|
+
setup(_, { emit: E }) {
|
|
22
|
+
const { t: n } = le(), q = g(), I = g(), v = g(), p = x(_, "modelValue"), j = E, y = g(!1);
|
|
23
|
+
w.sysOrgBizDict.useValues();
|
|
24
24
|
let o = C({
|
|
25
25
|
requestId: Math.random() * 10 + "",
|
|
26
|
-
updateMask: "realName,gender,mobilePhone,email,idNo,jobStatus,deptId,jobId,orgId"
|
|
26
|
+
updateMask: "realName,gender,mobilePhone,email,idNo,jobStatus,deptId,jobId,orgId",
|
|
27
|
+
userType: D.userType.companyManager
|
|
27
28
|
});
|
|
28
|
-
const
|
|
29
|
+
const B = (l, s, d) => {
|
|
29
30
|
s === void 0 && d(new Error(n("sysUserMan.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(s) || d(new Error(n("sysUserMan.mobilePhoneRequireds"))), d();
|
|
30
|
-
},
|
|
31
|
+
}, z = C({
|
|
31
32
|
realName: [
|
|
32
33
|
{
|
|
33
34
|
required: !0,
|
|
@@ -46,7 +47,7 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ W({
|
|
|
46
47
|
{
|
|
47
48
|
required: !0,
|
|
48
49
|
trigger: "blur",
|
|
49
|
-
validator:
|
|
50
|
+
validator: B
|
|
50
51
|
}
|
|
51
52
|
],
|
|
52
53
|
email: [
|
|
@@ -98,19 +99,19 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ W({
|
|
|
98
99
|
trigger: "blur"
|
|
99
100
|
}
|
|
100
101
|
]
|
|
101
|
-
}), R = _,
|
|
102
|
-
$.value &&
|
|
102
|
+
}), R = _, T = Object.keys(R.entityKey), $ = g(T.length >= 1);
|
|
103
|
+
$.value && M.findById(R.entityKey).then(({ data: l }) => {
|
|
103
104
|
Object.assign(o, l);
|
|
104
105
|
});
|
|
105
106
|
const K = async () => {
|
|
106
107
|
var l;
|
|
107
108
|
await ((l = v.value) == null ? void 0 : l.validate((s) => {
|
|
108
|
-
s && ($.value ?
|
|
109
|
+
s && ($.value ? M.update(o).then((d) => {
|
|
109
110
|
console.log(d), d.status === 200 && (A({
|
|
110
111
|
message: n("common.submitSuccess"),
|
|
111
112
|
type: "success"
|
|
112
113
|
}), p.value && (p.value = !1), j("refresh", d.status === 200));
|
|
113
|
-
}) :
|
|
114
|
+
}) : M.create(o).then((d) => {
|
|
114
115
|
console.log(d), d.status === 200 && (A({
|
|
115
116
|
message: n("common.submitSuccess"),
|
|
116
117
|
type: "success"
|
|
@@ -119,61 +120,60 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ W({
|
|
|
119
120
|
}));
|
|
120
121
|
};
|
|
121
122
|
function F() {
|
|
122
|
-
|
|
123
|
+
se.treelistDept().then(({ data: l }) => {
|
|
123
124
|
q.value = l.results;
|
|
124
|
-
}),
|
|
125
|
+
}), oe.treelistJob().then(({ data: l }) => {
|
|
125
126
|
I.value = l.results;
|
|
126
127
|
});
|
|
127
128
|
}
|
|
128
129
|
F();
|
|
129
|
-
function
|
|
130
|
-
|
|
130
|
+
function Z() {
|
|
131
|
+
ae.findPage({ orgType: D.orgType.cloud }).then(({ data: { results: l } }) => {
|
|
131
132
|
o.orgId = l[0].orgId;
|
|
132
133
|
});
|
|
133
134
|
}
|
|
134
|
-
|
|
135
|
-
function Z() {
|
|
135
|
+
function H() {
|
|
136
136
|
o.userPassword = re();
|
|
137
137
|
}
|
|
138
138
|
function N() {
|
|
139
139
|
p.value && (p.value = !1);
|
|
140
140
|
}
|
|
141
141
|
return (l, s) => {
|
|
142
|
-
const d = u("jmash-select"), i = u("el-form-item"), m = u("el-col"), f = u("el-input"),
|
|
143
|
-
return
|
|
142
|
+
const d = u("jmash-select"), i = u("el-form-item"), m = u("el-col"), f = u("el-input"), G = u("jmash-enum-select"), P = u("el-tree-select"), h = u("el-button"), J = u("View"), k = u("el-icon"), L = u("Hide"), X = u("el-row"), Q = u("el-form"), W = u("el-dialog");
|
|
143
|
+
return b(), c(W, {
|
|
144
144
|
modelValue: p.value,
|
|
145
145
|
"onUpdate:modelValue": s[11] || (s[11] = (t) => p.value = t),
|
|
146
146
|
onClose: N
|
|
147
147
|
}, {
|
|
148
148
|
footer: a(() => [
|
|
149
149
|
O("div", te, [
|
|
150
|
-
e(
|
|
150
|
+
e(h, { onClick: N }, {
|
|
151
151
|
default: a(() => [
|
|
152
|
-
|
|
152
|
+
U(V(l.$t("common.cancel")), 1)
|
|
153
153
|
]),
|
|
154
154
|
_: 1
|
|
155
155
|
}),
|
|
156
|
-
e(
|
|
156
|
+
e(h, {
|
|
157
157
|
type: "primary",
|
|
158
158
|
onClick: K
|
|
159
159
|
}, {
|
|
160
160
|
default: a(() => [
|
|
161
|
-
|
|
161
|
+
U(V(l.$t("common.confirm")), 1)
|
|
162
162
|
]),
|
|
163
163
|
_: 1
|
|
164
164
|
})
|
|
165
165
|
])
|
|
166
166
|
]),
|
|
167
167
|
default: a(() => [
|
|
168
|
-
e(
|
|
168
|
+
e(Q, {
|
|
169
169
|
ref_key: "sysUserExtFormRef",
|
|
170
170
|
ref: v,
|
|
171
171
|
model: r(o),
|
|
172
172
|
"label-width": "100px",
|
|
173
|
-
rules:
|
|
173
|
+
rules: z
|
|
174
174
|
}, {
|
|
175
175
|
default: a(() => [
|
|
176
|
-
e(
|
|
176
|
+
e(X, null, {
|
|
177
177
|
default: a(() => [
|
|
178
178
|
e(m, { span: 12 }, {
|
|
179
179
|
default: a(() => [
|
|
@@ -186,9 +186,10 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ W({
|
|
|
186
186
|
modelValue: r(o).orgId,
|
|
187
187
|
"onUpdate:modelValue": s[0] || (s[0] = (t) => r(o).orgId = t),
|
|
188
188
|
placeholder: l.$t("sysUserMan.orgIdRequired"),
|
|
189
|
-
data: r(
|
|
189
|
+
data: r(w).sysOrgBizDict.values,
|
|
190
190
|
clearable: "",
|
|
191
|
-
class: "w-full"
|
|
191
|
+
class: "w-full",
|
|
192
|
+
onChange: Z
|
|
192
193
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
193
194
|
]),
|
|
194
195
|
_: 1
|
|
@@ -224,7 +225,7 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ W({
|
|
|
224
225
|
prop: "gender"
|
|
225
226
|
}, {
|
|
226
227
|
default: a(() => [
|
|
227
|
-
e(
|
|
228
|
+
e(G, {
|
|
228
229
|
modelValue: r(o).gender,
|
|
229
230
|
"onUpdate:modelValue": s[2] || (s[2] = (t) => r(o).gender = t),
|
|
230
231
|
clearable: "",
|
|
@@ -360,7 +361,7 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ W({
|
|
|
360
361
|
modelValue: r(o).jobStatus,
|
|
361
362
|
"onUpdate:modelValue": s[8] || (s[8] = (t) => r(o).jobStatus = t),
|
|
362
363
|
placeholder: l.$t("sysUserOps.jobStatusRequired"),
|
|
363
|
-
data: r(
|
|
364
|
+
data: r(w).jobStatusDictEnum.values,
|
|
364
365
|
clearable: "",
|
|
365
366
|
class: "w-full"
|
|
366
367
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -370,7 +371,7 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ W({
|
|
|
370
371
|
]),
|
|
371
372
|
_: 1
|
|
372
373
|
}),
|
|
373
|
-
r(o).userId ?
|
|
374
|
+
r(o).userId ? ee("", !0) : (b(), c(m, {
|
|
374
375
|
key: 0,
|
|
375
376
|
span: 12
|
|
376
377
|
}, {
|
|
@@ -384,29 +385,29 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ W({
|
|
|
384
385
|
modelValue: r(o).userPassword,
|
|
385
386
|
"onUpdate:modelValue": s[10] || (s[10] = (t) => r(o).userPassword = t),
|
|
386
387
|
clearable: "",
|
|
387
|
-
type:
|
|
388
|
+
type: y.value ? "text" : "password",
|
|
388
389
|
placeholder: l.$t("sysUserMan.userPasswordRequired")
|
|
389
390
|
}, {
|
|
390
391
|
append: a(() => [
|
|
391
|
-
e(
|
|
392
|
+
e(h, { onClick: H }, {
|
|
392
393
|
default: a(() => [
|
|
393
|
-
|
|
394
|
+
U(V(l.$t("sysUserMan.randomPwd")), 1)
|
|
394
395
|
]),
|
|
395
396
|
_: 1
|
|
396
397
|
})
|
|
397
398
|
]),
|
|
398
399
|
suffix: a(() => [
|
|
399
400
|
O("span", {
|
|
400
|
-
onClick: s[9] || (s[9] = (t) =>
|
|
401
|
+
onClick: s[9] || (s[9] = (t) => y.value = !y.value)
|
|
401
402
|
}, [
|
|
402
|
-
|
|
403
|
+
y.value ? (b(), c(k, { key: 0 }, {
|
|
403
404
|
default: a(() => [
|
|
404
|
-
e(
|
|
405
|
+
e(J)
|
|
405
406
|
]),
|
|
406
407
|
_: 1
|
|
407
|
-
})) : (
|
|
408
|
+
})) : (b(), c(k, { key: 1 }, {
|
|
408
409
|
default: a(() => [
|
|
409
|
-
e(
|
|
410
|
+
e(L)
|
|
410
411
|
]),
|
|
411
412
|
_: 1
|
|
412
413
|
}))
|
|
@@ -2,8 +2,8 @@ import { defineComponent as D, mergeModels as _, ref as I, useModel as B, reacti
|
|
|
2
2
|
import { ElMessage as T } from "element-plus";
|
|
3
3
|
import { useI18n as S } from "vue-i18n";
|
|
4
4
|
import { useRoute as A } from "vue-router";
|
|
5
|
-
import { s as b } from "./index-
|
|
6
|
-
import { D as L } from "./index-
|
|
5
|
+
import { s as b } from "./index-B6vJj_z6.mjs";
|
|
6
|
+
import { D as L } from "./index-B6FMyHxQ.mjs";
|
|
7
7
|
const z = { class: "dialog-footer" }, X = /* @__PURE__ */ D({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ _({
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
var E = Object.defineProperty;
|
|
2
|
+
var p = (i, t, e) => t in i ? E(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
|
+
var r = (i, t, e) => p(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
+
import { sysOrgApi as l, Constant as s } from "./index.mjs";
|
|
5
|
+
import { BizLayDict as g, BizDict as y, EnumDict as a } from "jmash-core";
|
|
6
|
+
import { reactive as T } from "vue";
|
|
7
|
+
class m {
|
|
8
|
+
constructor(t, e) {
|
|
9
|
+
r(this, "values", T([]));
|
|
10
|
+
// 查询条件
|
|
11
|
+
r(this, "query");
|
|
12
|
+
this.values.length = 0, this.values.push(...t.value), this.query = e;
|
|
13
|
+
}
|
|
14
|
+
// 根据给定键获取业务数据项的值的方法
|
|
15
|
+
getValue(t) {
|
|
16
|
+
for (const e of this.values)
|
|
17
|
+
if (e.key == t)
|
|
18
|
+
return e.value;
|
|
19
|
+
return "";
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
class v extends g {
|
|
23
|
+
// 实现 useValues 方法
|
|
24
|
+
useValues() {
|
|
25
|
+
return new Promise((t, e) => {
|
|
26
|
+
if (typeof l.findList > "u") {
|
|
27
|
+
t(this.values);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const o = { ...this.query };
|
|
31
|
+
l.findList(o).then(({ data: c }) => {
|
|
32
|
+
const u = c.results;
|
|
33
|
+
this.values.length = 0, this.values.push(...this.convertToLayEntryArray(u)), t(this.values);
|
|
34
|
+
}).catch(e);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
convertToLayEntryArray(t) {
|
|
38
|
+
return t.map((e) => ({
|
|
39
|
+
value: e.orgId,
|
|
40
|
+
label: e.orgName,
|
|
41
|
+
parentId: e.parentId || "",
|
|
42
|
+
children: e.children ? this.convertToLayEntryArray(e.children) : []
|
|
43
|
+
}));
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
class h extends y {
|
|
47
|
+
// 实现 useValues 方法
|
|
48
|
+
useValues() {
|
|
49
|
+
return new Promise((t, e) => {
|
|
50
|
+
l.findPage(this.query).then(({ data: o }) => {
|
|
51
|
+
const c = o.results;
|
|
52
|
+
this.values.length = 0, this.values.push(
|
|
53
|
+
...c.map(
|
|
54
|
+
(u) => ({
|
|
55
|
+
key: u.orgId,
|
|
56
|
+
value: u.orgName
|
|
57
|
+
})
|
|
58
|
+
)
|
|
59
|
+
), t(this.values);
|
|
60
|
+
}).catch(e);
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
class n {
|
|
65
|
+
}
|
|
66
|
+
// 公司管理状态
|
|
67
|
+
r(n, "hasStatusDict", new m(s.HAS_STATUS, {})), // 公司发票类型
|
|
68
|
+
r(n, "invoiceTypeDictEnum", new a(
|
|
69
|
+
s.MODULE_ITSMSYS,
|
|
70
|
+
s.ENUM_INVOICE_TYPE
|
|
71
|
+
)), // 厅局管理父厅级单位
|
|
72
|
+
r(n, "parentIdBizDict", new v({
|
|
73
|
+
orgType: s.orgType.hall
|
|
74
|
+
})), // 管理人员工作状态
|
|
75
|
+
r(n, "jobStatusDictEnum", new a(
|
|
76
|
+
s.MODULE_ITSMSYS,
|
|
77
|
+
s.ENUM_JOB_ATATUS
|
|
78
|
+
)), // 运维人员工作模式
|
|
79
|
+
r(n, "engineeJobModeDictEnum", new a(
|
|
80
|
+
s.MODULE_ITSMSYS,
|
|
81
|
+
s.ENUM_ENGINEE_JOB_MODE
|
|
82
|
+
)), // 性别
|
|
83
|
+
r(n, "genderDict", new a(
|
|
84
|
+
s.MODULE_RBAC,
|
|
85
|
+
s.ENUM_GENDER
|
|
86
|
+
)), // 运维人员工程师类型
|
|
87
|
+
r(n, "engineeTypeDictEnum", new a(
|
|
88
|
+
s.MODULE_ITSMSYS,
|
|
89
|
+
s.ENUM_ENGINEE_TYPE
|
|
90
|
+
)), // 公司人员选择公司名称
|
|
91
|
+
r(n, "sysOrgBizDict", new h({
|
|
92
|
+
orgType: s.orgType.cloud
|
|
93
|
+
})), // 外协运维人员选择公司名称
|
|
94
|
+
r(n, "sysOutBizDict", new h({
|
|
95
|
+
orgType: s.orgType.outsource
|
|
96
|
+
}));
|
|
97
|
+
export {
|
|
98
|
+
n as D
|
|
99
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { useUserStore as s, clearEmpty as n, request as r } from "jmash-core";
|
|
2
|
+
class c {
|
|
3
|
+
getKey(t) {
|
|
4
|
+
return {
|
|
5
|
+
invoiceId: t.invoiceId
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
// 查询翻页信息机构发票信息
|
|
9
|
+
findPage(t) {
|
|
10
|
+
const e = s().user.tenant;
|
|
11
|
+
return n(t), r({
|
|
12
|
+
url: "/v1/itsmsys/sys_org_invoice/page/" + e,
|
|
13
|
+
method: "get",
|
|
14
|
+
params: t
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
// 查询列表信息机构发票信息
|
|
18
|
+
findList(t) {
|
|
19
|
+
const e = s().user.tenant;
|
|
20
|
+
return n(t), r({
|
|
21
|
+
url: "/v1/itsmsys/sys_org_invoice/list/" + e,
|
|
22
|
+
method: "get",
|
|
23
|
+
params: t
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
// 查询机构发票信息
|
|
27
|
+
findById(t) {
|
|
28
|
+
const e = s().user.tenant;
|
|
29
|
+
return n(t), r({
|
|
30
|
+
url: "/v1/itsmsys/sys_org_invoice/id/" + e + "/" + t.invoiceId,
|
|
31
|
+
method: "get"
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
// 创建实体机构发票信息
|
|
35
|
+
create(t) {
|
|
36
|
+
return t.tenant = s().user.tenant, n(t), r({
|
|
37
|
+
url: "/v1/itsmsys/sys_org_invoice",
|
|
38
|
+
method: "post",
|
|
39
|
+
data: t
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
// 修改实体机构发票信息
|
|
43
|
+
update(t) {
|
|
44
|
+
return t.tenant = s().user.tenant, n(t), r({
|
|
45
|
+
url: "/v1/itsmsys/sys_org_invoice",
|
|
46
|
+
method: "patch",
|
|
47
|
+
data: t
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
// 删除机构发票信息
|
|
51
|
+
delete(t) {
|
|
52
|
+
return t.tenant = s().user.tenant, n(t), r({
|
|
53
|
+
url: "/v1/itsmsys/sys_org_invoice/id",
|
|
54
|
+
method: "delete",
|
|
55
|
+
params: t
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
// 批量删除机构发票信息
|
|
59
|
+
batchDelete(t) {
|
|
60
|
+
const e = t.map((o) => o.invoiceId), i = {
|
|
61
|
+
tenant: s().user.tenant,
|
|
62
|
+
invoiceId: e
|
|
63
|
+
};
|
|
64
|
+
return n(i), r({
|
|
65
|
+
url: "/v1/itsmsys/sys_org_invoice/batch",
|
|
66
|
+
method: "put",
|
|
67
|
+
data: i
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
const u = new c();
|
|
72
|
+
export {
|
|
73
|
+
u as s
|
|
74
|
+
};
|