|
@@ -3,6 +3,8 @@ import {reactive, ref} from 'vue'
|
|
|
import apiChart from '@/api/chart'
|
|
|
import apiFuture from '@/api/futureChart'
|
|
|
import apiCorrelation from '@/api/correlationChart'
|
|
|
+import apiLineEquationChart from '@/api/lineEquationChart'
|
|
|
+import apiStatisticFeatureChart from '@/api/statisticFeatureChart'
|
|
|
import {apiMyClassifyList,apiMyChartAdd,apiAddClassify} from '@/api/myETA'
|
|
|
import { showToast } from 'vant';
|
|
|
import { useWindowSize } from '@vueuse/core'
|
|
@@ -22,7 +24,16 @@ const typeOpt=[
|
|
|
{
|
|
|
name:"相关性图表",
|
|
|
type:3,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name:"拟合方程曲线",
|
|
|
+ type:4,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name:"统计特征",
|
|
|
+ type:5,
|
|
|
}
|
|
|
+
|
|
|
]
|
|
|
let type=ref(1)
|
|
|
const isShowMe=ref(false)
|
|
@@ -50,6 +61,10 @@ async function getChartList(){
|
|
|
res=await apiFuture.searchChartList(params)
|
|
|
}else if(type.value==3){
|
|
|
res=await apiCorrelation.chartList(params)
|
|
|
+ }else if(type.value==4){
|
|
|
+ res=await apiLineEquationChart.chartList(params)
|
|
|
+ }else if(type.value==5){
|
|
|
+ res=await apiStatisticFeatureChart.chartList(params)
|
|
|
}
|
|
|
|
|
|
if(res.Ret==200){
|
|
@@ -215,7 +230,7 @@ async function handleConfirmEditClassify(){
|
|
|
/>
|
|
|
<div>
|
|
|
<span class="time">{{item.ModifyTime.substr(0,10)}}</span>
|
|
|
- <img class="add-icon" src="@/assets/imgs/icon01.png" alt="" @click="handleAdd(item)">
|
|
|
+ <img class="add-icon" src="@/assets/imgs/myETA/icon_add.png" alt="" @click="handleAdd(item)">
|
|
|
<div class="pad-add-box" @click="handleAdd(item)">
|
|
|
<img src="@/assets/imgs/myETA/icon_add.png" alt="">
|
|
|
<span>加入我的图库</span>
|
|
@@ -279,10 +294,17 @@ async function handleConfirmEditClassify(){
|
|
|
.type-box{
|
|
|
padding: 60px 40px 26px 40px;
|
|
|
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
|
|
|
+ overflow-x: auto;
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ &::-webkit-scrollbar{
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
.opt{
|
|
|
display: inline-block;
|
|
|
margin-right: 40px;
|
|
|
color: $font-grey_999;
|
|
|
+ flex-shrink: 0;
|
|
|
&.active{
|
|
|
color: #333;
|
|
|
position: relative;
|