|
@@ -10,9 +10,9 @@
|
|
|
<div class="statistics-chart" style="border-top:5px solid #eee;min-height: calc(65% - 3px);">
|
|
|
<div class="chart-title">共包含原始点位:{{ originalPoint }} 个</div>
|
|
|
<div style="padding:15px 20px;line-height:2;">
|
|
|
- 1点位对多表号功能号:{{ oneToM.toString() }}
|
|
|
+ 1点位对多表号功能号:{{oneToM+''}}
|
|
|
<br />
|
|
|
- 多点位对1表号功能号:{{ mToOne.toString() }}
|
|
|
+ 多点位对1表号功能号:{{mToOne+''}}
|
|
|
<!-- 查看表号功能号一对多多对一总览 -->
|
|
|
<el-button @click="showOverview" type="info" icon="el-icon-arrow-right" circle
|
|
|
style="margin:-25px 0 0 50px;background:rgb(121, 187, 255);color:rgb(225, 228, 229);border:none;"></el-button>
|
|
@@ -87,22 +87,22 @@ export default {
|
|
|
methods: {
|
|
|
//加载图表数据
|
|
|
loadChart() {
|
|
|
- this.loopchartLoading = true;
|
|
|
+ let that = this;
|
|
|
+ that.loopchartLoading = true;
|
|
|
//获取环形图数据
|
|
|
getIntegrateStatisticsToLoop({}, res => {
|
|
|
//设置点位-表号功能号数据
|
|
|
const tempData = res.Content[0];
|
|
|
- this.tabFuncNumSum = tempData.Sum
|
|
|
- this.oneToM = tempData.OtoM
|
|
|
- this.mToOne = tempData.MtoO
|
|
|
- this.disConn = tempData.Disconn
|
|
|
+ that.tabFuncNumSum = tempData.Sum
|
|
|
+ that.oneToM = tempData.OToM
|
|
|
+ that.mToOne = tempData.MToO
|
|
|
+ that.disConn = tempData.Disconn
|
|
|
//设置环形表数据
|
|
|
- this.loopChartData = [
|
|
|
- { value: res.Content[0].RelatedCount, name: "已对实例数量" },
|
|
|
- { value: res.Content[0].Sum - res.Content[0].RelatedCount, name: "未对应实例数量" }
|
|
|
+ that.loopChartData = [
|
|
|
+ { value: tempData.RelatedCount, name: "已对实例数量" },
|
|
|
+ { value: tempData.Sum - tempData.RelatedCount, name: "未对应实例数量" }
|
|
|
];
|
|
|
|
|
|
- let that = this;
|
|
|
//环形图参数
|
|
|
let loopOption = {
|
|
|
tooltip: {
|
|
@@ -187,7 +187,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
}, 100);
|
|
|
- this.loopchartLoading = false;
|
|
|
+ that.loopchartLoading = false;
|
|
|
|
|
|
})
|
|
|
|