|
|
|
@ -998,27 +998,27 @@ export default { |
|
|
|
} |
|
|
|
]; |
|
|
|
}, |
|
|
|
async getInfo() { |
|
|
|
const url = "resident_info"; |
|
|
|
// async getInfo() { |
|
|
|
// const url = "resident_info"; |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPostBi( |
|
|
|
url, |
|
|
|
{ |
|
|
|
queryParam: { |
|
|
|
resident_id: this.resiId, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
// mockId: 60235478, |
|
|
|
} |
|
|
|
); |
|
|
|
// const { data, code, msg } = await requestPostBi( |
|
|
|
// url, |
|
|
|
// { |
|
|
|
// queryParam: { |
|
|
|
// resident_id: this.resiId, |
|
|
|
// }, |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// // mockId: 60235478, |
|
|
|
// } |
|
|
|
// ); |
|
|
|
|
|
|
|
if (code === 0) { |
|
|
|
this.info = { ...this.info, ...data[0] }; |
|
|
|
} else { |
|
|
|
this.$message.error(msg); |
|
|
|
} |
|
|
|
}, |
|
|
|
// if (code === 0) { |
|
|
|
// this.info = { ...this.info, ...data[0] }; |
|
|
|
// } else { |
|
|
|
// this.$message.error(msg); |
|
|
|
// } |
|
|
|
// }, |
|
|
|
async getCount() { |
|
|
|
const { org_id, listType, page_num, page_size, searchDate } = this; |
|
|
|
const start_date = searchDate[0]; |
|
|
|
|