|
@@ -129,13 +129,23 @@ export default {
|
|
|
},
|
|
|
referenceDateOpts:[]
|
|
|
},
|
|
|
+ computed:{
|
|
|
+ //可选样式
|
|
|
+ chartItemStyleArr(){
|
|
|
+ return [
|
|
|
+ { label: this.$i18nt.locale==='zh'?'曲线图':'Line chart(curve)', key: 1, value: 'spline' },
|
|
|
+ { label: this.$i18nt.locale==='zh'?'折线图':'Broken line(Line)', key: 2, value: 'line' },
|
|
|
+ { label: this.$i18nt.locale==='zh'?'柱状图':'Bar chart(Bar)', key: 4, value: 'column' },
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
- chartItemStyleArr: [
|
|
|
- { label: '曲线图', key: 1, value: 'spline' },
|
|
|
- { label: '折线图', key: 2, value: 'line' },
|
|
|
- { label: '柱状图', key: 4, value: 'column' },
|
|
|
- ],//可选样式
|
|
|
+ // chartItemStyleArr: [
|
|
|
+ // { label: '曲线图', key: 1, value: 'spline' },
|
|
|
+ // { label: '折线图', key: 2, value: 'line' },
|
|
|
+ // { label: '柱状图', key: 4, value: 'column' },
|
|
|
+ // ],//可选样式
|
|
|
showBatchModifyDate:false,// 批量设置日期
|
|
|
|
|
|
compData:this.value,
|