jwyu 10 bulan lalu
induk
melakukan
44dd8a4e29
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      src/views/etaChart/components/ClassifyWrap.vue

+ 4 - 4
src/views/etaChart/components/ClassifyWrap.vue

@@ -47,19 +47,19 @@ const searchLoading=ref(false)
 let searchPage=1
 const searchPageSize=20
 let finished=false
-function handleSearchChart(){
+function handleSearchChart(keyword){
   finished=false
   searchPage=1
   searchOpts.value=[]
-  handleGetSearchChartList()
+  handleGetSearchChartList(keyword)
 }
-async function handleGetSearchChartList(){
+async function handleGetSearchChartList(keyword){
   searchLoading.value=true
   const res=await apiETAChart.chartSearch({
     PageSize:searchPageSize,
     CurrentIndex:searchPage,
     SysUserIds:'',
-    Keyword:searchVal.value
+    Keyword:keyword
   })
   searchLoading.value=false
   if(res.Ret===200){