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