ソースを参照

分页字段改为size,current

lifanagju_citu 6 ヶ月 前
コミット
4f74a81b55
1 ファイル変更12 行追加12 行削除
  1. 12 12
      src/views/recruit/enterprise/jobFair/components/resume.vue

+ 12 - 12
src/views/recruit/enterprise/jobFair/components/resume.vue

@@ -137,8 +137,8 @@ const tabList = ref([
     items: [],
     total: 0,
     pageInfo: {
-      pageNo: 1,
-      pageSize: 10
+      current: 1,
+      size: 10
     }
   },
   {
@@ -148,8 +148,8 @@ const tabList = ref([
     items: [],
     total: 0,
     pageInfo: {
-      pageNo: 1,
-      pageSize: 10
+      current: 1,
+      size: 10
     }
   },
   {
@@ -159,8 +159,8 @@ const tabList = ref([
     items: [],
     total: 0,
     pageInfo: {
-      pageNo: 1,
-      pageSize: 10
+      current: 1,
+      size: 10
     }
   },
   {
@@ -170,8 +170,8 @@ const tabList = ref([
     items: [],
     total: 0,
     pageInfo: {
-      pageNo: 1,
-      pageSize: 10
+      current: 1,
+      size: 10
     }
   }
   // { label: '面试邀约', value: 1, statuss: [21, 22, 23], items: [], total: 0 },
@@ -290,8 +290,8 @@ const AccessItems = ref({
 const loading = ref(false)
 
 // const pageInfo = ref({
-//   pageNo: 1,
-//   pageSize: 10
+//   current: 1,
+//   size: 10
 // })
 
 const itemData = ref({})
@@ -309,12 +309,12 @@ getDict('menduner_interview_invite_status').then(({data}) => {
 })
 
 const handleChangePage = (index) => {
-  tabList.value[tab.value].pageInfo.pageNo = index
+  tabList.value[tab.value].pageInfo.current = index
   getList()
 }
 
 const handleChange = () => {
-  tabList.value[tab.value].pageInfo.pageNo = 1
+  tabList.value[tab.value].pageInfo.current = 1
   getList()
 }