From 081c12d1154de7b4bdb395b2f90221847e503c19 Mon Sep 17 00:00:00 2001 From: zhangyanduan Date: Thu, 15 Sep 2022 11:35:28 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20=E4=BF=AE=E6=94=B9=E6=9D=83?= =?UTF-8?q?=E9=99=90=E7=AE=A1=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/navMenu/index.vue | 22 ++++++------- .../details/otherStandardDetails/index.vue | 31 ++++++++++--------- .../otherStandardExternalDetails/index.vue | 31 ++++++++++--------- src/pages/details/process/ruku/index.vue | 2 +- src/pages/phone/domesticDetails.vue | 3 +- src/router/index.js | 29 ++++++++--------- 6 files changed, 61 insertions(+), 57 deletions(-) diff --git a/src/components/navMenu/index.vue b/src/components/navMenu/index.vue index 8ec8655e0..7bb3bf15a 100644 --- a/src/components/navMenu/index.vue +++ b/src/components/navMenu/index.vue @@ -154,7 +154,7 @@ { title: '问答库', // 把 标准涉及项目 这几个字 改成 标准合规评估结果 path: '/standQA', - menuId: '' + menuId: '2621269642ea4c6c8c42905863b2dc09' }, // { // title: '零部件编号申请', @@ -444,7 +444,7 @@ title: '个人中心', path: '/personal', 'icon-class': 'el-icon-s-check', - menuId: '32143ffasdf', + // menuId: '32143ffasdf', children: [ // { // title: '我的消息', @@ -458,8 +458,8 @@ // }, { title: '我的收藏', - path: '/collection', - menuId: '63e999c65b1f2b1339119a00eb1d50cf' + path: '/collection' + // menuId: '63e999c65b1f2b1339119a00eb1d50cf' }, // { // title: '我的浏览', @@ -478,14 +478,14 @@ // }, { title: '我的问答', - path: '/questions', - menuId: '' + path: '/questions' + // menuId: '' }, - { - title: '我的板块', - path: '/plate', - menuId: 'e4a94f03223df6f4ad70732b96f07221' - } + // { + // title: '我的板块', + // path: '/plate' + // // menuId: 'e4a94f03223df6f4ad70732b96f07221' + // } // { // title: '个人信息', // path: '/info', diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 1f8bd484b..7d031c6eb 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -411,13 +411,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" /> @@ -493,13 +493,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45': 'a772afab2a6708883335500f3f86e771'" /> @@ -513,13 +513,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" /> @@ -560,13 +560,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" />

@@ -655,13 +655,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" /> @@ -678,13 +678,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" /> @@ -785,7 +785,7 @@
+ > 导出 编辑
diff --git a/src/pages/details/otherStandardExternalDetails/index.vue b/src/pages/details/otherStandardExternalDetails/index.vue index fdb7714fc..dacd252d7 100644 --- a/src/pages/details/otherStandardExternalDetails/index.vue +++ b/src/pages/details/otherStandardExternalDetails/index.vue @@ -423,13 +423,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" /> @@ -505,13 +505,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" /> @@ -525,13 +525,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" /> @@ -581,13 +581,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" /> @@ -604,13 +604,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" /> @@ -685,13 +685,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" /> @@ -708,13 +708,13 @@ title="下载" @click="downloadFile(file.id)" class="icon-download" - v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'" + v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'" /> @@ -815,7 +815,7 @@
+ > 导出 编辑
diff --git a/src/pages/details/process/ruku/index.vue b/src/pages/details/process/ruku/index.vue index 74fab4799..1674c8193 100644 --- a/src/pages/details/process/ruku/index.vue +++ b/src/pages/details/process/ruku/index.vue @@ -350,7 +350,7 @@ 导出 + @click="exportStandardItem" >导出 + > 导出 编辑 diff --git a/src/router/index.js b/src/router/index.js index 3d9ee3cac..7f7175f3a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -211,16 +211,17 @@ const routes = [ path: '/personal', name: 'Personal', redirect: () => { - if (hasRouterPermission('ZY9RFA4M35') && hasRouterPermission('JCEV4AEV32')) { - return '/dynamics' - } else { - return getRedirectPath('ZY9RFA4M35') || '/info' - } + return '/collection' + // if (hasRouterPermission('ZY9RFA4M35') && hasRouterPermission('JCEV4AEV32')) { + // return '/collection' + // } else { + // return getRedirectPath('ZY9RFA4M35') || '/info' + // } }, component: resolve => require(['@/pages/personal'], resolve), meta: { - title: '个人', - menuId: 'ZY9RFA4M35' + title: '个人中心' + // menuId: 'ZY9RFA4M35' }, children: [ // { @@ -248,9 +249,9 @@ const routes = [ name: 'MyCollection', component: resolve => require(['@/pages/personal/pages/my-collection'], resolve), meta: { - requireAuth: true, - title: '我的收藏', - menuId: 'JY5LKL2HPD' + requireAuth: false, + title: '我的收藏' + // menuId: 'JY5LKL2HPD' } }, { @@ -318,9 +319,9 @@ const routes = [ name: 'MyQuestions', component: resolve => require(['@/pages/personal/pages/my-questions'], resolve), meta: { - requireAuth: true, - title: '我的问答', - menuId: '' + requireAuth: false, + title: '我的问答' + // menuId: '' } }, { @@ -328,7 +329,7 @@ const routes = [ name: 'QuestionDetail', component: resolve => require(['@/pages/personal/pages/my-questions/components/questionDetail.vue'], resolve), meta: { - requireAuth: true, + requireAuth: false, title: '问题详情', menuId: '' }