Commit 479823f4 authored by 徐一鸣's avatar 徐一鸣

应用构建-镜像详情增加展示字段

parent e6712bb7
<template> <template>
<div class="image_detail"> <div class="image_detail">
<apass-dialog ref="listdialog" :title="title" width="985px"> <apass-dialog ref="listdialog" :title="title" width="1200px">
<template slot="content"> <template slot="content">
<div class="apass_table"> <div class="apass_table">
<el-table :data="imageData"> <el-table :data="imageData">
<el-table-column width="20"></el-table-column> <el-table-column width="20"></el-table-column>
<el-table-column label="版本号" align="left"> <el-table-column label="版本号" width="120" align="left">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.name }} {{ scope.row.name }}
</template> </template>
...@@ -15,6 +15,11 @@ ...@@ -15,6 +15,11 @@
{{ scope.row.author }} {{ scope.row.author }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="镜像地址" align="left">
<template slot-scope="scope">
{{ scope.row.image_url }}
</template>
</el-table-column>
<el-table-column label="创建时间" width="180" align="center"> <el-table-column label="创建时间" width="180" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ dateTransform(scope.row.created) }} {{ dateTransform(scope.row.created) }}
...@@ -25,7 +30,7 @@ ...@@ -25,7 +30,7 @@
{{ getSize(scope.row.size) }} {{ getSize(scope.row.size) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="漏洞" width="160" align="center"> <el-table-column label="漏洞" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<image-bugs <image-bugs
v-if="scope.row.scan_overview" v-if="scope.row.scan_overview"
......
...@@ -384,6 +384,7 @@ export default { ...@@ -384,6 +384,7 @@ export default {
this.image_noMore = false; this.image_noMore = false;
}) })
.catch((error) => { .catch((error) => {
this.image_loading = false;
console.log(error); console.log(error);
}); });
}, },
......
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