@egova/egova-api 1.0.268 → 1.1.1
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 +15 -1
- package/dist/index.common.js +26843 -56265
- package/dist/index.css +1 -1
- package/dist/index.umd.js +26847 -56269
- package/dist/index.umd.min.js +9 -16
- package/dist/static/img/empty_result.98fe48d0.svg +232 -0
- package/package.json +95 -84
- package/LICENSE +0 -201
- package/dist/types/src/common/index.d.ts +0 -2
- package/dist/types/src/common/object-factory.d.ts +0 -29
- package/dist/types/src/common/utils/index.d.ts +0 -1
- package/dist/types/src/common/utils/tree-data.d.ts +0 -5
- package/dist/types/src/components/code-editor/index.d.ts +0 -8
- package/dist/types/src/components/common-tree/index.d.ts +0 -56
- package/dist/types/src/components/groovy-editor/index.d.ts +0 -10
- package/dist/types/src/components/tips-form-label/index.d.ts +0 -6
- package/dist/types/src/decorator.d.ts +0 -17
- package/dist/types/src/decorators/autowired.d.ts +0 -1
- package/dist/types/src/decorators/receivable.d.ts +0 -9
- package/dist/types/src/decorators/service-handler.d.ts +0 -11
- package/dist/types/src/index.d.ts +0 -7
- package/dist/types/src/models/common/index.d.ts +0 -6
- package/dist/types/src/models/common/page-path.d.ts +0 -5
- package/dist/types/src/models/common/paging.d.ts +0 -5
- package/dist/types/src/models/common/query-model.d.ts +0 -8
- package/dist/types/src/models/common/sorts.d.ts +0 -5
- package/dist/types/src/models/common/user-info.d.ts +0 -13
- package/dist/types/src/models/index.d.ts +0 -1
- package/dist/types/src/services/base-service.d.ts +0 -37
- package/dist/types/src/services/common-service.d.ts +0 -8
- package/dist/types/src/services/index.d.ts +0 -3
- package/dist/types/src/settings/index.d.ts +0 -5
- package/dist/types/src/views/project-combine/api-project/api-project-detail/api/index.d.ts +0 -16
- package/dist/types/src/views/project-combine/api-project/api-project-detail/catalog/index.d.ts +0 -6
- package/dist/types/src/views/project-combine/api-project/api-project-detail/ddcat/index.d.ts +0 -6
- package/dist/types/src/views/project-combine/api-project/api-project-detail/index.d.ts +0 -10
- package/dist/types/src/views/project-combine/api-project/api-project-list/index.d.ts +0 -61
- package/dist/types/src/views/project-combine/api-project/index.d.ts +0 -73
- package/dist/types/src/views/project-combine/api-project/service.d.ts +0 -6
- package/dist/types/src/views/project-combine/combine-model/base-editor/index.d.ts +0 -9
- package/dist/types/src/views/project-combine/combine-model/index.d.ts +0 -64
- package/dist/types/src/views/project-combine/combine-model/request-parameter-list/index.d.ts +0 -26
- package/dist/types/src/views/project-combine/combine-model/response-parameter-list/index.d.ts +0 -4
- package/dist/types/src/views/project-combine/combine-model/test-run-modal/index.d.ts +0 -19
- package/dist/types/src/views/project-combine/data-model/data-model-doc/index.d.ts +0 -18
- package/dist/types/src/views/project-combine/data-model/data-model-list/index.d.ts +0 -53
- package/dist/types/src/views/project-combine/data-model/index.d.ts +0 -63
- package/dist/types/src/views/project-combine/data-model/service.d.ts +0 -6
- package/dist/types/src/views/project-combine/index.d.ts +0 -47
- package/dist/types/src/views/project-combine/service.d.ts +0 -14
- package/dist/types/src/views/project-combine/tree/add-node-modal/index.d.ts +0 -20
- package/dist/types/src/views/project-combine/tree/index.d.ts +0 -62
- package/dist/types/src/views/project-combine/tree/node/index.d.ts +0 -19
- package/dist/types/src/views/project-combine/tree/service.d.ts +0 -9
- package/dist/types/src/views/project-combine/tree-selector/index.d.ts +0 -21
- package/dist/types/src/views/project-combine/tree-selector/tree-node/index.d.ts +0 -7
- package/dist/types/src/views/project-comment/index.d.ts +0 -15
- package/dist/types/src/views/project-comment/item/index.d.ts +0 -10
- package/dist/types/src/views/project-comment/service.d.ts +0 -5
- package/dist/types/src/views/project-detail/after-execution-script/index.d.ts +0 -7
- package/dist/types/src/views/project-detail/after-execution-transfer/index.d.ts +0 -27
- package/dist/types/src/views/project-detail/base-editor-setting.d.ts +0 -7
- package/dist/types/src/views/project-detail/batch-api-modal/index.d.ts +0 -72
- package/dist/types/src/views/project-detail/current-variable-modal/index.d.ts +0 -5
- package/dist/types/src/views/project-detail/environment-variable-modal/index.d.ts +0 -44
- package/dist/types/src/views/project-detail/global-variable-modal/index.d.ts +0 -15
- package/dist/types/src/views/project-detail/group-select/index.d.ts +0 -15
- package/dist/types/src/views/project-detail/headers-setting/index.d.ts +0 -10
- package/dist/types/src/views/project-detail/index.d.ts +0 -39
- package/dist/types/src/views/project-detail/interface-settings/index.d.ts +0 -52
- package/dist/types/src/views/project-detail/interface-settings/model.d.ts +0 -44
- package/dist/types/src/views/project-detail/params-setting/index.d.ts +0 -46
- package/dist/types/src/views/project-detail/pre-execution-setting/index.d.ts +0 -37
- package/dist/types/src/views/project-detail/response/index.d.ts +0 -43
- package/dist/types/src/views/project-detail/security-modal/index.d.ts +0 -37
- package/dist/types/src/views/project-detail/security-setting/index.d.ts +0 -18
- package/dist/types/src/views/project-detail/security-setting-v2/index.d.ts +0 -23
- package/dist/types/src/views/project-detail/security-setting-v2/tips-form-label/index.d.ts +0 -7
- package/dist/types/src/views/project-detail/service.d.ts +0 -30
- package/dist/types/src/views/project-detail/tree/index.d.ts +0 -66
- package/dist/types/src/views/project-detail/tree-node/index.d.ts +0 -9
- package/dist/types/src/views/project-list/add-project-modal/index.d.ts +0 -6
- package/dist/types/src/views/project-list/card/index.d.ts +0 -9
- package/dist/types/src/views/project-list/confirm/index.d.ts +0 -10
- package/dist/types/src/views/project-list/index.d.ts +0 -30
- package/dist/types/src/views/project-list/service.d.ts +0 -7
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 静态对象工厂
|
|
3
|
-
*/
|
|
4
|
-
export declare class ObjectFactory {
|
|
5
|
-
static maps: Map<any, any>;
|
|
6
|
-
/**
|
|
7
|
-
* 获取指定key对应的对象
|
|
8
|
-
* @param key 对象唯一标识
|
|
9
|
-
*/
|
|
10
|
-
static get(key: any): any;
|
|
11
|
-
/**
|
|
12
|
-
* 设置指定对象
|
|
13
|
-
* @param key 对象唯一标识
|
|
14
|
-
* @param value
|
|
15
|
-
*/
|
|
16
|
-
static set(key: any, value: any): void;
|
|
17
|
-
/**
|
|
18
|
-
* 是否存在指定key的对象
|
|
19
|
-
* @param key
|
|
20
|
-
*/
|
|
21
|
-
static has(key: any): boolean;
|
|
22
|
-
static match(head: any): Array<any>;
|
|
23
|
-
/**
|
|
24
|
-
* 根据类型创建对象
|
|
25
|
-
* @param serviceType 对象类型
|
|
26
|
-
* @param params 构造参数
|
|
27
|
-
*/
|
|
28
|
-
static create<T>(serviceType: Function | string, ...params: Array<any>): T;
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./tree-data";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class TreeDataUtil {
|
|
2
|
-
static handlerTreeData(list: Array<any>, titleName: string, detailName?: string, detailTitleName?: string, filterEmpty?: boolean): any[];
|
|
3
|
-
static treeNodeDirectory(treeList: Array<any>, id: string): string;
|
|
4
|
-
static treeNodeFatherArray(treeList: Array<any>, id: string): Array<any>;
|
|
5
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
import "./index.scss";
|
|
3
|
-
export default class CommonTree extends Component {
|
|
4
|
-
data: Array<any>;
|
|
5
|
-
propData: Array<any>;
|
|
6
|
-
initSelectItem: any;
|
|
7
|
-
isTreeList: boolean;
|
|
8
|
-
commonTaskCategoryID: string;
|
|
9
|
-
className: Array<string>;
|
|
10
|
-
placeholder: string;
|
|
11
|
-
treeData: Array<any>;
|
|
12
|
-
renderData: Array<any>;
|
|
13
|
-
keyword: string;
|
|
14
|
-
selectItem: any;
|
|
15
|
-
expandNodeSet: Set<string>;
|
|
16
|
-
/**
|
|
17
|
-
* 输入关键字对数据进行过滤
|
|
18
|
-
*/
|
|
19
|
-
onFilter(): void;
|
|
20
|
-
/**
|
|
21
|
-
* 判断一个节点是否是与关键字匹配的叶子节点或者目录节点,或者是包含符合条件的叶子节点的祖先节点
|
|
22
|
-
* 如果匹配的是目录节点,那么目录下的节点无需过滤
|
|
23
|
-
* @param node
|
|
24
|
-
*/
|
|
25
|
-
match(node: any): {
|
|
26
|
-
matched: boolean;
|
|
27
|
-
childrenMatched: boolean;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* 处理渲染数据,只保留与关键字匹配的叶子节点和其祖先节点
|
|
31
|
-
* @param data
|
|
32
|
-
*/
|
|
33
|
-
filterData(data: Array<any>): any[];
|
|
34
|
-
/**
|
|
35
|
-
* 点击叶子节点
|
|
36
|
-
* @param node
|
|
37
|
-
* @param data
|
|
38
|
-
*/
|
|
39
|
-
clickLeafNode(e: Event, node: any): void;
|
|
40
|
-
clickParentNode(e: Event, node: any): void;
|
|
41
|
-
onLocationSelect(node: any, isQuery?: boolean): void;
|
|
42
|
-
initTreeData(nv: Array<any>): void;
|
|
43
|
-
watchTaskID(nv: string): void;
|
|
44
|
-
/**
|
|
45
|
-
* 渲染子节点
|
|
46
|
-
* @param h
|
|
47
|
-
* @param param
|
|
48
|
-
*/
|
|
49
|
-
renderContent(h: any, { root, node, data }: {
|
|
50
|
-
root: any;
|
|
51
|
-
node: any;
|
|
52
|
-
data: any;
|
|
53
|
-
}): any;
|
|
54
|
-
onToggleExpand(node: any): void;
|
|
55
|
-
initSelectItemChange(): void;
|
|
56
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "./index.scss";
|
|
2
|
-
import { Component } from "@egova/flagwind-web";
|
|
3
|
-
export default class CodeEditor extends Component {
|
|
4
|
-
code: string;
|
|
5
|
-
lang: string;
|
|
6
|
-
diyKeywordList: Array<any>;
|
|
7
|
-
option: any;
|
|
8
|
-
editorInit(editor: any): void;
|
|
9
|
-
setCompletions(editor: any, session: any, pos: any, prefix: any, callback: any): any;
|
|
10
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import component, { mixins } from "vue-class-component";
|
|
2
|
-
import { Prop as config, Model as model, Watch as watch, Inject as inject, Provide as provide } from "vue-property-decorator";
|
|
3
|
-
import Vue from "vue";
|
|
4
|
-
export { component, mixins, config, model, watch, inject, provide };
|
|
5
|
-
import { Notice, Message } from "view-design";
|
|
6
|
-
export declare class Component extends Vue {
|
|
7
|
-
/**
|
|
8
|
-
* 获取一个全局消息提示框实例。
|
|
9
|
-
* @returns Message
|
|
10
|
-
*/
|
|
11
|
-
protected get $message(): Message;
|
|
12
|
-
/**
|
|
13
|
-
* 获取一个全局通知提醒实例。
|
|
14
|
-
* @returns Notice
|
|
15
|
-
*/
|
|
16
|
-
protected get $notice(): Notice;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function autowired(serviceType: Function): (target: any, name: any) => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param serviveType 服务的类型 指的是服务是保存类(delete/update/save)操作save 还是查询类操作query
|
|
4
|
-
* 根据这个类型来决定调用不同的ResponseHandler
|
|
5
|
-
*/
|
|
6
|
-
export default function serviceHandler(serviveType: string, option?: {
|
|
7
|
-
title?: string;
|
|
8
|
-
dataName?: string;
|
|
9
|
-
showTip?: boolean;
|
|
10
|
-
showErrorMsg?: boolean;
|
|
11
|
-
}): (target: any, name: any) => void;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "@/assets/styles/index.scss";
|
|
2
|
-
import ProjectCombineManage from "./views/project-combine";
|
|
3
|
-
import ProjectCombineModel from "./views/project-combine/combine-model";
|
|
4
|
-
import ProjectList from "./views/project-list";
|
|
5
|
-
import ProjectComment from "./views/project-comment";
|
|
6
|
-
import ProjectDetail from "./views/project-detail";
|
|
7
|
-
export { ProjectCombineManage, ProjectCombineModel, ProjectComment, ProjectDetail, ProjectList };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default interface UserInfo {
|
|
2
|
-
access_token: string;
|
|
3
|
-
department?: any;
|
|
4
|
-
expires_in?: number;
|
|
5
|
-
loginTime?: string;
|
|
6
|
-
permissions: Array<any>;
|
|
7
|
-
refresh_token: string;
|
|
8
|
-
roles: Array<any>;
|
|
9
|
-
scope?: string;
|
|
10
|
-
token_type?: string;
|
|
11
|
-
user: any;
|
|
12
|
-
xToken: string;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./common";
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 业务服务基类。
|
|
3
|
-
* @abstract
|
|
4
|
-
* @class
|
|
5
|
-
* @version 1.0.0
|
|
6
|
-
*/
|
|
7
|
-
export default abstract class ServiceBase {
|
|
8
|
-
protected url(url: string): string;
|
|
9
|
-
/**
|
|
10
|
-
* 发送post请求
|
|
11
|
-
* @param url 请求地址
|
|
12
|
-
* @param data 发送的参数
|
|
13
|
-
*/
|
|
14
|
-
protected _post<T>(url: string, data?: any): Promise<T>;
|
|
15
|
-
/**
|
|
16
|
-
* 发送get请求
|
|
17
|
-
* @param url 请求地址
|
|
18
|
-
*/
|
|
19
|
-
protected _get<T>(url: string): Promise<T>;
|
|
20
|
-
/**
|
|
21
|
-
* 发送put请求
|
|
22
|
-
* @param url 请求地址
|
|
23
|
-
* @param data 请求参数
|
|
24
|
-
*/
|
|
25
|
-
protected _put<T>(url: string, data?: any): Promise<T>;
|
|
26
|
-
/**
|
|
27
|
-
* 发送delete请求 请求地址
|
|
28
|
-
* @param url
|
|
29
|
-
*/
|
|
30
|
-
protected _delete<T>(url: string): Promise<T>;
|
|
31
|
-
/**
|
|
32
|
-
* 导出数据
|
|
33
|
-
* @param url
|
|
34
|
-
* @param data
|
|
35
|
-
*/
|
|
36
|
-
protected _export(url: string, data?: any): Promise<any>;
|
|
37
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import ServiceBase from "./base-service";
|
|
2
|
-
export default class CommonService extends ServiceBase {
|
|
3
|
-
saveCategory(category: any): Promise<any>;
|
|
4
|
-
deleteCategory(categoryId: any): Promise<any>;
|
|
5
|
-
getCategoryTree(type: string): Promise<any>;
|
|
6
|
-
getEnumByType(name: string): Promise<any>;
|
|
7
|
-
getItemListByType(type: string): Promise<any>;
|
|
8
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
import "./index.scss";
|
|
3
|
-
import ApiMarketService from "../../../service";
|
|
4
|
-
export default class ApiParams extends Component {
|
|
5
|
-
model: any;
|
|
6
|
-
service: ApiMarketService;
|
|
7
|
-
value: Array<string>;
|
|
8
|
-
paramColumns: Array<any>;
|
|
9
|
-
queryDataList: Array<any>;
|
|
10
|
-
typeMap: any;
|
|
11
|
-
getExpand(value: string): boolean;
|
|
12
|
-
init(): void;
|
|
13
|
-
get bodyDataList(): any;
|
|
14
|
-
get bodyType(): any;
|
|
15
|
-
get isFormData(): boolean;
|
|
16
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { View } from "@egova/flagwind-web";
|
|
2
|
-
import ApiProjectService from "../service";
|
|
3
|
-
import "./index.scss";
|
|
4
|
-
export default class ApiProjectList extends View {
|
|
5
|
-
service: ApiProjectService;
|
|
6
|
-
condition: any;
|
|
7
|
-
columns: ({
|
|
8
|
-
type: string;
|
|
9
|
-
title: string;
|
|
10
|
-
align: string;
|
|
11
|
-
width: number;
|
|
12
|
-
key?: undefined;
|
|
13
|
-
class?: undefined;
|
|
14
|
-
ellipsis?: undefined;
|
|
15
|
-
tooltip?: undefined;
|
|
16
|
-
slot?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
title: string;
|
|
19
|
-
align: string;
|
|
20
|
-
key: string;
|
|
21
|
-
class: string;
|
|
22
|
-
ellipsis: boolean;
|
|
23
|
-
tooltip: boolean;
|
|
24
|
-
width: number;
|
|
25
|
-
type?: undefined;
|
|
26
|
-
slot?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
title: string;
|
|
29
|
-
align: string;
|
|
30
|
-
key: string;
|
|
31
|
-
class: string;
|
|
32
|
-
ellipsis: boolean;
|
|
33
|
-
tooltip: boolean;
|
|
34
|
-
type?: undefined;
|
|
35
|
-
width?: undefined;
|
|
36
|
-
slot?: undefined;
|
|
37
|
-
} | {
|
|
38
|
-
title: string;
|
|
39
|
-
align: string;
|
|
40
|
-
slot: string;
|
|
41
|
-
width: number;
|
|
42
|
-
type?: undefined;
|
|
43
|
-
key?: undefined;
|
|
44
|
-
class?: undefined;
|
|
45
|
-
ellipsis?: undefined;
|
|
46
|
-
tooltip?: undefined;
|
|
47
|
-
})[];
|
|
48
|
-
detail: string;
|
|
49
|
-
detailShow: boolean;
|
|
50
|
-
data: Array<any>;
|
|
51
|
-
page: any;
|
|
52
|
-
mounted(): void;
|
|
53
|
-
init(): void;
|
|
54
|
-
onSearch(): void;
|
|
55
|
-
onEmpty(): void;
|
|
56
|
-
onSelected(rows: any): void;
|
|
57
|
-
onPageIndexChange(index: number): void;
|
|
58
|
-
onPageSizeChange(size: number): void;
|
|
59
|
-
onDetail(row: any): Promise<void>;
|
|
60
|
-
onRowClick(row: any, index: number): void;
|
|
61
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { View } from "@egova/flagwind-web";
|
|
2
|
-
import ApiProjectService from "./service";
|
|
3
|
-
import "./index.scss";
|
|
4
|
-
export default class ApiProject extends View {
|
|
5
|
-
service: ApiProjectService;
|
|
6
|
-
value: boolean;
|
|
7
|
-
data: Array<any>;
|
|
8
|
-
splitHorizontal: number | string;
|
|
9
|
-
splitVertical: number | string;
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
taskCategoryID: string;
|
|
12
|
-
treeData: Array<any>;
|
|
13
|
-
tempData: Array<any>;
|
|
14
|
-
currentNode: any;
|
|
15
|
-
initNode: any;
|
|
16
|
-
condition: any;
|
|
17
|
-
paging: {
|
|
18
|
-
totalCount: number;
|
|
19
|
-
pageIndex: number;
|
|
20
|
-
pageSize: number;
|
|
21
|
-
};
|
|
22
|
-
tableData: Array<any>;
|
|
23
|
-
collapse: boolean;
|
|
24
|
-
checkedData: Array<any>;
|
|
25
|
-
lastCheckedData: Array<any>;
|
|
26
|
-
get checkedLength(): number;
|
|
27
|
-
columns: ({
|
|
28
|
-
title: string;
|
|
29
|
-
align: string;
|
|
30
|
-
key: string;
|
|
31
|
-
class: string;
|
|
32
|
-
ellipsis: boolean;
|
|
33
|
-
tooltip: boolean;
|
|
34
|
-
width: number;
|
|
35
|
-
slot?: undefined;
|
|
36
|
-
} | {
|
|
37
|
-
title: string;
|
|
38
|
-
align: string;
|
|
39
|
-
key: string;
|
|
40
|
-
class: string;
|
|
41
|
-
ellipsis: boolean;
|
|
42
|
-
tooltip: boolean;
|
|
43
|
-
width?: undefined;
|
|
44
|
-
slot?: undefined;
|
|
45
|
-
} | {
|
|
46
|
-
title: string;
|
|
47
|
-
key: string;
|
|
48
|
-
slot: string;
|
|
49
|
-
align: string;
|
|
50
|
-
width: number;
|
|
51
|
-
class?: undefined;
|
|
52
|
-
ellipsis?: undefined;
|
|
53
|
-
tooltip?: undefined;
|
|
54
|
-
})[];
|
|
55
|
-
onDataChange(data: Array<any>): void;
|
|
56
|
-
get show(): boolean;
|
|
57
|
-
set show(value: boolean);
|
|
58
|
-
onShowChange(show: boolean): void;
|
|
59
|
-
init(): void;
|
|
60
|
-
getTreeData(): Promise<void>;
|
|
61
|
-
onSelect(data: any, isQuery?: boolean): void;
|
|
62
|
-
onSearch(searchCondition: any): void;
|
|
63
|
-
getTableData(): Promise<void>;
|
|
64
|
-
onPageIndexChange(index: number): void;
|
|
65
|
-
onPageSizeChange(pageSize: number): void;
|
|
66
|
-
onSelectionChange(rows: any): void;
|
|
67
|
-
onBatchDelete(): void;
|
|
68
|
-
onDelete(row: any): void;
|
|
69
|
-
onClickCollapse(): void;
|
|
70
|
-
onCancel(): void;
|
|
71
|
-
onSave(): void;
|
|
72
|
-
onRowClick(taskCategoryID: any): void;
|
|
73
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { View } from "@egova/flagwind-web";
|
|
2
|
-
import Service from "../service";
|
|
3
|
-
import DataModelService from "../data-model/service";
|
|
4
|
-
import ApiProjectService from "../api-project/service";
|
|
5
|
-
import "./index.scss";
|
|
6
|
-
export default class ProjectCombineModel extends View {
|
|
7
|
-
service: Service;
|
|
8
|
-
dataModelService: DataModelService;
|
|
9
|
-
apiProjectService: ApiProjectService;
|
|
10
|
-
model: any;
|
|
11
|
-
title: string;
|
|
12
|
-
id: string;
|
|
13
|
-
categoryId: string;
|
|
14
|
-
saveing: boolean;
|
|
15
|
-
isEdit: boolean;
|
|
16
|
-
isAdd: boolean;
|
|
17
|
-
rules: any;
|
|
18
|
-
relationColumns: ({
|
|
19
|
-
title: string;
|
|
20
|
-
align: string;
|
|
21
|
-
key: string;
|
|
22
|
-
slot: string;
|
|
23
|
-
width: number;
|
|
24
|
-
class?: undefined;
|
|
25
|
-
ellipsis?: undefined;
|
|
26
|
-
tooltip?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
title: string;
|
|
29
|
-
align: string;
|
|
30
|
-
key: string;
|
|
31
|
-
class: string;
|
|
32
|
-
ellipsis: boolean;
|
|
33
|
-
tooltip: boolean;
|
|
34
|
-
slot?: undefined;
|
|
35
|
-
width?: undefined;
|
|
36
|
-
})[];
|
|
37
|
-
testShow: boolean;
|
|
38
|
-
testResult: any;
|
|
39
|
-
dataModelShow: boolean;
|
|
40
|
-
apiProjectShow: boolean;
|
|
41
|
-
get dataModelRelations(): any;
|
|
42
|
-
get apiProjectRelations(): any;
|
|
43
|
-
dataModelDoc: string;
|
|
44
|
-
dataModelDocShow: boolean;
|
|
45
|
-
apiProjectDetail: string;
|
|
46
|
-
apiProjectDetailShow: boolean;
|
|
47
|
-
doc: string;
|
|
48
|
-
docShow: boolean;
|
|
49
|
-
onBack(): void;
|
|
50
|
-
mounted(): void;
|
|
51
|
-
activated(): void;
|
|
52
|
-
init(): void;
|
|
53
|
-
getById(): Promise<void>;
|
|
54
|
-
onValidate(): Promise<unknown>;
|
|
55
|
-
onSave(isBack: boolean): Promise<unknown>;
|
|
56
|
-
onAddDataModel(): void;
|
|
57
|
-
onAddApiProject(): void;
|
|
58
|
-
onRelationsSave(relationType: string, addData: Array<any>, delData: Array<any>): Promise<void>;
|
|
59
|
-
onRelationDelete(row: any): void;
|
|
60
|
-
onDetail(row: any): Promise<void>;
|
|
61
|
-
onOpenTest(): Promise<void>;
|
|
62
|
-
onTestRun(context: string): Promise<void>;
|
|
63
|
-
onOpenDoc(): Promise<void>;
|
|
64
|
-
}
|
package/dist/types/src/views/project-combine/combine-model/request-parameter-list/index.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { View } from "@egova/flagwind-web";
|
|
2
|
-
import Service from "../../service";
|
|
3
|
-
import "./index.scss";
|
|
4
|
-
export default class RequestParameterList extends View {
|
|
5
|
-
columns: Array<any>;
|
|
6
|
-
data: Array<any>;
|
|
7
|
-
isEdit: boolean;
|
|
8
|
-
service: Service;
|
|
9
|
-
typeList: Array<any>;
|
|
10
|
-
selections: Array<any>;
|
|
11
|
-
booleanObj: {
|
|
12
|
-
false: number;
|
|
13
|
-
true: number;
|
|
14
|
-
};
|
|
15
|
-
mounted(): void;
|
|
16
|
-
onEdit(row: any): void;
|
|
17
|
-
onCancel(index: number): void;
|
|
18
|
-
onDelete(row: any, index: number): void;
|
|
19
|
-
onBatchDelete(): void;
|
|
20
|
-
onAdd(): void;
|
|
21
|
-
onConfirm(row: any, index: number): void;
|
|
22
|
-
getTypeList(): Promise<void>;
|
|
23
|
-
getTypeText(type: string): any;
|
|
24
|
-
onChangeRequired(value: string, row: any): void;
|
|
25
|
-
onSelectionChange(selections: Array<any>): void;
|
|
26
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { View } from "@egova/flagwind-web";
|
|
2
|
-
import "./index.scss";
|
|
3
|
-
export default class TestRunModal extends View {
|
|
4
|
-
params: Array<any>;
|
|
5
|
-
data: any;
|
|
6
|
-
context: string;
|
|
7
|
-
error: boolean;
|
|
8
|
-
result: String;
|
|
9
|
-
output: String;
|
|
10
|
-
show: boolean;
|
|
11
|
-
onShowChange(): void;
|
|
12
|
-
onDataChange(): void;
|
|
13
|
-
getJsonString(data: any): string;
|
|
14
|
-
get defalutContext(): string;
|
|
15
|
-
onProcess(): void;
|
|
16
|
-
onReset(): void;
|
|
17
|
-
onOk(): void;
|
|
18
|
-
onCancel(): void;
|
|
19
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { View } from "@egova/flagwind-web";
|
|
2
|
-
import "mavon-editor/dist/css/index.css";
|
|
3
|
-
import "./index.scss";
|
|
4
|
-
export default class DataModelDoc extends View {
|
|
5
|
-
value: boolean;
|
|
6
|
-
doc: string;
|
|
7
|
-
markdownOption: any;
|
|
8
|
-
render: string;
|
|
9
|
-
toolbars: any;
|
|
10
|
-
get show(): boolean;
|
|
11
|
-
set show(value: boolean);
|
|
12
|
-
onSave(value: string, render: string): void;
|
|
13
|
-
onChange(value: string, render: string): void;
|
|
14
|
-
onMenuClick(name: string): void;
|
|
15
|
-
onSavePdf(): void;
|
|
16
|
-
onSaveHtml(): void;
|
|
17
|
-
onOk(): void;
|
|
18
|
-
}
|