diff --git a/frontend/src/api/modules/case-management/featureCase.ts b/frontend/src/api/modules/case-management/featureCase.ts index 0c2d876973..cea4bcaf2a 100644 --- a/frontend/src/api/modules/case-management/featureCase.ts +++ b/frontend/src/api/modules/case-management/featureCase.ts @@ -156,7 +156,7 @@ export function getCaseDetail(id: string) { return MSR.get({ url: `${DetailCaseUrl}/${id}` }); } // 批量删除用例 -export function batchDeleteCase(data: BatchDeleteType) { +export function batchDeleteCase(data: TableQueryParams) { return MSR.post({ url: `${BatchDeleteCaseUrl}`, data }); } // 批量编辑属性 @@ -180,7 +180,7 @@ export function getRecycleListRequest(data: TableQueryParams) { return MSR.post>({ url: GetRecycleCaseListUrl, data }); } // 获取回收站模块数量 -export function getRecycleModulesCounts(data: CaseModuleQueryParams) { +export function getRecycleModulesCounts(data: TableQueryParams) { return MSR.post({ url: GetRecycleCaseModulesCountUrl, data }); } // 获取全部用例模块数量 @@ -188,11 +188,11 @@ export function getCaseModulesCounts(data: TableQueryParams) { return MSR.post({ url: GetCaseModulesCountUrl, data }); } // 批量恢复回收站用例表 -export function restoreCaseList(data: BatchMoveOrCopyType) { +export function restoreCaseList(data: TableQueryParams) { return MSR.post({ url: RestoreCaseListUrl, data }); } // 批量彻底删除回收站用例表 -export function batchDeleteRecycleCase(data: BatchMoveOrCopyType) { +export function batchDeleteRecycleCase(data: TableQueryParams) { return MSR.post({ url: BatchDeleteRecycleCaseListUrl, data }); } // 恢复回收站单个用例 diff --git a/frontend/src/api/modules/project-management/projectMember.ts b/frontend/src/api/modules/project-management/projectMember.ts index 27c872134d..22d841903e 100644 --- a/frontend/src/api/modules/project-management/projectMember.ts +++ b/frontend/src/api/modules/project-management/projectMember.ts @@ -6,6 +6,7 @@ import { EditProjectMemberUrl, GetProjectMemberListUrl, ProjectMemberCommentOptions, + ProjectMemberList, ProjectMemberOptions, ProjectUserGroupUrl, RemoveProjectMemberUrl, @@ -52,6 +53,10 @@ export function getProjectUserGroup(projectId: string) { export function getProjectMemberOptions(projectId: string, keyword?: string) { return MSR.get({ url: `${ProjectMemberOptions}/${projectId}`, params: { keyword } }); } +// 项目成员下拉选项不包含组织 +export function getProjectOptions(projectId: string, keyword?: string) { + return MSR.get({ url: `${ProjectMemberList}/${projectId}`, params: { keyword } }); +} // 项目成员-@成员下拉选项 export function getProjectMemberCommentOptions(projectId: string, keyword?: string) { diff --git a/frontend/src/api/requrls/project-management/projectMember.ts b/frontend/src/api/requrls/project-management/projectMember.ts index b1da9cf9e1..3ca3e6b7c2 100644 --- a/frontend/src/api/requrls/project-management/projectMember.ts +++ b/frontend/src/api/requrls/project-management/projectMember.ts @@ -6,4 +6,5 @@ export const RemoveProjectMemberUrl = '/project/member/remove'; export const BatchAddUserGroup = '/project/member/add-role'; export const ProjectUserGroupUrl = '/project/member/get-role/option'; export const ProjectMemberOptions = '/project/member/get-member/option'; +export const ProjectMemberList = '/project/get-member/option'; export const ProjectMemberCommentOptions = '/project/member/comment/user-option'; // 项目成员-@成员下拉列表 diff --git a/frontend/src/assets/style/arco-reset.less b/frontend/src/assets/style/arco-reset.less index 0dfc6b6ba6..e2183980c9 100644 --- a/frontend/src/assets/style/arco-reset.less +++ b/frontend/src/assets/style/arco-reset.less @@ -333,6 +333,9 @@ padding-right: 16px; } +.arco-textarea-wrapper { + resize: vertical !important; +} /** form-item **/ .arco-form-item-content-flex { diff --git a/frontend/src/components/pure/ms-drawer/index.vue b/frontend/src/components/pure/ms-drawer/index.vue index 62f746d51a..1d8311f3ec 100644 --- a/frontend/src/components/pure/ms-drawer/index.vue +++ b/frontend/src/components/pure/ms-drawer/index.vue @@ -21,7 +21,7 @@
- {{ props.title }} + {{ characterLimit(props.title) }} @@ -119,8 +119,8 @@ import useFullScreen from '@/hooks/useFullScreen'; import { useI18n } from '@/hooks/useI18n'; + import { characterLimit } from '@/utils'; import { getMaxZIndexLayer } from '@/utils/dom'; - // 懒加载描述组件 const MsDescription = defineAsyncComponent(() => import('@/components/pure/ms-description/index.vue')); diff --git a/frontend/src/components/pure/ms-form-create/form-create.ts b/frontend/src/components/pure/ms-form-create/form-create.ts index dc3bcad5cb..99d6ce66d5 100644 --- a/frontend/src/components/pure/ms-form-create/form-create.ts +++ b/frontend/src/components/pure/ms-form-create/form-create.ts @@ -149,11 +149,8 @@ export const TEXTAREA = { value: '', props: { 'placeholder': t('formCreate.PleaseEnter'), - 'auto-size': { - minRows: 1, - maxRows: 3, - }, 'max-length': 1000, + 'auto-size': '{ minRows: 1 }', }, }; export const JIRAKEY = { diff --git a/frontend/src/components/pure/ms-table/columnSelector.vue b/frontend/src/components/pure/ms-table/columnSelector.vue index 98351e9241..182ed57000 100644 --- a/frontend/src/components/pure/ms-table/columnSelector.vue +++ b/frontend/src/components/pure/ms-table/columnSelector.vue @@ -11,7 +11,7 @@