xyvcard-itsmsys 0.0.20 → 0.0.21
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/README.md +51 -51
- package/dist/{edit-Czi-Vkbf.mjs → edit-tX79QBAc.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CJmMqL9f.mjs → edit.vue_vue_type_script_setup_true_lang-Ddo5V16V.mjs} +1 -1
- package/dist/{index-q_wZjCJN.mjs → index-BWc93IIa.mjs} +1 -1
- package/dist/index.mjs +44 -35
- package/dist/{info-Dx5fzSIP.mjs → info-6E3wqxd6.mjs} +1 -1
- package/dist/{info-bYWisCey.mjs → info-AE3ch4Zw.mjs} +1 -1
- package/dist/{info-Bn5mhJtq.mjs → info-DttXGxP3.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/api/itsm-sys-org/index.d.ts +2 -1
- package/dts/api/itsm-sys-org/types.d.ts +4 -0
- package/package.json +58 -58
- package/dts/components/TMaps/index.vue.d.ts +0 -20
- package/dts/utils/TMap.d.ts +0 -1
- package/dts/utils/common.d.ts +0 -1
- package/dts/views/itsmsys/itsm-sys-user-ops/import-upload.vue.d.ts +0 -31
package/README.md
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
# pnpm publish --no-git-checks
|
|
2
|
-
npm config set registry https://registry.npmjs.org/
|
|
3
|
-
|
|
4
|
-
# pnpm install
|
|
5
|
-
npm config set registry https://registry.npmmirror.com/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
This template should help get you started developing with Vue 3 in Vite.
|
|
9
|
-
|
|
10
|
-
## Recommended IDE Setup
|
|
11
|
-
|
|
12
|
-
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
13
|
-
|
|
14
|
-
## Type Support for `.vue` Imports in TS
|
|
15
|
-
|
|
16
|
-
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
|
17
|
-
|
|
18
|
-
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
|
19
|
-
|
|
20
|
-
1. Disable the built-in TypeScript Extension
|
|
21
|
-
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
|
22
|
-
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
|
23
|
-
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
|
24
|
-
|
|
25
|
-
## Customize configuration
|
|
26
|
-
|
|
27
|
-
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
28
|
-
|
|
29
|
-
## Project Setup
|
|
30
|
-
|
|
31
|
-
```sh
|
|
32
|
-
pnpm install
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Compile and Hot-Reload for Development
|
|
36
|
-
|
|
37
|
-
```sh
|
|
38
|
-
pnpm dev
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Type-Check, Compile and Minify for Production
|
|
42
|
-
|
|
43
|
-
```sh
|
|
44
|
-
pnpm build
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Lint with [ESLint](https://eslint.org/)
|
|
48
|
-
|
|
49
|
-
```sh
|
|
50
|
-
pnpm lint
|
|
51
|
-
```
|
|
1
|
+
# pnpm publish --no-git-checks
|
|
2
|
+
npm config set registry https://registry.npmjs.org/
|
|
3
|
+
|
|
4
|
+
# pnpm install
|
|
5
|
+
npm config set registry https://registry.npmmirror.com/
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
9
|
+
|
|
10
|
+
## Recommended IDE Setup
|
|
11
|
+
|
|
12
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
13
|
+
|
|
14
|
+
## Type Support for `.vue` Imports in TS
|
|
15
|
+
|
|
16
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
|
17
|
+
|
|
18
|
+
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
|
19
|
+
|
|
20
|
+
1. Disable the built-in TypeScript Extension
|
|
21
|
+
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
|
22
|
+
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
|
23
|
+
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
|
24
|
+
|
|
25
|
+
## Customize configuration
|
|
26
|
+
|
|
27
|
+
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
28
|
+
|
|
29
|
+
## Project Setup
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
pnpm install
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Compile and Hot-Reload for Development
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
pnpm dev
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Type-Check, Compile and Minify for Production
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
pnpm build
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Lint with [ESLint](https://eslint.org/)
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
pnpm lint
|
|
51
|
+
```
|
|
@@ -109,7 +109,7 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
109
109
|
}));
|
|
110
110
|
};
|
|
111
111
|
function L() {
|
|
112
|
-
oe.treelistDept().then(({ data: e }) => {
|
|
112
|
+
oe.treelistDept({}).then(({ data: e }) => {
|
|
113
113
|
N.value = e.results;
|
|
114
114
|
}), se.treelistJob().then(({ data: e }) => {
|
|
115
115
|
$.value = e.results;
|
|
@@ -4,7 +4,7 @@ import { useI18n as me } from "vue-i18n";
|
|
|
4
4
|
import { useRouter as pe } from "vue-router";
|
|
5
5
|
import { D as p, C as N } from "./index-dIcRC4jE.mjs";
|
|
6
6
|
import { sysUserExtApi as Q } from "./index.mjs";
|
|
7
|
-
import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-Ddo5V16V.mjs";
|
|
8
8
|
import { F as be } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
9
9
|
import ce from "./import-upload-BaJGVcNb.mjs";
|
|
10
10
|
const fe = { class: "app-container" }, ve = { class: "search-container" }, we = { key: 0 }, ge = ["onClick"], _e = ["onClick"], je = ["onClick"], Me = /* @__PURE__ */ re({
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Layout as Rs, deepMerge as Ot, useUserStore as D, clearEmpty as
|
|
2
|
-
const Ts = () => import("./edit-DYqAdRsK.mjs"), Ps = () => import("./info-G1z1-aeX.mjs"), Ns = () => import("./edit-CNEVornb.mjs"), xs = () => import("./info-BUKhtcuu.mjs"), Is = () => import("./edit-COKceKzl.mjs"), Ws = () => import("./info-EodyqiPm.mjs"), Ls = () => import("./info-
|
|
1
|
+
import { Layout as Rs, deepMerge as Ot, useUserStore as D, clearEmpty as Y, request as R, addViteMenus as Ys, addDynamicRoute as Os, i18n as bs } from "jmash-core";
|
|
2
|
+
const Ts = () => import("./edit-DYqAdRsK.mjs"), Ps = () => import("./info-G1z1-aeX.mjs"), Ns = () => import("./edit-CNEVornb.mjs"), xs = () => import("./info-BUKhtcuu.mjs"), Is = () => import("./edit-COKceKzl.mjs"), Ws = () => import("./info-EodyqiPm.mjs"), Ls = () => import("./info-6E3wqxd6.mjs"), Fs = () => import("./info-AE3ch4Zw.mjs"), Cs = () => import("./info-DttXGxP3.mjs"), Us = [
|
|
3
3
|
{
|
|
4
4
|
path: "/rawitsmsys",
|
|
5
5
|
component: Rs,
|
|
@@ -525,7 +525,7 @@ function ur(e, t, s) {
|
|
|
525
525
|
function Ve(e) {
|
|
526
526
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
527
527
|
}
|
|
528
|
-
var b = 0, z = 1, q = 2,
|
|
528
|
+
var b = 0, z = 1, q = 2, O = 3, L = 4, Z = 5, ie = 6, lr = 7, dr = 8;
|
|
529
529
|
h("Y", 0, 0, function() {
|
|
530
530
|
var e = this.year();
|
|
531
531
|
return e <= 9999 ? E(e, 4) : "+" + e;
|
|
@@ -992,32 +992,32 @@ d("hmm", Ht);
|
|
|
992
992
|
d("hmmss", At);
|
|
993
993
|
d("Hmm", Ht);
|
|
994
994
|
d("Hmmss", At);
|
|
995
|
-
w(["H", "HH"],
|
|
995
|
+
w(["H", "HH"], O);
|
|
996
996
|
w(["k", "kk"], function(e, t, s) {
|
|
997
997
|
var r = m(e);
|
|
998
|
-
t[
|
|
998
|
+
t[O] = r === 24 ? 0 : r;
|
|
999
999
|
});
|
|
1000
1000
|
w(["a", "A"], function(e, t, s) {
|
|
1001
1001
|
s._isPm = s._locale.isPM(e), s._meridiem = e;
|
|
1002
1002
|
});
|
|
1003
1003
|
w(["h", "hh"], function(e, t, s) {
|
|
1004
|
-
t[
|
|
1004
|
+
t[O] = m(e), f(s).bigHour = !0;
|
|
1005
1005
|
});
|
|
1006
1006
|
w("hmm", function(e, t, s) {
|
|
1007
1007
|
var r = e.length - 2;
|
|
1008
|
-
t[
|
|
1008
|
+
t[O] = m(e.substr(0, r)), t[L] = m(e.substr(r)), f(s).bigHour = !0;
|
|
1009
1009
|
});
|
|
1010
1010
|
w("hmmss", function(e, t, s) {
|
|
1011
1011
|
var r = e.length - 4, i = e.length - 2;
|
|
1012
|
-
t[
|
|
1012
|
+
t[O] = m(e.substr(0, r)), t[L] = m(e.substr(r, 2)), t[Z] = m(e.substr(i)), f(s).bigHour = !0;
|
|
1013
1013
|
});
|
|
1014
1014
|
w("Hmm", function(e, t, s) {
|
|
1015
1015
|
var r = e.length - 2;
|
|
1016
|
-
t[
|
|
1016
|
+
t[O] = m(e.substr(0, r)), t[L] = m(e.substr(r));
|
|
1017
1017
|
});
|
|
1018
1018
|
w("Hmmss", function(e, t, s) {
|
|
1019
1019
|
var r = e.length - 4, i = e.length - 2;
|
|
1020
|
-
t[
|
|
1020
|
+
t[O] = m(e.substr(0, r)), t[L] = m(e.substr(r, 2)), t[Z] = m(e.substr(i));
|
|
1021
1021
|
});
|
|
1022
1022
|
function Qr(e) {
|
|
1023
1023
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
@@ -1131,7 +1131,7 @@ function ni() {
|
|
|
1131
1131
|
}
|
|
1132
1132
|
function wt(e) {
|
|
1133
1133
|
var t, s = e._a;
|
|
1134
|
-
return s && f(e).overflow === -2 && (t = s[z] < 0 || s[z] > 11 ? z : s[q] < 1 || s[q] > mt(s[b], s[z]) ? q : s[
|
|
1134
|
+
return s && f(e).overflow === -2 && (t = s[z] < 0 || s[z] > 11 ? z : s[q] < 1 || s[q] > mt(s[b], s[z]) ? q : s[O] < 0 || s[O] > 24 || s[O] === 24 && (s[L] !== 0 || s[Z] !== 0 || s[ie] !== 0) ? O : s[L] < 0 || s[L] > 59 ? L : s[Z] < 0 || s[Z] > 59 ? Z : s[ie] < 0 || s[ie] > 999 ? ie : -1, f(e)._overflowDayOfYear && (t < b || t > q) && (t = q), f(e)._overflowWeeks && t === -1 && (t = lr), f(e)._overflowWeekday && t === -1 && (t = dr), f(e).overflow = t), e;
|
|
1135
1135
|
}
|
|
1136
1136
|
var ai = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, oi = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, ui = /Z|[+-]\d\d(?::?\d\d)?/, be = [
|
|
1137
1137
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
@@ -1300,10 +1300,10 @@ function vt(e) {
|
|
|
1300
1300
|
e._a[t] = r[t] = i[t];
|
|
1301
1301
|
for (; t < 7; t++)
|
|
1302
1302
|
e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1303
|
-
e._a[
|
|
1303
|
+
e._a[O] === 24 && e._a[L] === 0 && e._a[Z] === 0 && e._a[ie] === 0 && (e._nextDay = !0, e._a[O] = 0), e._d = (e._useUTC ? ve : Rr).apply(
|
|
1304
1304
|
null,
|
|
1305
1305
|
r
|
|
1306
|
-
), n = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[
|
|
1306
|
+
), n = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[O] = 24), e._w && typeof e._w.d < "u" && e._w.d !== n && (f(e).weekdayMismatch = !0);
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
1309
1309
|
function wi(e) {
|
|
@@ -1333,9 +1333,9 @@ function Mt(e) {
|
|
|
1333
1333
|
n = i[s], r = (t.match(ar(n, e)) || [])[0], r && (a = t.substr(0, t.indexOf(r)), a.length > 0 && f(e).unusedInput.push(a), t = t.slice(
|
|
1334
1334
|
t.indexOf(r) + r.length
|
|
1335
1335
|
), c += r.length), de[n] ? (r ? f(e).empty = !1 : f(e).unusedTokens.push(n), ur(n, r, e)) : e._strict && !r && f(e).unusedTokens.push(n);
|
|
1336
|
-
f(e).charsLeftOver = l - c, t.length > 0 && f(e).unusedInput.push(t), e._a[
|
|
1336
|
+
f(e).charsLeftOver = l - c, t.length > 0 && f(e).unusedInput.push(t), e._a[O] <= 12 && f(e).bigHour === !0 && e._a[O] > 0 && (f(e).bigHour = void 0), f(e).parsedDateParts = e._a.slice(0), f(e).meridiem = e._meridiem, e._a[O] = vi(
|
|
1337
1337
|
e._locale,
|
|
1338
|
-
e._a[
|
|
1338
|
+
e._a[O],
|
|
1339
1339
|
e._meridiem
|
|
1340
1340
|
), y = f(e).era, y !== null && (e._a[b] = e._locale.erasConvertYear(y, e._a[b])), vt(e), wt(e);
|
|
1341
1341
|
}
|
|
@@ -1558,7 +1558,7 @@ function U(e, t) {
|
|
|
1558
1558
|
} : B(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (r = ji.exec(e)) ? (i = r[1] === "-" ? -1 : 1, s = {
|
|
1559
1559
|
y: 0,
|
|
1560
1560
|
d: m(r[q]) * i,
|
|
1561
|
-
h: m(r[
|
|
1561
|
+
h: m(r[O]) * i,
|
|
1562
1562
|
m: m(r[L]) * i,
|
|
1563
1563
|
s: m(r[Z]) * i,
|
|
1564
1564
|
ms: m(st(r[ie] * 1e3)) * i
|
|
@@ -3022,7 +3022,7 @@ class Ga {
|
|
|
3022
3022
|
// 查询翻页信息机构信息
|
|
3023
3023
|
findPage(t) {
|
|
3024
3024
|
const s = D().user.tenant;
|
|
3025
|
-
return t && (t.hasStatus = t.status != null, t.hasOrgType = t.orgType != null),
|
|
3025
|
+
return t && (t.hasStatus = t.status != null, t.hasOrgType = t.orgType != null), Y(t), R({
|
|
3026
3026
|
url: "/v1/itsmsys/sys_org/page/" + s,
|
|
3027
3027
|
method: "get",
|
|
3028
3028
|
params: t
|
|
@@ -3031,7 +3031,7 @@ class Ga {
|
|
|
3031
3031
|
// 查询列表信息机构信息
|
|
3032
3032
|
findList(t) {
|
|
3033
3033
|
const s = D().user.tenant;
|
|
3034
|
-
return t && (t.hasStatus = t.status != null, t.hasOrgType = t.orgType != null),
|
|
3034
|
+
return t && (t.hasStatus = t.status != null, t.hasOrgType = t.orgType != null), Y(t), R({
|
|
3035
3035
|
url: "/v1/itsmsys/sys_org/tree_list/" + s,
|
|
3036
3036
|
method: "get",
|
|
3037
3037
|
params: t
|
|
@@ -3044,7 +3044,7 @@ class Ga {
|
|
|
3044
3044
|
*/
|
|
3045
3045
|
findOutSourceList(t) {
|
|
3046
3046
|
const s = D().user.tenant;
|
|
3047
|
-
return t && (t.hasOrgType = t.orgType != null),
|
|
3047
|
+
return t && (t.hasOrgType = t.orgType != null), Y(t), R({
|
|
3048
3048
|
url: "/v1/itsmsys/sys_org/list/" + s,
|
|
3049
3049
|
method: "get",
|
|
3050
3050
|
params: t
|
|
@@ -3053,14 +3053,14 @@ class Ga {
|
|
|
3053
3053
|
// 查询机构信息
|
|
3054
3054
|
findById(t) {
|
|
3055
3055
|
const s = D().user.tenant;
|
|
3056
|
-
return
|
|
3056
|
+
return Y(t), R({
|
|
3057
3057
|
url: "/v1/itsmsys/sys_org/id/" + s + "/" + t.orgId,
|
|
3058
3058
|
method: "get"
|
|
3059
3059
|
});
|
|
3060
3060
|
}
|
|
3061
3061
|
// 创建实体机构信息
|
|
3062
3062
|
create(t) {
|
|
3063
|
-
return t.tenant = D().user.tenant,
|
|
3063
|
+
return t.tenant = D().user.tenant, Y(t), R({
|
|
3064
3064
|
url: "/v1/itsmsys/sys_org",
|
|
3065
3065
|
method: "post",
|
|
3066
3066
|
data: t
|
|
@@ -3068,7 +3068,7 @@ class Ga {
|
|
|
3068
3068
|
}
|
|
3069
3069
|
// 修改实体机构信息
|
|
3070
3070
|
update(t) {
|
|
3071
|
-
return t.tenant = D().user.tenant,
|
|
3071
|
+
return t.tenant = D().user.tenant, Y(t), R({
|
|
3072
3072
|
url: "/v1/itsmsys/sys_org",
|
|
3073
3073
|
method: "patch",
|
|
3074
3074
|
data: t
|
|
@@ -3077,7 +3077,7 @@ class Ga {
|
|
|
3077
3077
|
// 启用/禁用
|
|
3078
3078
|
enable(t, s) {
|
|
3079
3079
|
const r = { ...t };
|
|
3080
|
-
return r.tenant = D().user.tenant, r.enable = s,
|
|
3080
|
+
return r.tenant = D().user.tenant, r.enable = s, Y(r), R({
|
|
3081
3081
|
url: "/v1/itsmsys/sys_org/enable",
|
|
3082
3082
|
method: "put",
|
|
3083
3083
|
data: r
|
|
@@ -3085,7 +3085,7 @@ class Ga {
|
|
|
3085
3085
|
}
|
|
3086
3086
|
// 删除机构信息
|
|
3087
3087
|
delete(t) {
|
|
3088
|
-
return t.tenant = D().user.tenant,
|
|
3088
|
+
return t.tenant = D().user.tenant, Y(t), R({
|
|
3089
3089
|
url: "/v1/itsmsys/sys_org/id",
|
|
3090
3090
|
method: "delete",
|
|
3091
3091
|
params: t
|
|
@@ -3097,7 +3097,7 @@ class Ga {
|
|
|
3097
3097
|
tenant: D().user.tenant,
|
|
3098
3098
|
orgId: s
|
|
3099
3099
|
};
|
|
3100
|
-
return
|
|
3100
|
+
return Y(r), R({
|
|
3101
3101
|
url: "/v1/itsmsys/sys_org/batch",
|
|
3102
3102
|
method: "put",
|
|
3103
3103
|
data: r
|
|
@@ -3106,12 +3106,21 @@ class Ga {
|
|
|
3106
3106
|
// 上移下移
|
|
3107
3107
|
move(t, s) {
|
|
3108
3108
|
const r = { ...t };
|
|
3109
|
-
return r.tenant = D().user.tenant, r.up = s,
|
|
3109
|
+
return r.tenant = D().user.tenant, r.up = s, Y(r), R({
|
|
3110
3110
|
url: "/v1/itsmsys/sys_org/move",
|
|
3111
3111
|
method: "put",
|
|
3112
3112
|
data: r
|
|
3113
3113
|
});
|
|
3114
3114
|
}
|
|
3115
|
+
// 获取单位数量
|
|
3116
|
+
getUnitData(t) {
|
|
3117
|
+
const s = D().user.tenant;
|
|
3118
|
+
return Y(t), R({
|
|
3119
|
+
url: "/v1/itsmsys/sys_org/count/" + s,
|
|
3120
|
+
method: "get",
|
|
3121
|
+
params: t
|
|
3122
|
+
});
|
|
3123
|
+
}
|
|
3115
3124
|
}
|
|
3116
3125
|
const $a = new Ga();
|
|
3117
3126
|
class ja {
|
|
@@ -3123,7 +3132,7 @@ class ja {
|
|
|
3123
3132
|
// 查询翻页信息用户信息
|
|
3124
3133
|
findPage(t) {
|
|
3125
3134
|
const s = D().user.tenant;
|
|
3126
|
-
return t && (t.hasUserType = t.userType != null, t.hasEngineerJobMode = t.engineerJobMode != null, t.hasJobStatus = t.jobStatus != null, t.hasEngineerType = t.engineerType != null),
|
|
3135
|
+
return t && (t.hasUserType = t.userType != null, t.hasEngineerJobMode = t.engineerJobMode != null, t.hasJobStatus = t.jobStatus != null, t.hasEngineerType = t.engineerType != null), Y(t), R({
|
|
3127
3136
|
url: "/v1/itsmsys/sys_user_ext/page/" + s,
|
|
3128
3137
|
method: "get",
|
|
3129
3138
|
params: t
|
|
@@ -3132,7 +3141,7 @@ class ja {
|
|
|
3132
3141
|
// 查询列表信息用户信息
|
|
3133
3142
|
findList(t) {
|
|
3134
3143
|
const s = D().user.tenant;
|
|
3135
|
-
return t && (t.hasUserType = t.userType != null, t.hasEngineerJobMode = t.engineerJobMode != null, t.hasJobStatus = t.jobStatus != null, t.hasEngineerType = t.engineerType != null),
|
|
3144
|
+
return t && (t.hasUserType = t.userType != null, t.hasEngineerJobMode = t.engineerJobMode != null, t.hasJobStatus = t.jobStatus != null, t.hasEngineerType = t.engineerType != null), Y(t), R({
|
|
3136
3145
|
url: "/v1/itsmsys/sys_user_ext/list/" + s,
|
|
3137
3146
|
method: "get",
|
|
3138
3147
|
params: t
|
|
@@ -3141,14 +3150,14 @@ class ja {
|
|
|
3141
3150
|
// 查询用户信息
|
|
3142
3151
|
findById(t) {
|
|
3143
3152
|
const s = D().user.tenant;
|
|
3144
|
-
return
|
|
3153
|
+
return Y(t), R({
|
|
3145
3154
|
url: "/v1/itsmsys/sys_user_ext/id/" + s + "/" + t.userId,
|
|
3146
3155
|
method: "get"
|
|
3147
3156
|
});
|
|
3148
3157
|
}
|
|
3149
3158
|
// 创建实体用户信息
|
|
3150
3159
|
create(t) {
|
|
3151
|
-
return t.tenant = D().user.tenant,
|
|
3160
|
+
return t.tenant = D().user.tenant, Y(t), R({
|
|
3152
3161
|
url: "/v1/itsmsys/sys_user_ext",
|
|
3153
3162
|
method: "post",
|
|
3154
3163
|
data: t
|
|
@@ -3156,7 +3165,7 @@ class ja {
|
|
|
3156
3165
|
}
|
|
3157
3166
|
// 修改实体用户信息
|
|
3158
3167
|
update(t) {
|
|
3159
|
-
return t.tenant = D().user.tenant,
|
|
3168
|
+
return t.tenant = D().user.tenant, Y(t), R({
|
|
3160
3169
|
url: "/v1/itsmsys/sys_user_ext",
|
|
3161
3170
|
method: "patch",
|
|
3162
3171
|
data: t
|
|
@@ -3164,7 +3173,7 @@ class ja {
|
|
|
3164
3173
|
}
|
|
3165
3174
|
// 删除用户信息
|
|
3166
3175
|
delete(t) {
|
|
3167
|
-
return t.tenant = D().user.tenant,
|
|
3176
|
+
return t.tenant = D().user.tenant, Y(t), R({
|
|
3168
3177
|
url: "/v1/itsmsys/sys_user_ext/id",
|
|
3169
3178
|
method: "delete",
|
|
3170
3179
|
params: t
|
|
@@ -3176,7 +3185,7 @@ class ja {
|
|
|
3176
3185
|
tenant: D().user.tenant,
|
|
3177
3186
|
userId: s
|
|
3178
3187
|
};
|
|
3179
|
-
return
|
|
3188
|
+
return Y(r), R({
|
|
3180
3189
|
url: "/v1/itsmsys/sys_user_ext/batch",
|
|
3181
3190
|
method: "put",
|
|
3182
3191
|
data: r
|
|
@@ -3196,14 +3205,14 @@ class ja {
|
|
|
3196
3205
|
}
|
|
3197
3206
|
// 导入用户扩展信息
|
|
3198
3207
|
importExcel(t) {
|
|
3199
|
-
return t.tenant = D().user.tenant,
|
|
3208
|
+
return t.tenant = D().user.tenant, Y(t), R({
|
|
3200
3209
|
url: "/v1/itsmsys/sys_user_ext/import",
|
|
3201
3210
|
method: "patch",
|
|
3202
3211
|
data: t
|
|
3203
3212
|
});
|
|
3204
3213
|
}
|
|
3205
3214
|
}
|
|
3206
|
-
const Ja = new ja(), za = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-CNEVornb.mjs"), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-CAzxJ_Vp.mjs"), "./views/itsmsys/itsm-sys-gov/info.vue": () => import("./info-BUKhtcuu.mjs"), "./views/itsmsys/itsm-sys-org-invoice/edit.vue": () => import("./edit-BrHOGUbU.mjs"), "./views/itsmsys/itsm-sys-org-invoice/index.vue": () => import("./index-IpHv0Vzi.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-DYqAdRsK.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-cpyRUYdS.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-G1z1-aeX.mjs"), "./views/itsmsys/itsm-sys-out/edit.vue": () => import("./edit-COKceKzl.mjs"), "./views/itsmsys/itsm-sys-out/index.vue": () => import("./index-BV5uRZXE.mjs"), "./views/itsmsys/itsm-sys-out/info.vue": () => import("./info-EodyqiPm.mjs"), "./views/itsmsys/itsm-sys-user-man/edit.vue": () => import("./edit-
|
|
3215
|
+
const Ja = new ja(), za = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-CNEVornb.mjs"), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-CAzxJ_Vp.mjs"), "./views/itsmsys/itsm-sys-gov/info.vue": () => import("./info-BUKhtcuu.mjs"), "./views/itsmsys/itsm-sys-org-invoice/edit.vue": () => import("./edit-BrHOGUbU.mjs"), "./views/itsmsys/itsm-sys-org-invoice/index.vue": () => import("./index-IpHv0Vzi.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-DYqAdRsK.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-cpyRUYdS.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-G1z1-aeX.mjs"), "./views/itsmsys/itsm-sys-out/edit.vue": () => import("./edit-COKceKzl.mjs"), "./views/itsmsys/itsm-sys-out/index.vue": () => import("./index-BV5uRZXE.mjs"), "./views/itsmsys/itsm-sys-out/info.vue": () => import("./info-EodyqiPm.mjs"), "./views/itsmsys/itsm-sys-user-man/edit.vue": () => import("./edit-tX79QBAc.mjs"), "./views/itsmsys/itsm-sys-user-man/import-upload.vue": () => import("./import-upload-BaJGVcNb.mjs"), "./views/itsmsys/itsm-sys-user-man/index.vue": () => import("./index-BWc93IIa.mjs"), "./views/itsmsys/itsm-sys-user-man/info.vue": () => import("./info-6E3wqxd6.mjs"), "./views/itsmsys/itsm-sys-user-ops/edit.vue": () => import("./edit-DybO5r3p.mjs"), "./views/itsmsys/itsm-sys-user-ops/index.vue": () => import("./index-Di1yx94g.mjs"), "./views/itsmsys/itsm-sys-user-ops/info.vue": () => import("./info-AE3ch4Zw.mjs"), "./views/itsmsys/itsm-sys-user-out/edit.vue": () => import("./edit-_QJnKCdq.mjs"), "./views/itsmsys/itsm-sys-user-out/import-upload.vue": () => import("./import-upload-CC1Ho43e.mjs"), "./views/itsmsys/itsm-sys-user-out/index.vue": () => import("./index-WHNNztBg.mjs"), "./views/itsmsys/itsm-sys-user-out/info.vue": () => import("./info-DttXGxP3.mjs") }), Ba = {
|
|
3207
3216
|
install(e) {
|
|
3208
3217
|
Ys(za, 7), Os(Us), Va(bs), e.use(Ea);
|
|
3209
3218
|
}
|
|
@@ -181,7 +181,7 @@ const O = { class: "app-container" }, R = { class: "container" }, q = { class: "
|
|
|
181
181
|
]);
|
|
182
182
|
};
|
|
183
183
|
}
|
|
184
|
-
}), pe = /* @__PURE__ */ H(se, [["__scopeId", "data-v-
|
|
184
|
+
}), pe = /* @__PURE__ */ H(se, [["__scopeId", "data-v-d5bbc535"]]);
|
|
185
185
|
export {
|
|
186
186
|
pe as default
|
|
187
187
|
};
|
|
@@ -188,7 +188,7 @@ const Y = { class: "app-container" }, z = { class: "container" }, A = { class: "
|
|
|
188
188
|
]);
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
-
}), ue = /* @__PURE__ */ w(ee, [["__scopeId", "data-v-
|
|
191
|
+
}), ue = /* @__PURE__ */ w(ee, [["__scopeId", "data-v-c413cba2"]]);
|
|
192
192
|
export {
|
|
193
193
|
ue as default
|
|
194
194
|
};
|
|
@@ -188,7 +188,7 @@ const Y = { class: "app-container" }, z = { class: "container" }, A = { class: "
|
|
|
188
188
|
]);
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
-
}), ue = /* @__PURE__ */ w(ee, [["__scopeId", "data-v-
|
|
191
|
+
}), ue = /* @__PURE__ */ w(ee, [["__scopeId", "data-v-cecd8e01"]]);
|
|
192
192
|
export {
|
|
193
193
|
ue as default
|
|
194
194
|
};
|