From 9c0d9dbbf833ed54ff57eb109f06e93a93d8293c Mon Sep 17 00:00:00 2001 From: zhangjun1 Date: Wed, 15 Jul 2020 17:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E4=BB=93=E5=BA=93=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/workbench/yygl/app_detail.vue | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/pages/workbench/yygl/app_detail.vue b/src/pages/workbench/yygl/app_detail.vue index aeaf46f..74d4dd9 100644 --- a/src/pages/workbench/yygl/app_detail.vue +++ b/src/pages/workbench/yygl/app_detail.vue @@ -212,9 +212,9 @@ export default { position: "", }, service_arr: [ - ["基本信息", "镜像文件管理", "部署文件管理", "评分及评论"], - ["基本信息", "评分及评论"], - ["基本信息", "评分及评论"], + ["基本信息", "镜像文件管理", "部署文件管理"], + ["基本信息"], + ["基本信息"], ], service_header_arr: { name: "", @@ -306,9 +306,7 @@ export default { this.get_options() this.get_file_name() this.get_app_code() - if((this.now_user==0||this.now_user==4)&&this.$route.query.source=='apply'){ - this.service_arr[0].splice(1, 2); - } + }, mounted() { this.header_arr = [ @@ -674,7 +672,9 @@ export default { ] var temp_str = show_arr[data.online_state][data.up_deploy_status][data.up_platform_status] if(this.$route.query.source=='apply'){ - + if((this.now_user==0||this.now_user==4)){ + this.service_arr[0].splice(1, 2); + } }else{ if(temp_str&&temp_str[0]&&temp_str[0].indexOf('架')!==-1){ temp_info.yydetail = temp_str[0] @@ -689,6 +689,9 @@ export default { temp_info.xxdetail = temp_str[1] } } + if(data.online_state==1&&data.up_deploy_status==2&&data.up_platform_status==0){ + this.service_arr[this.now_user].push('评分及评论') + } if(this.now_user == 0){ temp_info.fxdetail = true } -- 2.26.0