From 921e4c5963a1b199f7d12daf6c8a005fa4b8de13 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 5 May 2022 14:31:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B9=E7=9B=AE=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E7=9A=84=E5=9B=BE=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 1 + jero-web/src/common/lang/zh-cn.js | 1 + .../components/ProjectDetails.vue | 77 ++-------- .../certificationProgressEchart.vue | 104 +++++++++++++ .../components/commentList.vue | 23 +-- .../currentStatusOfTheProjectEcharts.vue | 145 ++++++++++++++++++ .../components/deliverableStatusEchart.vue | 113 ++++++++++++++ 7 files changed, 393 insertions(+), 71 deletions(-) create mode 100644 jero-web/src/views/projectManagement/components/certificationProgressEchart.vue create mode 100644 jero-web/src/views/projectManagement/components/currentStatusOfTheProjectEcharts.vue create mode 100644 jero-web/src/views/projectManagement/components/deliverableStatusEchart.vue diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 37f1834d0..bea14f54d 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -743,4 +743,5 @@ module.exports = { replyToComments:'Reply to comments', noComment:'No comment', theReceived:'The final version can be made only when the list confirmation status and task confirmation status of all data are received', + notEvaluated:'Not evaluated', } \ 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 0bad590e8..6d00c2a16 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -748,4 +748,5 @@ module.exports = { replyToComments:'回复评论', noComment:'暂无评论', theReceived:'所有数据的清单确认状态和任务确认状态都为接受才可以定版', + notEvaluated:'未评估', } \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/ProjectDetails.vue b/jero-web/src/views/projectManagement/components/ProjectDetails.vue index e18c04b93..a64ab86c5 100644 --- a/jero-web/src/views/projectManagement/components/ProjectDetails.vue +++ b/jero-web/src/views/projectManagement/components/ProjectDetails.vue @@ -102,25 +102,15 @@
- - -
-
-
-
-
- -
-
+ + + - - Tab 2 + + - - Tab 3 - - - Tab 4 + + @@ -135,17 +125,24 @@ import { getAction, postAction, downloadFile, putAction } from '@/api/manage' import addModel from './addModel' import settingList from './settingList' + import currentStatusOfTheProjectEcharts from './currentStatusOfTheProjectEcharts' + import deliverableStatusEchart from './deliverableStatusEchart' + import certificationProgressEchart from './certificationProgressEchart' export default { name: 'ProjectDetails', components: { listOfRelevantPersonnel, addModel, - settingList + settingList, + currentStatusOfTheProjectEcharts, + deliverableStatusEchart, + certificationProgressEchart }, data() { return { queryForm: {}, + activeKey: this.$t('CurrentStatusOfTheProject'), url: { queryById: 'project/projectLibraryBase/queryById', add: 'project/projectLibraryBase/add', @@ -161,7 +158,6 @@ mounted() { this.getForm() this.getSetting() - this.mainEcharts() }, methods: { getForm() { @@ -185,26 +181,6 @@ settingListForm() { this.getSetting() }, - mainEcharts() { - var myChart = echarts.init(document.getElementById('main')) - myChart.setOption({ - title: { - text: 'ECharts 入门示例' - }, - tooltip: {}, - xAxis: { - data: ['衬衫', '羊毛衫', '雪纺衫', '裤子', '高跟鞋', '袜子'] - }, - yAxis: {}, - series: [ - { - name: '销量', - type: 'bar', - data: [5, 20, 36, 10, 10, 20] - } - ] - }) - }, ListOfRelevantPersonnelClick() { this.$refs.listOfRelevantPersonnelRef.getData() }, @@ -329,29 +305,6 @@ } } - .box-content { - width: 100%; - display: flex; - justify-content: space-between; - - .box-content-left { - width: calc(50% - 12px); - height: 300px; - border: 2px #eff1f3 solid; - - #main { - width: 100%; - height: 100%; - } - } - - .box-content-right { - width: calc(50% - 12px); - height: 300px; - border: 2px #eff1f3 solid; - } - } - @media screen and (min-width: 600px) and (max-width: 1600px) { .process-content-right-top { diff --git a/jero-web/src/views/projectManagement/components/certificationProgressEchart.vue b/jero-web/src/views/projectManagement/components/certificationProgressEchart.vue new file mode 100644 index 000000000..2c57f37e6 --- /dev/null +++ b/jero-web/src/views/projectManagement/components/certificationProgressEchart.vue @@ -0,0 +1,104 @@ + + + + + \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/commentList.vue b/jero-web/src/views/projectManagement/components/commentList.vue index 08b73d8d9..c2dee2045 100644 --- a/jero-web/src/views/projectManagement/components/commentList.vue +++ b/jero-web/src/views/projectManagement/components/commentList.vue @@ -9,6 +9,9 @@ @close="handleCancel" :visible="visible">
+ + {{$t('query')}} {{$t('publishComment')}}
@@ -29,8 +32,8 @@
-
-
+
+
@@ -41,7 +44,7 @@
{{val.content}}
-
+
@@ -99,6 +102,7 @@ visible: false, dataList: [], formInline: {}, + commentText:'', loading: false, title: this.$t('comment'), confirmLoading: false, @@ -143,6 +147,9 @@ this.$nextTick(() => { this.$refs.ruleForm.clearValidate() }) + }, + submitQuery(){ + }, getList() { this.loading = true @@ -336,12 +343,6 @@ line-height: 48px; } - .box-input { - display: inline-block; - height: 38px; - width: 100%; - } - .itemModel { width: calc(100% - 64px); display: inline-block; @@ -361,4 +362,8 @@ text-align: center; margin-top: 40px; } + .box-input{ + width: calc(100% - 168px); + margin-right: 8px; + } \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/currentStatusOfTheProjectEcharts.vue b/jero-web/src/views/projectManagement/components/currentStatusOfTheProjectEcharts.vue new file mode 100644 index 000000000..e237b605a --- /dev/null +++ b/jero-web/src/views/projectManagement/components/currentStatusOfTheProjectEcharts.vue @@ -0,0 +1,145 @@ + + + + + \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/deliverableStatusEchart.vue b/jero-web/src/views/projectManagement/components/deliverableStatusEchart.vue new file mode 100644 index 000000000..a81056a91 --- /dev/null +++ b/jero-web/src/views/projectManagement/components/deliverableStatusEchart.vue @@ -0,0 +1,113 @@ + + + + + \ No newline at end of file