|
@@ -9,25 +9,25 @@
|
|
|
>报告下载</el-button>
|
|
|
</div>
|
|
|
<div id="chart1"></div>
|
|
|
- <!--<div class="description">{{analysisDescription1}}</div>-->
|
|
|
+ <div class="description">{{comment1}}</div>
|
|
|
<div id="chart2"></div>
|
|
|
- <!--<div class="description">{{analysisDescription2}}</div>-->
|
|
|
+ <div class="description">{{comment2}}</div>
|
|
|
<div id="chart3"></div>
|
|
|
- <!--<div class="description">{{analysisDescription3}}</div>-->
|
|
|
+ <div class="description">{{comment3}}</div>
|
|
|
<div id="chart4"></div>
|
|
|
- <!--<div class="description">{{analysisDescription4}}</div>-->
|
|
|
+ <div class="description">{{comment4}}</div>
|
|
|
<div id="chart5"></div>
|
|
|
- <!--<div class="description">{{analysisDescription5}}</div>-->
|
|
|
+ <div class="description">{{comment5}}</div>
|
|
|
<div id="chart6"></div>
|
|
|
- <!--<div class="description">{{analysisDescription6}}</div>-->
|
|
|
+ <div class="description">{{comment6}}</div>
|
|
|
<div id="chart7"></div>
|
|
|
- <!--<div class="description">{{analysisDescription7}}</div>-->
|
|
|
+ <div class="description">{{comment7}}</div>
|
|
|
<div id="chart8"></div>
|
|
|
- <!--<div class="description">{{analysisDescription8}}</div>-->
|
|
|
+ <div class="description">{{comment8}}</div>
|
|
|
<div id="chart9"></div>
|
|
|
- <!--<div class="description">{{analysisDescription9}}</div>-->
|
|
|
+ <div class="description">{{comment9}}</div>
|
|
|
<div id="chart10"></div>
|
|
|
- <!--<div class="description">{{analysisDescription10}}</div>-->
|
|
|
+ <div class="description">{{comment10}}</div>
|
|
|
<table id="tableC2">
|
|
|
<tr>
|
|
|
<td colspan="5" class="td-transparent">BYC performance of C2 reactor</td>
|
|
@@ -125,7 +125,7 @@
|
|
|
</tr>
|
|
|
</table>
|
|
|
<div id="chart11"></div>
|
|
|
- <!--<div class="description">{{analysisDescription11}}</div>-->
|
|
|
+ <div class="description">{{comment11}}</div>
|
|
|
<table id="tableC3">
|
|
|
<tr>
|
|
|
<td colspan="2" class="td-transparent">BYC performance of C3 reactor </td>
|
|
@@ -168,13 +168,13 @@
|
|
|
</tr>
|
|
|
</table>
|
|
|
<div id="chart12"></div>
|
|
|
- <!--<div class="description">{{analysisDescription12}}</div>-->
|
|
|
+ <div class="description">{{comment12}}</div>
|
|
|
<div id="chart13"></div>
|
|
|
- <!--<div class="description">{{analysisDescription13}}</div>-->
|
|
|
+ <div class="description">{{comment13}}</div>
|
|
|
<div id="chart14"></div>
|
|
|
- <!--<div class="description">{{analysisDescription14}}</div>-->
|
|
|
+ <div class="description">{{comment14}}</div>
|
|
|
<div id="chart15"></div>
|
|
|
- <!--<div class="description">{{analysisDescription15}}</div>-->
|
|
|
+ <div class="description">{{comment15}}</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -209,6 +209,7 @@ import { treeselect } from "@/api/system/dept";
|
|
|
import { getToken } from "@/utils/auth";
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
+import { getCommentInfo } from "@/api/production/comment";
|
|
|
|
|
|
export default {
|
|
|
name: "report.vue",
|
|
@@ -250,6 +251,21 @@ export default {
|
|
|
analysisDescription13: null,
|
|
|
analysisDescription14: null,
|
|
|
analysisDescription15: null,
|
|
|
+ comment1: null,
|
|
|
+ comment2: null,
|
|
|
+ comment3: null,
|
|
|
+ comment4: null,
|
|
|
+ comment5: null,
|
|
|
+ comment6: null,
|
|
|
+ comment7: null,
|
|
|
+ comment8: null,
|
|
|
+ comment9: null,
|
|
|
+ comment10: null,
|
|
|
+ comment11: null,
|
|
|
+ comment12: null,
|
|
|
+ comment13: null,
|
|
|
+ comment14: null,
|
|
|
+ comment15: null,
|
|
|
c3ReactorTableData: {},
|
|
|
c2ReactorTableData: {},
|
|
|
}
|
|
@@ -1609,6 +1625,52 @@ export default {
|
|
|
this.chart15 = this.echarts.init(document.getElementById('chart15'));
|
|
|
this.chart15.setOption(option);
|
|
|
});
|
|
|
+
|
|
|
+ getCommentInfo({ "commentType": 1, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment1 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 2, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment2 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 3, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment3 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 4, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment4 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 5, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment5 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 6, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment6 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 7, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment7 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 8, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment8 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 9, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment9 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 10, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment10 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 11, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment11 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 12, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment12 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 13, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment13 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 14, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment14 = response.data.qualityComment;
|
|
|
+ });
|
|
|
+ getCommentInfo({ "commentType": 15, "startDate": this.sampleDate[0], "endDate": this.sampleDate[1] }).then(response => {
|
|
|
+ this.comment15 = response.data.qualityComment;
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1670,8 +1732,8 @@ export default {
|
|
|
}
|
|
|
.description{
|
|
|
white-space: pre-wrap;
|
|
|
- margin: 0px auto;
|
|
|
margin-bottom: 50px;
|
|
|
- text-align: center;
|
|
|
+ text-align: left;
|
|
|
+ width: 800px;
|
|
|
}
|
|
|
</style>
|