浏览代码

Merge branch 'demand-position'

cxmo 1 年之前
父节点
当前提交
8b830bab12
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. 6 1
      src/routes/modules/chartRoutes.js
  2. 1 0
      src/views/positionAnalysis_manage/components/chartDetail.vue

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

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

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

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