|
@@ -53,6 +53,7 @@ export default {
|
|
{ label: '组合图', key: 6 },
|
|
{ label: '组合图', key: 6 },
|
|
{ label: '柱形图',key: 7 },
|
|
{ label: '柱形图',key: 7 },
|
|
{ label: '截面散点图',key: 10 },
|
|
{ label: '截面散点图',key: 10 },
|
|
|
|
+ { label: '雷达图',key: 11 },
|
|
], //图表样式
|
|
], //图表样式
|
|
|
|
|
|
|
|
|
|
@@ -138,7 +139,7 @@ export default {
|
|
this.getThemeList('init')
|
|
this.getThemeList('init')
|
|
|
|
|
|
//柱形图 截面散点切换到普通图 依赖的指标信息其实只有信息无数据 需清空
|
|
//柱形图 截面散点切换到普通图 依赖的指标信息其实只有信息无数据 需清空
|
|
- if([7,10].includes(oldval)&&![7,10].includes(newval)) {
|
|
|
|
|
|
+ if([7,10,11].includes(oldval)&&![7,10,11].includes(newval)) {
|
|
this.tableData = [];
|
|
this.tableData = [];
|
|
this.chartInfo.LeftMax = '';
|
|
this.chartInfo.LeftMax = '';
|
|
this.chartInfo.LeftMin = '';
|
|
this.chartInfo.LeftMin = '';
|
|
@@ -149,7 +150,7 @@ export default {
|
|
this.initStatus();
|
|
this.initStatus();
|
|
|
|
|
|
//共用结构的类型切换可以直接画图
|
|
//共用结构的类型切换可以直接画图
|
|
- if(![7,10].includes(newval)) {
|
|
|
|
|
|
+ if(![7,10,11].includes(newval)) {
|
|
//单指标允许切换到季节图需药重新请求数据
|
|
//单指标允许切换到季节图需药重新请求数据
|
|
this.tableData.length===1 && this.selectTarget(this.tableData[0],'switch');
|
|
this.tableData.length===1 && this.selectTarget(this.tableData[0],'switch');
|
|
this.tableData.length > 1 && this.setChartOptionHandle(this.tableData);
|
|
this.tableData.length > 1 && this.setChartOptionHandle(this.tableData);
|