first commit
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
This commit is contained in:
43
src/types/classify/industry.d.ts
vendored
Normal file
43
src/types/classify/industry.d.ts
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
declare namespace API.ClassifyIndustry {
|
||||
export interface IndustryResult {
|
||||
total: number;
|
||||
rows: IndustryRow[];
|
||||
code: number;
|
||||
msg: string;
|
||||
}
|
||||
|
||||
export interface IndustryRow {
|
||||
createTime?: any;
|
||||
industryId: number;
|
||||
parentId: number;
|
||||
industryName: string;
|
||||
orderNum: number;
|
||||
status: string;
|
||||
}
|
||||
|
||||
export interface Params {
|
||||
industryId?: number;
|
||||
parentId?: number;
|
||||
industryName?: string;
|
||||
orderNum?: number;
|
||||
status?: string;
|
||||
}
|
||||
|
||||
export interface IndustryTreeResult {
|
||||
msg: string;
|
||||
code: number;
|
||||
data: IndustryTreeParentData[];
|
||||
}
|
||||
|
||||
export interface IndustryTreeData {
|
||||
id: number;
|
||||
label: string;
|
||||
children?: IndustryTreeParentData[];
|
||||
}
|
||||
|
||||
export interface IndustryTreeParentData {
|
||||
id: number;
|
||||
label: string;
|
||||
children?: IndustryTreeData[];
|
||||
}
|
||||
}
|
||||
33
src/types/classify/jobs.d.ts
vendored
Normal file
33
src/types/classify/jobs.d.ts
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
declare namespace API.ClassifyJobs {
|
||||
export interface Result {
|
||||
total: number;
|
||||
rows: Jobs[];
|
||||
code: number;
|
||||
msg: string;
|
||||
}
|
||||
|
||||
export interface Jobs {
|
||||
createTime?: string;
|
||||
jobId: number;
|
||||
parentId: number;
|
||||
jobName: string;
|
||||
orderNum: number;
|
||||
status: string;
|
||||
children?:Jobs[];
|
||||
depth?: number;
|
||||
parentName?: string;
|
||||
}
|
||||
export interface JobTreeNode extends Jobs {
|
||||
children: JobTreeNode[];
|
||||
depth: number;
|
||||
}
|
||||
|
||||
export interface Params {
|
||||
jobId?: number;
|
||||
parentId?: number;
|
||||
jobName?: string;
|
||||
orderNum?: number;
|
||||
status?: string;
|
||||
tree?:boolean;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user