diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 78034b7da..6448d8ce7 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -893,4 +893,5 @@ module.exports = { ExportReport:'Export Report', basicInformation:'Basic Information', replyFromProjectContact:'Reply from project contact person', + pleaseUpload:'Please Upload', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index aed7ce7f6..f2a138480 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -898,4 +898,5 @@ module.exports = { ExportReport:'导出报告', basicInformation:'基础信息', replyFromProjectContact:'工程接口人回复', + pleaseUpload:'请上传', } \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/ProjectDetails/index.vue b/jero-web/src/views/projectManagement/ProjectDetails/index.vue index 53d7f9d4c..9bd5fe9a8 100644 --- a/jero-web/src/views/projectManagement/ProjectDetails/index.vue +++ b/jero-web/src/views/projectManagement/ProjectDetails/index.vue @@ -51,7 +51,8 @@
- +
@@ -89,29 +90,47 @@ data() { return { title: this.$t('projectDetails'), - isDisplayNum:'', + isDisplayNum: '', textTitle: '项目详情', url: { logList: '/project/projectLawsInventoryLogEO/page', historicalVersionUrl: '', queryUserPremissionByProjectLibraryId: '/project/projectCertificationDirectoryEO/queryUserPremissionByProjectLibraryId' }, - areaOfResponsibility:{}, + areaOfResponsibility: {} } }, mounted() { - this.textColor() + this.textColor(0) this.getTaskId() + if (this.$route.query.type) { + if (this.$route.query.type == '101') { + this.textColor(0) + this.textTitle = '详情详情' + } else if (this.$route.query.type == '102') { + this.textColor(1) + this.textTitle = '法规清单' + } else if (this.$route.query.type == '103') { + this.textColor(2) + this.textTitle = '任务清单' + } else if (this.$route.query.type == '104') { + this.textColor(3) + this.textTitle = '未符合项' + } else if (this.$route.query.type == '105') { + this.textColor(4) + this.textTitle = '认证参数收集' + } + } }, methods: { - textColor() { + textColor(num) { 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') if (text && text.length > 0) { - text[0].classList.add('Virtual-detail-left-text-color') + text[num].classList.add('Virtual-detail-left-text-color') } }, textClick(num, name) { @@ -138,11 +157,11 @@ } getAction(this.url.queryUserPremissionByProjectLibraryId, query).then((res) => { if (res.success) { - this.isDisplayNum = res.result + this.isDisplayNum = res.result } }) }, - TaskListChange(item){ + TaskListChange(item) { this.areaOfResponsibility = item this.textTitle = '任务清单' let textColor = document.getElementsByClassName('Virtual-detail-left-text-color') @@ -151,7 +170,7 @@ } let text = document.getElementsByClassName('Virtual-detail-left-text') text[2].classList.add('Virtual-detail-left-text-color') - }, + } } } diff --git a/jero-web/src/views/projectManagement/components/resultReportedUpload.vue b/jero-web/src/views/projectManagement/components/resultReportedUpload.vue new file mode 100644 index 000000000..c8d67f6ed --- /dev/null +++ b/jero-web/src/views/projectManagement/components/resultReportedUpload.vue @@ -0,0 +1,207 @@ + + + + + \ No newline at end of file