xyvcard-itsm-flow 0.0.1 → 0.0.3
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-CWxy8_xc.mjs → edit-DyWBWyHi.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Dxn9JNKd.mjs → edit.vue_vue_type_script_setup_true_lang-CUxhR_sw.mjs} +1 -1
- package/dist/{index-BSCtYzv-.mjs → index-Cw4OSiko.mjs} +1 -1
- package/dist/{index-C_jhIPZS.mjs → index-DOllcHrQ.mjs} +2 -2
- package/dist/index-wmDI5TRw.mjs +1922 -0
- package/dist/index.mjs +1 -1
- package/dts/api/itsm-flow/types.d.ts +11 -0
- package/dts/api/itsm-flow-acceptance/index.d.ts +20 -0
- package/dts/api/itsm-flow-reckoning/index.d.ts +20 -0
- package/dts/views/itsm-flow/projectAcceptance/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow/serviceOrder/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow/settlement/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-acceptance/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-reckoning/index.vue.d.ts +2 -0
- package/package.json +64 -64
- package/dist/index-DKtAcP6b.mjs +0 -1582
package/dist/index.mjs
CHANGED
|
@@ -2676,7 +2676,7 @@ const xi = {
|
|
|
2676
2676
|
}
|
|
2677
2677
|
};
|
|
2678
2678
|
}
|
|
2679
|
-
}, Ri = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-entrust/edit.vue": () => import("./edit-
|
|
2679
|
+
}, Ri = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-entrust/edit.vue": () => import("./edit-DyWBWyHi.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-DOllcHrQ.mjs") }), Ni = () => import("./index-Cw4OSiko.mjs"), Fi = {
|
|
2680
2680
|
install(e) {
|
|
2681
2681
|
Ds(Ri, 7), Ts(vs), ps("TaskItsmFlowEntrust", Ni), e.use(xi);
|
|
2682
2682
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { EntityCreateReq, FilesReq } from "jmash-core";
|
|
2
|
+
export interface ServiceOrderFormReq extends EntityCreateReq {
|
|
3
|
+
contractId?: string;
|
|
4
|
+
workContent?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface projectAcceptanceFormReq extends EntityCreateReq {
|
|
7
|
+
orderId?: string;
|
|
8
|
+
acceptancePhase?: string;
|
|
9
|
+
files?: Array<FilesReq>;
|
|
10
|
+
groupMember?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { ItsmFlowAcceptanceApi, ItsmFlowAcceptanceReq, ItsmFlowAcceptanceModel, ItsmFlowAcceptancePage, ItsmFlowAcceptanceList, ItsmFlowAcceptanceKey, ItsmFlowAcceptanceCreateReq, ItsmFlowAcceptanceUpdateReq, ItsmFlowAcceptanceExportReq, ItsmFlowAcceptanceImportReq } from "./types";
|
|
3
|
+
declare class ItsmFlowAcceptanceApiImpl implements ItsmFlowAcceptanceApi {
|
|
4
|
+
getKey(model: ItsmFlowAcceptanceModel): ItsmFlowAcceptanceKey;
|
|
5
|
+
findPage(query?: ItsmFlowAcceptanceReq): AxiosPromise<ItsmFlowAcceptancePage>;
|
|
6
|
+
findList(query?: ItsmFlowAcceptanceReq): AxiosPromise<ItsmFlowAcceptanceList>;
|
|
7
|
+
findById(query: ItsmFlowAcceptanceKey): AxiosPromise<ItsmFlowAcceptanceModel>;
|
|
8
|
+
create(data: ItsmFlowAcceptanceCreateReq): AxiosPromise<ItsmFlowAcceptanceModel>;
|
|
9
|
+
update(data: ItsmFlowAcceptanceUpdateReq): AxiosPromise<ItsmFlowAcceptanceModel>;
|
|
10
|
+
move(key: ItsmFlowAcceptanceKey, up: boolean): AxiosPromise<boolean>;
|
|
11
|
+
enable(key: ItsmFlowAcceptanceKey, enable: boolean): AxiosPromise<boolean>;
|
|
12
|
+
delete(query: ItsmFlowAcceptanceKey): AxiosPromise<ItsmFlowAcceptanceModel>;
|
|
13
|
+
batchDelete(keys: ItsmFlowAcceptanceKey[]): AxiosPromise<number>;
|
|
14
|
+
downloadTemplate(): AxiosPromise;
|
|
15
|
+
importExcel(data: ItsmFlowAcceptanceImportReq): AxiosPromise<string>;
|
|
16
|
+
exportExcel(queryParams: ItsmFlowAcceptanceExportReq): AxiosPromise;
|
|
17
|
+
exportPdf(queryParams: ItsmFlowAcceptanceExportReq): AxiosPromise;
|
|
18
|
+
}
|
|
19
|
+
declare const itsmFlowAcceptanceApi: ItsmFlowAcceptanceApiImpl;
|
|
20
|
+
export { itsmFlowAcceptanceApi };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { ItsmFlowReckoningApi, ItsmFlowReckoningReq, ItsmFlowReckoningModel, ItsmFlowReckoningPage, ItsmFlowReckoningList, ItsmFlowReckoningKey, ItsmFlowReckoningCreateReq, ItsmFlowReckoningUpdateReq, ItsmFlowReckoningExportReq, ItsmFlowReckoningImportReq } from "./types";
|
|
3
|
+
declare class ItsmFlowReckoningApiImpl implements ItsmFlowReckoningApi {
|
|
4
|
+
getKey(model: ItsmFlowReckoningModel): ItsmFlowReckoningKey;
|
|
5
|
+
findPage(query?: ItsmFlowReckoningReq): AxiosPromise<ItsmFlowReckoningPage>;
|
|
6
|
+
findList(query?: ItsmFlowReckoningReq): AxiosPromise<ItsmFlowReckoningList>;
|
|
7
|
+
findById(query: ItsmFlowReckoningKey): AxiosPromise<ItsmFlowReckoningModel>;
|
|
8
|
+
create(data: ItsmFlowReckoningCreateReq): AxiosPromise<ItsmFlowReckoningModel>;
|
|
9
|
+
update(data: ItsmFlowReckoningUpdateReq): AxiosPromise<ItsmFlowReckoningModel>;
|
|
10
|
+
move(key: ItsmFlowReckoningKey, up: boolean): AxiosPromise<boolean>;
|
|
11
|
+
enable(key: ItsmFlowReckoningKey, enable: boolean): AxiosPromise<boolean>;
|
|
12
|
+
delete(query: ItsmFlowReckoningKey): AxiosPromise<ItsmFlowReckoningModel>;
|
|
13
|
+
batchDelete(keys: ItsmFlowReckoningKey[]): AxiosPromise<number>;
|
|
14
|
+
downloadTemplate(): AxiosPromise;
|
|
15
|
+
importExcel(data: ItsmFlowReckoningImportReq): AxiosPromise<string>;
|
|
16
|
+
exportExcel(queryParams: ItsmFlowReckoningExportReq): AxiosPromise;
|
|
17
|
+
exportPdf(queryParams: ItsmFlowReckoningExportReq): AxiosPromise;
|
|
18
|
+
}
|
|
19
|
+
declare const itsmFlowReckoningApi: ItsmFlowReckoningApiImpl;
|
|
20
|
+
export { itsmFlowReckoningApi };
|
|
@@ -0,0 +1,2 @@
|
|
|
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;
|
|
@@ -0,0 +1,2 @@
|
|
|
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;
|
|
@@ -0,0 +1,2 @@
|
|
|
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;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { ItsmFlowAcceptanceKey } from "@/api/itsm-flow-acceptance/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
entityKey: {
|
|
5
|
+
type: PropType<ItsmFlowAcceptanceKey>;
|
|
6
|
+
default: () => void;
|
|
7
|
+
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
refresh: (...args: any[]) => void;
|
|
13
|
+
"update:modelValue": (value: boolean) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
entityKey: {
|
|
16
|
+
type: PropType<ItsmFlowAcceptanceKey>;
|
|
17
|
+
default: () => void;
|
|
18
|
+
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{
|
|
23
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
entityKey: ItsmFlowAcceptanceKey;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { ItsmFlowReckoningKey } from "@/api/itsm-flow-reckoning/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
entityKey: {
|
|
5
|
+
type: PropType<ItsmFlowReckoningKey>;
|
|
6
|
+
default: () => void;
|
|
7
|
+
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
refresh: (...args: any[]) => void;
|
|
13
|
+
"update:modelValue": (value: boolean) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
entityKey: {
|
|
16
|
+
type: PropType<ItsmFlowReckoningKey>;
|
|
17
|
+
default: () => void;
|
|
18
|
+
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{
|
|
23
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
entityKey: ItsmFlowReckoningKey;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "xyvcard-itsm-flow",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"private": false,
|
|
5
|
-
"module": "dist/index.mjs",
|
|
6
|
-
"types": "dts/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist",
|
|
9
|
-
"dts"
|
|
10
|
-
],
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"vue": "^
|
|
31
|
-
"vue
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "xyvcard-itsm-flow",
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"private": false,
|
|
5
|
+
"module": "dist/index.mjs",
|
|
6
|
+
"types": "dts/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"dts"
|
|
10
|
+
],
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"axios": "^1.9.0",
|
|
13
|
+
"element-plus": "^2.9.10",
|
|
14
|
+
"pinia": "^2.3.1",
|
|
15
|
+
"vue": "^3.5.13",
|
|
16
|
+
"vue-i18n": "^9.14.4",
|
|
17
|
+
"vue-router": "^4.5.1",
|
|
18
|
+
"jmash-core": "^0.1.0",
|
|
19
|
+
"jmash-dict": "^0.1.0",
|
|
20
|
+
"jmash-rbac": "^0.1.1",
|
|
21
|
+
"jmash-flow": "^0.0.9",
|
|
22
|
+
"xyvcard-workflow": "^0.0.29",
|
|
23
|
+
"xyvcard-itsmsys": "^0.0.19",
|
|
24
|
+
"xyvcard-itsm": "^0.0.26"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@eslint/js": "^9.14.0",
|
|
28
|
+
"@tsconfig/node20": "^20.1.2",
|
|
29
|
+
"@types/node": "^20.11.10",
|
|
30
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
|
31
|
+
"@vue/tsconfig": "^0.5.1",
|
|
32
|
+
"eslint": "^9.14.0",
|
|
33
|
+
"eslint-plugin-vue": "^9.30.0",
|
|
34
|
+
"globals": "^15.12.0",
|
|
35
|
+
"npm-run-all2": "^6.1.1",
|
|
36
|
+
"prettier": "^3.0.3",
|
|
37
|
+
"sass": "^1.72.0",
|
|
38
|
+
"typescript": "~5.3.0",
|
|
39
|
+
"typescript-eslint": "^8.13.0",
|
|
40
|
+
"unplugin-auto-import": "^0.17.5",
|
|
41
|
+
"unplugin-vue-components": "^0.26.0",
|
|
42
|
+
"vite": "^5.0.11",
|
|
43
|
+
"vue-tsc": "^2.1.10"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
47
|
+
"@vueuse/core": "^10.9.0",
|
|
48
|
+
"file-saver": "^2.0.5",
|
|
49
|
+
"fs": "0.0.1-security",
|
|
50
|
+
"moment": "^2.30.1",
|
|
51
|
+
"nprogress": "^0.2.0",
|
|
52
|
+
"qs": "^6.14.0"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"dev": "vite --host",
|
|
56
|
+
"build": "vite build && pnpm build:dts",
|
|
57
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
58
|
+
"preview": "vite preview",
|
|
59
|
+
"build-only": "vite build",
|
|
60
|
+
"type-check": "vue-tsc --build --force",
|
|
61
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
62
|
+
"format": "prettier --write src/"
|
|
63
|
+
}
|
|
64
|
+
}
|