Commit 5347c7a4 authored by 张俊's avatar 张俊

部署应用详情

parent 14de8ffc
...@@ -6,7 +6,10 @@ ...@@ -6,7 +6,10 @@
{{ item.title }} {{ item.title }}
</p> </p>
<p v-if="!(item.prop && item.prop == 'title')"> <p v-if="!(item.prop && item.prop == 'title')">
<span v-html="item.info" style="white-space:pre-wrap;"></span> <span v-if="item.type == 'url'" style="white-space:pre-wrap;"
>访问地址: <a :href="item.info" target="_blank">{{ item.info }}</a></span
>
<span v-else v-html="item.info" style="white-space:pre-wrap;"></span>
<span v-if="item.type && item.type == 'down'" class="filebtn" <span v-if="item.type && item.type == 'down'" class="filebtn"
>下载文件</span >下载文件</span
> >
...@@ -31,6 +34,9 @@ export default { ...@@ -31,6 +34,9 @@ export default {
</script> </script>
<style scoped> <style scoped>
a {
text-decoration: none;
}
.list p { .list p {
line-height: 32px; line-height: 32px;
color: #8890a7; color: #8890a7;
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<span class="right gap" v-if="data.yydetail">|</span> <span class="right gap" v-if="data.yydetail">|</span>
<span class="right underline" v-if="data.yydetail" @click="subevent(2)" title="申请下线至开发者应用">申请下线</span> <span class="right underline" v-if="data.yydetail" @click="subevent(2)" title="申请下线至开发者应用">申请下线</span>
<span class="right undersell" v-if="data.yydetail" @click="subevent(3)">申请下架</span> <span class="right undersell" v-if="data.yydetail" @click="subevent(3)">申请下架</span>
<span class="right undersell undermy" v-if="data.bsdetail" @click="subevent(4)">申请密钥</span>
<span class="info_fix" v-if="data.fixed">我要修改</span> <span class="info_fix" v-if="data.fixed">我要修改</span>
</p> </p>
<div class="info_detail"> <div class="info_detail">
...@@ -59,6 +60,8 @@ export default { ...@@ -59,6 +60,8 @@ export default {
this.$emit('unline',0) this.$emit('unline',0)
}else if(val == 3){ }else if(val == 3){
this.$emit('unsell',1) this.$emit('unsell',1)
}else if(val == 4){
this.$emit('applymy',1)
} }
} }
}, },
...@@ -148,6 +151,10 @@ export default { ...@@ -148,6 +151,10 @@ export default {
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
} }
.undermy{
background-color: #515fe7;
color: #e6ebfe;
}
.info_detail { .info_detail {
width: 100%; width: 100%;
height: 96px; height: 96px;
......
...@@ -92,9 +92,9 @@ export default new Router({ ...@@ -92,9 +92,9 @@ export default new Router({
component: () => import("@/pages/app_edit"), component: () => import("@/pages/app_edit"),
}, },
{ {
path: "/yyglapprovaldetail/:level/1", // 应用仓库编辑 path: "/yygldeploydetail/:level/1", // 部署仓库编辑
name: "approval_app_detail", name: "deploy_app_detail",
component: () => import("@/pages/approval_app_detail"), component: () => import("@/pages/deploy_app_detail"),
}, },
], ],
}, // 工作台 - 应用管理模块 }, // 工作台 - 应用管理模块
......
{
"data":{
"appInfo":{
"name":"Mapvideos",
"pic":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1589794724576&di=d0bff81ff3bb08f3120b3eb2bac58024&imgtype=0&src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fitem%2F201511%2F21%2F20151121171107_zMZcy.thumb.700_0.jpeg",
"first": [
{
"name": "业务类型",
"text": "业务应用"
},
{
"name": "业务领域",
"text": "应急领域"
}
],
"second": [
{
"name": "上架区域",
"text": "应用商店"
},
{
"name": "部署区域",
"text": "apaas"
},
{
"name":"部署时间",
"text":"2019-11-28"
}
]
},
"appbaseinfo":{
"intorduce":"本应用将视频设备的空间位置信息精准匹配至地图上,通过点击地图上的视频设备能够实现在设备真实位置对视频进行调用,包括实时视频流数据的调用和对视频设备的操作,包括实时视频流数据的调用和对视频设备的操作,",
"action":"<p>1、在地图上查找视频设备\n 2、在地图上定位视频设备位置;\n3、调用多路视频的实时视频数据;\n4、操作球机视频设备</p>",
"use":"本应用将视频设备的空间位置信息精准匹配至地图上,通过点击地图上的视频设备能够实现在设备真实位置对视频进行调用,包括实时视频流数据的调用和对视频设备的操作,包括实时视频流数据的调用和对视频设备的操作,",
"appcode":"<p>repository: 'hub.wodcloud.com/apaas/apaas-mapvideos'\ntag: '1.0.0'\n\nhost: 'mapvideo.wodcloud.local'</p>",
"url":"http://www.baidu.com",
"url1":{
"ip":"localhost",
"port":1122,
"user":"root",
"password":"1231231"
},
"url2":{
"text":"xxxx使用说明.doc",
"url":"http://www.baidu.com"
},
"state":2,
"public":true
},
"imagearr":[
{
"name":"apaas-mapvideos镜像1123123123123",
"data":[
{
"id":1,
"vision":"V1.0",
"state":"运行中",
"date":"2020-05-07 09:10:47"
},
{
"id":2,
"vision":"V1.0",
"state":"运行中",
"date":"2020-05-07 09:10:47"
},
{
"id":3,
"vision":"V1.0",
"state":"运行中",
"date":"2020-05-07 09:10:47"
}
]
},
{
"name":"apaas-mapvideos镜像2",
"data":[
{
"id":1,
"vision":"V1.0.1",
"state":"运行中",
"date":"2020-05-07 09:10:47"
},
{
"id":2,
"vision":"V1.0.1",
"state":"运行中",
"date":"2020-05-07 09:10:47"
},
{
"id":3,
"vision":"V1.0.1",
"state":"运行中",
"date":"2020-05-07 09:10:47"
}
]
},
{
"name":"apaas-mapvideos镜像3",
"data":[
{
"id":1,
"vision":"V1.0.2",
"state":"运行中",
"date":"2020-05-07 09:10:47"
},
{
"id":2,
"vision":"V1.0.2",
"state":"运行中",
"date":"2020-05-07 09:10:47"
},
{
"id":3,
"vision":"V1.0.2",
"state":"运行中",
"date":"2020-05-07 09:10:47"
}
]
}
]
}
}
\ No newline at end of file
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