Commit de393661 authored by 徐一鸣's avatar 徐一鸣

Merge branch 'dev' of cloud.wodcloud.com:apaas/apaas-v3-ui into dev

parents 0bb84a58 911999d4
...@@ -212,9 +212,9 @@ export default { ...@@ -212,9 +212,9 @@ export default {
position: "", position: "",
}, },
service_arr: [ service_arr: [
["基本信息", "镜像文件管理", "部署文件管理", "评分及评论"], ["基本信息", "镜像文件管理", "部署文件管理"],
["基本信息", "评分及评论"], ["基本信息"],
["基本信息", "评分及评论"], ["基本信息"],
], ],
service_header_arr: { service_header_arr: {
name: "", name: "",
...@@ -306,9 +306,7 @@ export default { ...@@ -306,9 +306,7 @@ export default {
this.get_options() this.get_options()
this.get_file_name() this.get_file_name()
this.get_app_code() 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() { mounted() {
this.header_arr = [ this.header_arr = [
...@@ -677,7 +675,9 @@ export default { ...@@ -677,7 +675,9 @@ export default {
] ]
var temp_str = show_arr[data.online_state][data.up_deploy_status][data.up_platform_status] var temp_str = show_arr[data.online_state][data.up_deploy_status][data.up_platform_status]
if(this.$route.query.source=='apply'){ if(this.$route.query.source=='apply'){
if((this.now_user==0||this.now_user==4)){
this.service_arr[0].splice(1, 2);
}
}else{ }else{
if(temp_str&&temp_str[0]&&temp_str[0].indexOf('')!==-1){ if(temp_str&&temp_str[0]&&temp_str[0].indexOf('')!==-1){
temp_info.yydetail = temp_str[0] temp_info.yydetail = temp_str[0]
...@@ -692,6 +692,9 @@ export default { ...@@ -692,6 +692,9 @@ export default {
temp_info.xxdetail = temp_str[1] 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){ if(this.now_user == 0){
temp_info.fxdetail = true 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