修改已知问题

This commit is contained in:
qq787203167
2022-05-25 17:53:02 +08:00
parent 4a7b7a944f
commit 267b5f12da
14 changed files with 79 additions and 35 deletions
+4 -3
View File
@@ -786,10 +786,10 @@ module.exports = {
importTemplate: 'Import Template', importTemplate: 'Import Template',
verificationConfirmationDeadline: 'Verification compliance confirmation deadline', verificationConfirmationDeadline: 'Verification compliance confirmation deadline',
technicalEvaluationResults: 'Technical Evaluation Results', technicalEvaluationResults: 'Technical Evaluation Results',
engineeringConfirmation: 'EngineeringConfirmation', engineeringConfirmation: 'Project Delivery',
feedbackFromTheEngineer: 'Feedback From The Engineer', feedbackFromTheEngineer: 'Feedback From The Engineer',
completedBy: 'Completed by', completedBy: 'Completed By',
completedTime: 'Completed time', completedTime: 'Completed Time',
replyFromProjectContactPerson: 'Responsible Persons reply', replyFromProjectContactPerson: 'Responsible Persons reply',
answer: 'Answer', answer: 'Answer',
distributionEngineer: 'Distribution Engineer', distributionEngineer: 'Distribution Engineer',
@@ -891,4 +891,5 @@ module.exports = {
custom:'Custom', custom:'Custom',
notSelected:'Not selected', notSelected:'Not selected',
ExportReport:'Export Report', ExportReport:'Export Report',
basicInformation:'Basic Information',
} }
+3 -2
View File
@@ -794,7 +794,7 @@ module.exports = {
importTemplate: '导入模板', importTemplate: '导入模板',
verificationConfirmationDeadline: '验证符合性确认截止时间', verificationConfirmationDeadline: '验证符合性确认截止时间',
technicalEvaluationResults: '技术评估结果', technicalEvaluationResults: '技术评估结果',
engineeringConfirmation: '工程确认', engineeringConfirmation: '工程交付',
feedbackFromTheEngineer: '工程师反馈意见', feedbackFromTheEngineer: '工程师反馈意见',
completedBy: '填写人', completedBy: '填写人',
completedTime: '填写时间', completedTime: '填写时间',
@@ -804,7 +804,7 @@ module.exports = {
reminderHandling: '提醒办理', reminderHandling: '提醒办理',
addFeedback: '添加反馈', addFeedback: '添加反馈',
engineer: '工程师', engineer: '工程师',
engineeringConfirmationDetails: '工程确认详情', engineeringConfirmationDetails: '工程交付详情',
reminder: '提醒', reminder: '提醒',
adopt: '通过', adopt: '通过',
reviewedByThePersonInCharge: '负责人审核', reviewedByThePersonInCharge: '负责人审核',
@@ -896,4 +896,5 @@ module.exports = {
custom:'自定义', custom:'自定义',
notSelected:'未选择', notSelected:'未选择',
ExportReport:'导出报告', ExportReport:'导出报告',
basicInformation:'基础信息',
} }
@@ -107,8 +107,8 @@
box-sizing: border-box; box-sizing: border-box;
.process-header-title { .process-header-title {
height: 68px; /*height: 68px;*/
line-height: 68px; /*line-height: 68px;*/
background: #FFFFFF; background: #FFFFFF;
text-align: right; text-align: right;
@@ -2,7 +2,7 @@
<div class="box"> <div class="box">
<div class="box-text"> <div class="box-text">
<div class="header-text"> <div class="header-text">
{{$t('essentialInformation')}} {{title}}
</div> </div>
</div> </div>
<div class="content-text"> <div class="content-text">
@@ -49,6 +49,10 @@
queryProject: { queryProject: {
type: Object, type: Object,
default: {} default: {}
},
title: {
type: String,
default: ''
} }
}, },
data() { data() {
@@ -1,7 +1,7 @@
<template> <template>
<div class="box"> <div class="box">
<div class="box-text"> <div class="box-text">
<div class="header-text"> <div class="header-text" v-if="$route.query.TaskKey == 'zrrclrw' || $route.query.TaskKey == 'fqrsh'">
{{$route.query.TaskKey == 'zrrclrw' || $route.query.TaskKey == 'fqrsh' {{$route.query.TaskKey == 'zrrclrw' || $route.query.TaskKey == 'fqrsh'
? $t('personLiableConfirm'):$t('fillInProjectDelivery')}} ? $t('personLiableConfirm'):$t('fillInProjectDelivery')}}
<a-icon :title="$route.query.TaskKey == 'zrrclrw'?$t('pleaseConfirmationResults'):$t('pleaseReviewTask')" <a-icon :title="$route.query.TaskKey == 'zrrclrw'?$t('pleaseConfirmationResults'):$t('pleaseReviewTask')"
@@ -7,6 +7,7 @@
<div class="detail-content"> <div class="detail-content">
<projectInformation <projectInformation
v-if="isDisplay" v-if="isDisplay"
:title="$t('essentialInformation')"
:projectInformationList="projectInformationList" :projectInformationList="projectInformationList"
:url="url" :url="url"
:queryProject="queryProject" :queryProject="queryProject"
@@ -7,6 +7,7 @@
<div class="detail-content"> <div class="detail-content">
<projectInformation <projectInformation
v-if="isDisplay" v-if="isDisplay"
:title="$t('basicInformation')"
:projectInformationList="projectInformationList" :projectInformationList="projectInformationList"
:url="url" :url="url"
:projectInformationId="this.queryBy.projectLibraryId" :projectInformationId="this.queryBy.projectLibraryId"
@@ -49,9 +49,9 @@
</div> </div>
</div> </div>
<div class="Virtual-detail-right"> <div class="Virtual-detail-right">
<ProjectDetailsName v-if="textTitle === '项目详情'"/> <ProjectDetailsName @TaskListChange="TaskListChange" v-if="textTitle === '项目详情'"/>
<listOfRegulations v-else-if="textTitle === '法规清单'"/> <listOfRegulations v-else-if="textTitle === '法规清单'"/>
<TaskList :isDisplayNum="isDisplayNum" v-else-if="textTitle === '任务清单'"/> <TaskList :isDisplayNum="isDisplayNum" :areaOfResponsibility="areaOfResponsibility" v-else-if="textTitle === '任务清单'"/>
<TaskParameterCollection v-else-if="textTitle === '认证参数收集'"/> <TaskParameterCollection v-else-if="textTitle === '认证参数收集'"/>
<nonConformance v-else-if="textTitle === '未符合项'"/> <nonConformance v-else-if="textTitle === '未符合项'"/>
</div> </div>
@@ -95,7 +95,8 @@
logList: '/project/projectLawsInventoryLogEO/page', logList: '/project/projectLawsInventoryLogEO/page',
historicalVersionUrl: '', historicalVersionUrl: '',
queryUserPremissionByProjectLibraryId: '/project/projectCertificationDirectoryEO/queryUserPremissionByProjectLibraryId' queryUserPremissionByProjectLibraryId: '/project/projectCertificationDirectoryEO/queryUserPremissionByProjectLibraryId'
} },
areaOfResponsibility:{},
} }
}, },
mounted() { mounted() {
@@ -140,7 +141,17 @@
this.isDisplayNum = res.result this.isDisplayNum = res.result
} }
}) })
} },
TaskListChange(item){
this.areaOfResponsibility = item
this.textTitle = '任务清单'
let textColor = document.getElementsByClassName('Virtual-detail-left-text-color')
if (textColor && textColor.length > 0) {
textColor[0].classList.remove('Virtual-detail-left-text-color')
}
let text = document.getElementsByClassName('Virtual-detail-left-text')
text[2].classList.add('Virtual-detail-left-text-color')
},
} }
} }
</script> </script>
@@ -12,58 +12,64 @@
<div class="content-text"> <div class="content-text">
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('entryName')">{{$t('entryName')}}</span> <span class="text-field-left" :title="$t('entryName')">{{$t('entryName')}}</span>
<span class="text-field-right" <span class="text-field-right" :title="queryForm.projectName"
>{{queryForm.projectName}}</span> >{{queryForm.projectName}}</span>
</div> </div>
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('targetMarket')">{{$t('targetMarket')}}</span> <span class="text-field-left" :title="$t('targetMarket')">{{$t('targetMarket')}}</span>
<span class="text-field-right" <span class="text-field-right" :title="queryForm.targetMarket_dictText"
>{{queryForm.targetMarket_dictText}}</span> >{{queryForm.targetMarket_dictText}}</span>
</div> </div>
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('projectStatus')">{{$t('projectStatus')}}</span> <span class="text-field-left" :title="$t('projectStatus')">{{$t('projectStatus')}}</span>
<span class="text-field-right" <span class="text-field-right" :title="queryForm.projectStatus_dictText"
>{{queryForm.projectStatus_dictText}}</span> >{{queryForm.projectStatus_dictText}}</span>
</div> </div>
</div> </div>
<div class="content-text"> <div class="content-text">
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('DigitalPlatform')">{{$t('DigitalPlatform')}}</span> <span class="text-field-left" :title="$t('DigitalPlatform')">{{$t('DigitalPlatform')}}</span>
<span class="text-field-right" <span class="text-field-right" :title="queryForm.digitalPlatform"
>{{queryForm.digitalPlatform}}</span> >{{queryForm.digitalPlatform}}</span>
</div> </div>
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('ModelPlatform')">{{$t('ModelPlatform')}}</span> <span class="text-field-left" :title="$t('ModelPlatform')">{{$t('ModelPlatform')}}</span>
<span class="text-field-right" <span class="text-field-right" :title="queryForm.vehiclePlatform"
>{{queryForm.vehiclePlatform}}</span> >{{queryForm.vehiclePlatform}}</span>
</div> </div>
</div> </div>
<div class="content-text"> <div class="content-text">
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('StudioEngineer')">{{$t('StudioEngineer')}}</span> <span class="text-field-left" :title="$t('StudioEngineer')">{{$t('StudioEngineer')}}</span>
<span class="text-field-right" <span class="text-field-right" :title="queryForm.studioEngineerName"
>{{queryForm.studioEngineerName}}</span> >{{queryForm.studioEngineerName}}</span>
</div> </div>
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('certifiedEngineer')">{{$t('certifiedEngineer')}}</span> <span class="text-field-left" :title="$t('certifiedEngineer')">{{$t('certifiedEngineer')}}</span>
<span class="text-field-right" <span class="text-field-right" :title="queryForm.certificationEngineerName"
>{{queryForm.certificationEngineerName}}</span> >{{queryForm.certificationEngineerName}}</span>
</div> </div>
</div> </div>
<div class="content-text"> <div class="content-text">
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('IPDInformation')">{{$t('IPDInformation')}}</span> <span class="text-field-left" :title="$t('IPDInformation')">{{$t('IPDInformation')}}</span>
<span class="text-field-right text-field-right-color" @click="urlClick(queryForm.ipdInfo)" <span class="text-field-right text-field-right-color"
:title="queryForm.ipdInfo"
@click="urlClick(queryForm.ipdInfo)"
>{{queryForm.ipdInfo}}</span> >{{queryForm.ipdInfo}}</span>
</div> </div>
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('certificationProgram')">{{$t('certificationProgram')}}</span> <span class="text-field-left" :title="$t('certificationProgram')">{{$t('certificationProgram')}}</span>
<span class="text-field-right text-field-right-color" @click="urlClick(queryForm.attestationPlan)" <span class="text-field-right text-field-right-color"
:title="queryForm.attestationPlan"
@click="urlClick(queryForm.attestationPlan)"
>{{queryForm.attestationPlan}}</span> >{{queryForm.attestationPlan}}</span>
</div> </div>
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('dehicleDevelopmentPlan')">{{$t('dehicleDevelopmentPlan')}}</span> <span class="text-field-left" :title="$t('dehicleDevelopmentPlan')">{{$t('dehicleDevelopmentPlan')}}</span>
<span class="text-field-right text-field-right-color" @click="urlClick(queryForm.vehicleDevelopmentPlan)" <span class="text-field-right text-field-right-color"
:title="queryForm.vehicleDevelopmentPlan"
@click="urlClick(queryForm.vehicleDevelopmentPlan)"
>{{queryForm.vehicleDevelopmentPlan}}</span> >{{queryForm.vehicleDevelopmentPlan}}</span>
</div> </div>
</div> </div>
@@ -104,13 +110,14 @@
</div> </div>
<a-tabs style="margin-top: 20px" v-model="activeKey" class="ant-tabs"> <a-tabs style="margin-top: 20px" v-model="activeKey" class="ant-tabs">
<a-tab-pane :key="$t('CurrentStatusOfTheProject')" :tab="$t('CurrentStatusOfTheProject')"> <a-tab-pane :key="$t('CurrentStatusOfTheProject')" :tab="$t('CurrentStatusOfTheProject')">
<currentStatusOfTheProjectEcharts v-if="activeKey == $t('CurrentStatusOfTheProject')"/> <currentStatusOfTheProjectEcharts @currentStatus="currentStatus"
v-if="activeKey == $t('CurrentStatusOfTheProject')"/>
</a-tab-pane> </a-tab-pane>
<a-tab-pane :key="$t('DeliverableStatus')" :tab="$t('DeliverableStatus')"> <a-tab-pane :key="$t('DeliverableStatus')" :tab="$t('DeliverableStatus')">
<deliverableStatusEchart v-if="activeKey == $t('DeliverableStatus')"/> <deliverableStatusEchart @currentStatus="currentStatus" v-if="activeKey == $t('DeliverableStatus')"/>
</a-tab-pane> </a-tab-pane>
<a-tab-pane :key="$t('CertificationProgress')" :tab="$t('CertificationProgress')"> <a-tab-pane :key="$t('CertificationProgress')" :tab="$t('CertificationProgress')">
<certificationProgressEchart v-if="activeKey == $t('CertificationProgress')"/> <certificationProgressEchart @currentStatus="currentStatus" v-if="activeKey == $t('CertificationProgress')"/>
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs>
<listOfRelevantPersonnel ref="listOfRelevantPersonnelRef"/> <listOfRelevantPersonnel ref="listOfRelevantPersonnelRef"/>
@@ -169,6 +176,9 @@
} }
}) })
}, },
currentStatus(item) {
this.$emit('TaskListChange', item)
},
getSetting() { getSetting() {
getAction(this.url.queryByProjectId, { projectId: this.$route.query.id }).then((res) => { getAction(this.url.queryByProjectId, { projectId: this.$route.query.id }).then((res) => {
if (res.success) { if (res.success) {
@@ -141,7 +141,7 @@
certificationDirectory, certificationDirectory,
TaskListModel TaskListModel
}, },
props:['isDisplayNum'], props: ['isDisplayNum', 'areaOfResponsibility'],
data() { data() {
return { return {
columns: [ columns: [
@@ -257,7 +257,7 @@
mounted() { mounted() {
this.getList() this.getList()
this.long = localStorage.getItem('language') || 'zh-cn' this.long = localStorage.getItem('language') || 'zh-cn'
console.log(this.areaOfResponsibility)
}, },
methods: { methods: {
...mapGetters(['userInfo']), ...mapGetters(['userInfo']),
@@ -19,7 +19,7 @@
</a-table> </a-table>
</div> </div>
</div> </div>
<responsibilityList ref="responsibilityListRef"/> <responsibilityList @responsibility="responsibility" ref="responsibilityListRef"/>
</div> </div>
</template> </template>
@@ -75,6 +75,9 @@
this.getData() this.getData()
}, },
methods: { methods: {
responsibility(item) {
this.$emit('currentStatus', item)
},
getData() { getData() {
getAction(this.url.getProjectDetailsStatistics, { id: this.$route.query.id }).then((res) => { getAction(this.url.getProjectDetailsStatistics, { id: this.$route.query.id }).then((res) => {
if (res.success) { if (res.success) {
@@ -26,7 +26,7 @@
</a-table> </a-table>
</div> </div>
</div> </div>
<responsibilityList ref="responsibilityListRef"/> <responsibilityList @responsibility="responsibility" ref="responsibilityListRef"/>
</div> </div>
</template> </template>
@@ -174,8 +174,10 @@
}) })
} }
this.getEcharts('main-left', this.$t('CurrentStatusOfTheProject'), color, data) this.getEcharts('main-left', this.$t('CurrentStatusOfTheProject'), color, data)
},
responsibility(item) {
this.$emit('currentStatus', item)
} }
} }
} }
</script> </script>
@@ -21,7 +21,7 @@
<div id="main-bottom"></div> <div id="main-bottom"></div>
</div> </div>
</div> </div>
<responsibilityList ref="responsibilityListRef"/> <responsibilityList @responsibility="responsibility" ref="responsibilityListRef"/>
</div> </div>
</template> </template>
@@ -250,6 +250,9 @@
, ,
mainBottomEcharts(data, color) { mainBottomEcharts(data, color) {
this.getEcharts('main-bottom', this.$t('verificationComplianceConfirmationProgress'), color, data, 5) this.getEcharts('main-bottom', this.$t('verificationComplianceConfirmationProgress'), color, data, 5)
},
responsibility(item) {
this.$emit('currentStatus', item)
} }
} }
} }
@@ -26,6 +26,9 @@
:data-source="dataSource" :data-source="dataSource"
:columns="columns" :columns="columns"
> >
<a slot="areaOfResponsibility" slot-scope="text,result" @click="areaOfResponsibilityClick(result)">
{{text}}
</a>
</a-table> </a-table>
</a-modal> </a-modal>
</template> </template>
@@ -53,15 +56,16 @@
title: this.$t('areaOfResponsibility'), title: this.$t('areaOfResponsibility'),
dataIndex: 'dutyTerritory', dataIndex: 'dutyTerritory',
align: 'center', align: 'center',
width:400, width: 400,
ellipsis: true ellipsis: true,
scopedSlots: { customRender: 'areaOfResponsibility' }
}, },
{ {
title: this.$t('Quantity'), title: this.$t('Quantity'),
dataIndex: 'amount', dataIndex: 'amount',
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
width:300, width: 300
} }
] ]
} }
@@ -92,6 +96,9 @@
}, },
handleCancel() { handleCancel() {
this.visible = false this.visible = false
},
areaOfResponsibilityClick(item) {
this.$emit('responsibility', item)
} }
} }
} }