sc
This commit is contained in:
@@ -129,27 +129,27 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
path: '/Basic',
|
||||
component: Layout,
|
||||
name: 'Basic',
|
||||
meta: { title: '菜单管理' },
|
||||
redirect: '/Basic/menu',
|
||||
children: [
|
||||
{
|
||||
path: 'menu',
|
||||
component: () => import('@/views/Basic/Menu/index.vue'),
|
||||
name: 'Menu',
|
||||
meta: {
|
||||
canTo: true,
|
||||
hidden: true,
|
||||
noTagsView: false,
|
||||
icon: 'ep:user',
|
||||
title: '菜单管理'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
// {
|
||||
// path: '/Basic',
|
||||
// component: Layout,
|
||||
// name: 'Basic',
|
||||
// meta: { title: '菜单管理' },
|
||||
// redirect: '/Basic/menu',
|
||||
// children: [
|
||||
// {
|
||||
// path: 'menu',
|
||||
// component: () => import('@/views/Basic/Menu/index.vue'),
|
||||
// name: 'Menu',
|
||||
// meta: {
|
||||
// canTo: true,
|
||||
// hidden: true,
|
||||
// noTagsView: false,
|
||||
// icon: 'ep:user',
|
||||
// title: '菜单管理'
|
||||
// }
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
path: '/login',
|
||||
component: () => import('@/views/Login/Login.vue'),
|
||||
|
||||
@@ -228,6 +228,16 @@ const rules = ref({
|
||||
|
||||
function addDiscount() {
|
||||
showDialog.value = true
|
||||
form.value = {
|
||||
discountType: '1',
|
||||
subject: '1',
|
||||
param1: undefined,
|
||||
param2: undefined,
|
||||
discount: undefined,
|
||||
duration: undefined,
|
||||
unit: '1',
|
||||
description: undefined
|
||||
}
|
||||
}
|
||||
|
||||
function editDiscount(row) {
|
||||
|
||||
@@ -164,7 +164,17 @@ const rules = ref({
|
||||
|
||||
function addVip() {
|
||||
showDialog.value = true
|
||||
form.value.carTypeId = searchForm.value.carTypeId
|
||||
|
||||
form.value.carTypeId = {
|
||||
memberName: '',
|
||||
carTypeId: searchForm.value.carTypeId,
|
||||
subjects: [],
|
||||
price: '',
|
||||
discount: '',
|
||||
duration: '',
|
||||
unit: 1,
|
||||
useTypes: [1]
|
||||
}
|
||||
}
|
||||
|
||||
function editVip(row) {
|
||||
|
||||
Reference in New Issue
Block a user