feat(projects): 1、增加空白页占位;2、调试已开发功能;
This commit is contained in:
30
src/typings/api/project.d.ts
vendored
30
src/typings/api/project.d.ts
vendored
@@ -317,6 +317,36 @@ declare namespace Api {
|
||||
updateTime: string[];
|
||||
}>;
|
||||
|
||||
/**
|
||||
* 任务看板按状态分组的分页入参。
|
||||
*
|
||||
* - `statusCode` 缺省 → 返回该执行下任务状态字典中的全部状态(即使该状态下当前没有任务,也要回该列、`total=0`、`list=[]`)。
|
||||
* - 传入数组 → 只返回这些状态的列。
|
||||
* - `pageNo` / `pageSize` 应用到所有返回的状态(同一页码下各状态各自分页),前端不需要"每列独立 pageNo"。
|
||||
*/
|
||||
type ProjectTaskBoardPageParams = CommonType.RecordNullable<
|
||||
Pick<PageParams, 'pageNo' | 'pageSize'> & {
|
||||
statusCode: string[];
|
||||
keyword: string;
|
||||
parentTaskId: string;
|
||||
ownerId: string;
|
||||
updateTime: string[];
|
||||
}
|
||||
>;
|
||||
|
||||
interface ProjectTaskBoardColumn {
|
||||
statusCode: string;
|
||||
statusName: string;
|
||||
sort: number;
|
||||
terminal?: boolean;
|
||||
list: ProjectTask[];
|
||||
total: number;
|
||||
}
|
||||
|
||||
interface ProjectTaskBoardPage {
|
||||
items: ProjectTaskBoardColumn[];
|
||||
}
|
||||
|
||||
interface SaveProjectTaskParams {
|
||||
parentTaskId: string | null;
|
||||
taskTitle: string;
|
||||
|
||||
2
src/typings/api/system-manage.d.ts
vendored
2
src/typings/api/system-manage.d.ts
vendored
@@ -69,7 +69,7 @@ declare namespace Api {
|
||||
roleCode: string;
|
||||
};
|
||||
|
||||
type DeptOrgType = 'company' | 'dept' | 'direction' | 'team';
|
||||
type DeptOrgType = 'company' | 'dept' | 'function' | 'direction' | 'team';
|
||||
|
||||
interface Dept {
|
||||
id: number;
|
||||
|
||||
3
src/typings/app.d.ts
vendored
3
src/typings/app.d.ts
vendored
@@ -333,7 +333,7 @@ declare namespace App {
|
||||
trigger: string;
|
||||
update: string;
|
||||
updateSuccess: string;
|
||||
userCenter: string;
|
||||
myProfile: string;
|
||||
yesOrNo: {
|
||||
yes: string;
|
||||
no: string;
|
||||
@@ -684,6 +684,7 @@ declare namespace App {
|
||||
orgType: {
|
||||
company: string;
|
||||
dept: string;
|
||||
function: string;
|
||||
direction: string;
|
||||
team: string;
|
||||
};
|
||||
|
||||
40
src/typings/elegant-router.d.ts
vendored
40
src/typings/elegant-router.d.ts
vendored
@@ -35,7 +35,21 @@ declare module "@elegant-router/types" {
|
||||
"function_tab": "/function/tab";
|
||||
"function_toggle-auth": "/function/toggle-auth";
|
||||
"iframe-page": "/iframe-page/:url";
|
||||
"infra": "/infra";
|
||||
"infra_rd-code": "/infra/rd-code";
|
||||
"infra_state-machine": "/infra/state-machine";
|
||||
"login": "/login/:module(pwd-login|reset-pwd)?";
|
||||
"metrics": "/metrics";
|
||||
"metrics_member-efficiency": "/metrics/member-efficiency";
|
||||
"metrics_project-progress": "/metrics/project-progress";
|
||||
"metrics_worktime": "/metrics/worktime";
|
||||
"personal-center": "/personal-center";
|
||||
"personal-center_my-application": "/personal-center/my-application";
|
||||
"personal-center_my-monthly": "/personal-center/my-monthly";
|
||||
"personal-center_my-performance": "/personal-center/my-performance";
|
||||
"personal-center_my-profile": "/personal-center/my-profile";
|
||||
"personal-center_my-weekly": "/personal-center/my-weekly";
|
||||
"personal-center_pending-approval": "/personal-center/pending-approval";
|
||||
"plugin": "/plugin";
|
||||
"plugin_barcode": "/plugin/barcode";
|
||||
"plugin_charts": "/plugin/charts";
|
||||
@@ -80,7 +94,10 @@ declare module "@elegant-router/types" {
|
||||
"system_user": "/system/user";
|
||||
"system_user-detail": "/system/user-detail/:id";
|
||||
"system_user-management-relation": "/system/user-management-relation";
|
||||
"user-center": "/user-center";
|
||||
"ticket": "/ticket";
|
||||
"ticket_my-pending": "/ticket/my-pending";
|
||||
"ticket_my-submitted": "/ticket/my-submitted";
|
||||
"workbench": "/workbench";
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -121,12 +138,16 @@ declare module "@elegant-router/types" {
|
||||
| "500"
|
||||
| "function"
|
||||
| "iframe-page"
|
||||
| "infra"
|
||||
| "login"
|
||||
| "metrics"
|
||||
| "personal-center"
|
||||
| "plugin"
|
||||
| "product"
|
||||
| "project"
|
||||
| "system"
|
||||
| "user-center"
|
||||
| "ticket"
|
||||
| "workbench"
|
||||
>;
|
||||
|
||||
/**
|
||||
@@ -157,6 +178,17 @@ declare module "@elegant-router/types" {
|
||||
| "function_super-page"
|
||||
| "function_tab"
|
||||
| "function_toggle-auth"
|
||||
| "infra_rd-code"
|
||||
| "infra_state-machine"
|
||||
| "metrics_member-efficiency"
|
||||
| "metrics_project-progress"
|
||||
| "metrics_worktime"
|
||||
| "personal-center_my-application"
|
||||
| "personal-center_my-monthly"
|
||||
| "personal-center_my-performance"
|
||||
| "personal-center_my-profile"
|
||||
| "personal-center_my-weekly"
|
||||
| "personal-center_pending-approval"
|
||||
| "plugin_barcode"
|
||||
| "plugin_charts_antv"
|
||||
| "plugin_charts_echarts"
|
||||
@@ -192,7 +224,9 @@ declare module "@elegant-router/types" {
|
||||
| "system_user-detail"
|
||||
| "system_user-management-relation"
|
||||
| "system_user"
|
||||
| "user-center"
|
||||
| "ticket_my-pending"
|
||||
| "ticket_my-submitted"
|
||||
| "workbench"
|
||||
>;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user