diff --git a/src/pages/workbench/yygl/app_detail.vue b/src/pages/workbench/yygl/app_detail.vue index aeaf46fbb0544530f70aee503cc1c903bf4fa469..74d4dd934c7e07e86e105f908df50a39af70b07a 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 }