Jelajahi Sumber

Merge branch 'demand-position'

cxmo 1 tahun lalu
induk
melakukan
8b830bab12

+ 6 - 1
src/routes/modules/chartRoutes.js

@@ -272,10 +272,15 @@ export default [
 		name:'工具箱',
 		name:'工具箱',
 		hidden:false,
 		hidden:false,
 		children:[
 		children:[
-			{
+			/* {
 				path: 'positionAnalysisList',
 				path: 'positionAnalysisList',
 				name: '持仓列表',
 				name: '持仓列表',
 				component:()=>import('@/views/positionAnalysis_manage/list.vue')
 				component:()=>import('@/views/positionAnalysis_manage/list.vue')
+			}, */
+			{//不要列表页了,但是改path需要动ETA菜单很麻烦,先这样
+				path: 'positionAnalysisList',
+				name: '持仓详情',
+				component:()=>import('@/views/positionAnalysis_manage/detail.vue')
 			},
 			},
 			{
 			{
 				path: 'positionAnalysisDetail',
 				path: 'positionAnalysisDetail',

+ 1 - 0
src/views/positionAnalysis_manage/components/chartDetail.vue

@@ -217,6 +217,7 @@ export default {
     },
     },
 
 
     async getInfo() {
     async getInfo() {
+      if(!this.$route.query.classify_name||!this.$route.query.classify_type) return
       this.pageLoading = true;
       this.pageLoading = true;
       const res = await apiPositionAnalysisInfo({
       const res = await apiPositionAnalysisInfo({
         DataTime: this.selectDate || "",
         DataTime: this.selectDate || "",