diff --git a/frontend/src/api/modules/case-management/caseReview.ts b/frontend/src/api/modules/case-management/caseReview.ts index b9657fc5ca..ff406c9e50 100644 --- a/frontend/src/api/modules/case-management/caseReview.ts +++ b/frontend/src/api/modules/case-management/caseReview.ts @@ -1,3 +1,5 @@ +import type { MinderJsonNode } from '@/components/pure/ms-minder-editor/props'; + import MSR from '@/api/http/index'; import { AddReviewModuleUrl, @@ -15,6 +17,7 @@ import { GetAssociatedIdsUrl, getCaseReviewerListUrl, GetCaseReviewHistoryListUrl, + GetCaseReviewMinderUrl, GetReviewDetailCasePageUrl, GetReviewDetailModuleCountUrl, GetReviewDetailModuleTreeUrl, @@ -38,6 +41,7 @@ import { BatchMoveReviewParams, BatchReviewCaseParams, CaseReviewFunctionalCaseUserItem, + CaseReviewMinderParams, CommitReviewResultParams, CopyReviewParams, CopyReviewResponse, @@ -202,3 +206,8 @@ export const saveCaseReviewResult = (data: CommitReviewResultParams) => { export const getCaseReviewerList = (reviewId: string, caseId: string) => { return MSR.get({ url: `${getCaseReviewerListUrl}/${reviewId}/${caseId}` }); }; + +// 获取脑图 +export function getCaseReviewMinder(data: CaseReviewMinderParams) { + return MSR.post>({ url: `${GetCaseReviewMinderUrl}`, data }); +} diff --git a/frontend/src/api/requrls/case-management/caseReview.ts b/frontend/src/api/requrls/case-management/caseReview.ts index 32e78a634b..91c5024111 100644 --- a/frontend/src/api/requrls/case-management/caseReview.ts +++ b/frontend/src/api/requrls/case-management/caseReview.ts @@ -27,3 +27,4 @@ export const GetReviewDetailModuleTreeUrl = '/case/review/detail/tree'; // 评 export const GetCaseReviewHistoryListUrl = '/review/functional/case/get/list'; // 评审详情-获取用例评审历史 export const SaveCaseReviewResultUrl = '/review/functional/case/save'; // 评审详情-提交评审 export const getCaseReviewerListUrl = '/case/review/detail/reviewer/list'; // 评审详情-获取用例的评审人 +export const GetCaseReviewMinderUrl = '/functional/mind/case/review/list'; // 获取脑图数据 diff --git a/frontend/src/assets/icon-font/iconfont.css b/frontend/src/assets/icon-font/iconfont.css index d41e149fea..dec9766146 100644 --- a/frontend/src/assets/icon-font/iconfont.css +++ b/frontend/src/assets/icon-font/iconfont.css @@ -1,7 +1,7 @@ @font-face { font-family: iconfont; /* Project id 3462279 */ - src: url('iconfont.woff2?t=1719382977144') format('woff2'), url('iconfont.woff?t=1719382977144') format('woff'), - url('iconfont.ttf?t=1719382977144') format('truetype'), url('iconfont.svg?t=1719382977144#iconfont') format('svg'); + src: url('iconfont.woff2?t=1719821100136') format('woff2'), url('iconfont.woff?t=1719821100136') format('woff'), + url('iconfont.ttf?t=1719821100136') format('truetype'), url('iconfont.svg?t=1719821100136#iconfont') format('svg'); } .iconfont { font-size: 16px; @@ -10,6 +10,21 @@ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } +.icon-icon_right_branch::before { + content: '\e7ef'; +} +.icon-icon_lower_branch1::before { + content: '\e7f0'; +} +.icon-icon_left_and_right_branch::before { + content: '\e7ed'; +} +.icon-icon_left_branch::before { + content: '\e7ee'; +} +.icon-icon_structure::before { + content: '\e7ec'; +} .icon-icon_visible_outlined1::before { content: '\e7eb'; } @@ -559,7 +574,7 @@ .icon-icon_repositioning_outlined::before { content: '\e730'; } -.icon-icon_operation-analysis_outlined1::before { +.icon-icon_screen_outlined::before { content: '\e731'; } .icon-icon_right-align_outlined::before { @@ -946,18 +961,12 @@ .icon-icon_resubmit_filled::before { content: '\e6ef'; } -.icon-icon_switch_outlined1::before { - content: '\e6f0'; -} .icon-icon_test-tracking_filled::before { content: '\e6f1'; } .icon-icon_add-comment_outlined::before { content: '\e6f2'; } -.icon-icon_sort_outlined2::before { - content: '\e6f3'; -} .icon-icon_setting_filled::before { content: '\e6f5'; } @@ -1120,9 +1129,6 @@ .icon-icon_organization_outlined::before { content: '\e6aa'; } -.icon-icon_sort_outlined1::before { - content: '\e6ab'; -} .icon-icon_share-label_filled::before { content: '\e6ac'; } @@ -1249,15 +1255,6 @@ .icon-icon_bottom-align_outlined::before { content: '\e659'; } -.icon-icon_admin_outlined::before { - content: '\e65a'; -} -.icon-icon_expand-right_filled::before { - content: '\e65b'; -} -.icon-icon_delete-trash_outlined::before { - content: '\e65c'; -} .icon-icon_sort_outlined::before { content: '\e65d'; } diff --git a/frontend/src/assets/icon-font/iconfont.js b/frontend/src/assets/icon-font/iconfont.js index 7f5fac1ce2..4944a32537 100644 --- a/frontend/src/assets/icon-font/iconfont.js +++ b/frontend/src/assets/icon-font/iconfont.js @@ -1,13 +1,13 @@ (window._iconfont_svg_string_3462279 = - ''), + ''), (function (h) { var a = (a = document.getElementsByTagName('script'))[a.length - 1], l = a.getAttribute('data-injectcss'), a = a.getAttribute('data-disable-injectsvg'); if (!a) { var o, - i, c, + i, v, t, z = function (a, l) { @@ -39,12 +39,12 @@ document.addEventListener ? ~['complete', 'loaded', 'interactive'].indexOf(document.readyState) ? setTimeout(o, 0) - : ((i = function () { - document.removeEventListener('DOMContentLoaded', i, !1), o(); + : ((c = function () { + document.removeEventListener('DOMContentLoaded', c, !1), o(); }), - document.addEventListener('DOMContentLoaded', i, !1)) + document.addEventListener('DOMContentLoaded', c, !1)) : document.attachEvent && - ((c = o), + ((i = o), (v = h.document), (t = !1), d(), @@ -53,7 +53,7 @@ })); } function m() { - t || ((t = !0), c()); + t || ((t = !0), i()); } function d() { try { diff --git a/frontend/src/assets/icon-font/iconfont.json b/frontend/src/assets/icon-font/iconfont.json index 1df68dca6f..e8f9b88e38 100644 --- a/frontend/src/assets/icon-font/iconfont.json +++ b/frontend/src/assets/icon-font/iconfont.json @@ -5,6 +5,41 @@ "css_prefix_text": "icon-", "description": "DE、MS项目icon管理", "glyphs": [ + { + "icon_id": "40886382", + "name": "icon_right_branch", + "font_class": "icon_right_branch", + "unicode": "e7ef", + "unicode_decimal": 59375 + }, + { + "icon_id": "40886381", + "name": "icon_lower_branch", + "font_class": "icon_lower_branch1", + "unicode": "e7f0", + "unicode_decimal": 59376 + }, + { + "icon_id": "40886384", + "name": "icon_left_and_right_branch", + "font_class": "icon_left_and_right_branch", + "unicode": "e7ed", + "unicode_decimal": 59373 + }, + { + "icon_id": "40886383", + "name": "icon_left_branch", + "font_class": "icon_left_branch", + "unicode": "e7ee", + "unicode_decimal": 59374 + }, + { + "icon_id": "40885431", + "name": "icon_structure", + "font_class": "icon_structure", + "unicode": "e7ec", + "unicode_decimal": 59372 + }, { "icon_id": "40877565", "name": "icon_visible_outlined", @@ -1288,8 +1323,8 @@ }, { "icon_id": "36471613", - "name": "icon_operation-analysis_outlined", - "font_class": "icon_operation-analysis_outlined1", + "name": "icon_screen_outlined", + "font_class": "icon_screen_outlined", "unicode": "e731", "unicode_decimal": 59185 }, @@ -2189,13 +2224,6 @@ "unicode": "e6ef", "unicode_decimal": 59119 }, - { - "icon_id": "33794385", - "name": "icon_switch_outlined", - "font_class": "icon_switch_outlined1", - "unicode": "e6f0", - "unicode_decimal": 59120 - }, { "icon_id": "33794386", "name": "icon_test-tracking_filled", @@ -2210,13 +2238,6 @@ "unicode": "e6f2", "unicode_decimal": 59122 }, - { - "icon_id": "33794388", - "name": "icon_sort_outlined", - "font_class": "icon_sort_outlined2", - "unicode": "e6f3", - "unicode_decimal": 59123 - }, { "icon_id": "33794390", "name": "icon_setting_filled", @@ -2595,13 +2616,6 @@ "unicode": "e6aa", "unicode_decimal": 59050 }, - { - "icon_id": "32849857", - "name": "icon_sort_outlined", - "font_class": "icon_sort_outlined1", - "unicode": "e6ab", - "unicode_decimal": 59051 - }, { "icon_id": "32849858", "name": "icon_share-label_outlined-1", @@ -2896,27 +2910,6 @@ "unicode": "e659", "unicode_decimal": 58969 }, - { - "icon_id": "32849503", - "name": "icon_admin_outlined", - "font_class": "icon_admin_outlined", - "unicode": "e65a", - "unicode_decimal": 58970 - }, - { - "icon_id": "32849510", - "name": "icon_expand-right_filled", - "font_class": "icon_expand-right_filled", - "unicode": "e65b", - "unicode_decimal": 58971 - }, - { - "icon_id": "32849513", - "name": "icon_delete-trash_outlined", - "font_class": "icon_delete-trash_outlined", - "unicode": "e65c", - "unicode_decimal": 58972 - }, { "icon_id": "32849573", "name": "icon_sort_outlined", diff --git a/frontend/src/assets/icon-font/iconfont.svg b/frontend/src/assets/icon-font/iconfont.svg index 5355274965..96e2bfbbec 100644 --- a/frontend/src/assets/icon-font/iconfont.svg +++ b/frontend/src/assets/icon-font/iconfont.svg @@ -14,6 +14,16 @@ /> + + + + + + + + + + @@ -380,7 +390,7 @@ - + @@ -638,14 +648,10 @@ - - - - @@ -754,8 +760,6 @@ - - @@ -840,12 +844,6 @@ - - - - - - diff --git a/frontend/src/assets/icon-font/iconfont.ttf b/frontend/src/assets/icon-font/iconfont.ttf index 840e5458e1..c9c181f0bb 100644 Binary files a/frontend/src/assets/icon-font/iconfont.ttf and b/frontend/src/assets/icon-font/iconfont.ttf differ diff --git a/frontend/src/assets/icon-font/iconfont.woff b/frontend/src/assets/icon-font/iconfont.woff index e61111dc98..565416ab23 100644 Binary files a/frontend/src/assets/icon-font/iconfont.woff and b/frontend/src/assets/icon-font/iconfont.woff differ diff --git a/frontend/src/assets/icon-font/iconfont.woff2 b/frontend/src/assets/icon-font/iconfont.woff2 index 164135406e..10c4b72216 100644 Binary files a/frontend/src/assets/icon-font/iconfont.woff2 and b/frontend/src/assets/icon-font/iconfont.woff2 differ diff --git a/frontend/src/components/business/ms-minders/caseReviewMinder/index.vue b/frontend/src/components/business/ms-minders/caseReviewMinder/index.vue new file mode 100644 index 0000000000..d86de3cfee --- /dev/null +++ b/frontend/src/components/business/ms-minders/caseReviewMinder/index.vue @@ -0,0 +1,535 @@ + + + diff --git a/frontend/src/components/business/ms-minders/featureCaseMinder/attachment.vue b/frontend/src/components/business/ms-minders/featureCaseMinder/attachment.vue index ed9b1770d0..3909b94544 100644 --- a/frontend/src/components/business/ms-minders/featureCaseMinder/attachment.vue +++ b/frontend/src/components/business/ms-minders/featureCaseMinder/attachment.vue @@ -1,6 +1,7 @@