Commit 00aea7ca authored by 徐一鸣's avatar 徐一鸣

部署的应用列表页增加按工作区域的筛选

parent 48c00efb
......@@ -10,7 +10,7 @@
:list-padding-left="35"
@list-action="initDatas"
>
<el-breadcrumb separator="/">
<el-breadcrumb separator="/" slot="breadcrumb">
<el-breadcrumb-item>我的应用</el-breadcrumb-item>
<el-breadcrumb-item>{{ pathName }}</el-breadcrumb-item>
</el-breadcrumb>
......@@ -914,7 +914,7 @@ export default {
callback(response) {
let datas = [];
datas = response.body.data.map((v) => ({
datas = (response.body.data || []).map((v) => ({
name: v.name,
value: v.id,
}));
......@@ -931,7 +931,7 @@ export default {
callback(response) {
let datas = [];
datas = response.body.data.map((v) => ({
datas = (response.body.data || []).map((v) => ({
name: v.name,
value: v.id,
}));
......@@ -945,19 +945,19 @@ export default {
},
];
if (level == 0 && type == 1) {
if (type == 1) {
urls.push({
path: "/apaas/hubApi/market/namespaces",
callback(response) {
let datas = [];
datas = response.body.data.map((v) => ({
datas = (response.body.data || []).map((v) => ({
name: v.text,
value: v.value,
}));
return {
name: "工作空间",
name: "工作区域",
prop: "namespaces",
data: datas,
};
......@@ -1044,7 +1044,7 @@ export default {
return item.value;
})
.join(",");
} // 工作空间
} // 工作区域
this.tempFliter = filter;
......
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