xyvcard-itsmsys 0.0.1 → 0.0.2
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-fXXtfBvE.mjs → edit-BKMLirl4.mjs} +1 -1
- package/dist/edit-ccGk5679.mjs +610 -0
- package/dist/{index-CYDoTcm0.mjs → index-BGwm5W6z.mjs} +1 -1
- package/dist/{index-CH_cX9Q6.mjs → index-CSDhKMEP.mjs} +3 -4
- package/dist/index.mjs +41 -41
- package/dist/{info-CQFqsSxq.mjs → info-CSOdbuvm.mjs} +1 -1
- package/dts/src/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/edit-C_5Inal_.mjs +0 -527
- package/dist/index-CkQkOd7U.mjs +0 -83
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Layout as d, deepMerge as a, useUserStore as o, clearEmpty as n, request as
|
|
2
|
-
const
|
|
1
|
+
import { Layout as d, deepMerge as a, useUserStore as o, clearEmpty as n, request as i, addViteMenus as l, addDynamicRoute as m, i18n as g } from "jmash-core";
|
|
2
|
+
const u = () => import("./edit-BKMLirl4.mjs"), y = () => import("./info-CSOdbuvm.mjs"), p = [
|
|
3
3
|
{
|
|
4
4
|
path: "/itsmsys",
|
|
5
5
|
component: d,
|
|
@@ -7,7 +7,7 @@ const g = () => import("./edit-fXXtfBvE.mjs"), y = () => import("./info-CQFqsSxq
|
|
|
7
7
|
children: [
|
|
8
8
|
{
|
|
9
9
|
path: "/itsmsys/itsm-sys-org/editInfo",
|
|
10
|
-
component:
|
|
10
|
+
component: u,
|
|
11
11
|
name: "editInfo",
|
|
12
12
|
meta: {
|
|
13
13
|
title: "公司登记",
|
|
@@ -27,7 +27,7 @@ const g = () => import("./edit-fXXtfBvE.mjs"), y = () => import("./info-CQFqsSxq
|
|
|
27
27
|
}
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
|
-
],
|
|
30
|
+
], P = {
|
|
31
31
|
// 附件
|
|
32
32
|
sysFiles: {
|
|
33
33
|
name: "附件",
|
|
@@ -102,7 +102,7 @@ const g = () => import("./edit-fXXtfBvE.mjs"), y = () => import("./info-CQFqsSxq
|
|
|
102
102
|
engineeType: "工程师类型",
|
|
103
103
|
engineeSpecialty: "工程师专业能力"
|
|
104
104
|
}
|
|
105
|
-
},
|
|
105
|
+
}, v = {
|
|
106
106
|
// 公司管理
|
|
107
107
|
sysOrg: {
|
|
108
108
|
shortName: "公司名称",
|
|
@@ -166,96 +166,96 @@ const g = () => import("./edit-fXXtfBvE.mjs"), y = () => import("./info-CQFqsSxq
|
|
|
166
166
|
contactPersonTelRequireds: "请输入正确的办公电话,例:010-12345678"
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
|
-
function b(
|
|
170
|
-
let e =
|
|
171
|
-
e = a(e,
|
|
172
|
-
let t =
|
|
173
|
-
t = a(t,
|
|
169
|
+
function b(s) {
|
|
170
|
+
let e = s.global.getLocaleMessage("zh-cn");
|
|
171
|
+
e = a(e, v);
|
|
172
|
+
let t = s.global.getLocaleMessage("en");
|
|
173
|
+
t = a(t, P), s.global.setLocaleMessage("zh-cn", e), s.global.setLocaleMessage("en", t);
|
|
174
174
|
}
|
|
175
|
-
class
|
|
175
|
+
class h {
|
|
176
176
|
getKey(e) {
|
|
177
177
|
return {
|
|
178
178
|
orgId: e.orgId
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
|
-
//
|
|
181
|
+
// 查询翻页信息机构信息
|
|
182
|
+
findPage(e) {
|
|
183
|
+
const t = o().user.tenant;
|
|
184
|
+
return e && (e.hasStatus = e.status != null, e.hasOrgType = e.orgType != null), n(e), i({
|
|
185
|
+
url: "/v1/itsmsys/sys_org/page/" + t,
|
|
186
|
+
method: "get",
|
|
187
|
+
params: e
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
// 查询列表信息机构信息
|
|
182
191
|
findList(e) {
|
|
183
192
|
const t = o().user.tenant;
|
|
184
|
-
return e && (e.hasStatus = e.status != null, e.hasOrgType = e.orgType != null), n(e),
|
|
193
|
+
return e && (e.hasStatus = e.status != null, e.hasOrgType = e.orgType != null), n(e), i({
|
|
185
194
|
url: "/v1/itsmsys/sys_org/list/" + t,
|
|
186
195
|
method: "get",
|
|
187
196
|
params: e
|
|
188
197
|
});
|
|
189
198
|
}
|
|
190
|
-
//
|
|
199
|
+
// 查询机构信息
|
|
191
200
|
findById(e) {
|
|
192
201
|
const t = o().user.tenant;
|
|
193
|
-
return n(e),
|
|
202
|
+
return n(e), i({
|
|
194
203
|
url: "/v1/itsmsys/sys_org/id/" + t + "/" + e.orgId,
|
|
195
204
|
method: "get"
|
|
196
205
|
});
|
|
197
206
|
}
|
|
198
|
-
//
|
|
207
|
+
// 创建实体机构信息
|
|
199
208
|
create(e) {
|
|
200
|
-
return e.tenant = o().user.tenant, n(e),
|
|
209
|
+
return e.tenant = o().user.tenant, n(e), i({
|
|
201
210
|
url: "/v1/itsmsys/sys_org",
|
|
202
211
|
method: "post",
|
|
203
212
|
data: e
|
|
204
213
|
});
|
|
205
214
|
}
|
|
206
|
-
//
|
|
215
|
+
// 修改实体机构信息
|
|
207
216
|
update(e) {
|
|
208
|
-
return e.tenant = o().user.tenant, n(e),
|
|
217
|
+
return e.tenant = o().user.tenant, n(e), i({
|
|
209
218
|
url: "/v1/itsmsys/sys_org",
|
|
210
219
|
method: "patch",
|
|
211
220
|
data: e
|
|
212
221
|
});
|
|
213
222
|
}
|
|
214
|
-
// 上移下移
|
|
215
|
-
move(e, t) {
|
|
216
|
-
const s = { ...e };
|
|
217
|
-
return s.tenant = o().user.tenant, s.up = t, n(s), r({
|
|
218
|
-
url: "/v1/itsmsys/sys_org/move",
|
|
219
|
-
method: "put",
|
|
220
|
-
data: s
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
223
|
// 启用/禁用
|
|
224
224
|
enable(e, t) {
|
|
225
|
-
const
|
|
226
|
-
return
|
|
225
|
+
const r = { ...e };
|
|
226
|
+
return r.tenant = o().user.tenant, r.enable = t, n(r), i({
|
|
227
227
|
url: "/v1/itsmsys/sys_org/enable",
|
|
228
228
|
method: "put",
|
|
229
|
-
data:
|
|
229
|
+
data: r
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
|
-
//
|
|
232
|
+
// 删除机构信息
|
|
233
233
|
delete(e) {
|
|
234
|
-
return e.tenant = o().user.tenant, n(e),
|
|
234
|
+
return e.tenant = o().user.tenant, n(e), i({
|
|
235
235
|
url: "/v1/itsmsys/sys_org/id",
|
|
236
236
|
method: "delete",
|
|
237
237
|
params: e
|
|
238
238
|
});
|
|
239
239
|
}
|
|
240
|
-
//
|
|
240
|
+
// 批量删除机构信息
|
|
241
241
|
batchDelete(e) {
|
|
242
|
-
const t = e.map((c) => c.orgId),
|
|
242
|
+
const t = e.map((c) => c.orgId), r = {
|
|
243
243
|
tenant: o().user.tenant,
|
|
244
244
|
orgId: t
|
|
245
245
|
};
|
|
246
|
-
return n(
|
|
246
|
+
return n(r), i({
|
|
247
247
|
url: "/v1/itsmsys/sys_org/batch",
|
|
248
248
|
method: "put",
|
|
249
|
-
data:
|
|
249
|
+
data: r
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
const f = new
|
|
254
|
-
install(
|
|
255
|
-
l(
|
|
253
|
+
const f = new h(), I = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-ccGk5679.mjs").then((s) => s.e), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-CSDhKMEP.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-BKMLirl4.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-BGwm5W6z.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-CSOdbuvm.mjs"), "./views/itsmsys/itsm-sys-org/invoiceEdit.vue": () => import("./invoiceEdit-D9zxwIoM.mjs") }), N = {
|
|
254
|
+
install(s) {
|
|
255
|
+
l(I, 7), m(p), b(g);
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
export {
|
|
259
259
|
N as default,
|
|
260
|
-
f as
|
|
260
|
+
f as sysOrgApi
|
|
261
261
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
2
|
import { useRouter as B, useRoute as w } from "vue-router";
|
|
3
3
|
import { routerUtil as D } from "jmash-core";
|
|
4
|
-
import {
|
|
4
|
+
import { sysOrgApi as E } from "./index.mjs";
|
|
5
5
|
import { s as M } from "./index-B-FkgFqA.mjs";
|
|
6
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
7
|
__name: "info",
|
package/dts/src/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { App } from "vue";
|
|
2
2
|
import "./styles/index.scss";
|
|
3
3
|
import "element-plus/dist/index.css";
|
|
4
|
-
export {
|
|
5
|
-
export type {
|
|
4
|
+
export { sysOrgApi } from "@/api/itsm-sys-org/index";
|
|
5
|
+
export type { SysOrgReq, SysOrgModel } from "@/api/itsm-sys-org/types";
|
|
6
6
|
declare const itsmsys: {
|
|
7
7
|
install(app: App): void;
|
|
8
8
|
};
|