Commit ce2d1aa874d94eb029583bd1830168374ef574ea

Authored by 张红振
1 parent b6ae1a92

fix bug

src/views/community/housekeeper/changeAdmin.vue
... ... @@ -155,7 +155,7 @@ watchEffect(() => {
155 155 <Pagination
156 156 v-if="data.total > 0"
157 157 :total="data.total"
158   - :currentPage="searchData.pageNum"
  158 + :currentPage="searchData.page"
159 159 :pageSize="searchData.pageSize"
160 160 @pageChange="search"
161 161 ></Pagination>
... ...
src/views/community/housekeeper/houseDetail.vue
... ... @@ -37,7 +37,7 @@ let data = reactive({
37 37 * 获取下拉数据
38 38 */
39 39 const getSelectList: void = () => {
40   - getTableList({ pageNum: 1, pageSize: 1000, type: 0 })
  40 + getTableList({ page: 1, pageSize: 1000, type: 0 })
41 41 .then((res) => {
42 42 data.options = res.data.data.list;
43 43 })
... ...
src/views/community/housekeeper/index.vue
... ... @@ -16,7 +16,7 @@ const searchData = reactive({
16 16 neighborhoodId: null,
17 17 type: 0,
18 18 name: null,
19   - pageNum: 1,
  19 + page: 1,
20 20 pageSize: 10,
21 21 });
22 22 // 展示
... ... @@ -203,7 +203,7 @@ watchEffect(() =&gt; {
203 203 <Pagination
204 204 v-if="data.total > 0"
205 205 :total="data.total"
206   - :currentPage="searchData.pageNum"
  206 + :currentPage="searchData.page"
207 207 :pageSize="searchData.pageSize"
208 208 @pageChange="search"
209 209 ></Pagination>
... ...
src/views/community/houses/buildOwner.vue
... ... @@ -207,7 +207,7 @@ watchEffect(() =&gt; {
207 207 <Pagination
208 208 v-if="data.total > 0"
209 209 :total="data.total"
210   - :currentPage="searchData.pageNum"
  210 + :currentPage="searchData.page"
211 211 :pageSize="searchData.pageSize"
212 212 @pageChange="search"
213 213 ></Pagination>
... ...
src/views/community/houses/index.vue
... ... @@ -16,7 +16,7 @@ const searchData = reactive({
16 16 buildingId: null,
17 17 type: 0,
18 18 roomNumber: null,
19   - pageNum: 1,
  19 + page: 1,
20 20 pageSize: 10,
21 21 });
22 22 // 展示
... ... @@ -196,7 +196,7 @@ watchEffect(() =&gt; {
196 196 <Pagination
197 197 v-if="data.total > 0"
198 198 :total="data.total"
199   - :currentPage="searchData.pageNum"
  199 + :currentPage="searchData.page"
200 200 :pageSize="searchData.pageSize"
201 201 @pageChange="search"
202 202 ></Pagination>
... ...
src/views/community/houses/relieve.vue
... ... @@ -137,7 +137,7 @@ watchEffect(() =&gt; {
137 137 <Pagination
138 138 v-if="data.total > 0"
139 139 :total="data.total"
140   - :currentPage="searchData.pageNum"
  140 + :currentPage="searchData.page"
141 141 :pageSize="searchData.pageSize"
142 142 @pageChange="search"
143 143 ></Pagination>
... ...
src/views/community/residence/index.vue
... ... @@ -9,7 +9,7 @@ let instance: ComponentInternalInstance | null = getCurrentInstance(); //获取a
9 9 const searchData = reactive({
10 10 type: 0,
11 11 name: null,
12   - pageNum: 1,
  12 + page: 1,
13 13 pageSize: 10,
14 14 });
15 15 // 展示
... ... @@ -144,7 +144,7 @@ onMounted(() =&gt; {
144 144 <Pagination
145 145 v-if="data.total > 0"
146 146 :total="data.total"
147   - :currentPage="searchData.pageNum"
  147 + :currentPage="searchData.page"
148 148 :pageSize="searchData.pageSize"
149 149 @pageChange="search"
150 150 ></Pagination>
... ...
src/views/housekeeper/buildinMganager/index.vue
... ... @@ -156,7 +156,7 @@ onMounted(() =&gt; {
156 156 <Pagination
157 157 v-if="data.total > 0"
158 158 :total="data.total"
159   - :currentPage="searchData.pageNum"
  159 + :currentPage="searchData.page"
160 160 :pageSize="searchData.pageSize"
161 161 @pageChange="search"
162 162 ></Pagination>
... ...