diff --git a/frontend/src/api/modules/project-management/menuManagement.ts b/frontend/src/api/modules/project-management/menuManagement.ts index 5333c3de31..621819eb9b 100644 --- a/frontend/src/api/modules/project-management/menuManagement.ts +++ b/frontend/src/api/modules/project-management/menuManagement.ts @@ -164,3 +164,17 @@ export function postUpdateEnableFake(data: FakeTableOperationParams) { export function getDeleteFake(data: FakeTableOperationParams) { return MSR.post({ url: Url.getFakeTableDeleteUrl, data }); } + +// JIRA插件key校验 +export function validateJIRAKey(data: object, pluginId: string) { + return MSR.post({ url: `${Url.postValidateJiraKeyUrl}${pluginId}`, data }); +} +// 缺陷管理-获取同步信息 +export function getBugSyncInfo(projectId: string) { + return MSR.get({ url: `${Url.getBugSyncInfoUrl}${projectId}` }); +} + +// 用例管理-获取关联需求信息 +export function getCaseRelatedInfo(projectId: string) { + return MSR.get({ url: `${Url.getCaseRelatedInfoUrl}${projectId}` }); +} diff --git a/frontend/src/api/requrls/project-management/menuManagement.ts b/frontend/src/api/requrls/project-management/menuManagement.ts index 392b928424..37e61057f3 100644 --- a/frontend/src/api/requrls/project-management/menuManagement.ts +++ b/frontend/src/api/requrls/project-management/menuManagement.ts @@ -25,3 +25,9 @@ export const postFakeTableAddUrl = '/fake/error/add'; export const postFakeTableUpdateUrl = '/fake/error/update'; // 误报规则列表启用或禁用 export const postFakeTableEnableUrl = '/fake/error/update/enable'; +// JIRAKEY 校验 +export const postValidateJiraKeyUrl = '/project/application/validate/'; +// 缺陷管理-获取同步信息 +export const getBugSyncInfoUrl = '/project/application/bug/sync/info/'; +// 用例管理-获取关联需求信息 +export const getCaseRelatedInfoUrl = '/project/application/case/related/info/'; diff --git a/frontend/src/components/pure/ms-form-create/comp/jiraKey.vue b/frontend/src/components/pure/ms-form-create/comp/jiraKey.vue index 0e5573c752..a6e90c435c 100644 --- a/frontend/src/components/pure/ms-form-create/comp/jiraKey.vue +++ b/frontend/src/components/pure/ms-form-create/comp/jiraKey.vue @@ -4,6 +4,7 @@ :placeholder="t('project.menu.pleaseInputJiraKey')" v-bind="attrs" @change="(v: string) => emit('update:modelValue', v)" + @blur="handleBlur" />
{{ t('project.menu.howGetJiraKey') }} @@ -20,6 +21,9 @@ diff --git a/frontend/src/components/pure/navbar/index.vue b/frontend/src/components/pure/navbar/index.vue index 9bbfc750de..6a373ec960 100644 --- a/frontend/src/components/pure/navbar/index.vue +++ b/frontend/src/components/pure/navbar/index.vue @@ -34,7 +34,7 @@
-
    +
    • @@ -142,6 +142,7 @@ isPreview?: boolean; logo?: string; name?: string; + hideRight?: boolean; }>(); const appStore = useAppStore(); diff --git a/frontend/src/layout/default-layout.vue b/frontend/src/layout/default-layout.vue index 6e9af107ac..a7781d71a7 100644 --- a/frontend/src/layout/default-layout.vue +++ b/frontend/src/layout/default-layout.vue @@ -1,7 +1,12 @@