|
|
@ -44,6 +44,10 @@ export default { |
|
|
|
type: String, |
|
|
|
default: "", |
|
|
|
}, |
|
|
|
resident_type: { |
|
|
|
type: String, |
|
|
|
default: "", |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
components: { |
|
|
@ -57,12 +61,12 @@ export default { |
|
|
|
tableTitle: "预警人员列表", |
|
|
|
searchName: "", |
|
|
|
|
|
|
|
orgLevel: "", |
|
|
|
org_id: "", |
|
|
|
type_id: "", // 预警人员列表 |
|
|
|
resident_type: "", |
|
|
|
building_id: "", // 预警人员列表 |
|
|
|
|
|
|
|
loading: true, |
|
|
|
pageSize: parseInt(localStorage.getItem("dataBoard_PageSize")) || 20, |
|
|
|
pageSize: |
|
|
|
parseInt(localStorage.getItem("dataBoard_PageSize")) || 20, |
|
|
|
pageNo: 1, |
|
|
|
total: 0, |
|
|
|
srcTableData: [], |
|
|
@ -146,17 +150,17 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
async getList() { |
|
|
|
const { org_id, type_id, pageNo, pageSize } = this; |
|
|
|
const { resident_type, building_id, pageNo, pageSize } = this; |
|
|
|
this.loading = true; |
|
|
|
|
|
|
|
const url = "resident_class_list"; |
|
|
|
const url = "building_resident_list"; |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPostBi( |
|
|
|
url, |
|
|
|
{ |
|
|
|
queryParam: { |
|
|
|
org_id, |
|
|
|
type_id, |
|
|
|
resident_type, |
|
|
|
building_id, |
|
|
|
pageNo, |
|
|
|
pageSize, |
|
|
|
}, |
|
|
@ -192,16 +196,16 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
async getCount() { |
|
|
|
const { org_id, type_id, pageNo, pageSize } = this; |
|
|
|
const { resident_type, building_id, pageNo, pageSize } = this; |
|
|
|
|
|
|
|
const url = "resident_class_list_total"; |
|
|
|
const url = "building_resident_list_total"; |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPostBi( |
|
|
|
url, |
|
|
|
{ |
|
|
|
queryParam: { |
|
|
|
org_id, |
|
|
|
type_id, |
|
|
|
resident_type, |
|
|
|
building_id, |
|
|
|
pageNo, |
|
|
|
pageSize, |
|
|
|
}, |
|
|
|