liushengqiang 1 year ago
parent
commit
628963dd49
2 changed files with 4 additions and 4 deletions
  1. 3 3
      src/report-share/orchestra-share/index.tsx
  2. 1 1
      src/view/evaluating/index.tsx

+ 3 - 3
src/report-share/orchestra-share/index.tsx

@@ -126,9 +126,9 @@ export default defineComponent({
 			state.partIndex = Number(res?.data?.partIndex);
 			detailData.musicalNotesPlayStats = res?.data?.musicalNotesPlayStats?.notesData || [];
 			detailData.userMeasureScore = res?.data?.userMeasureScore || {};
-      for(let key in scoreData){
-        scoreData[key] = res?.data?.[key];
-      }
+			for (let key in scoreData) {
+				scoreData[key] = res?.data?.[key];
+			}
 			Promise.all([sysMusicScoreAccompanimentQueryPage(res?.data?.musicalNotesPlayStats?.examSongId)]).then((values) => {
 				getMusicInfo(values[0]);
 			});

+ 1 - 1
src/view/evaluating/index.tsx

@@ -253,7 +253,7 @@ export const handleCancelEvaluat = () => {
 /** 查看报告 */
 export const handleViewReport = () => {
 	api_openWebView({
-		url: location.origin + "/accompany/#/report/" + evaluatingData.resultData?.recordId || "",
+		url: location.origin + location.pathname + "report-share.html?id=" + evaluatingData.resultData?.recordId || "",
 		orientation: 0,
 		isHideTitle: true, // 此处兼容安卓,意思为隐藏全部头部
 		statusBarTextColor: false,