xyvcard-itsmsys 0.0.7 → 0.0.9

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/{edit-BbJa_Nfr.mjs → edit-BNe0hNw4.mjs} +9 -8
  2. package/dist/{edit-B2gR_6I8.mjs → edit-BqPZHwxi.mjs} +1 -1
  3. package/dist/{edit-Fi1_QjAr.mjs → edit-CwV1OVfe.mjs} +1 -1
  4. package/dist/{edit-GlkC3kLR.mjs → edit-CyM6IuLb.mjs} +29 -28
  5. package/dist/{edit-C42Omp9z.mjs → edit-DG_Iw1-J.mjs} +1 -1
  6. package/dist/{edit-Dfay8i1B.mjs → edit-DdUUCXSa.mjs} +1 -1
  7. package/dist/{edit-Dm9CXMA6.mjs → edit-RSO388mB.mjs} +3 -3
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-Cj-FgUgJ.mjs → edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs} +39 -39
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-CoB3CDY2.mjs → edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs} +12 -12
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-r4tQk9wV.mjs → edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs} +1 -1
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-C26lz_HM.mjs → edit.vue_vue_type_script_setup_true_lang-DsN204D0.mjs} +5 -5
  12. package/dist/{index-DTjJvEfz.mjs → index-CI8Z4rNf.mjs} +4 -4
  13. package/dist/{index-BHLCtDlx.mjs → index-CMBtB1kH.mjs} +3 -3
  14. package/dist/{index-Ce07ACPH.mjs → index-CNGaGeE7.mjs} +3 -3
  15. package/dist/index-CQ5Bo5a2.mjs +135 -0
  16. package/dist/{index-BV8SsW14.mjs → index-DirPUdCN.mjs} +1 -1
  17. package/dist/{index-N57BEkTO.mjs → index-DxILUznW.mjs} +6 -6
  18. package/dist/{index-Up4lAJrU.mjs → index-NugT80P7.mjs} +2 -2
  19. package/dist/{index-CSMVzE7h.mjs → index-w2SWNZRB.mjs} +3 -3
  20. package/dist/index.mjs +1048 -1089
  21. package/dist/{index.vue_vue_type_script_setup_true_lang-C5j_HTke.mjs → index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs} +2 -2
  22. package/dist/{info-D7YAHptq.mjs → info-BFZTqoY3.mjs} +1 -1
  23. package/dist/{info-BVrtvDle.mjs → info-C0OHjgoS.mjs} +1 -1
  24. package/dist/{info-D-ykgDrJ.mjs → info-CXx2899k.mjs} +1 -1
  25. package/dist/{info-DO3PSaAZ.mjs → info-DReeRuaA.mjs} +1 -1
  26. package/dist/{info-Bc3bycK1.mjs → info-Dilg-bji.mjs} +1 -1
  27. package/dist/{info-Bz6yHt3N.mjs → info-DvYUiSRY.mjs} +1 -1
  28. package/package.json +2 -2
  29. package/dist/index-B6FMyHxQ.mjs +0 -99
  30. package/dts/src/App.vue.d.ts +0 -2
  31. package/dts/src/api/dict.d.ts +0 -15
  32. package/dts/src/api/index.d.ts +0 -13
  33. package/dts/src/api/itsm-sys-org/index.d.ts +0 -17
  34. package/dts/src/api/itsm-sys-org/types.d.ts +0 -85
  35. package/dts/src/api/itsm-sys-org-invoice/index.d.ts +0 -14
  36. package/dts/src/api/itsm-sys-org-invoice/types.d.ts +0 -53
  37. package/dts/src/api/itsm-sys-user-ext/index.d.ts +0 -14
  38. package/dts/src/api/itsm-sys-user-ext/types.d.ts +0 -91
  39. package/dts/src/components/TMaps/index.vue.d.ts +0 -20
  40. package/dts/src/constant.d.ts +0 -33
  41. package/dts/src/index.d.ts +0 -12
  42. package/dts/src/lang/index.d.ts +0 -1
  43. package/dts/src/lang/itsmsys/en.d.ts +0 -73
  44. package/dts/src/lang/itsmsys/zh-cn.d.ts +0 -139
  45. package/dts/src/main.d.ts +0 -4
  46. package/dts/src/permission.d.ts +0 -1
  47. package/dts/src/router/index.d.ts +0 -12
  48. package/dts/src/utils/TMap.d.ts +0 -1
  49. package/dts/src/utils/common.d.ts +0 -1
  50. package/dts/src/utils/momentPlugin.d.ts +0 -5
  51. package/dts/src/views/itsmsys/itsm-sys-gov/edit.vue.d.ts +0 -2
  52. package/dts/src/views/itsmsys/itsm-sys-gov/index.vue.d.ts +0 -2
  53. package/dts/src/views/itsmsys/itsm-sys-gov/info.vue.d.ts +0 -2
  54. package/dts/src/views/itsmsys/itsm-sys-org/edit.vue.d.ts +0 -2
  55. package/dts/src/views/itsmsys/itsm-sys-org/index.vue.d.ts +0 -2
  56. package/dts/src/views/itsmsys/itsm-sys-org/info.vue.d.ts +0 -2
  57. package/dts/src/views/itsmsys/itsm-sys-org-invoice/edit.vue.d.ts +0 -22
  58. package/dts/src/views/itsmsys/itsm-sys-org-invoice/index.vue.d.ts +0 -2
  59. package/dts/src/views/itsmsys/itsm-sys-out/edit.vue.d.ts +0 -2
  60. package/dts/src/views/itsmsys/itsm-sys-out/index.vue.d.ts +0 -2
  61. package/dts/src/views/itsmsys/itsm-sys-out/info.vue.d.ts +0 -2
  62. package/dts/src/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +0 -22
  63. package/dts/src/views/itsmsys/itsm-sys-user-man/index.vue.d.ts +0 -2
  64. package/dts/src/views/itsmsys/itsm-sys-user-man/info.vue.d.ts +0 -2
  65. package/dts/src/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +0 -22
  66. package/dts/src/views/itsmsys/itsm-sys-user-ops/index.vue.d.ts +0 -2
  67. package/dts/src/views/itsmsys/itsm-sys-user-ops/info.vue.d.ts +0 -2
  68. package/dts/src/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +0 -22
  69. package/dts/src/views/itsmsys/itsm-sys-user-out/index.vue.d.ts +0 -2
  70. package/dts/src/views/itsmsys/itsm-sys-user-out/info.vue.d.ts +0 -2
@@ -3,8 +3,8 @@ import { useTableHooks as F } from "jmash-core";
3
3
  import { useI18n as G } from "vue-i18n";
4
4
  import { useRoute as J } from "vue-router";
5
5
  import { s as M } from "./index-B6vJj_z6.mjs";
6
- import { _ as Q } from "./edit.vue_vue_type_script_setup_true_lang-r4tQk9wV.mjs";
7
- import { D as W } from "./index-B6FMyHxQ.mjs";
6
+ import { _ as Q } from "./edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs";
7
+ import { D as W } from "./index-CQ5Bo5a2.mjs";
8
8
  const X = { class: "app-container" }, Y = ["onClick"], Z = ["onClick"], re = /* @__PURE__ */ A({
9
9
  __name: "index",
10
10
  setup(ee) {
@@ -3,7 +3,7 @@ import { useRouter as j, useRoute as q } from "vue-router";
3
3
  import { routerUtil as A } from "jmash-core";
4
4
  import { sysOrgApi as R } from "./index.mjs";
5
5
  import { s as S } from "./index-B6vJj_z6.mjs";
6
- import { D as g } from "./index-B6FMyHxQ.mjs";
6
+ import { D as g } from "./index-CQ5Bo5a2.mjs";
7
7
  const U = { class: "app-container" }, L = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, ee = /* @__PURE__ */ C({
8
8
  __name: "info",
9
9
  setup(K) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as D, getCurrentInstance as N, ref as c, onBeforeMount as U, resolveComponent as u, openBlock as j, createElementBlock as B, createVNode as s, withCtx as e, createTextVNode as r, toDisplayString as o, createElementVNode as l, unref as d } from "vue";
2
2
  import { useRouter as V, useRoute as C } from "vue-router";
3
- import { D as p } from "./index-B6FMyHxQ.mjs";
3
+ import { D as p } from "./index-CQ5Bo5a2.mjs";
4
4
  import { routerUtil as T } from "jmash-core";
5
5
  import { deptApi as k, jobApi as w } from "jmash-rbac";
6
6
  import { sysUserExtApi as S } from "./index.mjs";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as $, getCurrentInstance as D, ref as f, onBeforeMount as U, resolveComponent as d, openBlock as O, createElementBlock as T, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as l, createElementVNode as t, unref as u } from "vue";
2
2
  import { useRouter as V, useRoute as B } from "vue-router";
3
- import { D as m } from "./index-B6FMyHxQ.mjs";
3
+ import { D as m } from "./index-CQ5Bo5a2.mjs";
4
4
  import { routerUtil as C } from "jmash-core";
5
5
  import { sysUserExtApi as M } from "./index.mjs";
6
6
  import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -3,7 +3,7 @@ import { useRouter as M, useRoute as j } from "vue-router";
3
3
  import { routerUtil as q } from "jmash-core";
4
4
  import { sysOrgApi as A } from "./index.mjs";
5
5
  import { s as R } from "./index-B6vJj_z6.mjs";
6
- import { D as g } from "./index-B6FMyHxQ.mjs";
6
+ import { D as g } from "./index-CQ5Bo5a2.mjs";
7
7
  const S = { class: "app-container" }, U = { class: "cell-item" }, L = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, ee = /* @__PURE__ */ C({
8
8
  __name: "info",
9
9
  setup(K) {
@@ -3,7 +3,7 @@ import { useRouter as j, useRoute as q } from "vue-router";
3
3
  import { routerUtil as A } from "jmash-core";
4
4
  import { sysOrgApi as R } from "./index.mjs";
5
5
  import { s as S } from "./index-B6vJj_z6.mjs";
6
- import { D as g } from "./index-B6FMyHxQ.mjs";
6
+ import { D as g } from "./index-CQ5Bo5a2.mjs";
7
7
  const U = { class: "app-container" }, L = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, ee = /* @__PURE__ */ C({
8
8
  __name: "info",
9
9
  setup(K) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as $, getCurrentInstance as D, ref as f, onBeforeMount as U, resolveComponent as d, openBlock as O, createElementBlock as T, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as t, createElementVNode as o, unref as u } from "vue";
2
2
  import { useRouter as V, useRoute as B } from "vue-router";
3
- import { D as m } from "./index-B6FMyHxQ.mjs";
3
+ import { D as m } from "./index-CQ5Bo5a2.mjs";
4
4
  import { routerUtil as C } from "jmash-core";
5
5
  import { sysUserExtApi as M } from "./index.mjs";
6
6
  import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "xyvcard-itsmsys",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
- "types": "dts/src/index.d.ts",
6
+ "types": "dts/index.d.ts",
7
7
  "files": [
8
8
  "dist",
9
9
  "dts/src"
@@ -1,99 +0,0 @@
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
- };
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,15 +0,0 @@
1
- import { BizLayDict, type Entry, type LayEntry, BizDict } from "jmash-core";
2
- import type { SysOrgModel } from "./itsm-sys-org/types";
3
- export declare class CustomBizDict {
4
- values: import("vue").Reactive<Entry[]>;
5
- query: any;
6
- constructor(results: any, query: any);
7
- getValue(key: string): string;
8
- }
9
- export declare class ParentIdBizDict extends BizLayDict {
10
- useValues(): Promise<LayEntry[]>;
11
- convertToLayEntryArray(dictLayEntries: SysOrgModel[]): LayEntry[];
12
- }
13
- export declare class SysOrgBizDict extends BizDict {
14
- useValues(): Promise<Entry[]>;
15
- }
@@ -1,13 +0,0 @@
1
- import { EnumDict } from "jmash-core";
2
- import { CustomBizDict, ParentIdBizDict, SysOrgBizDict } from "./dict";
3
- export declare class Dict {
4
- static readonly hasStatusDict: CustomBizDict;
5
- static readonly invoiceTypeDictEnum: EnumDict;
6
- static readonly parentIdBizDict: ParentIdBizDict;
7
- static readonly jobStatusDictEnum: EnumDict;
8
- static readonly engineeJobModeDictEnum: EnumDict;
9
- static readonly genderDict: EnumDict;
10
- static readonly engineeTypeDictEnum: EnumDict;
11
- static readonly sysOrgBizDict: SysOrgBizDict;
12
- static readonly sysOutBizDict: SysOrgBizDict;
13
- }
@@ -1,17 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { SysOrgApi, SysOrgReq, SysOrgModel, SysOrgPage, SysOrgList, SysOrgKey, SysOrgCreateReq, SysOrgUpdateReq } from "./types";
3
- declare class SysOrgApiImpl implements SysOrgApi {
4
- getKey(model: SysOrgModel): SysOrgKey;
5
- findPage(query?: SysOrgReq): AxiosPromise<SysOrgPage>;
6
- findList(query?: SysOrgReq): AxiosPromise<SysOrgList>;
7
- findOutSourceList(query?: SysOrgReq): AxiosPromise<SysOrgList>;
8
- findById(query: SysOrgKey): AxiosPromise<SysOrgModel>;
9
- create(data: SysOrgCreateReq): AxiosPromise<SysOrgModel>;
10
- update(data: SysOrgUpdateReq): AxiosPromise<SysOrgModel>;
11
- enable(key: SysOrgKey, enable: boolean): AxiosPromise<boolean>;
12
- delete(query: SysOrgKey): AxiosPromise<SysOrgModel>;
13
- batchDelete(keys: SysOrgKey[]): AxiosPromise<number>;
14
- move(key: SysOrgKey, up: boolean): AxiosPromise<boolean>;
15
- }
16
- declare const sysOrgApi: SysOrgApiImpl;
17
- export { sysOrgApi };
@@ -1,85 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
2
- export interface SysOrgApi extends EntityApi {
3
- }
4
- export interface SysOrgReq extends EntityReq {
5
- likeOrgName?: string;
6
- status?: boolean;
7
- hasStatus?: boolean;
8
- orgType?: string;
9
- hasOrgType?: boolean;
10
- }
11
- export interface SysOrgModel extends EntityModel {
12
- orgId?: string;
13
- orgName?: string;
14
- orgType?: string;
15
- address?: string;
16
- geoLongitude?: string;
17
- geoLatitude?: string;
18
- contactPerson?: string;
19
- contactPersonPosi?: string;
20
- contactPersonMobile?: string;
21
- contactPersonMobileIns?: string;
22
- mobileEncrypt?: boolean;
23
- contactPersonTel?: string;
24
- status?: string;
25
- parentId?: string;
26
- children?: SysOrgModel[];
27
- }
28
- export interface SysOrgList extends EntityList {
29
- results: Array<SysOrgModel>;
30
- }
31
- export interface SysOrgPage extends EntityPage {
32
- results: Array<SysOrgModel>;
33
- subTotalDto: SysOrgModelTotal;
34
- totalDto: SysOrgModelTotal;
35
- }
36
- export interface SysOrgModelTotal extends EntityTotal {
37
- totalSize: number;
38
- }
39
- export interface SysOrgKey extends EntityKey {
40
- tenant?: string;
41
- orgId?: string;
42
- }
43
- export interface SysOrgKeyList extends EntityKeyList {
44
- tenant?: string;
45
- orgId?: Array<string>;
46
- }
47
- export interface SysOrgCreateReq extends EntityCreateReq {
48
- orgId?: string;
49
- orgName?: string;
50
- orgType?: string;
51
- address?: string;
52
- geoLongitude?: string;
53
- geoLatitude?: string;
54
- contactPerson?: string;
55
- contactPersonPosi?: string;
56
- contactPersonMobile?: string;
57
- contactPersonTel?: string;
58
- status?: boolean;
59
- parentId?: string;
60
- }
61
- export interface SysOrgUpdateReq extends EntityUpdateReq {
62
- orgId?: string;
63
- orgName?: string;
64
- orgType?: string;
65
- address?: string;
66
- geoLongitude?: string;
67
- geoLatitude?: string;
68
- contactPerson?: string;
69
- contactPersonPosi?: string;
70
- contactPersonMobile?: string;
71
- contactPersonTel?: string;
72
- status?: boolean;
73
- parentId?: string;
74
- }
75
- export type SysOrgFormReq = SysOrgCreateReq | SysOrgUpdateReq;
76
- export interface SysOrgEnableKey {
77
- tenant?: string;
78
- orgId?: string;
79
- enable?: boolean;
80
- }
81
- export interface SysOrgMoveKey {
82
- tenant?: string;
83
- orgId?: string;
84
- up?: boolean;
85
- }
@@ -1,14 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { SysOrgInvoiceApi, SysOrgInvoiceReq, SysOrgInvoiceModel, SysOrgInvoicePage, SysOrgInvoiceList, SysOrgInvoiceKey, SysOrgInvoiceCreateReq, SysOrgInvoiceUpdateReq } from "./types";
3
- declare class SysOrgInvoiceApiImpl implements SysOrgInvoiceApi {
4
- getKey(model: SysOrgInvoiceModel): SysOrgInvoiceKey;
5
- findPage(query?: SysOrgInvoiceReq): AxiosPromise<SysOrgInvoicePage>;
6
- findList(query?: SysOrgInvoiceReq): AxiosPromise<SysOrgInvoiceList>;
7
- findById(query: SysOrgInvoiceKey): AxiosPromise<SysOrgInvoiceModel>;
8
- create(data: SysOrgInvoiceCreateReq): AxiosPromise<SysOrgInvoiceModel>;
9
- update(data: SysOrgInvoiceUpdateReq): AxiosPromise<SysOrgInvoiceModel>;
10
- delete(query: SysOrgInvoiceKey): AxiosPromise<SysOrgInvoiceModel>;
11
- batchDelete(keys: SysOrgInvoiceKey[]): AxiosPromise<number>;
12
- }
13
- declare const sysOrgInvoiceApi: SysOrgInvoiceApiImpl;
14
- export { sysOrgInvoiceApi };
@@ -1,53 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityCreateReq, EntityUpdateReq, EntityKeyList } from "jmash-core";
2
- export interface SysOrgInvoiceApi extends EntityApi {
3
- }
4
- export interface SysOrgInvoiceReq extends EntityReq {
5
- orgId?: string;
6
- }
7
- export interface SysOrgInvoiceModel extends EntityModel {
8
- invoiceId?: string;
9
- orgId?: string;
10
- invoiceType?: string;
11
- invoiceTitle?: string;
12
- taxNumber?: string;
13
- bankName?: string;
14
- backNumber?: string;
15
- }
16
- export interface SysOrgInvoiceList extends EntityList {
17
- results: Array<SysOrgInvoiceModel>;
18
- }
19
- export interface SysOrgInvoicePage extends EntityPage {
20
- results: Array<SysOrgInvoiceModel>;
21
- subTotalDto: SysOrgInvoiceModelTotal;
22
- totalDto: SysOrgInvoiceModelTotal;
23
- }
24
- export interface SysOrgInvoiceModelTotal extends EntityTotal {
25
- totalSize: number;
26
- }
27
- export interface SysOrgInvoiceKey extends EntityKey {
28
- tenant?: string;
29
- invoiceId?: string;
30
- }
31
- export interface SysOrgInvoiceKeyList extends EntityKeyList {
32
- tenant?: string;
33
- invoiceId?: Array<string>;
34
- }
35
- export interface SysOrgInvoiceCreateReq extends EntityCreateReq {
36
- invoiceId?: string;
37
- orgId?: string;
38
- invoiceType?: string;
39
- invoiceTitle?: string;
40
- taxNumber?: string;
41
- bankName?: string;
42
- backNumber?: string;
43
- }
44
- export interface SysOrgInvoiceUpdateReq extends EntityUpdateReq {
45
- invoiceId?: string;
46
- orgId?: string;
47
- invoiceType?: string;
48
- invoiceTitle?: string;
49
- taxNumber?: string;
50
- bankName?: string;
51
- backNumber?: string;
52
- }
53
- export type SysOrgInvoiceFormReq = SysOrgInvoiceCreateReq | SysOrgInvoiceUpdateReq;
@@ -1,14 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { SysUserExtApi, SysUserExtReq, SysUserExtModel, SysUserExtPage, SysUserExtList, SysUserExtKey, SysUserExtCreateReq, SysUserExtUpdateReq } from "./types";
3
- declare class SysUserExtApiImpl implements SysUserExtApi {
4
- getKey(model: SysUserExtModel): SysUserExtKey;
5
- findPage(query?: SysUserExtReq): AxiosPromise<SysUserExtPage>;
6
- findList(query?: SysUserExtReq): AxiosPromise<SysUserExtList>;
7
- findById(query: SysUserExtKey): AxiosPromise<SysUserExtModel>;
8
- create(data: SysUserExtCreateReq): AxiosPromise<SysUserExtModel>;
9
- update(data: SysUserExtUpdateReq): AxiosPromise<SysUserExtModel>;
10
- delete(query: SysUserExtKey): AxiosPromise<SysUserExtModel>;
11
- batchDelete(keys: SysUserExtKey[]): AxiosPromise<number>;
12
- }
13
- declare const sysUserExtApi: SysUserExtApiImpl;
14
- export { sysUserExtApi };
@@ -1,91 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
2
- export interface SysUserExtApi extends EntityApi {
3
- }
4
- export interface SysUserExtReq extends EntityReq {
5
- userType?: string;
6
- hasUserType?: boolean;
7
- jobStatus?: string;
8
- hasJobStatus?: boolean;
9
- engineeJobMode?: string;
10
- hasEngineeJobMode?: boolean;
11
- likeUserName?: string;
12
- orgId?: string;
13
- }
14
- export interface SysUserExtModel extends EntityModel {
15
- userId?: string;
16
- realName?: string;
17
- gender?: string;
18
- mobilePhone?: string;
19
- mobilePhoneIns?: string;
20
- email?: string;
21
- emailIns?: string;
22
- deptId?: string;
23
- jobId?: string;
24
- userType?: string;
25
- jobStatus?: string;
26
- engineeType?: string;
27
- engineeSpecialty?: string;
28
- engineeJobMode?: string;
29
- idNo?: string;
30
- idNoIns?: string;
31
- orgId?: string;
32
- userPassword?: string;
33
- avatar?: string;
34
- userCreateTime?: string;
35
- }
36
- export interface SysUserExtList extends EntityList {
37
- results: Array<SysUserExtModel>;
38
- }
39
- export interface SysUserExtPage extends EntityPage {
40
- results: Array<SysUserExtModel>;
41
- subTotalDto: SysUserExtModelTotal;
42
- totalDto: SysUserExtModelTotal;
43
- }
44
- export interface SysUserExtModelTotal extends EntityTotal {
45
- totalSize: number;
46
- }
47
- export interface SysUserExtKey extends EntityKey {
48
- tenant?: string;
49
- userId?: string;
50
- }
51
- export interface SysUserExtKeyList extends EntityKeyList {
52
- tenant?: string;
53
- userId?: Array<string>;
54
- }
55
- export interface SysUserExtCreateReq extends EntityCreateReq {
56
- userId?: string;
57
- realName?: string;
58
- gender?: string;
59
- mobilePhone?: string;
60
- email?: string;
61
- emailIns?: string;
62
- deptId?: string;
63
- jobId?: string;
64
- userType?: string;
65
- jobStatus?: string;
66
- engineeType?: string;
67
- engineeSpecialty?: string;
68
- idNo?: string;
69
- engineeJobMode?: string;
70
- orgId?: string;
71
- userPassword?: string;
72
- }
73
- export interface SysUserExtUpdateReq extends EntityUpdateReq {
74
- userId?: string;
75
- realName?: string;
76
- gender?: string;
77
- mobilePhone?: string;
78
- email?: string;
79
- emailIns?: string;
80
- deptId?: string;
81
- jobId?: string;
82
- userType?: string;
83
- jobStatus?: string;
84
- engineeType?: string;
85
- engineeSpecialty?: string;
86
- idNo?: string;
87
- engineeJobMode?: string;
88
- orgId?: string;
89
- userPassword?: string;
90
- }
91
- export type SysUserExtFormReq = SysUserExtCreateReq | SysUserExtUpdateReq;
@@ -1,20 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
- address: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- getAddress: (...args: any[]) => void;
8
- getLatLng: (...args: any[]) => void;
9
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
- address: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- }>> & Readonly<{
15
- onGetAddress?: ((...args: any[]) => any) | undefined;
16
- onGetLatLng?: ((...args: any[]) => any) | undefined;
17
- }>, {
18
- address: string;
19
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
- export default _default;
@@ -1,33 +0,0 @@
1
- export declare class Constant {
2
- static readonly MODULE_RBAC = "rbac";
3
- static readonly MODULE_ITSMSYS = "itsmsys";
4
- static readonly HAS_STATUS: globalThis.Ref<{
5
- key: boolean;
6
- value: string;
7
- }[], {
8
- key: boolean;
9
- value: string;
10
- }[] | {
11
- key: boolean;
12
- value: string;
13
- }[]>;
14
- static readonly ENUM_INVOICE_TYPE = "xyvcard.itsmsys.protobuf.InvoiceType";
15
- static readonly ENUM_JOB_ATATUS = "xyvcard.itsmsys.protobuf.SysUserJobStatus";
16
- static readonly ENUM_ENGINEE_JOB_MODE = "xyvcard.itsmsys.protobuf.SysUserJobMode";
17
- static readonly ENUM_GENDER = "jmash.protobuf.Gender";
18
- static readonly ENUM_ENGINEE_TYPE = "xyvcard.itsmsys.protobuf.SysEngineeType";
19
- static readonly orgType: {
20
- cloud: string;
21
- hall: string;
22
- outsource: string;
23
- };
24
- static readonly jobStatus: {
25
- working: string;
26
- leave: string;
27
- };
28
- static readonly userType: {
29
- companyManager: string;
30
- companyOps: string;
31
- outsourceOps: string;
32
- };
33
- }
@@ -1,12 +0,0 @@
1
- import type { App } from "vue";
2
- import "./styles/index.scss";
3
- import "element-plus/dist/index.css";
4
- export { sysOrgApi } from "@/api/itsm-sys-org/index";
5
- export type { SysOrgReq, SysOrgModel } from "@/api/itsm-sys-org/types";
6
- export { sysUserExtApi } from "@/api/itsm-sys-user-ext/index";
7
- export type { SysUserExtReq, SysUserExtModel, } from "@/api/itsm-sys-user-ext/types";
8
- export { Constant } from "@/constant";
9
- declare const itsmsys: {
10
- install(app: App): void;
11
- };
12
- export default itsmsys;
@@ -1 +0,0 @@
1
- export declare function loadLang(i18n: any): void;
@@ -1,73 +0,0 @@
1
- declare const _default: {
2
- sysFiles: {
3
- name: string;
4
- filesId: string;
5
- fileId: string;
6
- fileName: string;
7
- fileType: string;
8
- filePath: string;
9
- fileSize: string;
10
- fileExt: string;
11
- fileWidth: string;
12
- fileHeight: string;
13
- intro: string;
14
- fileLocation: string;
15
- geoLongitude: string;
16
- geoLatitude: string;
17
- geoAccuracy: string;
18
- geoAltitude: string;
19
- geoAltitudeAccracy: string;
20
- actionId: string;
21
- orderBy: string;
22
- };
23
- sysOrg: {
24
- name: string;
25
- orgId: string;
26
- orgName: string;
27
- shortName: string;
28
- orgType: string;
29
- creditCode: string;
30
- creditCodeImg: string;
31
- address: string;
32
- geoLongitude: string;
33
- geoLatitude: string;
34
- legalPerson: string;
35
- legalPersonMobile: string;
36
- legalPersonMobileIns: string;
37
- contactPerson: string;
38
- contactPersonPosi: string;
39
- contactPersonMobile: string;
40
- contactPersonMobileIns: string;
41
- contactPersonTel: string;
42
- contactPersonNote: string;
43
- status: string;
44
- parentId: string;
45
- depth: string;
46
- orderBy: string;
47
- };
48
- sysOrgInvoice: {
49
- name: string;
50
- invoiceId: string;
51
- orgId: string;
52
- invoiceType: string;
53
- invoiceTitle: string;
54
- taxNumber: string;
55
- bankName: string;
56
- backNumber: string;
57
- address: string;
58
- mobile: string;
59
- mobileIns: string;
60
- };
61
- sysUserExt: {
62
- name: string;
63
- userId: string;
64
- orgId: string;
65
- userType: string;
66
- idNo: string;
67
- idNoIns: string;
68
- jobStatus: string;
69
- engineeType: string;
70
- engineeSpecialty: string;
71
- };
72
- };
73
- export default _default;