From 74187e4623dc9486908c1b1f8f9be3e8326ad025 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Thu, 7 Jul 2022 19:07:56 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E8=AE=BE=E6=96=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/infrastructurePage.vue | 24 ++++++++++++--------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index 7060d2e3..60c76190 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -9,7 +9,7 @@ Date: Thu, 7 Jul 2022 20:35:13 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E5=BA=94=E7=94=A8=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Algorithm/AlgorithmTopDetails.vue | 12 +- .../ApplicationDeploymentAndSecurity.vue | 328 +++++++------- .../Application/ApplicationTopDetails.vue | 12 +- .../Business/BusinessTopDetails.vue | 419 +++++++++--------- .../Developer/DeveloperTopDetails.vue | 12 +- .../LayerService/LayerServiceTopDetails.vue | 12 +- 6 files changed, 423 insertions(+), 372 deletions(-) diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue index 06303258..24869e6f 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue @@ -18,11 +18,15 @@

- - {{ componentType || props.dataList.type }} + + {{ props.dataList.type }} + + + {{ props.dataList.shareType }} + + + {{ props.dataList.shareCondition }} - {{ props.dataList.shareType }} - {{ props.dataList.shareCondition }}

diff --git a/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue b/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue index 135cff66..81ad5792 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue @@ -2,17 +2,34 @@ diff --git a/front/src/views/detailsAll/components/Application/ApplicationTopDetails.vue b/front/src/views/detailsAll/components/Application/ApplicationTopDetails.vue index b63bb510..6a5816ae 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationTopDetails.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationTopDetails.vue @@ -18,9 +18,15 @@

- {{ props.dataList.type }} - {{ props.dataList.shareType }} - {{ props.dataList.shareCondition }} + + {{ props.dataList.type }} + + + {{ props.dataList.shareType }} + + + {{ props.dataList.shareCondition }} +

diff --git a/front/src/views/detailsAll/components/Business/BusinessTopDetails.vue b/front/src/views/detailsAll/components/Business/BusinessTopDetails.vue index 6a919c09..ca179210 100644 --- a/front/src/views/detailsAll/components/Business/BusinessTopDetails.vue +++ b/front/src/views/detailsAll/components/Business/BusinessTopDetails.vue @@ -18,11 +18,15 @@

- - {{ componentType || props.dataList.type }} + + {{ props.dataList.type }} + + + {{ props.dataList.shareType }} + + + {{ props.dataList.shareCondition }} - {{ props.dataList.shareType }} - {{ props.dataList.shareCondition }}

@@ -59,215 +63,216 @@ diff --git a/front/src/views/detailsAll/components/Developer/DeveloperTopDetails.vue b/front/src/views/detailsAll/components/Developer/DeveloperTopDetails.vue index 0655035e..fd75008e 100644 --- a/front/src/views/detailsAll/components/Developer/DeveloperTopDetails.vue +++ b/front/src/views/detailsAll/components/Developer/DeveloperTopDetails.vue @@ -18,11 +18,15 @@

- - {{ componentType || props.dataList.type }} + + {{ props.dataList.type }} + + + {{ props.dataList.shareType }} + + + {{ props.dataList.shareCondition }} - {{ props.dataList.shareType }} - {{ props.dataList.shareCondition }}

diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue index 04c67bc2..336bc5ff 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue @@ -18,11 +18,15 @@

- - {{ componentType || props.dataList.type }} + + {{ props.dataList.type }} + + + {{ props.dataList.shareType }} + + + {{ props.dataList.shareCondition }} - {{ props.dataList.shareType }} - {{ props.dataList.shareCondition }}

From d95a2eeb9fc3fa7e790851cf719bad9b0c48d8f5 Mon Sep 17 00:00:00 2001 From: wuhongjian Date: Thu, 7 Jul 2022 20:37:34 +0800 Subject: [PATCH 4/4] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/public/static/config/location.js | 11 +---------- front/src/store/modules/user.js | 5 ++++- front/src/vab/plugins/permissions.js | 4 ++-- front/src/views/home/infrastructurePage.vue | 4 ---- 4 files changed, 7 insertions(+), 17 deletions(-) diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js index 92fcaa3c..3886edbe 100644 --- a/front/public/static/config/location.js +++ b/front/public/static/config/location.js @@ -1,22 +1,13 @@ /* * @Author: hisense.wuhongjian * @Date: 2020-07-07 16:03:23 -<<<<<<< HEAD * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-07-07 17:30:10 -======= - * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-07 17:41:25 ->>>>>>> 420a31531fdd60d9a8007e3328d071690c7688f1 + * @LastEditTime: 2022-07-07 18:53:18 * @Description: 数据资源参数配置 */ const newLocation = 'qingdao' // const newLocation = 'baotou' -<<<<<<< HEAD -// const newLocation = 'xihaian' -======= // const newLocation = 'xihaian' ->>>>>>> 420a31531fdd60d9a8007e3328d071690c7688f1 // 数据资源数据 const whoShow = {} diff --git a/front/src/store/modules/user.js b/front/src/store/modules/user.js index 9679476e..1be71031 100644 --- a/front/src/store/modules/user.js +++ b/front/src/store/modules/user.js @@ -125,7 +125,10 @@ const actions = { commit('setUsername', data.data.username) commit('setRole', data.data.roleIdList.length) commit('setUserId', data.data.id) - resolve() + setTimeout(()=>{ + resolve() + },500) + }) }) }, diff --git a/front/src/vab/plugins/permissions.js b/front/src/vab/plugins/permissions.js index ac6117bc..a8f46286 100644 --- a/front/src/vab/plugins/permissions.js +++ b/front/src/vab/plugins/permissions.js @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-04-01 17:23:11 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-07-07 18:15:38 + * @LastEditTime: 2022-07-07 19:58:32 * @Description: 告诉大家这是什么 */ /** @@ -49,7 +49,7 @@ router.beforeEach(async (to, from, next) => { next() } else { store.dispatch('user/getUserInfo').then((res)=>{ - debugger + console.log('马到成功!') next() }) // if (recordRoute) diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index 2d3ef2e8..b88cabc5 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -11,11 +11,7 @@ >>>>>> 420a31531fdd60d9a8007e3328d071690c7688f1 :class=" clickList[index].content.indexOf(itemContent.labelName) != -1 || clickList[index].content.indexOf(itemContent) != -1