修复跨页面跳转URL双重admin路径

main
haoliang 1 month ago
parent 507283850c
commit ab94396497

@ -260,7 +260,7 @@ function goToProgram(row: MachineProductionItem) {
const startDate = filters.dateRange[0] ?? ''
const endDate = filters.dateRange[1] ?? ''
router.push({
path: '/admin/production/program',
path: '/production/program',
query: {
startDate,
endDate,

@ -230,7 +230,7 @@ function goToMachine(row: ProgramListItem) {
const startDate = filters.dateRange[0] ?? ''
const endDate = filters.dateRange[1] ?? ''
router.push({
path: '/admin/production/machine',
path: '/production/machine',
query: {
startDate,
endDate,

@ -258,7 +258,7 @@ function goToMachine(row: WorkerProductionItem) {
const startDate = filters.dateRange[0] || ''
const endDate = filters.dateRange[1] || ''
router.push({
path: '/admin/production/machine',
path: '/production/machine',
query: {
startDate,
endDate,
@ -272,7 +272,7 @@ function goToProgram(row: WorkerProductionItem) {
const startDate = filters.dateRange[0] || ''
const endDate = filters.dateRange[1] || ''
router.push({
path: '/admin/production/program',
path: '/production/program',
query: {
startDate,
endDate,

Loading…
Cancel
Save