Commit 8f1650e6 authored by 徐一鸣's avatar 徐一鸣

应用管理列表fixed

parent 87cd7003
......@@ -18,11 +18,19 @@
'margin-top': i < filterLength ? '0' : '10px',
}"
>
<a
:class="{ current: isCurrentFilter(item.prop, v) }"
@click.prevent="selectFilter(item.prop, v)"
v-text="v.name"
></a>
<el-tooltip
class="item"
effect="dark"
:content="v.name"
placement="top"
>
<a
class="text_clip"
:class="{ current: isCurrentFilter(item.prop, v) }"
@click.prevent="selectFilter(item.prop, v)"
v-text="v.name"
></a>
</el-tooltip>
</li>
<div
......@@ -189,6 +197,7 @@ export default {
display: block;
height: 30px;
width: 130px;
padding: 0 15px;
box-sizing: border-box;
border-radius: 12px;
text-align: center;
......
......@@ -172,6 +172,10 @@ export default {
name: "开发者应用",
value: 1,
},
{
name: "未上架",
value: 0,
},
],
},
];
......@@ -740,6 +744,10 @@ export default {
name: "开发者应用",
value: 1,
},
{
name: "未上架",
value: 0,
},
],
},
];
......@@ -823,6 +831,10 @@ export default {
name: "开发者应用",
value: 1,
},
{
name: "未上架",
value: 0,
},
],
},
];
......@@ -1011,7 +1023,7 @@ export default {
},
].concat(
(response.body.data || []).map((v) => ({
name: v.text,
name: v.value,
value: v.value,
}))
);
......@@ -1136,8 +1148,13 @@ export default {
this.dialogInfo.cancelText = "";
this.dialogInfo.sunbmitText = "";
this.dialogInfo.submit = () => {
debugger;
this.$http
.delete(`/apaas/hubApi/market/del/${item.app_id}`)
.delete(`/apaas/hubApi/market/del/${item.app_id}`, {
params: {
apply_id: item.apply_id,
},
})
.then(({ data }) => {
if (data.success) {
this.$message({
......
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