|
@@ -5,6 +5,7 @@ import apiFuture from '@/api/futureChart'
|
|
|
import apiCorrelation from '@/api/correlationChart'
|
|
|
import apiLineEquationChart from '@/api/lineEquationChart'
|
|
|
import apiStatisticFeatureChart from '@/api/statisticFeatureChart'
|
|
|
+import apiCrossVarietyChart from '@/api/crossVarietyChart'
|
|
|
import {apiMyClassifyList,apiMyChartAdd,apiAddClassify} from '@/api/myETA'
|
|
|
import { showToast } from 'vant';
|
|
|
import { useWindowSize } from '@vueuse/core'
|
|
@@ -33,6 +34,10 @@ const typeOpt=[
|
|
|
{
|
|
|
name:"统计特征",
|
|
|
type:5,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name:"跨品种分析",
|
|
|
+ type:6,
|
|
|
}
|
|
|
|
|
|
]
|
|
@@ -53,19 +58,22 @@ async function getChartList(){
|
|
|
CurrentIndex: listState.page,
|
|
|
ChartClassifyId: 0,
|
|
|
KeyWord: keyword.value,
|
|
|
+ Keyword:keyword.value,
|
|
|
IsShowMe:isShowMe.value
|
|
|
}
|
|
|
let res
|
|
|
if(type.value==1){
|
|
|
- res=await apiChart.pubChartList(params)
|
|
|
+ res=await apiChart.ETAChartListByES(params)
|
|
|
}else if(type.value==2){
|
|
|
res=await apiFuture.searchChartList(params)
|
|
|
}else if(type.value==3){
|
|
|
- res=await apiCorrelation.chartList(params)
|
|
|
+ res=await apiCorrelation.searchChartList(params)
|
|
|
}else if(type.value==4){
|
|
|
- res=await apiLineEquationChart.chartList(params)
|
|
|
+ res=await apiLineEquationChart.searchChartList(params)
|
|
|
}else if(type.value==5){
|
|
|
- res=await apiStatisticFeatureChart.chartList(params)
|
|
|
+ res=await apiStatisticFeatureChart.searchChart(params)
|
|
|
+ }else if(type.value==6){
|
|
|
+ res=await apiCrossVarietyChart.searchChart(params)
|
|
|
}
|
|
|
|
|
|
if(res.Ret==200){
|
|
@@ -222,7 +230,7 @@ async function handleConfirmEditClassify(){
|
|
|
<img v-if="listState.list.length==0&&listState.finished" class="list-empty-img" src="https://hzstatic.hzinsights.com/static/ETA_mobile/empty_img.png" alt="">
|
|
|
<ul class="list-wrap">
|
|
|
<li class="item" v-for="item in listState.list" :key="item.ChartInfoId">
|
|
|
- <div class="van-multi-ellipsis--l2 name">{{item.ChartName}}</div>
|
|
|
+ <div class="van-multi-ellipsis--l2 name" v-html="item.SearchText"></div>
|
|
|
<van-image
|
|
|
fit="contain"
|
|
|
lazy-load
|