Commit 9c0d9dbb authored by 张俊's avatar 张俊

应用仓库评论显示

parent 3cab9fe3
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment