add discount page

This commit is contained in:
2026-02-19 17:55:23 +03:30
parent 2ec50d65d7
commit c01c1da7e4
7 changed files with 365 additions and 25 deletions
+12 -1
View File
@@ -1,5 +1,5 @@
import type { RouteRecordRaw } from 'vue-router'
import {getConfigApp} from "@/utils/config";
const Setting: RouteRecordRaw = {
name: 'settings',
path: '/settings',
@@ -61,6 +61,17 @@ const Setting: RouteRecordRaw = {
title: 'هشدار قیمت'
}
},
{
name: 'discounts',
path: 'discounts',
component: () => import('@/pages/menuPages/discount/index.vue'),
meta: {
permissionsKey: 'discounts',
icon: 'vuesax-linear:notification-bing',
title: 'تخفیفات',
hideMenu: getConfigApp.name !== "goldsun"
}
},
{
name: 'configuration',
path: 'configuration',