diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 38d1c1657..5a30ac0b3 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -734,4 +734,5 @@ module.exports = { Submitting:'Submitting', Returning:'Returning', terminationProcessing:'Termination process', + publishComment:'publish comment', } \ 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 2a5a74c2a..131e8d78a 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -739,4 +739,5 @@ module.exports = { Submitting:'提交中...', Returning:'退回中', terminationProcessing:'终止流程中', + publishComment:'发表评论', } \ 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 240cc8cf9..5e08d107f 100644 --- a/jero-web/src/views/projectManagement/ProjectDetails/index.vue +++ b/jero-web/src/views/projectManagement/ProjectDetails/index.vue @@ -10,7 +10,7 @@
-
+
{{$t('comment')}}
@@ -59,6 +59,7 @@
+
@@ -70,7 +71,7 @@ import nonConformance from '../components/nonConformance' import updateLog from '@/components/UpdateLog/index' import historicalVersionList from '../components/historicalVersionList' - + import commentList from '../components/commentList' export default { name: 'ProjectDetails', components: { @@ -80,7 +81,8 @@ TaskParameterCollection, nonConformance, updateLog, - historicalVersionList + historicalVersionList, + commentList }, data() { return { @@ -120,7 +122,10 @@ }, historicalVersionClick() { this.$refs.historicalVersionListRef.getList() - } + }, + commentClick(){ + this.$refs.commentListRef.getData() + }, } } diff --git a/jero-web/src/views/projectManagement/components/commentList.vue b/jero-web/src/views/projectManagement/components/commentList.vue new file mode 100644 index 000000000..b3ec76b66 --- /dev/null +++ b/jero-web/src/views/projectManagement/components/commentList.vue @@ -0,0 +1,270 @@ + + + + + \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/listEditModel.vue b/jero-web/src/views/projectManagement/components/listEditModel.vue index e648d61e4..a0578483c 100644 --- a/jero-web/src/views/projectManagement/components/listEditModel.vue +++ b/jero-web/src/views/projectManagement/components/listEditModel.vue @@ -1,6 +1,6 @@