Explorar o código

feat:添加编辑接口

AmandaG hai 4 meses
pai
achega
bdd6aa70fb

+ 1 - 3
src/views/DestinationDelivery/src/components/TableView/src/TableView.vue

@@ -314,7 +314,6 @@ const clickEmailBtn = (row: any) => {
 
 // edit
 const handelEdit = (row: any) => {
-  console.log(row)
   router.push({
     path: '/destination-delivery/CreateNewBooking',
     query: { a: row._serial_no}
@@ -322,8 +321,7 @@ const handelEdit = (row: any) => {
 }
 
 const handleCreate = () => {
-  // Handle create new booking logic here
-  console.log('Create new booking')
+  router.push({ name: 'Create New Booking' })
 }
 
 const handleLinkClick = (row: any, column: any) => {