diff --git a/frontend/public/images/login-banner.jpg b/frontend/public/images/login-banner.jpg index a6211737f3..d4f8b1de1b 100644 Binary files a/frontend/public/images/login-banner.jpg and b/frontend/public/images/login-banner.jpg differ diff --git a/frontend/src/api/modules/case-management/featureCase.ts b/frontend/src/api/modules/case-management/featureCase.ts index c4ba3cbb5a..4c8c32305a 100644 --- a/frontend/src/api/modules/case-management/featureCase.ts +++ b/frontend/src/api/modules/case-management/featureCase.ts @@ -217,7 +217,7 @@ export function addDemandRequest(data: CreateOrUpdateDemand) { } // 更新需求 -export function updateDemand(data: CreateOrUpdateDemand) { +export function updateDemandReq(data: CreateOrUpdateDemand) { return MSR.post({ url: UpdateDemandUrl, data }); } // 批量关联需求 @@ -239,7 +239,8 @@ export function getThirdDemandList(data: TableQueryParams) { // 上传文件并关联用例 export function uploadOrAssociationFile(data: Record) { - return MSR.uploadFile({ url: UploadOrAssociationFileUrl }, { request: data.request, fileList: [data.file] }); + debugger; + return MSR.uploadFile({ url: UploadOrAssociationFileUrl }, { request: data.request, fileList: data.file }); } // 转存文件 export function transferFileRequest(data: OperationFile) { diff --git a/frontend/src/api/modules/setting/template.ts b/frontend/src/api/modules/setting/template.ts index 673c827305..67f76123b9 100644 --- a/frontend/src/api/modules/setting/template.ts +++ b/frontend/src/api/modules/setting/template.ts @@ -96,7 +96,7 @@ export function enableOrOffTemplate(organizationId: string, scene: SeneType) { */ // 获取自定义字段列表(组织) export function getFieldList(params: TableQueryParams) { - return MSR.get({ url: `${GetDefinedFieldListUrl}${params.scopedId}/${params.scene}` }); + return MSR.get({ url: `${GetDefinedFieldListUrl}/${params.scopedId}/${params.scene}` }); } // 创建自定义字段(组织) @@ -154,7 +154,7 @@ export function updateOrdWorkStateFlow(data: UpdateWorkFlowSetting) { */ // 获取自定义字段列表(组织) export function getProjectFieldList(params: TableQueryParams) { - return MSR.get({ url: `${GetDefinedProjectFieldListUrl}${params.scopedId}/${params.scene}` }); + return MSR.get({ url: `${GetDefinedProjectFieldListUrl}/${params.scopedId}/${params.scene}` }); } // 创建自定义字段(组织) diff --git a/frontend/src/api/requrls/setting/template.ts b/frontend/src/api/requrls/setting/template.ts index c77c225a22..4bd8764d94 100644 --- a/frontend/src/api/requrls/setting/template.ts +++ b/frontend/src/api/requrls/setting/template.ts @@ -37,7 +37,7 @@ export const getOrdTemplateStateUrl = '/organization/template/enable/config'; // 系统设置-组织-自定义字段 // 获取自定义字段列表 -export const GetDefinedFieldListUrl = '/organization/custom/field/list/'; +export const GetDefinedFieldListUrl = '/organization/custom/field/list'; // 创建自定义字段 export const CreateFieldUrl = '/organization/custom/field/add'; // 更新自定义字段 @@ -67,7 +67,7 @@ export const OrdUpdateStateFlowUrl = '/organization/status/flow/setting/status/f // 项目管理-模板-自定义字段 // 获取自定义字段列表 -export const GetDefinedProjectFieldListUrl = '/project/custom/field/list/'; +export const GetDefinedProjectFieldListUrl = '/project/custom/field/list'; // 创建自定义字段 export const CreateProjectFieldUrl = '/project/custom/field/add'; // 更新自定义字段 diff --git a/frontend/src/components/pure/ms-advance-filter/FilterForm.vue b/frontend/src/components/pure/ms-advance-filter/FilterForm.vue index f1292abcfb..941a24065e 100644 --- a/frontend/src/components/pure/ms-advance-filter/FilterForm.vue +++ b/frontend/src/components/pure/ms-advance-filter/FilterForm.vue @@ -175,7 +175,12 @@ -
+
@@ -305,7 +310,10 @@ * @description 删除条件 */ const handleDeleteItem = (index: number) => { - if (index === 0) { + // if (index === 0) { + // return; + // } + if (formModel.list.length === 1) { return; } formModel.list.splice(index, 1); diff --git a/frontend/src/components/pure/navbar/taskCenterModal.vue b/frontend/src/components/pure/navbar/taskCenterModal.vue index 72cadf9921..4e7d45b59f 100644 --- a/frontend/src/components/pure/navbar/taskCenterModal.vue +++ b/frontend/src/components/pure/navbar/taskCenterModal.vue @@ -21,7 +21,7 @@
- +
diff --git a/frontend/src/config/pathMap.ts b/frontend/src/config/pathMap.ts index 04c7fb3dfd..deb6f1a732 100644 --- a/frontend/src/config/pathMap.ts +++ b/frontend/src/config/pathMap.ts @@ -375,13 +375,13 @@ export const pathMap: PathMapItem[] = [ permission: [], level: MENU_LEVEL[2], }, - // { - // key: 'PROJECT_MANAGEMENT_PERMISSION_VERSION', // 项目管理-项目与权限-项目版本 - // locale: 'project.permission.projectVersion', - // route: RouteEnum.PROJECT_MANAGEMENT_PERMISSION_VERSION, - // permission: [], - // level: MENU_LEVEL[2], - // }, + { + key: 'PROJECT_MANAGEMENT_PERMISSION_VERSION', // 项目管理-项目与权限-项目版本 + locale: 'project.permission.projectVersion', + route: RouteEnum.PROJECT_MANAGEMENT_PERMISSION_VERSION, + permission: [], + level: MENU_LEVEL[2], + }, { key: 'PROJECT_MANAGEMENT_PERMISSION_MEMBER', // 项目管理-项目与权限-成员 locale: 'project.permission.member', @@ -412,6 +412,13 @@ export const pathMap: PathMapItem[] = [ permission: [], level: MENU_LEVEL[2], }, + { + key: 'PROJECT_CUSTOM_FIELD', // 项目管理-模板管理-字段设置-新增字段 + locale: 'system.orgTemplate.addField', + route: '', + permission: [], + level: MENU_LEVEL[2], + }, { key: 'PROJECT_MANAGEMENT_TEMPLATE_MANAGEMENT', // 项目管理-模板管理列表 locale: 'menu.settings.organization.templateManagementList', diff --git a/frontend/src/enums/routeEnum.ts b/frontend/src/enums/routeEnum.ts index 152bacd619..143bee193d 100644 --- a/frontend/src/enums/routeEnum.ts +++ b/frontend/src/enums/routeEnum.ts @@ -75,6 +75,7 @@ export enum SettingRouteEnum { SETTING_SYSTEM_RESOURCE_POOL_DETAIL = 'settingSystemResourcePoolDetail', SETTING_SYSTEM_AUTHORIZED_MANAGEMENT = 'settingSystemAuthorizedManagement', SETTING_SYSTEM_LOG = 'settingSystemLog', + SETTING_SYSTEM_TASK_CENTER = 'settingSystemTaskCenter', SETTING_SYSTEM_PLUGIN_MANAGEMENT = 'settingSystemPluginManagement', SETTING_ORGANIZATION = 'settingOrganization', SETTING_ORGANIZATION_MEMBER = 'settingOrganizationMember', diff --git a/frontend/src/models/caseManagement/featureCase.ts b/frontend/src/models/caseManagement/featureCase.ts index db9fac0d17..fccaa548db 100644 --- a/frontend/src/models/caseManagement/featureCase.ts +++ b/frontend/src/models/caseManagement/featureCase.ts @@ -254,9 +254,9 @@ export interface DemandFormList { // 创建需求&编辑需求 export interface CreateOrUpdateDemand { id?: string; - caseId: string; demandPlatform: string; demandList?: DemandFormList[]; + caseId?: string; [key: string]: any; } // 转存文件 diff --git a/frontend/src/models/setting/template.ts b/frontend/src/models/setting/template.ts index 45c8302897..b1ef628bfe 100644 --- a/frontend/src/models/setting/template.ts +++ b/frontend/src/models/setting/template.ts @@ -115,6 +115,7 @@ export interface ActionTemplateManage { customFields?: CustomField[]; fieldType?: string; systemFields?: Record[]; + internal?: boolean; // 是否为系统模板 } // 工作流列表字段 diff --git a/frontend/src/router/routes/modules/projectManagement.ts b/frontend/src/router/routes/modules/projectManagement.ts index c74ae875fd..a37cfa2501 100644 --- a/frontend/src/router/routes/modules/projectManagement.ts +++ b/frontend/src/router/routes/modules/projectManagement.ts @@ -197,6 +197,7 @@ const ProjectManagement: AppRouteRecordRaw = { name: ProjectManagementRouteEnum.PROJECT_MANAGEMENT_TEMPLATE_MANAGEMENT_DETAIL, locale: 'menu.settings.organization.templateManagementDetail', editLocale: 'menu.settings.organization.templateManagementEdit', + editTag: 'id', query: ['type'], }, ], @@ -289,17 +290,6 @@ const ProjectManagement: AppRouteRecordRaw = { isTopMenu: true, }, }, - // 任务中心 - { - path: 'taskCenter', - name: ProjectManagementRouteEnum.PROJECT_MANAGEMENT_TASK_CENTER, - component: () => import('@/views/project-management/taskCenter/index.vue'), - meta: { - locale: 'menu.projectManagement.taskCenter', - roles: ['*'], - isTopMenu: true, - }, - }, // 菜单管理-误报规则 { path: 'errorReportRule', diff --git a/frontend/src/router/routes/modules/setting.ts b/frontend/src/router/routes/modules/setting.ts index 6d972ec9e0..13462ac6aa 100644 --- a/frontend/src/router/routes/modules/setting.ts +++ b/frontend/src/router/routes/modules/setting.ts @@ -150,6 +150,17 @@ const Setting: AppRouteRecordRaw = { isTopMenu: true, }, }, + // 任务中心 + { + path: 'taskCenter', + name: SettingRouteEnum.SETTING_SYSTEM_TASK_CENTER, + component: () => import('@/views/setting/system/taskCenter/index.vue'), + meta: { + locale: 'menu.projectManagement.taskCenter', + roles: ['*'], + isTopMenu: true, + }, + }, { path: 'pluginManager', name: SettingRouteEnum.SETTING_SYSTEM_PLUGIN_MANAGEMENT, diff --git a/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue b/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue index a6b366a0e8..a7a4ba74cd 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue @@ -1,58 +1,36 @@