fix(产品需求、项目需求): 按照会议所说进行修改。

This commit is contained in:
dk
2026-05-18 16:49:12 +08:00
parent 023490c012
commit 2367e03146
32 changed files with 1065 additions and 591 deletions

View File

@@ -47,6 +47,8 @@ declare namespace Api {
id: number;
/** dict label */
label: string;
/** sign */
sign?: string | null;
/** dict value */
value: string;
/** dict type code */
@@ -65,6 +67,8 @@ declare namespace Api {
interface FrontendDictData {
/** dict label */
label: string;
/** sign */
sign?: string | null;
/** dict value */
value: string;
/** display order */
@@ -82,7 +86,7 @@ declare namespace Api {
type DictDataSearchParams = CommonType.RecordNullable<Pick<DictData, 'label' | 'dictType' | 'status'>> & PageParams;
/** dict data save params */
type SaveDictDataParams = Pick<DictData, 'label' | 'value' | 'dictType' | 'sort' | 'status'> & {
type SaveDictDataParams = Pick<DictData, 'label' | 'sign' | 'value' | 'dictType' | 'sort' | 'status'> & {
remark?: string | null;
};
}

View File

@@ -305,12 +305,12 @@ declare namespace Api {
currentHandlerUserId?: string | null;
/** 当前处理人姓名 */
currentHandlerUserNickname?: string | null;
/** 默认实现项目编号 */
/** 默认关联项目编号 */
implementProjectId?: string | null;
/** 默认实现项目名称 */
/** 默认关联项目名称 */
implementProjectName?: string | null;
/** 所需工时(小时) */
workHours: number;
/** 预期完成日期 */
expectedTime?: string | null;
/** 排序值 */
sort: number;
/** 创建时间 */
@@ -378,6 +378,21 @@ declare namespace Api {
availableActions: RequirementLifecycleAction[];
}
interface RequirementBatchReqVO {
productId: string;
requirementIds: string[];
}
interface RequirementAllowedTransitionBatchRespVO {
requirementId: string;
transitions: RequirementLifecycleAction[];
}
interface RequirementHasDispatchedBatchRespVO {
requirementId: string;
hasDispatched: boolean;
}
// ========== 请求参数类型 ==========
/** 需求分页查询参数 */
@@ -408,7 +423,7 @@ declare namespace Api {
| 'currentHandlerUserId'
| 'currentHandlerUserNickname'
| 'implementProjectId'
| 'workHours'
| 'expectedTime'
| 'sort'
>;
@@ -447,7 +462,7 @@ declare namespace Api {
| 'proposerNickname'
| 'currentHandlerUserId'
| 'currentHandlerUserNickname'
| 'workHours'
| 'expectedTime'
| 'sort'
>;

View File

@@ -700,8 +700,8 @@ declare namespace Api {
currentHandlerUserId?: string | null;
/** 当前处理人昵称 */
currentHandlerUserNickname?: string | null;
/** 所需工时 */
workHours: number;
/** 预期完成日期 */
expectedTime?: string | null;
/** 排序值 */
sort: number;
/** 创建时间 */
@@ -763,6 +763,16 @@ declare namespace Api {
availableActions: ProjectRequirementLifecycleAction[];
}
interface ProjectRequirementBatchReqVO {
projectId: string;
requirementIds: string[];
}
interface ProjectRequirementAllowedTransitionBatchRespVO {
requirementId: string;
transitions: ProjectRequirementLifecycleAction[];
}
/** 项目需求分页查询参数 */
type ProjectRequirementSearchParams = CommonType.RecordNullable<
Pick<PageParams, 'pageNo' | 'pageSize'> &
@@ -790,7 +800,7 @@ declare namespace Api {
| 'proposerNickname'
| 'currentHandlerUserId'
| 'currentHandlerUserNickname'
| 'workHours'
| 'expectedTime'
| 'sort'
>;
@@ -828,7 +838,7 @@ declare namespace Api {
| 'proposerNickname'
| 'currentHandlerUserId'
| 'currentHandlerUserNickname'
| 'workHours'
| 'expectedTime'
| 'sort'
>;

View File

@@ -148,6 +148,7 @@ declare namespace Api {
sex?: UserGender | null;
avatar?: string | null;
status: CommonStatus;
sort?: number;
loginIp?: string | null;
resignedAt?: number | null;
loginDate?: number | null;
@@ -178,6 +179,7 @@ declare namespace Api {
mobile?: string | null;
sex?: UserGender | null;
avatar?: string | null;
sort?: number;
password?: string;
};