店铺入驻bug修改

This commit is contained in:
mabo
2021-05-17 15:38:31 +08:00
parent 25690e86e7
commit a4f2fc1381
8 changed files with 48 additions and 45 deletions

View File

@@ -68,9 +68,16 @@
type="info"
v-if="row.promotionStatus == 'NEW'"
size="small"
@click="manage(row)"
@click="manage(row, 'manager')"
>管理</Button
>&nbsp;
<Button
type="info"
v-if="row.promotionStatus !== 'NEW'"
size="small"
@click="manage(row, 'view')"
>查看</Button
>&nbsp;
<Button
type="error"
size="small"
@@ -252,8 +259,8 @@ export default {
edit(v) {
this.$router.push({ name: "new-pintuan", query: { id: v.id } });
},
manage(v) {
this.$router.push({ name: "pintuan-goods", query: { id: v.id } });
manage(v, status) {
this.$router.push({ name: "pintuan-goods", query: { id: v.id, status: status } });
},
open(v) {
this.$Modal.confirm({