|
@@ -9,10 +9,10 @@
|
|
|
</span>
|
|
|
<div class="left-cont" v-show="!isSlideLeft" id="left">
|
|
|
<div class="left-top">
|
|
|
- <el-button type="primary" plain @click="$router.back()">取消</el-button>
|
|
|
+ <el-button type="primary" plain @click="$router.back()">{{$t('Dialog.cancel_btn')}}</el-button>
|
|
|
<div style="color:#409EFF;font-size: 16px;cursor: pointer;" @click="showExplain = true">
|
|
|
<i class="el-icon-document" style="font-size:22px;"></i>
|
|
|
- 操作说明
|
|
|
+ {{$t('StatisticAnalysis.ChartRelevance.opt_tip_btn')}}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="left-min">
|
|
@@ -27,9 +27,9 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
|
- <div>曲线图</div>
|
|
|
+ <div>{{$t('Chart.ChartType.graph_name')}}</div>
|
|
|
<div class="section-item">
|
|
|
- <span style="flex-shrink:0;min-width:50px;">时间:</span>
|
|
|
+ <span style="flex-shrink:0;min-width:50px;">{{$t('StatisticAnalysis.ChartRelevance.time')}}:</span>
|
|
|
<el-select
|
|
|
style="max-width: 110px;flex-shink:0;"
|
|
|
v-model="chartInfo.Curve.DateType"
|
|
@@ -55,7 +55,7 @@
|
|
|
/>
|
|
|
</div>
|
|
|
<div class="section-item">
|
|
|
- <span style="flex-shrink:0;min-width:50px;">上下限:</span>
|
|
|
+ <span style="flex-shrink:0;min-width:50px;">{{$t('StatisticAnalysis.StatisticFeatureChart.limit_name')}}:</span>
|
|
|
<el-input
|
|
|
style="flex:2;margin-left:5px;margin-right:10px"
|
|
|
:step="1"
|
|
@@ -63,7 +63,7 @@
|
|
|
v-model="chartInfo.Curve.LeftMin"
|
|
|
@change="val => { chartInfo.Curve.LeftMin=Number(val);changeSplineOption() }"
|
|
|
/>
|
|
|
- <span>至</span>
|
|
|
+ <span>{{$t('StatisticAnalysis.ChartRelevance.to')}}</span>
|
|
|
<el-input
|
|
|
style="flex:2;margin-left:5px;"
|
|
|
:step="1"
|
|
@@ -75,7 +75,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
|
- <div>标准差
|
|
|
+ <div>{{$t('StatisticAnalysis.StatisticFeatureChart.standard_deviation')}}
|
|
|
<!-- <el-tooltip effect="dark" placement="right">
|
|
|
<div
|
|
|
slot="content"
|
|
@@ -86,7 +86,7 @@
|
|
|
</el-tooltip> -->
|
|
|
</div>
|
|
|
<div class="section-item">
|
|
|
- <div>滚动期数:</div>
|
|
|
+ <div>{{$t('StatisticAnalysis.StatisticFeatureChart.rolling_period')}}:</div>
|
|
|
<el-input
|
|
|
style="max-width:100px;margin-left:10px"
|
|
|
:step="1"
|
|
@@ -98,7 +98,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
|
- <div>百分位
|
|
|
+ <div>{{$t('StatisticAnalysis.StatisticFeatureChart.percentile')}}
|
|
|
<!-- <el-tooltip effect="dark" placement="right">
|
|
|
<div
|
|
|
slot="content"
|
|
@@ -109,7 +109,7 @@
|
|
|
</el-tooltip> -->
|
|
|
</div>
|
|
|
<div class="section-item">
|
|
|
- <span style="flex-shrink:0;min-width:70px">时间长度:</span>
|
|
|
+ <span style="flex-shrink:0;min-width:70px">{{$t('StatisticAnalysis.StatisticFeatureChart.time_length')}}:</span>
|
|
|
<el-input
|
|
|
style="width:100px;margin-left:5px;margin-right:10px"
|
|
|
:step="1"
|
|
@@ -133,7 +133,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
|
- <div>频率分布
|
|
|
+ <div>{{$t('StatisticAnalysis.StatisticFeatureChart.frequency_distribution')}}
|
|
|
<!-- <el-tooltip effect="dark" placement="right">
|
|
|
<div
|
|
|
slot="content"
|
|
@@ -144,7 +144,7 @@
|
|
|
</el-tooltip> -->
|
|
|
</div>
|
|
|
<div class="section-item">
|
|
|
- <span style="flex-shrink:0;min-width:70px">时间段:</span>
|
|
|
+ <span style="flex-shrink:0;min-width:70px">{{$t('StatisticAnalysis.StatisticFeatureChart.time_period')}}:</span>
|
|
|
<el-select
|
|
|
style="max-width: 110px;flex-shink:0;"
|
|
|
v-model="chartInfo.FrequencyDistribution.DateType"
|
|
@@ -169,7 +169,7 @@
|
|
|
/>
|
|
|
</div>
|
|
|
<div class="section-item">
|
|
|
- <span style="flex-shrink:0;min-width:70px">频段数</span>
|
|
|
+ <span style="flex-shrink:0;min-width:70px">{{$t('StatisticAnalysis.StatisticFeatureChart.frequency_band_number')}}</span>
|
|
|
<el-select
|
|
|
style="max-width: 110px;flex-shink:0;"
|
|
|
v-model="chartInfo.FrequencyDistribution.FrequencyValue"
|
|
@@ -187,7 +187,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <el-button type="primary" style="float:right" @click="handlePreviewChart">确定</el-button>
|
|
|
+ <el-button type="primary" style="float:right" @click="handlePreviewChart">{{$t('Dialog.confirm_btn')}}</el-button>
|
|
|
</div>
|
|
|
<span
|
|
|
class="move-btn resize"
|
|
@@ -323,6 +323,17 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
},
|
|
|
+ computed:{
|
|
|
+ unitOpt(){
|
|
|
+ return [
|
|
|
+ {label:this.$t('Edb.FreAll.year_min'),val:'年'},
|
|
|
+ {label:this.$t('Edb.FreAll.quarter_min'),val:'季'},
|
|
|
+ {label:this.$t('Edb.FreAll.month_min'),val:'月'},
|
|
|
+ {label:this.$t('Edb.FreAll.week_min'),val:'周'},
|
|
|
+ {label:this.$t('Edb.FreAll.day_min'),val:'天'},
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
chart_code: this.$route.query.code || '',
|
|
@@ -332,18 +343,18 @@ export default {
|
|
|
|
|
|
yearSelector: [
|
|
|
...yearSelector,
|
|
|
- { name: '自定义',value: 5 }
|
|
|
+ { name: this.$i18n.locale == 'zh'?'自定义':'custom',value: 5 }
|
|
|
],
|
|
|
|
|
|
frequencyDateOption: [
|
|
|
- { name: '最近3月',value:1 },
|
|
|
- { name: '最近6月',value:2 },
|
|
|
- { name: '最近1年',value:3 },
|
|
|
- { name: '最近2年',value:4 },
|
|
|
- { name: '最近3年',value:5 },
|
|
|
- { name: '最近5年',value:6 },
|
|
|
- { name: '最近10年',value:7 },
|
|
|
- { name: '自定义',value:8 },
|
|
|
+ { name: this.$t('StatisticAnalysis.StatisticFeatureChart.near_month',{num:3})/* '最近3月' */,value:1 },
|
|
|
+ { name: this.$t('StatisticAnalysis.StatisticFeatureChart.near_month',{num:6})/* '最近6月' */,value:2 },
|
|
|
+ { name: this.$t('StatisticAnalysis.StatisticFeatureChart.near_year',{num:1})/* '最近1年' */,value:3 },
|
|
|
+ { name: this.$t('StatisticAnalysis.StatisticFeatureChart.near_year',{num:2})/* '最近2年' */,value:4 },
|
|
|
+ { name: this.$t('StatisticAnalysis.StatisticFeatureChart.near_year',{num:3})/* '最近3年' */,value:5 },
|
|
|
+ { name: this.$t('StatisticAnalysis.StatisticFeatureChart.near_year',{num:5})/* '最近5年' */,value:6 },
|
|
|
+ { name: this.$t('StatisticAnalysis.StatisticFeatureChart.near_year',{num:10})/* '最近10年' */,value:7 },
|
|
|
+ { name: this.$i18n.locale == 'zh'?'自定义':'custom',value:8 },
|
|
|
],
|
|
|
chartInfo: {
|
|
|
MultipleGraphConfigId: 0,
|
|
@@ -371,13 +382,13 @@ export default {
|
|
|
FrequencyValue: 10,
|
|
|
}
|
|
|
},
|
|
|
- unitOpt:[
|
|
|
- {label:'年',val:'年'},
|
|
|
- {label:'季',val:'季'},
|
|
|
- {label:'月',val:'月'},
|
|
|
- {label:'周',val:'周'},
|
|
|
- {label:'天',val:'天'},
|
|
|
- ],
|
|
|
+ // unitOpt:[
|
|
|
+ // {label:'年',val:'年'},
|
|
|
+ // {label:'季',val:'季'},
|
|
|
+ // {label:'月',val:'月'},
|
|
|
+ // {label:'周',val:'周'},
|
|
|
+ // {label:'天',val:'天'},
|
|
|
+ // ],
|
|
|
|
|
|
buttonAuth: { //按钮控制
|
|
|
isCurveChartAdd: false,
|