Browse Source

搜索重置,网格修改

feature
马魁 3 years ago
parent
commit
0deaf7d0dd
  1. 668
      src/views/components/resiInfo.vue
  2. 8
      src/views/components/resiSearch.vue
  3. 15
      src/views/modules/base/resi.vue

668
src/views/components/resiInfo.vue

File diff suppressed because it is too large

8
src/views/components/resiSearch.vue

@ -730,21 +730,19 @@ export default {
return this.$message.error('网络错误')
})
},
//
getValiheList() {
const { user } = this.$store.state
var agencyIdTemp = ''
if(this.form.agencyId.length == 0) {
agencyIdTemp = ''
} else {
this.form.agencyId.forEach(element => {
agencyIdTemp =this.form.agencyId + ',' + element
});
agencyIdTemp = this.form.agencyId.join(',')
}
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
gridId: this.GRID_ID,
agencyId: agencyIdTemp ,
agencyId: agencyIdTemp,
// agencyId: user.agencyId
})
.then(({ data: res }) => {

15
src/views/modules/base/resi.vue

@ -372,7 +372,6 @@
ref="resiInfo"
:fixed="true"
:resi-id="lookResiId"
:resiDetailList='resiDetailList'
/>
</div>
@ -848,14 +847,7 @@ export default {
this.selAllFlag = false;
}
},
getResiDetail(id){
this.$http.post(`/actual/base/residentBaseInfo/detail/${id}`).then(res=>{
this.resiDetailList = res.data.data
}).catch(err =>{
console.log(err);
})
},
deleteBatch() {
if (this.selection.length > 0) {
this.$confirm("删除之后无法恢复,确认删除?", "提示", {
@ -901,7 +893,7 @@ export default {
},
resetSearchForm(formName) {
for(const n in this.form) {
for(const n in this.$refs.myResiSearch.form) {
this.$refs.myResiSearch.form[n] = ''
}
this.getTableData();
@ -1104,7 +1096,6 @@ export default {
async handleLook(row) {
this.lookResiId = row.resiId;
this.dialogVisible2 = true;
this.getResiDetail(row.resiId)
},
//
@ -1382,8 +1373,6 @@ export default {
pageSize: this.pageSize,
...obj
};
console.log('1369->>>>>>>>>>>>',params);
this.tableLoading = true;
const { data, code, msg } = await requestPost(
"/actual/base/residentBaseInfo/page",

Loading…
Cancel
Save