From bd39c3076e7f5f5fd845cdc168bbe10e874a69c0 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 5 May 2022 16:16:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/layouts/TabLayout.vue | 1 + jero-web/src/config/router.config.js | 5 + .../components/commentList.vue | 6 +- .../components/historicalVersionList.vue | 42 +- .../historicalVersion/index.vue | 673 ++++++++++++++++++ 5 files changed, 705 insertions(+), 22 deletions(-) create mode 100644 jero-web/src/views/projectManagement/historicalVersion/index.vue diff --git a/jero-web/src/components/layouts/TabLayout.vue b/jero-web/src/components/layouts/TabLayout.vue index b2be44bb8..8dc37c162 100644 --- a/jero-web/src/components/layouts/TabLayout.vue +++ b/jero-web/src/components/layouts/TabLayout.vue @@ -92,6 +92,7 @@ this.$route.path == '/virtualListDetails' || this.$route.path == '/ProjectDetails' || this.$route.path == '/handshakeProcess' || + this.$route.path == '/historicalVersion' || this.$route.path == '/processDetails') { return false } else { diff --git a/jero-web/src/config/router.config.js b/jero-web/src/config/router.config.js index cbe8e896f..b63bf562a 100644 --- a/jero-web/src/config/router.config.js +++ b/jero-web/src/config/router.config.js @@ -342,6 +342,11 @@ export const constantRouterMap = [ name: 'handshakeProcess', component: () => import(/* webpackChunkName: "user" */ '@/views/processCenter/processForm/handshakeProcess/index') }, + { + path: '/historicalVersion', + name: 'historicalVersion', + component: () => import(/* webpackChunkName: "user" */ '@/views/projectManagement/historicalVersion/index') + }, { path: '/processDetails', name: 'processDetails', diff --git a/jero-web/src/views/projectManagement/components/commentList.vue b/jero-web/src/views/projectManagement/components/commentList.vue index c2dee2045..65b9546e9 100644 --- a/jero-web/src/views/projectManagement/components/commentList.vue +++ b/jero-web/src/views/projectManagement/components/commentList.vue @@ -10,7 +10,7 @@ :visible="visible">
@@ -102,7 +102,7 @@ visible: false, dataList: [], formInline: {}, - commentText:'', + commentContent:'', loading: false, title: this.$t('comment'), confirmLoading: false, @@ -153,7 +153,7 @@ }, getList() { this.loading = true - getAction(this.url.list, { projectLibraryId: this.$route.query.id }).then((res) => { + getAction(this.url.list, { projectLibraryId: this.$route.query.id,commentContent:this.commentContent }).then((res) => { if (res.success) { this.loading = false this.dataList = res.result || [] diff --git a/jero-web/src/views/projectManagement/components/historicalVersionList.vue b/jero-web/src/views/projectManagement/components/historicalVersionList.vue index 4066ed627..f545a7c82 100644 --- a/jero-web/src/views/projectManagement/components/historicalVersionList.vue +++ b/jero-web/src/views/projectManagement/components/historicalVersionList.vue @@ -24,31 +24,31 @@ diff --git a/jero-web/src/views/projectManagement/historicalVersion/index.vue b/jero-web/src/views/projectManagement/historicalVersion/index.vue new file mode 100644 index 000000000..01f51a70e --- /dev/null +++ b/jero-web/src/views/projectManagement/historicalVersion/index.vue @@ -0,0 +1,673 @@ + +