瀏覽代碼

持仓分析去除列表页

cxmo 1 年之前
父節點
當前提交
f994e0672b
共有 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

@@ -228,10 +228,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 || "",