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

应用管理列表fixed

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