소스 검색

feat:添加编辑接口

AmandaG 4 달 전
부모
커밋
bdd6aa70fb
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/views/DestinationDelivery/src/components/TableView/src/TableView.vue

+ 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) => {