jwyu 2 жил өмнө
parent
commit
f42afaf229

+ 1 - 0
src/views/myChart/Detail.vue

@@ -11,6 +11,7 @@ let url=ref('')
 function init(){
     const queryObj={
         ChartInfoId:route.query.chartInfoId,
+        chartCode:route.query.chartCode,
         source:'ybxcx_my_chart',
         token:localStorage.getItem('token'),
         timestamp:new Date().getTime(),//防止缓存

+ 2 - 1
src/views/myChart/List.vue

@@ -64,7 +64,8 @@ function goDetail(item){
     router.push({
         path:'/mychart/detail',
         query:{
-            chartInfoId:item.chart_info_id
+            chartInfoId:item.chart_info_id,
+            chartCode:item.unique_code
         }
     })
 }

+ 2 - 1
src/views/myChart/Search.vue

@@ -58,7 +58,8 @@ function goDetail(item){
     router.push({
         path:'/mychart/detail',
         query:{
-            chartInfoId:item.chart_info_id
+            chartInfoId:item.chart_info_id,
+            chartCode:item.unique_code
         }
     })
 }