Commit aabbec028dc56d7a50f8a4afd9cd751596bdc305

Authored by 张红振
1 parent 9c46d9fd

fix bug

src/views/ownerManagement/owner/index.vue
@@ -48,25 +48,25 @@ const data = reactive({ @@ -48,25 +48,25 @@ const data = reactive({
48 /** 48 /**
49 * 类型变化监听 49 * 类型变化监听
50 */ 50 */
51 -const chengeType = (e: Event) => {  
52 - data.loading = true;  
53 - getTableList({  
54 - page: searchData.page,  
55 - pageSize: searchData.pageSize,  
56 - isOwner: searchData.isOwner,  
57 - isLiving: searchData.isLiving,  
58 - houseId: searchData.houseId,  
59 - })  
60 - .then((res) => {  
61 - data.tableList = res.data.data.list;  
62 - data.total = res.data.data.total;  
63 - data.loading = false;  
64 - })  
65 - .catch((err) => {  
66 - console.log(err);  
67 - data.loading = false;  
68 - });  
69 -}; 51 +// const chengeType = (e: Event) => {
  52 +// data.loading = true;
  53 +// getTableList({
  54 +// page: searchData.page,
  55 +// pageSize: searchData.pageSize,
  56 +// isOwner: searchData.isOwner,
  57 +// isLiving: searchData.isLiving,
  58 +// houseId: searchData.houseId,
  59 +// })
  60 +// .then((res) => {
  61 +// data.tableList = res.data.data.list;
  62 +// data.total = res.data.data.total;
  63 +// data.loading = false;
  64 +// })
  65 +// .catch((err) => {
  66 +// console.log(err);
  67 +// data.loading = false;
  68 +// });
  69 +// };
70 /** 70 /**
71 * 列表查询 71 * 列表查询
72 */ 72 */
@@ -166,7 +166,7 @@ watchEffect(() => { @@ -166,7 +166,7 @@ watchEffect(() => {
166 v-model="searchData.isOwner" 166 v-model="searchData.isOwner"
167 placeholder="请选择是否是业主" 167 placeholder="请选择是否是业主"
168 clearable 168 clearable
169 - @change="chengeType" 169 +
170 > 170 >
171 <el-option 171 <el-option
172 v-for="item in data.options" 172 v-for="item in data.options"
@@ -182,7 +182,7 @@ watchEffect(() =&gt; { @@ -182,7 +182,7 @@ watchEffect(() =&gt; {
182 v-model="searchData.isLiving" 182 v-model="searchData.isLiving"
183 placeholder="请选择是否在住" 183 placeholder="请选择是否在住"
184 clearable 184 clearable
185 - @change="chengeType" 185 +
186 > 186 >
187 <el-option 187 <el-option
188 v-for="item in data.livingList" 188 v-for="item in data.livingList"