修改UAT提出的问题

This commit is contained in:
范强强
2023-05-09 15:24:47 +08:00
parent 8372532293
commit c772cf3f55
4 changed files with 1091 additions and 15 deletions
+8 -8
View File
@@ -735,7 +735,7 @@ module.exports = {
regulatoryTaskConfirmation: 'Regulation Task Confirmed ', regulatoryTaskConfirmation: 'Regulation Task Confirmed ',
certificationStart: 'Homo Completed ', certificationStart: 'Homo Completed ',
preHomoCompletion: 'Pre-Homo Completed ', preHomoCompletion: 'Pre-Homo Completed ',
certificationEnd: 'Homo Approved ', certificationEnd: 'Homo KO',
directoryName: 'Catalogue Name', directoryName: 'Catalogue Name',
batch: 'Batch', batch: 'Batch',
uploadTime: 'Upload Time', uploadTime: 'Upload Time',
@@ -1447,12 +1447,12 @@ module.exports = {
select:'select', select:'select',
onlyDataWithProcessStatusDeleted:'Only data with process status of list to be released and approved can be deleted', onlyDataWithProcessStatusDeleted:'Only data with process status of list to be released and approved can be deleted',
complianceCertificationProgram:'Compliance & Homologation Program', complianceCertificationProgram:'Compliance & Homologation Program',
listPublishing:'List Release', listPublishing:'List Publishing',
responsibilityConfirmation:'Responsibility Confirm', responsibilityConfirmation:'Responsibility Confirmation',
designVerification:'Design Check', designVerification:'Design Verification',
getStarted:'Pre-Homo Starts', getStarted:'Get Started',
certificationStartOne:'Homo Starts', certificationStartOne:'Certification Start',
verificationAndVerification:'Validation Check', verificationAndVerification:'Verification And Verification',
projectInterfacePersonRegulationEngineerSetting:'Project Interface Person - Regulation Engineer Setting', projectInterfacePersonRegulationEngineerSetting:'Project Interface Person - Regulation Engineer Setting',
projectInterfacePersonCertificationEngineerSetting:'Project Interface Person - Certification Engineer Setting', projectInterfacePersonCertificationEngineerSetting:'Project Interface Person - Certification Engineer Setting',
registrationnumber:'Product registration number', registrationnumber:'Product registration number',
@@ -1705,7 +1705,7 @@ module.exports = {
softwareversion:'Software version', softwareversion:'Software version',
returntofill:'Return to fill', returntofill:'Return to fill',
thereAreCurrentlyNoRegulationsToHandle:'No regulations to be processed now', thereAreCurrentlyNoRegulationsToHandle:'No regulations to be processed now',
certificationSubmission:'Application Submitted', certificationSubmission:'Certification Submission',
upgradecompletion:'Upgrade completion', upgradecompletion:'Upgrade completion',
implementedupgrade:'Whether the implemented upgrade is consistent with the record', implementedupgrade:'Whether the implemented upgrade is consistent with the record',
numberofvehicles:'Number of vehicles that have completed upgrades', numberofvehicles:'Number of vehicles that have completed upgrades',
@@ -111,12 +111,11 @@
this.syncReport = res.result.syncReport ? res.result.syncReport : [] this.syncReport = res.result.syncReport ? res.result.syncReport : []
this.dutyTerritory = res.result.dutyTerritory ? res.result.dutyTerritory : [] this.dutyTerritory = res.result.dutyTerritory ? res.result.dutyTerritory : []
this.getEcharts() this.getEcharts()
} }
} }
}) })
}, },
getoptions() { getoptions() {
let id = '' let id = ''
if (this.idList && this.idList.length > 0) { if (this.idList && this.idList.length > 0) {
@@ -134,6 +133,7 @@
} }
}) })
}, },
getonChange(value) { getonChange(value) {
this.collectingpercentage = [] this.collectingpercentage = []
this.collectingquantity = [] this.collectingquantity = []
@@ -145,6 +145,7 @@
this.syncReportquantity = [] this.syncReportquantity = []
this.getData(value) this.getData(value)
}, },
onChange(value) { onChange(value) {
this.collectingpercentage = [] this.collectingpercentage = []
this.collectingquantity = [] this.collectingquantity = []
@@ -155,8 +156,8 @@
this.syncReportpercentage = [] this.syncReportpercentage = []
this.syncReportquantity = [] this.syncReportquantity = []
this.getEcharts() this.getEcharts()
}, },
getEcharts(chart, title, color, data, num) { getEcharts(chart, title, color, data, num) {
this.collecting.forEach((item, index) => { this.collecting.forEach((item, index) => {
this.collectingpercentage.push(item.percentage) this.collectingpercentage.push(item.percentage)
@@ -342,6 +343,7 @@
option && myChart.setOption(option, true) option && myChart.setOption(option, true)
}, },
mainLeftEcharts(data, color) { mainLeftEcharts(data, color) {
this.getEcharts('main-left', this.$t('Parametercollection'), color, data, 1) this.getEcharts('main-left', this.$t('Parametercollection'), color, data, 1)
}, },
@@ -133,12 +133,14 @@
<template slot="title"> <template slot="title">
<span>{{ val.time.slice(0, 11) }}</span> <span>{{ val.time.slice(0, 11) }}</span>
</template> </template>
<img v-if="val.status == 1" src="../../../assets/huiBottom.png" class="process-content-left" <img @click="statusClick(val)" v-if="val.status == 1" src="../../../assets/huiBottom.png"
alt="">
<img v-else-if="val.status == 2" src="../../../assets/kongBottom.png"
class="process-content-left" class="process-content-left"
alt=""> alt="">
<img v-else-if="val.status == 3" src="../../../assets/shiBottom.png" class="process-content-left" <img @click="statusClick(val)" v-else-if="val.status == 2" src="../../../assets/kongBottom.png"
class="process-content-left"
alt="">
<img @click="statusClick(val)" v-else-if="val.status == 3" src="../../../assets/shiBottom.png"
class="process-content-left"
alt=""> alt="">
</a-tooltip> </a-tooltip>
@@ -206,11 +208,13 @@
<!-- </a-table>--> <!-- </a-table>-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<statistics ref="statisticsRef"/>
</a-card> </a-card>
</template> </template>
<script> <script>
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage' import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
import statistics from './components/statistics'
import * as echarts from 'echarts' import * as echarts from 'echarts'
import moment from 'moment' import moment from 'moment'
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header' import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
@@ -218,6 +222,9 @@
export default { export default {
name: 'index', name: 'index',
mixins: [ResizeHeader, ResizeColumnProvide], mixins: [ResizeHeader, ResizeColumnProvide],
components: {
statistics
},
data() { data() {
return { return {
queryParam: {}, queryParam: {},
@@ -571,6 +578,9 @@
} }
downloadFile('/project/ProjectStatusBoardController/exportXls', downloadFile('/project/ProjectStatusBoardController/exportXls',
this.$t('GRPSystemProjectProgressStatistics') + '.xls', query, this.Deselect) this.$t('GRPSystemProjectProgressStatistics') + '.xls', query, this.Deselect)
},
statusClick(val) {
this.$refs.statisticsRef.getData(val)
} }
} }
} }