修复优化拼团

This commit is contained in:
paulGao
2021-12-29 19:50:24 +08:00
parent 8ca87cdb2a
commit 4ff8eb6494
2 changed files with 15 additions and 11 deletions

View File

@@ -62,31 +62,31 @@
v-if="row.promotionStatus == 'NEW'"
@click="edit(row)"
>编辑</Button
>&nbsp;
>
<Button
type="info"
v-if="row.promotionStatus == 'NEW'"
size="small"
@click="manage(row, 'manager')"
>管理</Button
>&nbsp;
>
<Button
type="info"
v-if="row.promotionStatus !== 'NEW'"
v-if="row.promotionStatus !== 'NEW' && row.promotionStatus !== 'CLOSE'"
size="small"
@click="manage(row, 'view')"
>查看</Button
>&nbsp;
>
<Button
type="error"
size="small"
v-if="row.promotionStatus != 'START'"
@click="remove(row)"
>删除</Button
>&nbsp;
>
<Button
type="success"
v-if="row.promotionStatus == 'NEW' || row.promotionStatus == 'CLOSE'"
v-if="row.promotionStatus == 'CLOSE'"
size="small"
@click="open(row)"
>开启</Button
@@ -345,4 +345,8 @@ export default {
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
.row Button {
margin-right: 4px;
}
</style>