|
@@ -12,7 +12,7 @@
|
|
|
<i class="el-icon-info"></i>
|
|
|
</span>
|
|
|
</el-tooltip>
|
|
|
- <el-radio-group v-model="sortType" style="margin-left: 20px" @change="handleGetChartData">
|
|
|
+ <el-radio-group v-model="sortType" style="margin-left: 20px" @change="handleGetChartData('sortType')">
|
|
|
<el-radio :label="0">{{$t('EtaBasePage.default_select_text')}}</el-radio>
|
|
|
<el-radio :label="1">{{$t('EtaChartAddPage.option_sort_up')}}</el-radio>
|
|
|
<el-radio :label="2">{{$t('EtaChartAddPage.option_sort_low')}}</el-radio>
|
|
@@ -317,7 +317,7 @@ export default {
|
|
|
// 获取图表数据
|
|
|
handleGetChartData(type){
|
|
|
const data=_.cloneDeep(this.$data)
|
|
|
- if(type==='sortBasisEdb'){
|
|
|
+ if(['sortBasisEdb','sortType'].includes(type)){
|
|
|
data.XDataList=[]
|
|
|
}
|
|
|
this.$emit('getData',data)
|