整理商品管理模块

This commit is contained in:
2024-07-25 19:20:53 +08:00
parent 717c89a58e
commit cf0961afdd
48 changed files with 1814 additions and 965 deletions
+19 -3
View File
@@ -5,7 +5,19 @@
<template #icon>
<PlusOutlined />
</template>
<span>添加商户</span>
<span>添加</span>
</a-button>
<a-button class="ele-btn-icon" @click="openUrl(`/shop/index`)">
<span>店铺管理</span>
</a-button>
<a-button class="ele-btn-icon" @click="openUrl(`/shop/apply`)">
<span>入驻申请</span>
</a-button>
<a-button class="ele-btn-icon" @click="openUrl(`/shop/desk`)">
<span>桌号管理</span>
</a-button>
<a-button class="ele-btn-icon" @click="openUrl(`/shop/type`)">
<span>店铺类型</span>
</a-button>
</a-space>
</template>
@@ -14,6 +26,8 @@
import { PlusOutlined } from '@ant-design/icons-vue';
import type { GradeParam } from '@/api/user/grade/model';
import { watch } from 'vue';
import { openUrl } from '@/utils/common';
import router from '@/router';
const props = withDefaults(
defineProps<{
@@ -36,7 +50,9 @@
};
watch(
() => props.selection,
() => {}
() => router.currentRoute,
(route) => {
console.log(route,'route');
}
);
</script>