diff --git a/jero-web/src/config/router.config.js b/jero-web/src/config/router.config.js index bbe87b83f..a7dcbd3f5 100644 --- a/jero-web/src/config/router.config.js +++ b/jero-web/src/config/router.config.js @@ -337,6 +337,11 @@ export const constantRouterMap = [ name: 'ProjectDetails', component: () => import(/* webpackChunkName: "user" */ '@/views/projectManagement/ProjectDetails/index') }, + { + path: '/ParameterItemCollection', + name: 'ParameterItemCollection', + component: () => import(/* webpackChunkName: "user" */ '@/views/projectManagement/ParameterItemCollection/ProjectDetails/index') + }, { path: '/taskListProcess', name: 'taskListProcess', diff --git a/jero-web/src/views/projectManagement/ParameterItemCollection/ProjectDetails/index.vue b/jero-web/src/views/projectManagement/ParameterItemCollection/ProjectDetails/index.vue new file mode 100644 index 000000000..3f86cd06a --- /dev/null +++ b/jero-web/src/views/projectManagement/ParameterItemCollection/ProjectDetails/index.vue @@ -0,0 +1,204 @@ + + + + + \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue new file mode 100644 index 000000000..a3d888d06 --- /dev/null +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -0,0 +1,470 @@ + + + + + + \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/TaskParameterCollection.vue b/jero-web/src/views/projectManagement/components/TaskParameterCollection.vue index 65ee8b187..e574e7bb0 100644 --- a/jero-web/src/views/projectManagement/components/TaskParameterCollection.vue +++ b/jero-web/src/views/projectManagement/components/TaskParameterCollection.vue @@ -173,10 +173,12 @@ }, methods:{ paramsManifestClick(item) { - this.$router.push({ - path: '/ProjectDetails', - query: item + let Obj = {...this.$route.query, ...item} + let newUrl = this.$router.resolve({ + path: '/ParameterItemCollection', + query: Obj, }) + window.open(newUrl.href, '_blank') }, deleteLib(val) { let _this = this @@ -231,13 +233,10 @@ } getAction(_this.url.queryById, query).then((res) => { if (res.success) { - console.log(res,'res..') this.templatetitle = res.result.title this.selectedRowKeys = res.result.paramsTemplateId.split(',') this.rowId = res.result.id this.version = res.result.paramsTemplatePublishVersion - console.log(this.selectedRowKeys,'this.selectedRowKeys') - console.log(typeof this.version) } else { } }) @@ -289,7 +288,6 @@ pageNo: this.pageNo, ...this.queryParam } - console.log(this.$route.query,'this.query') getAction(this.url.list, query).then((res) => { if(res.success) { this.total = res.result.total