Jelajahi Sumber

feat:修改跳转页面时的参数。

AmandaG 1 tahun lalu
induk
melakukan
87e15467df

+ 1 - 2
src/auto-imports.d.ts

@@ -3,7 +3,6 @@
 // @ts-nocheck
 // noinspection JSUnusedGlobalSymbols
 // Generated by unplugin-auto-import
-// biome-ignore lint: disable
 export {}
 declare global {
   const $api: typeof import('@/api/index')['default']
@@ -69,6 +68,6 @@ declare global {
 // for type re-export
 declare global {
   // @ts-ignore
-  export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
+  export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
   import('vue')
 }

+ 1 - 1
src/components/SelectTableSelect/src/SelectTableSelect.vue

@@ -82,7 +82,7 @@ const changeAutoSelect = (val: any, value: any) => {
   }
   AutoSelectObj[val] = value.join()
   emit('changeAutoSelect', AutoSelectObj, errorBoolean.value)
-}
+} 
 const typeSelectFocus = (index: any, e: any) => {
   typeSelectIndex.value = index
 }

+ 1 - 1
src/views/Booking/src/components/BookingTable/src/BookingTable.vue

@@ -141,7 +141,7 @@ const searchTableData = (data: any) => {
         if (res.data.searchData.length == 1) {
           router.push({
             path: '/booking/detail',
-            query: { a: res.data.searchData.__serial_no, _schemas: res.data.searchData.__schemas }
+            query: { a: res.data.searchData._serial_no, _schemas: res.data.searchData._schemas }
           })
         } else {
           bookingTable.value.data = res.data.searchData || []

+ 1 - 1
src/views/Tracking/src/components/TrackingTable/src/TrackingTable.vue

@@ -237,7 +237,7 @@ const searchTableData = (data: any) => {
             path: '/tracking/detail',
             query: {
               a: res.data.searchData[0].__serial_no,
-              _schemas: res.data.searchData[0].__schemas
+              _schemas: res.data.searchData[0]._schemas
             }
           })
         } else {