@ -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 }) => {
@ -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",