Browse Source

迁入迁出对接口,首页对接口,全局改掉所属房屋联动接口,优化房屋详情页面,提取居民房屋详情便捷引用组件

V1.0
dai 3 years ago
parent
commit
67baf03fb0
  1. 10
      src/views/components/blackSearch.vue
  2. 10
      src/views/components/deathSearch copy.vue
  3. 10
      src/views/components/deathSearch.vue
  4. 8
      src/views/components/editResi.vue
  5. 10
      src/views/components/resiChangeTransfer copy.vue
  6. 29
      src/views/components/resiChangeTransfer.vue
  7. 8
      src/views/components/resiForm.vue
  8. 10
      src/views/components/resiSearch copy.vue
  9. 10
      src/views/components/resiSearch.vue
  10. 10
      src/views/components/resiTransfer.vue
  11. 24
      src/views/modules/base/community/communityExportInfo.vue
  12. 2
      src/views/modules/base/community/communityTable.vue
  13. 336
      src/views/modules/base/community/roomDetail.vue
  14. 10
      src/views/modules/base/huji/chusheng/cpts/edit.vue
  15. 10
      src/views/modules/base/huji/chusheng/index.vue
  16. 8
      src/views/modules/base/huji/houseChange/houseChangeList.vue
  17. 10
      src/views/modules/base/huji/immigration/edit.vue
  18. 10
      src/views/modules/base/huji/immigration/index.vue
  19. 8
      src/views/modules/communityService/policy/personListItem.vue
  20. 243
      src/views/modules/cpts/fastcall.vue
  21. 58
      src/views/modules/cpts/house/info.vue
  22. 73
      src/views/modules/cpts/resi/info.vue
  23. 10
      src/views/modules/home/cpts/people-more.vue
  24. 402
      src/views/modules/home/index.vue
  25. 59
      src/views/modules/home/notice.vue
  26. 16
      src/views/modules/plugins/change/changerelocation.vue
  27. 10
      src/views/modules/plugins/change/verify.vue
  28. 10
      src/views/modules/plugins/change/verifyForm copy.vue
  29. 10
      src/views/modules/plugins/change/verifyForm.vue
  30. 10
      src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
  31. 10
      src/views/modules/plugins/rent/rentcontractinfo.vue
  32. 10
      src/views/modules/plugins/rent/rentcontractreview.vue
  33. 10
      src/views/modules/plugins/rent/renthouse.vue
  34. 10
      src/views/modules/plugins/rent/renthouseForm.vue
  35. 6
      src/views/modules/plugins/visit/visitvisitor.vue
  36. 73
      src/views/modules/shequ/chaxun.vue
  37. 10
      src/views/modules/shequ/cpts/people-more.vue
  38. 10
      src/views/modules/shequzhili/tuceng/zhonghe/base.vue
  39. 10
      src/views/modules/shequzhili/tuceng/zhonghe/baseTotal.vue
  40. 10
      src/views/modules/shequzhili/xiangmu/cpts/edit.vue
  41. 10
      src/views/modules/sys/icvaccineprarmeter-add-or-update.vue
  42. 10
      src/views/modules/sys/icvaccineprarmeter.vue
  43. 10
      src/views/modules/visual/basicinfo/cpts/people-more.vue

10
src/views/components/blackSearch.vue

@ -498,7 +498,7 @@ export default {
getValiheList() {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.form.GRID_ID,
agencyId: ''
// agencyId: user.agencyId
@ -517,8 +517,8 @@ export default {
},
getBuildList() {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.form.VILLAGE_ID
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.form.VILLAGE_ID
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -534,7 +534,7 @@ export default {
},
getUniList() {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.form.BUILD_ID
})
.then(({ data: res }) => {
@ -551,7 +551,7 @@ export default {
},
getHouseList() {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.form.UNIT_ID })
.post('/actual/base/communityHouse/houseoption', { unitId: this.form.UNIT_ID })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/components/deathSearch copy.vue

@ -472,7 +472,7 @@ export default {
getValiheList () {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.form.GRID_ID,
agencyId: ''
// agencyId: user.agencyId
@ -491,8 +491,8 @@ export default {
},
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.form.VILLAGE_ID
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.form.VILLAGE_ID
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -508,7 +508,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.form.BUILD_ID
})
.then(({ data: res }) => {
@ -525,7 +525,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.form.UNIT_ID })
.post('/actual/base/communityHouse/houseoption', { unitId: this.form.UNIT_ID })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/components/deathSearch.vue

@ -452,7 +452,7 @@ export default {
getValiheList () {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.form.GRID_ID,
agencyId: ''
// agencyId: user.agencyId
@ -471,8 +471,8 @@ export default {
},
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.form.VILLAGE_ID
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.form.VILLAGE_ID
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -488,7 +488,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.form.BUILD_ID
})
.then(({ data: res }) => {
@ -505,7 +505,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.form.UNIT_ID })
.post('/actual/base/communityHouse/houseoption', { unitId: this.form.UNIT_ID })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

8
src/views/components/editResi.vue

@ -827,7 +827,7 @@ export default {
getValiheList () {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', { gridId: this.form.GRID_ID, agencyId: this.agencyId })
.post('/actual/base/communityQuarters/listQuartersOptions', { gridId: this.form.GRID_ID, agencyId: this.agencyId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -842,7 +842,7 @@ export default {
},
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', { neighborHoodId: this.form.VILLAGE_ID })
.post('/actual/base/communityBuilding/buildingoption', { quartersId: this.form.VILLAGE_ID })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -857,7 +857,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', { buildingId: this.form.BUILD_ID })
.post('/actual/base/communityBuildingUnit/unitoption', { buildingId: this.form.BUILD_ID })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -872,7 +872,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.form.UNIT_ID })
.post('/actual/base/communityHouse/houseoption', { unitId: this.form.UNIT_ID })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/components/resiChangeTransfer copy.vue

@ -382,7 +382,7 @@ export default {
},
async loadCommunityList () {
const url = '/gov/org/icneighborhood/neighborhoodoption'
const url = '/actual/base/communityQuarters/listQuartersOptions'
let params = {
gridId: this.dataForm.gridId,
@ -408,10 +408,10 @@ export default {
}
})
const url = '/gov/org/icbuilding/buildingoption'
const url = '/actual/base/communityBuilding/buildingoption'
let params = {
neighborHoodId: this.dataForm.villageId
quartersId: this.dataForm.villageId
}
const { data, code, msg } = await requestPost(url, params)
@ -437,7 +437,7 @@ export default {
}
})
const url = '/gov/org/icbuildingunit/unitoption'
const url = '/actual/base/communityBuildingUnit/unitoption'
let params = {
buildingId: this.dataForm.buildId
@ -465,7 +465,7 @@ export default {
}
})
const url = '/gov/org/ichouse/houseoption'
const url = '/actual/base/communityHouse/houseoption'
let params = {
unitId: this.dataForm.unitId

29
src/views/components/resiChangeTransfer.vue

@ -21,7 +21,7 @@
<el-date-picker
v-model="dataForm.outOfTime"
type="date"
value-format="yyyy-MM-dd HH:mm:ss"
value-format="yyyy-MM-dd"
format="yyyy-MM-dd"
placeholder="选择日期"
class="u-edit-width-normal"
@ -186,7 +186,7 @@ export default {
roomList: [],
dataForm: {
icUserId: "", // ID
resiId: "", // ID
type: "in", //out,in
agencyId: "", //Id
gridId: "", //Id
@ -265,9 +265,9 @@ export default {
this.$refs.ref_form.resetFields();
// this.icUserId = row.icResiUserId
// this.resiId = row.icResiUserId
this.gridName = row.gridName;
this.dataForm.icUserId = row.resiId;
this.dataForm.resiId = row.resiId;
//
if (
@ -283,7 +283,10 @@ export default {
this.dataForm.idCard = row.idNum;
this.dataForm.mobile = row.mobile;
await this.loadHouseInfo(row.homeId);
// await this.loadHouseInfo(row.homeId);
this.dataForm.oldAddress = row.gridName + row.homeName;
this.dataForm.oldHomeId = row.homeId;
this.dataForm.name = row.name;
this.dataForm.gender = row.gender;
@ -298,9 +301,9 @@ export default {
const { data, code, msg } = await requestGet(url);
if (code === 0) {
this.dataForm.oldDept = "";
this.dataForm.oldAddress = data.houseName;
// this.dataForm.oldAddress = data.houseName;
this.dataForm.ownerName = data.ownerName;
this.dataForm.oldHomeId = data.id;
// this.dataForm.oldHomeId = data.id;
} else {
this.$message.error(msg);
}
@ -378,7 +381,7 @@ export default {
},
async loadCommunityList() {
const url = "/gov/org/icneighborhood/neighborhoodoption";
const url = "/actual/base/communityQuarters/listQuartersOptions";
let params = {
gridId: this.dataForm.gridId,
@ -403,10 +406,10 @@ export default {
}
});
const url = "/gov/org/icbuilding/buildingoption";
const url = "/actual/base/communityBuilding/buildingoption";
let params = {
neighborHoodId: this.dataForm.villageId,
quartersId: this.dataForm.villageId,
};
const { data, code, msg } = await requestPost(url, params);
@ -430,7 +433,7 @@ export default {
}
});
const url = "/gov/org/icbuildingunit/unitoption";
const url = "/actual/base/communityBuildingUnit/unitoption";
let params = {
buildingId: this.dataForm.buildId,
@ -456,7 +459,7 @@ export default {
}
});
const url = "/gov/org/ichouse/houseoption";
const url = "/actual/base/communityHouse/houseoption";
let params = {
unitId: this.dataForm.unitId,
@ -556,7 +559,7 @@ export default {
resetData() {
this.dataForm = {
icUserId: "", // ID
resiId: "", // ID
type: "in", //out,in
agencyId: "", //Id
gridId: "", //Id

8
src/views/components/resiForm.vue

@ -1291,7 +1291,7 @@ export default {
},
getValiheList () {
const { user } = this.$store.state
this.$http.post('/gov/org/icneighborhood/neighborhoodoption', { gridId: this.form.gridId, agencyId: user.agencyId }).then(({ data: res }) => {
this.$http.post('/actual/base/communityQuarters/listQuartersOptions', { gridId: this.form.gridId, agencyId: user.agencyId }).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
} else {
@ -1456,7 +1456,7 @@ export default {
}
},
getBuildList () {
this.$http.post('/gov/org/icbuilding/buildingoption', { neighborHoodId: this.form.villageId }).then(({ data: res }) => {
this.$http.post('/actual/base/communityBuilding/buildingoption', { quartersId: this.form.villageId }).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
} else {
@ -1468,7 +1468,7 @@ export default {
})
},
getUniList () {
this.$http.post('/gov/org/icbuildingunit/unitoption', { buildingId: this.form.buildId }).then(({ data: res }) => {
this.$http.post('/actual/base/communityBuildingUnit/unitoption', { buildingId: this.form.buildId }).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
} else {
@ -1480,7 +1480,7 @@ export default {
})
},
getHouseList () {
this.$http.post('/gov/org/ichouse/houseoption', { unitId: this.form.unitId }).then(({ data: res }) => {
this.$http.post('/actual/base/communityHouse/houseoption', { unitId: this.form.unitId }).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
} else {

10
src/views/components/resiSearch copy.vue

@ -640,7 +640,7 @@ export default {
getValiheList() {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.form.GRID_ID,
agencyId: this.form.AGENCY_ID,
// agencyId: user.agencyId
@ -659,8 +659,8 @@ export default {
},
getBuildList() {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.form.VILLAGE_ID
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.form.VILLAGE_ID
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -676,7 +676,7 @@ export default {
},
getUniList() {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.form.BUILD_ID
})
.then(({ data: res }) => {
@ -693,7 +693,7 @@ export default {
},
getHouseList() {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.form.UNIT_ID })
.post('/actual/base/communityHouse/houseoption', { unitId: this.form.UNIT_ID })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/components/resiSearch.vue

@ -742,7 +742,7 @@ export default {
}
console.log( agencyIdTemp);
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: agencyIdTemp[1],
agencyId: agencyIdTemp[0],
// agencyId: user.agencyId
@ -761,8 +761,8 @@ export default {
},
getBuildList() {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.form.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.form.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -778,7 +778,7 @@ export default {
},
getUniList() {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.form.buildId
})
.then(({ data: res }) => {
@ -795,7 +795,7 @@ export default {
},
getHouseList() {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.form.unitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.form.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/components/resiTransfer.vue

@ -271,7 +271,7 @@ export default {
},
async loadCommunityList () {
const url = '/gov/org/icneighborhood/neighborhoodoption'
const url = '/actual/base/communityQuarters/listQuartersOptions'
let params = {
gridId: this.dataForm.newGridId,
@ -291,10 +291,10 @@ export default {
async handleChangeCommunity () {
const url = '/gov/org/icbuilding/buildingoption'
const url = '/actual/base/communityBuilding/buildingoption'
let params = {
neighborHoodId: this.dataForm.newNeighborHoodId
quartersId: this.dataForm.newNeighborHoodId
}
const { data, code, msg } = await requestPost(url, params)
@ -313,7 +313,7 @@ export default {
async handleChangeBuilding () {
const url = '/gov/org/icbuildingunit/unitoption'
const url = '/actual/base/communityBuildingUnit/unitoption'
let params = {
buildingId: this.dataForm.newBuildingId
@ -335,7 +335,7 @@ export default {
async handleChangeUnit () {
const url = '/gov/org/ichouse/houseoption'
const url = '/actual/base/communityHouse/houseoption'
let params = {
unitId: this.dataForm.newBuildingUnitId

24
src/views/modules/base/community/communityExportInfo.vue

@ -455,7 +455,7 @@ export default {
itemType: null,
label: "所属网格",
optionSourceType: "remote",
optionSourceValue: "/gov/org/icneighborhood/neighborhoodoption?20220422102809_1001",
optionSourceValue: "/actual/base/communityQuarters/listQuartersOptions?20220422102809_1001",
options: null,
sort: 1,
supportAdd: false,
@ -469,7 +469,7 @@ export default {
itemType: null,
label: "小区名称",
optionSourceType: "remote",
optionSourceValue: "/gov/org/icbuilding/buildingoption?20220422102809_1002",
optionSourceValue: "/actual/base/communityBuilding/buildingoption?20220422102809_1002",
options: null,
sort: 2,
supportAdd: false,
@ -483,7 +483,7 @@ export default {
itemType: null,
label: "关联物业",
optionSourceType: "remote",
optionSourceValue: "/gov/org/icbuildingunit/unitoption?20220422102809_1003",
optionSourceValue: "/actual/base/communityBuildingUnit/unitoption?20220422102809_1003",
options: null,
sort: 3,
supportAdd: false,
@ -497,7 +497,7 @@ export default {
itemType: null,
label: "详细地址",
optionSourceType: "remote",
optionSourceValue: "/gov/org/ichouse/houseoption?20220422102809_10031",
optionSourceValue: "/actual/base/communityHouse/houseoption?20220422102809_10031",
options: null,
sort: 4,
supportAdd: false,
@ -546,7 +546,7 @@ export default {
itemType: null,
label: "楼栋名称",
optionSourceType: "remote",
optionSourceValue: "/gov/org/icneighborhood/neighborhoodoption?20220422102809_1001",
optionSourceValue: "/actual/base/communityQuarters/listQuartersOptions?20220422102809_1001",
options: null,
sort: 1,
supportAdd: false,
@ -561,7 +561,7 @@ export default {
itemType: null,
label: "楼栋类型",
optionSourceType: "remote",
optionSourceValue: "/gov/org/icbuilding/buildingoption?20220422102809_1002",
optionSourceValue: "/actual/base/communityBuilding/buildingoption?20220422102809_1002",
options: null,
sort: 2,
supportAdd: false,
@ -576,7 +576,7 @@ export default {
itemType: null,
label: "单元数",
optionSourceType: "remote",
optionSourceValue: "/gov/org/icbuildingunit/unitoption?20220422102809_1003",
optionSourceValue: "/actual/base/communityBuildingUnit/unitoption?20220422102809_1003",
options: null,
sort: 3,
supportAdd: false,
@ -591,7 +591,7 @@ export default {
itemType: null,
label: "楼栋地址",
optionSourceType: "remote",
optionSourceValue: "/gov/org/ichouse/houseoption?20220422102809_10031",
optionSourceValue: "/actual/base/communityHouse/houseoption?20220422102809_10031",
options: null,
sort: 4,
supportAdd: false,
@ -625,7 +625,7 @@ export default {
itemType: null,
label: "单元号",
optionSourceType: "remote",
optionSourceValue: "/gov/org/icneighborhood/neighborhoodoption?20220422102809_1001",
optionSourceValue: "/actual/base/communityQuarters/listQuartersOptions?20220422102809_1001",
options: null,
sort: 1,
supportAdd: false,
@ -640,7 +640,7 @@ export default {
itemType: null,
label: "门牌号",
optionSourceType: "remote",
optionSourceValue: "/gov/org/icbuilding/buildingoption?20220422102809_1002",
optionSourceValue: "/actual/base/communityBuilding/buildingoption?20220422102809_1002",
options: null,
sort: 2,
supportAdd: false,
@ -655,7 +655,7 @@ export default {
itemType: null,
label: "房屋类型",
optionSourceType: "remote",
optionSourceValue: "/gov/org/icbuildingunit/unitoption?20220422102809_1003",
optionSourceValue: "/actual/base/communityBuildingUnit/unitoption?20220422102809_1003",
options: null,
sort: 3,
supportAdd: false,
@ -670,7 +670,7 @@ export default {
itemType: null,
label: "房屋用途",
optionSourceType: "remote",
optionSourceValue: "/gov/org/ichouse/houseoption?20220422102809_10031",
optionSourceValue: "/actual/base/communityHouse/houseoption?20220422102809_10031",
options: null,
sort: 4,
supportAdd: false,

2
src/views/modules/base/community/communityTable.vue

@ -709,7 +709,7 @@ export default {
const url = "/actual/base/communityQuarters/deleteQuarters"
let params = {
neighborHoodId: row.neighborHoodId
quartersId: row.neighborHoodId
}
const { data, code, msg } = await requestPost(url, params)

336
src/views/modules/base/community/roomDetail.vue

@ -1,192 +1,174 @@
<template>
<div>
<div class="dialog-h-content scroll-h">
<div v-if="initLoading"
class="m-detail-main m-detail-main-2row">
<div v-if="initLoading" class="m-detail-main m-detail-main-2row">
<div class="m-info-2row">
<div class="m-info-prop">
<span class="u-info-title u-info-title-100">所属楼栋</span>
<span>{{ agencyObj.neighborHoodName }}-{{agencyObj.label}}</span>
<span
>{{ dataForm.neighborHoodName }}-{{ dataForm.buildingName }}</span
>
</div>
<div class="m-info-prop">
<span class="u-info-title u-info-title-100">单元号</span>
<span>{{ dataForm.unitName?dataForm.unitName:'--' }}</span>
<span>{{ dataForm.unitName ? dataForm.unitName : "--" }}</span>
</div>
<div class="m-info-prop">
<span class="u-info-title u-info-title-100">门牌号</span>
<span>{{ dataForm.doorName}}</span>
<span>{{ dataForm.doorName }}</span>
</div>
<div class="m-info-prop">
<span class="u-info-title u-info-title-100">房屋类型</span>
<span>{{dataForm.houseTypeName?dataForm.houseTypeName:'--' }}</span>
<span>{{
dataForm.houseTypeName ? dataForm.houseTypeName : "--"
}}</span>
</div>
<div class="m-info-prop">
<span class="u-info-title u-info-title-100">房屋用途</span>
<span>{{dataForm.purposeName?dataForm.purposeName:'--' }}</span>
<span>{{
dataForm.purposeName ? dataForm.purposeName : "--"
}}</span>
</div>
<div class="m-info-prop">
<span class="u-info-title u-info-title-100">房屋状态</span>
<span>{{dataForm.rentName?dataForm.rentName:'--' }}</span>
<span>{{ dataForm.rentName ? dataForm.rentName : "--" }}</span>
</div>
<div class="m-info-prop">
<span class="u-info-title u-info-title-100">房主姓名</span>
<span>{{dataForm.ownerName?dataForm.ownerName:'--' }}</span>
<span>{{ dataForm.ownerName ? dataForm.ownerName : "--" }}</span>
</div>
<div class="m-info-prop">
<span class="u-info-title u-info-title-100">联系方式</span>
<span class="info-mingan">{{dataForm.showOwnerPhone?dataForm.showOwnerPhone:'--' }}</span>
<el-button v-if="view_real_data && dataForm.showOwnerPhone"
style="margin-left: 10px"
type="text"
class="div-table-button--blue"
icon="el-icon-view"
size="small"
@click="handleTuomin('phone')">显示</el-button>
<span class="info-mingan">{{
dataForm.showOwnerPhone ? dataForm.showOwnerPhone : "--"
}}</span>
<el-button
v-if="view_real_data && dataForm.showOwnerPhone"
style="margin-left: 10px"
type="text"
class="div-table-button--blue"
icon="el-icon-view"
size="small"
@click="handleTuomin('phone')"
>显示</el-button
>
</div>
<div class="m-info-prop">
<span class="u-info-title u-info-title-100">房主身份证</span>
<span class="info-mingan">{{dataForm.showOwnerIdCard?dataForm.showOwnerIdCard:'--' }}</span>
<el-button v-if="view_real_data && dataForm.showOwnerIdCard"
style="margin-left: 10px"
type="text"
class="div-table-button--blue"
icon="el-icon-view"
size="small"
@click="handleTuomin('idcard')">显示</el-button>
<span class="info-mingan">{{
dataForm.showOwnerIdCard ? dataForm.showOwnerIdCard : "--"
}}</span>
<el-button
v-if="view_real_data && dataForm.showOwnerIdCard"
style="margin-left: 10px"
type="text"
class="div-table-button--blue"
icon="el-icon-view"
size="small"
@click="handleTuomin('idcard')"
>显示</el-button
>
</div>
<div class="m-info-prop">
<span class="u-info-title u-info-title-100">备注</span>
<span>{{dataForm.remark?dataForm.remark:'--' }}</span>
<span>{{ dataForm.remark ? dataForm.remark : "--" }}</span>
</div>
</div>
<div class="m-info-2row">
<div class="m-info-prop">
<span class="u-info-title u-info-title-100">房屋编码</span>
<span>{{ dataForm.coding?dataForm.coding:'--'}}</span>
<span>{{ dataForm.coding ? dataForm.coding : "--" }}</span>
</div>
<div v-if="dataForm.houseQrcodeUrl"
class="m-info-prop">
<div v-if="dataForm.houseQrcodeUrl" class="m-info-prop">
<span class="u-info-title u-info-title-100">二维码</span>
<div style="display: flex;flex-direction: column;">
<img style="margin-left: 20px;width: 150px;"
:src="dataForm.houseQrcodeUrl">
<a style="margin-left: 30px;margin-top:20px"
class="div-table-button--blue"
:href="dataForm.houseQrcodeUrl"
target="_blank"><i class="el-icon-download"></i>下载</a>
<div style="display: flex; flex-direction: column">
<img
style="margin-left: 20px; width: 150px"
:src="dataForm.houseQrcodeUrl"
/>
<a
style="margin-left: 30px; margin-top: 20px"
class="div-table-button--blue"
:href="dataForm.houseQrcodeUrl"
target="_blank"
><i class="el-icon-download"></i>下载</a
>
</div>
</div>
</div>
</div>
</div>
<div class="m-detail-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
<el-button size="small" @click="handleCancle"> </el-button>
</div>
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import { Loading } from 'element-ui' // Loading
import { requestPost, requestGet } from '@/js/dai/request'
import { mapGetters } from "vuex";
import { Loading } from "element-ui"; // Loading
import { requestPost, requestGet } from "@/js/dai/request";
let loading //
let loading; //
export default {
data () {
data() {
return {
formType: 'add', // addeditdetail
formType: "add", // addeditdetail
btnDisable: false,
initLoading: false,
unitList: [],
houseId: '', //ID
houseType: '1',
purpose: '1',
houseId: "", //ID
houseType: "1",
purpose: "1",
rentFlag: 0,
dataForm: {
neighborHoodId: '', // ID
buildingId: '',//ID
buildingUnitId: '',//ID
doorName: '',//
houseType: '',//
purpose: '',//
rentFlag: 0,//10 12 0
ownerPhone: '', //
ownerName: '', //
ownerIdCard: '', //
remark: '',
neighborHoodId: "", // ID
buildingId: "", //ID
buildingUnitId: "", //ID
doorName: "", //
houseType: "", //
purpose: "", //
rentFlag: 0, //10 12 0
ownerPhone: "", //
ownerName: "", //
ownerIdCard: "", //
remark: "",
// realPerson: 0,
coding: '',
sysCoding: ''
coding: "",
sysCoding: "",
neighborHoodName: "",
buildingName: "",
},
keyWords: '',
agencyObj: {},
}
keyWords: "",
};
},
components: {},
mounted () {
},
mounted() {},
methods: {
handleCancle () {
// this.diaDestroy()
this.$emit('diaDetailClose')
handleCancle() {
this.$emit("diaDetailClose");
},
diaDestroy () {
diaDestroy() {
if (map) {
map.destroy()
map.destroy();
}
},
async initForm (row, agencyObj) {
// this.dataForm = JSON.parse(JSON.stringify(row))
this.agencyObj = agencyObj
this.houseId = row.houseId
await this.loadHouseInfo()
this.initLoading = true
// this.$refs.ref_form.resetFields();
// this.agencyObj = agencyObj
// this.formType = type
// console.log('agencyObj-----', agencyObj)
// if (row) {
// this.houseId = row.houseId
// await this.loadHouseInfo()
// } else {
// this.dataForm.neighborHoodId = this.agencyObj.neighborHoodId
// this.dataForm.buildingId = this.agencyObj.id
// }
// await this.loadUnitList()
async initForm(row) {
this.houseId = row.houseId;
await this.loadHouseInfo();
this.initLoading = true;
},
async handleTuomin (type) {
async handleTuomin(type) {
const url = "/data/aggregator/epmetuser/detailByType";
const { data, code, msg } = await requestPost(url, {
@ -195,127 +177,111 @@ export default {
});
if (code === 0) {
if (type === 'phone') {
this.$set(this.dataForm, 'showOwnerPhone', data.mobile)
if (type === "phone") {
this.$set(this.dataForm, "showOwnerPhone", data.mobile);
}
if (type === 'idcard') {
this.$set(this.dataForm, 'showOwnerIdCard', data.idCard)
if (type === "idcard") {
this.$set(this.dataForm, "showOwnerIdCard", data.idCard);
}
} else {
this.$message.error(msg);
}
},
async loadHouseInfo () {
const url = "/actual/base/communityHouse/getHouseDeatilById/" + this.houseId
let params = {}
async loadHouseInfo() {
const url =
"/actual/base/communityHouse/getHouseDeatilById/" + this.houseId;
let params = {};
const { data, code, msg } = await requestPost(url, params)
const { data, code, msg } = await requestPost(url, params);
if (code === 0) {
// debugger
this.dataForm = { ...data }
this.houseType = this.dataForm.houseType
this.purpose = this.dataForm.purpose
this.rentFlag = parseInt(this.dataForm.rentFlag)
this.dataForm = { ...data };
this.houseType = this.dataForm.houseType;
this.purpose = this.dataForm.purpose;
this.rentFlag = parseInt(this.dataForm.rentFlag);
} else {
this.$message.error(msg)
this.$message.error(msg);
}
},
resetData () {
this.houseId = '' //ID
this.houseType = '1'
this.purpose = '1'
this.rentFlag = 0
resetData() {
this.houseId = ""; //ID
this.houseType = "1";
this.purpose = "1";
this.rentFlag = 0;
this.dataForm = {
neighborHoodId: '', // ID
buildingId: '',//ID
buildingUnitId: '',//ID
doorName: '',//
houseType: '1',//
purpose: '1',//
rentFlag: 0,//10
ownerPhone: '', //
ownerName: '', //
ownerIdCard: '', //
remark: '', //
coding: '',
sysCoding: ''
}
neighborHoodId: "", // ID
buildingId: "", //ID
buildingUnitId: "", //ID
doorName: "", //
houseType: "1", //
purpose: "1", //
rentFlag: 0, //10
ownerPhone: "", //
ownerName: "", //
ownerIdCard: "", //
remark: "", //
coding: "",
sysCoding: "",
};
},
//
startLoading () {
startLoading() {
loading = Loading.service({
lock: true, //
text: '正在加载……', //
background: 'rgba(0,0,0,.7)' //
})
text: "正在加载……", //
background: "rgba(0,0,0,.7)", //
});
},
//
endLoading () {
endLoading() {
// clearTimeout(timer);
if (loading) {
loading.close()
loading.close();
}
}
},
},
computed: {
dataRule () {
dataRule() {
return {
buildingUnitId: [
{ required: true, message: '所属单元不能为空', trigger: 'blur' },
{ required: true, message: "所属单元不能为空", trigger: "blur" },
],
doorName: [
{ required: true, message: '门牌号不能为空', trigger: 'blur' }
{ required: true, message: "门牌号不能为空", trigger: "blur" },
],
coding: [
{ required: true, message: '房屋编码不能为空', trigger: 'blur' }
{ required: true, message: "房屋编码不能为空", trigger: "blur" },
],
houseType: [
{ required: true, message: '房屋类型不能为空', trigger: 'blur' }
{ required: true, message: "房屋类型不能为空", trigger: "blur" },
],
purpose: [
{ required: true, message: '房屋用途不能为空', trigger: 'blur' }
{ required: true, message: "房屋用途不能为空", trigger: "blur" },
],
rentFlag: [
{ required: true, message: '是否出租不能为空', trigger: 'blur' }
],
ownerPhone: [
{ required: false }
],
ownerName: [
{ required: false }
],
ownerIdCard: [
{ required: false }
],
remark: [
{ required: false }
{ required: true, message: "是否出租不能为空", trigger: "blur" },
],
}
ownerPhone: [{ required: false }],
ownerName: [{ required: false }],
ownerIdCard: [{ required: false }],
remark: [{ required: false }],
};
},
},
props: {
view_real_data: {//
view_real_data: {
//
type: Boolean,
default: false,
}
}
}
},
},
};
</script>
<style lang="scss" scoped >
<style lang="scss" scoped>
@import "@/assets/scss/modules/management/detail-main.scss";
.div_tuomin {

10
src/views/modules/base/huji/chusheng/cpts/edit.vue

@ -508,7 +508,7 @@ export default {
getValiheList () {
const { user } = this.$store.state;
this.$http
.post("/gov/org/icneighborhood/neighborhoodoption", {
.post("/actual/base/communityQuarters/listQuartersOptions", {
gridId: this.fmData.gridId,
agencyId: "",
// agencyId: user.agencyId
@ -527,8 +527,8 @@ export default {
},
getBuildList () {
this.$http
.post("/gov/org/icbuilding/buildingoption", {
neighborHoodId: this.fmData.villageId,
.post("/actual/base/communityBuilding/buildingoption", {
quartersId: this.fmData.villageId,
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -544,7 +544,7 @@ export default {
},
getUniList () {
this.$http
.post("/gov/org/icbuildingunit/unitoption", {
.post("/actual/base/communityBuildingUnit/unitoption", {
buildingId: this.fmData.buildId,
})
.then(({ data: res }) => {
@ -561,7 +561,7 @@ export default {
},
getHouseList () {
this.$http
.post("/gov/org/ichouse/houseoption", { unitId: this.fmData.unitId })
.post("/actual/base/communityHouse/houseoption", { unitId: this.fmData.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

10
src/views/modules/base/huji/chusheng/index.vue

@ -575,7 +575,7 @@ export default {
getValiheList () {
const { user } = this.$store.state;
this.$http
.post("/gov/org/icneighborhood/neighborhoodoption", {
.post("/actual/base/communityQuarters/listQuartersOptions", {
gridId: this.fmData.gridId,
agencyId: "",
// agencyId: user.agencyId
@ -594,8 +594,8 @@ export default {
},
getBuildList () {
this.$http
.post("/gov/org/icbuilding/buildingoption", {
neighborHoodId: this.fmData.villageId,
.post("/actual/base/communityBuilding/buildingoption", {
quartersId: this.fmData.villageId,
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -611,7 +611,7 @@ export default {
},
getUniList () {
this.$http
.post("/gov/org/icbuildingunit/unitoption", {
.post("/actual/base/communityBuildingUnit/unitoption", {
buildingId: this.fmData.buildId,
})
.then(({ data: res }) => {
@ -628,7 +628,7 @@ export default {
},
getHouseList () {
this.$http
.post("/gov/org/ichouse/houseoption", { unitId: this.fmData.unitId })
.post("/actual/base/communityHouse/houseoption", { unitId: this.fmData.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

8
src/views/modules/base/huji/houseChange/houseChangeList.vue

@ -333,7 +333,7 @@ export default {
getValiheList () {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', { gridId: this.formData.gridId })
.post('/actual/base/communityQuarters/listQuartersOptions', { gridId: this.formData.gridId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -349,7 +349,7 @@ export default {
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', { neighborHoodId: this.formData.neighborHoodId })
.post('/actual/base/communityBuilding/buildingoption', { quartersId: this.formData.neighborHoodId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -364,7 +364,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', { buildingId: this.formData.buildingId })
.post('/actual/base/communityBuildingUnit/unitoption', { buildingId: this.formData.buildingId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -379,7 +379,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.formData.buildingUnitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.formData.buildingUnitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/modules/base/huji/immigration/edit.vue

@ -569,7 +569,7 @@ export default {
getValiheList () {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.fmData.gridId,
agencyId: ''
// agencyId: user.agencyId
@ -588,8 +588,8 @@ export default {
},
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.fmData.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.fmData.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -605,7 +605,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.fmData.buildId
})
.then(({ data: res }) => {
@ -622,7 +622,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.fmData.unitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.fmData.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/modules/base/huji/immigration/index.vue

@ -570,7 +570,7 @@ export default {
getValiheList () {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.fmData.gridId,
agencyId: ''
// agencyId: user.agencyId
@ -589,8 +589,8 @@ export default {
},
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.fmData.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.fmData.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -606,7 +606,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.fmData.buildId
})
.then(({ data: res }) => {
@ -623,7 +623,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.fmData.unitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.fmData.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

8
src/views/modules/communityService/policy/personListItem.vue

@ -376,7 +376,7 @@ export default {
getValiheList () {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', { gridId: this.formData.gridId, agencyId: this.formData.agencyId })
.post('/actual/base/communityQuarters/listQuartersOptions', { gridId: this.formData.gridId, agencyId: this.formData.agencyId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -392,7 +392,7 @@ export default {
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', { neighborHoodId: this.formData.neighborHoodId })
.post('/actual/base/communityBuilding/buildingoption', { quartersId: this.formData.neighborHoodId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -407,7 +407,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', { buildingId: this.formData.buildingId })
.post('/actual/base/communityBuildingUnit/unitoption', { buildingId: this.formData.buildingId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -422,7 +422,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.formData.unitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.formData.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

243
src/views/modules/cpts/fastcall.vue

@ -0,0 +1,243 @@
<template>
<div class="">
<resi-info
v-if="showedResiInfo && currentResiId"
:resi-id="currentResiId"
@close="showedResiInfo = false"
/>
<house-info
v-if="showedHouseInfo && currentHouseId"
:house-id="currentHouseId"
@close="showedHouseInfo = false"
/>
</div>
</template>
<script>
import { requestPost } from "@/js/dai/request";
import nextTick from "dai-js/tools/nextTick";
import resiInfo from "@/views/modules/cpts/resi/info";
import houseInfo from "@/views/modules/cpts/house/info";
export default {
components: {
resiInfo,
houseInfo,
},
props: {},
data() {
return {
//
showedResiInfo: false,
currentResiId: "",
//
showedHouseInfo: false,
currentHouseId: "",
};
},
computed: {},
watch: {},
mounted() {
console.log("mounted=========== 方便调用人房详情");
},
methods: {
async showResiInfo(resiId) {
this.currentResiId = resiId;
await nextTick();
this.showedResiInfo = true;
},
async showHouseInfo(id) {
this.currentHouseId = id;
await nextTick();
this.showedHouseInfo = true;
},
},
};
</script>
<style lang="scss" scoped>
@import "@/assets/scss/modules/management/list-main.scss";
.m-box {
position: relative;
padding: 24px 16px;
background: #ffffff;
box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.08),
0px 3px 6px -4px rgba(0, 0, 0, 0.12);
border-radius: 2px;
}
.m-dialog {
.el-dialog__body {
position: relative;
max-height: 83vh;
box-sizing: border-box;
padding: 0 0 20px !important;
.dialog-h-content {
max-height: calc(83vh - 80px);
box-sizing: border-box;
padding: 50px 80px;
overflow: auto;
}
}
.resi-btns {
margin-top: 20px;
text-align: center;
text-align: right;
margin-right: 16px;
}
}
.m-search {
box-sizing: border-box;
padding: 40px 80px;
margin-bottom: 16px;
background-size: 100%;
.title {
height: 47px;
font-size: 32px;
font-family: SourceHanSansSC-Medium, SourceHanSansSC;
font-weight: 500;
color: #0056d6;
line-height: 47px;
text-align: center;
}
.tabs {
width: 692px;
margin: 24px auto 0;
display: flex;
align-items: center;
> div {
position: relative;
margin-right: 30px;
width: 56px;
height: 24px;
font-size: 14px;
line-height: 24px;
border-radius: 2px;
color: #0056d6;
text-align: center;
cursor: pointer;
&.z-on {
color: #ffffff;
background: #0056d6;
&::after {
content: "";
display: block;
position: absolute;
bottom: -10px;
left: 0;
right: 0;
margin: 0 auto;
width: 0;
height: 0;
border: 5px solid transparent;
border-top: 5px solid #0056d6;
}
}
}
}
.search {
width: 692px;
margin: 15px auto 0;
display: flex;
align-items: center;
.search-input {
position: relative;
width: 560px;
height: 48px;
background: #ffffff;
border-radius: 4px;
border: 1px solid #0056d6;
display: flex;
.input {
position: relative;
width: calc(100% - 100px);
input {
margin-left: 20px;
width: calc(100% - 10px);
border: none;
height: 44px;
line-height: 44px;
font-family: "思源宋体";
font-size: 16px;
font-weight: 400;
color: #333;
}
.close-btn {
position: absolute;
right: 0;
top: 0;
bottom: 0;
margin: auto 0;
width: 18px;
height: 18px;
background-color: #eee;
border-radius: 100%;
cursor: pointer;
img {
display: block;
margin: 4px auto;
width: 10px;
height: 10px;
opacity: 0.3;
}
}
}
.btn {
margin: 7px 9px 0 auto;
line-height: 32px;
width: 66px;
height: 32px;
background: #0056d6;
border-radius: 2px;
text-align: center;
font-size: 15px;
font-family: Source Han Serif CN;
font-weight: 500;
color: #ffffff;
color: #ffffff;
cursor: pointer;
}
}
.btn2 {
margin-left: 35px;
width: 100px;
height: 39px;
line-height: 39px;
border-radius: 6px;
text-align: center;
font-size: 16px;
font-family: Source Han Serif CN;
font-weight: 500;
color: #0056d6;
cursor: pointer;
img {
width: 20px;
height: 20px;
margin-right: 8px;
}
}
}
}
</style>

58
src/views/modules/cpts/house/info.vue

@ -0,0 +1,58 @@
<template>
<el-dialog
visible
title="房屋详情"
width="820px"
top="5vh"
append-to-body
class="m-dialog"
:close-on-click-modal="false"
:before-close="close"
>
<house-info
ref="houseInfo"
@diaDetailClose="close"
:view_real_data="true"
:house-id="houseId"
/>
</el-dialog>
</template>
<script>
import houseInfo from "@/views/modules/base/community/roomDetail";
export default {
props: {
houseId: {
type: String,
default: "",
},
},
components: {
houseInfo,
},
data() {
return {};
},
mounted() {
console.log("mounted ============房屋详情挂载");
this.$nextTick(() => {
this.ini();
});
},
methods: {
ini() {
this.$refs.houseInfo.initForm({ houseId: this.houseId });
},
close() {
this.$emit("close");
},
},
};
</script>
<style lang="scss" scoped>
.m-dialog {
}
</style>

73
src/views/modules/cpts/resi/info.vue

@ -0,0 +1,73 @@
<template>
<el-dialog
visible
title="居民详情"
width="986px"
top="5vh"
append-to-body
class="m-dialog"
:close-on-click-modal="false"
:before-close="close"
>
<div class="dialog-h-content scroll-h">
<resi-info ref="resiInfo" :fixed="true" :resi-id="resiId" />
</div>
<div class="resi-btns">
<el-button size="small" @click="close" class="diy-button--common"
>关闭</el-button
>
</div>
</el-dialog>
</template>
<script>
import resiInfo from "@/views/components/resiInfo";
export default {
props: {
resiId: {
type: String,
default: "",
},
},
components: {
resiInfo,
},
data() {
return {};
},
mounted() {
console.log("============");
},
methods: {
close() {
this.$emit("close");
},
},
};
</script>
<style lang="scss" scoped>
.m-dialog {
.el-dialog__body {
position: relative;
max-height: 83vh;
box-sizing: border-box;
padding: 0 0 20px !important;
.dialog-h-content {
max-height: calc(83vh - 80px);
box-sizing: border-box;
padding: 50px 80px;
overflow: auto;
}
}
.resi-btns {
margin-top: 20px;
text-align: center;
text-align: right;
margin-right: 16px;
}
}
</style>

10
src/views/modules/home/cpts/people-more.vue

@ -631,7 +631,7 @@ export default {
},
async getXiaoquList () {
const url = "/gov/org/icneighborhood/neighborhoodoption";
const url = "/actual/base/communityQuarters/listQuartersOptions";
const { data, code, msg } = await requestPost(url, {
agencyId: this.info.AGENCY_ID,
@ -645,10 +645,10 @@ export default {
}
},
async getLouList () {
const url = "/gov/org/icbuilding/buildingoption";
const url = "/actual/base/communityBuilding/buildingoption";
const { data, code, msg } = await requestPost(url, {
neighborHoodId: this.info.VILLAGE_ID,
quartersId: this.info.VILLAGE_ID,
});
if (code === 0) {
@ -658,7 +658,7 @@ export default {
}
},
async getDanyuanList () {
const url = "/gov/org/icbuildingunit/unitoption";
const url = "/actual/base/communityBuildingUnit/unitoption";
const { data, code, msg } = await requestPost(url, {
buildingId: this.info.BUILD_ID,
@ -671,7 +671,7 @@ export default {
}
},
async getHomeList () {
const url = "/gov/org/ichouse/houseoption";
const url = "/actual/base/communityHouse/houseoption";
const { data, code, msg } = await requestPost(url, {
unitId: this.info.UNIT_ID,

402
src/views/modules/home/index.vue

@ -1,246 +1,225 @@
<template>
<div class="g-row">
<div class="g-row-left">
<div class="m-box m-search">
<div class="wrap">
<div class="title">
<span>社区查询</span>
</div>
<div class="tabs">
<div
:class="{ 'z-on': searchData.type == 'jumin' }"
@click="searchData.type = 'jumin'"
>
查居民
<div>
<div class="g-row">
<div class="g-row-left">
<div class="m-box m-search">
<div class="wrap">
<div class="title">
<span>社区查询</span>
</div>
<div
:class="{ 'z-on': searchData.type == 'fangwu' }"
@click="searchData.type = 'fangwu'"
>
查房屋
<div class="tabs">
<div
:class="{ 'z-on': searchData.type == 'jumin' }"
@click="searchData.type = 'jumin'"
>
查居民
</div>
<div
:class="{ 'z-on': searchData.type == 'fangwu' }"
@click="searchData.type = 'fangwu'"
>
查房屋
</div>
</div>
</div>
<div class="search">
<div class="search-input">
<div class="input">
<input
type="text"
:placeholder="typePlaceholder[searchData.type]"
v-model="searchData.searchKey"
@keyup.enter="handleClickSearchBtn"
/>
<div
class="close-btn"
v-if="searchData.searchKey != ''"
@click="searchData.searchKey = ''"
>
<img src="@/assets/img/shequ/close.png" />
<div class="search">
<div class="search-input">
<div class="input">
<input
type="text"
:placeholder="typePlaceholder[searchData.type]"
v-model="searchData.searchKey"
@keyup.enter="handleClickSearchBtn"
/>
<div
class="close-btn"
v-if="searchData.searchKey != ''"
@click="searchData.searchKey = ''"
>
<img src="@/assets/img/shequ/close.png" />
</div>
</div>
<div class="btn" @click="handleClickSearchBtn">查一下</div>
</div>
<div class="btn2" @click="handleClickSearchBtn">
<img src="@/assets/images/index/i-search.png" />
智能搜索
</div>
<div class="btn" @click="handleClickSearchBtn">查一下</div>
</div>
<div class="btn2" @click="handleClickSearchBtn">
<img src="@/assets/images/index/i-search.png" />
智能搜索
</div>
</div>
</div>
</div>
<div class="m-box m-pan">
<div class="wrap">
<div class="header">
<img src="@/assets/images/index/title-icon-sqzl.png" />
<span>社区总览</span>
</div>
<div class="cnt">
<div class="cnt-left">
<div class="subtitle">
<img src="@/assets/images/index/i-sqjj.png" />
<span>社区简介</span>
</div>
<p>
{{ deptName }}<span v-if="pandectData.gridCount"
>划分为{{ pandectData.underCount }}{{
pandectData.underName
}}</span
>现有居民{{ pandectData.homeCount }}{{
pandectData.resiCount
}}其中常住人口{{
pandectData.permanentResiCount
}}流动人口{{
pandectData.floatingResiCount
}}各类群体分布如下
</p>
<div class="subtitle">
<img src="@/assets/images/index/i-fxjg.png" />
<span>分析结果</span>
</div>
<p class="hint" v-if="resiCategory.list.length > 0">
<i>*</i> 根据数据分析结果建议重点关注
<b
>{{ resiCategory.list[0].name }}{{
resiCategory.list[1].name
}}{{ resiCategory.list[2].name }}</b
>
三类群体开展相关的社区服务和活动
</p>
<div class="m-box m-pan">
<div class="wrap">
<div class="header">
<img src="@/assets/images/index/title-icon-sqzl.png" />
<span>社区总览</span>
</div>
<div class="cnt-right">
<div class="list">
<div
class="item"
:key="item.code"
v-for="(item, index) in resiCategory.list"
>
<div>{{ ("0" + (index + 1)).substr(-2) }}.</div>
<div class="item-name">{{ item.name }}</div>
<div class="item-div"></div>
<div class="item-count">{{ item.count }}</div>
<div class="item-progress">
<b :style="{ width: item.per + '%' }"></b>
<div class="cnt">
<div class="cnt-left">
<div class="subtitle">
<img src="@/assets/images/index/i-sqjj.png" />
<span>社区简介</span>
</div>
<p>
{{ deptName }}<span v-if="pandectData.gridCount"
>划分为{{ pandectData.underCount }}{{
pandectData.underName
}}</span
>现有居民{{ pandectData.homeCount }}{{
pandectData.resiCount
}}其中常住人口{{
pandectData.permanentResiCount
}}流动人口{{
pandectData.floatingResiCount
}}各类群体分布如下
</p>
<div class="subtitle">
<img src="@/assets/images/index/i-fxjg.png" />
<span>分析结果</span>
</div>
<p class="hint" v-if="resiCategory.list.length > 0">
<i>*</i> 根据数据分析结果建议重点关注
<b
>{{ resiCategory.list[0].name }}{{
resiCategory.list[1].name
}}{{ resiCategory.list[2].name }}</b
>
三类群体开展相关的社区服务和活动
</p>
</div>
<div class="cnt-right">
<div class="list">
<div
class="item"
:key="item.code"
v-for="(item, index) in resiCategory.list"
>
<div>{{ ("0" + (index + 1)).substr(-2) }}.</div>
<div class="item-name">{{ item.name }}</div>
<div class="item-div"></div>
<div class="item-count">{{ item.count }}</div>
<div class="item-progress">
<b :style="{ width: item.per + '%' }"></b>
</div>
<div class="item-per">{{ item.per }} %</div>
</div>
<div class="item-per">{{ item.per }} %</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="g-row-right">
<div class="m-box m-tx">
<div class="wrap">
<div class="header">
<img src="@/assets/images/index/title-icon-zntx.png" />
<span>智能提醒</span>
</div>
<div class="more" @click="toNoticePage">更多></div>
<div class="cnt">
<div class="item">
<div class="item-date">2022-09-12 10:25</div>
<div class="item-title">
鞍山路小区12号楼2单元202户房屋状态于2022年9月12日由自住变更为出租···
</div>
<div class="g-row-right">
<div class="m-box m-tx">
<div class="wrap">
<div class="header">
<img src="@/assets/images/index/title-icon-zntx.png" />
<span>智能提醒</span>
</div>
<div class="item">
<div class="item-date">2022-09-12 10:25</div>
<div class="item-title">
鞍山路小区12号楼2单元202户房屋状态于2022年9月12日由自住变更为出租···
<div class="more" @click="toNoticePage">更多></div>
<div class="cnt">
<div
@click="handleClickNotice(item)"
class="item"
:key="'notice' + item.targetId + index"
v-for="(item, index) in noticeData"
>
<div class="item-date">{{ item.createdTime }}</div>
<div class="item-title">
{{ item.content }}
</div>
</div>
</div>
<div class="item">
<div class="item-date">2022-09-12 10:25</div>
<div class="item-title">
鞍山路小区12号楼2单元202户房屋状态于2022年9月12日由自住变更为出租···
</div>
</div>
</div>
<div class="m-box m-tb">
<div class="wrap">
<div class="header">
<img src="@/assets/images/index/i-zntb.png" />
<span>智能填报</span>
</div>
</div>
<div class="more">更多></div>
<div class="cnt">
<div class="item">
<div class="item-date">2022-09-12 10:25</div>
<div class="item-title">
鞍山路小区12号楼2单元202户房屋状态于2022年9月12日由自住变更为出租···
<img class="item-tag" src="@/assets/images/index/i-zntb.png" />
<div class="item-name">80-90周岁高龄老人生活补助申请表</div>
<div class="item-btns">
<div class="item-btn">
<img src="@/assets/images/index/i-tx.png" />
<span>填写</span>
</div>
<div class="item-btn">
<img src="@/assets/images/index/i-xz.png" />
<span>下载</span>
</div>
</div>
</div>
<div class="item">
<div class="item-date">2022-09-12 10:25</div>
<div class="item-title">
鞍山路小区12号楼2单元202户房屋状态于2022年9月12日由自住变更为出租···
<img class="item-tag" src="@/assets/images/index/i-zntb.png" />
<div class="item-name">80-90周岁高龄老人生活补助申请表</div>
<div class="item-btns">
<div class="item-btn">
<img src="@/assets/images/index/i-tx.png" />
<span>填写</span>
</div>
<div class="item-btn">
<img src="@/assets/images/index/i-xz.png" />
<span>下载</span>
</div>
</div>
</div>
<div class="item">
<div class="item-date">2022-09-12 10:25</div>
<div class="item-title">
鞍山路小区12号楼2单元202户房屋状态于2022年9月12日由自住变更为出租···
</div>
</div>
</div>
</div>
</div>
<div class="m-box m-tb">
<div class="wrap">
<div class="header">
<img src="@/assets/images/index/i-zntb.png" />
<span>智能填报</span>
</div>
</div>
<div class="more">更多></div>
<div class="cnt">
<div class="item">
<img class="item-tag" src="@/assets/images/index/i-zntb.png" />
<div class="item-name">80-90周岁高龄老人生活补助申请表</div>
<div class="item-btns">
<div class="item-btn">
<img src="@/assets/images/index/i-tx.png" />
<span>填写</span>
</div>
<div class="item-btn">
<img src="@/assets/images/index/i-xz.png" />
<span>下载</span>
</div>
</div>
</div>
<div class="item">
<img class="item-tag" src="@/assets/images/index/i-zntb.png" />
<div class="item-name">80-90周岁高龄老人生活补助申请表</div>
<div class="item-btns">
<div class="item-btn">
<img src="@/assets/images/index/i-tx.png" />
<span>填写</span>
</div>
<div class="item-btn">
<img src="@/assets/images/index/i-xz.png" />
<span>下载</span>
</div>
</div>
</div>
<div class="item">
<img class="item-tag" src="@/assets/images/index/i-zntb.png" />
<div class="item-name">80-90周岁高龄老人生活补助申请表</div>
<div class="item-btns">
<div class="item-btn">
<img src="@/assets/images/index/i-tx.png" />
<span>填写</span>
</div>
<div class="item-btn">
<img src="@/assets/images/index/i-xz.png" />
<span>下载</span>
<img class="item-tag" src="@/assets/images/index/i-zntb.png" />
<div class="item-name">80-90周岁高龄老人生活补助申请表</div>
<div class="item-btns">
<div class="item-btn">
<img src="@/assets/images/index/i-tx.png" />
<span>填写</span>
</div>
<div class="item-btn">
<img src="@/assets/images/index/i-xz.png" />
<span>下载</span>
</div>
</div>
</div>
</div>
<div class="item">
<img class="item-tag" src="@/assets/images/index/i-zntb.png" />
<div class="item-name">80-90周岁高龄老人生活补助申请表</div>
<div class="item-btns">
<div class="item-btn">
<img src="@/assets/images/index/i-tx.png" />
<span>填写</span>
</div>
<div class="item-btn">
<img src="@/assets/images/index/i-xz.png" />
<span>下载</span>
<div class="item">
<img class="item-tag" src="@/assets/images/index/i-zntb.png" />
<div class="item-name">80-90周岁高龄老人生活补助申请表</div>
<div class="item-btns">
<div class="item-btn">
<img src="@/assets/images/index/i-tx.png" />
<span>填写</span>
</div>
<div class="item-btn">
<img src="@/assets/images/index/i-xz.png" />
<span>下载</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<fastcall ref="fastcall" />
</div>
</template>
<script>
import { requestPost, requestGet } from "@/js/dai/request";
import resiCategoryMap from "@/views/business/resi-category-map";
import resiCategoryMap from "@/views/business/resi-category-map.js";
import { mapGetters } from "vuex";
import nextTick from "dai-js/tools/nextTick";
import fastcall from "@/views/modules/cpts/fastcall";
export default {
components: {},
components: { fastcall },
data() {
return {
@ -276,6 +255,8 @@ export default {
floatingResiCount: "",
permanentResiCount: "",
},
noticeData: [],
};
},
computed: {
@ -300,6 +281,15 @@ export default {
);
},
methods: {
handleClickNotice(item) {
const { msgType, targetId } = item;
if (msgType == "community_house") {
this.$refs.fastcall.showHouseInfo(targetId);
} else if (msgType == "resident_base_info") {
this.$refs.fastcall.showResiInfo(targetId);
}
},
toNoticePage() {
this.$router.push({
path: "/main/home-notice",
@ -328,6 +318,7 @@ export default {
await this.getOrgData();
this.getWarningList();
this.getPandectData();
this.getNoticeData();
},
//
@ -366,6 +357,25 @@ export default {
}
},
//
async getNoticeData() {
const url = "/message/intelligentMessage/list";
let params = {
page: "1",
limit: "6",
};
const { data, code, msg } = await requestGet(url, params);
if (code === 0) {
if (data) {
this.noticeData = data;
}
} else {
this.$message.error(msg);
}
},
//
async getWarningList() {
const url = "/actual/base/resiCategory/categoryCountList";

59
src/views/modules/home/notice.vue

@ -11,45 +11,21 @@
</div>
<!-- <div class="btn-clear">清除未读</div> -->
<div class="cnt">
<div class="item z-readed">
<img
class="item-tag"
src="@/assets/images/index/title-icon-zntb.png"
/>
<div class="item-title">
鞍山路小区12号楼2单元202户房屋状态于2022年9月12日由自住变更为出租···
</div>
<div class="item-date">2022-09-12 10:25</div>
</div>
<div class="item">
<img
class="item-tag"
src="@/assets/images/index/title-icon-zntb.png"
/>
<div class="item-title">
鞍山路小区12号楼2单元202户房屋状态于2022年9月12日由自住变更为出租···
</div>
<div class="item-date">2022-09-12 10:25</div>
</div>
<div class="item">
<img
class="item-tag"
src="@/assets/images/index/title-icon-zntb.png"
/>
<div class="item-title">
鞍山路小区12号楼2单元202户房屋状态于2022年9月12日由自住变更为出租···
</div>
<div class="item-date">2022-09-12 10:25</div>
</div>
<div class="item">
<div
@click="read"
:class="{ 'z-readed': item.readFlag == 1 }"
class="item"
:key="'notice' + item.targetId + index"
v-for="(item, index) in noticeData"
>
<img
class="item-tag"
src="@/assets/images/index/title-icon-zntb.png"
/>
<div class="item-title">
鞍山路小区12号楼2单元202户房屋状态于2022年9月12日由自住变更为出租请于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租于2022年9月12日由自住变更为出租···
{{ item.content }}
</div>
<div class="item-date">2022-09-12 10:25</div>
<div class="item-date">{{ item.createdTime }}</div>
</div>
</div>
@ -71,7 +47,7 @@
</template>
<script>
import { requestPost } from "@/js/dai/request";
import { requestGet, requestPost } from "@/js/dai/request";
import nextTick from "dai-js/tools/nextTick";
export default {
@ -103,24 +79,25 @@ export default {
handleSizeChange(val) {
this.pageSize = val;
localStorage.setItem("pageSize", val);
this.getTableData();
this.getList();
},
handleCurrentChange(val) {
this.pageNo = val;
this.getTableData();
this.getList();
},
//
async getList() {
const url = "/epmetuser/icresiuser/userchart";
const url = "/message/intelligentMessage/page";
let params = {
orgId: "",
orgType: "",
page: this.pageNo,
limit: this.pageSize,
};
const { data, code, msg } = await requestPost(url, params);
const { data, code, msg } = await requestGet(url, params);
if (code === 0) {
this.noticeList = data;
this.total = data.total;
this.noticeList = data.list;
} else {
this.$message.error(msg);
}

16
src/views/modules/plugins/change/changerelocation.vue

@ -209,7 +209,7 @@
>
</el-table-column>
<el-table-column
prop="oleDeptName"
prop="oldDeptName"
label="所属网格"
header-align="center"
align="center"
@ -407,7 +407,7 @@ export default {
getDataListIsPage: true,
deleteURL: "/epmetuser/changeRelocation",
deleteIsBatch: true,
exportURL: "/actual/base/residentMoveOutRecord/recovery",
exportURL: "/actual/base/residentMoveOutRecord/export",
},
timeRange: "",
optionsV: [],
@ -524,7 +524,7 @@ export default {
method: "POST",
url,
responseType: "blob",
params: this.dataForm,
data: this.dataForm,
})
.then((res) => {
// this.download(res.data, title + '.xls')
@ -626,7 +626,7 @@ export default {
getValiheList() {
const { user } = this.$store.state;
this.$http
.post("/gov/org/icneighborhood/neighborhoodoption", {
.post("/actual/base/communityQuarters/listQuartersOptions", {
gridId: this.dataForm.gridId,
agencyId: "",
// agencyId: user.agencyId
@ -645,8 +645,8 @@ export default {
},
getBuildList() {
this.$http
.post("/gov/org/icbuilding/buildingoption", {
neighborHoodId: this.dataForm.villageId,
.post("/actual/base/communityBuilding/buildingoption", {
quartersId: this.dataForm.villageId,
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -662,7 +662,7 @@ export default {
},
getUniList() {
this.$http
.post("/gov/org/icbuildingunit/unitoption", {
.post("/actual/base/communityBuildingUnit/unitoption", {
buildingId: this.dataForm.buildId,
})
.then(({ data: res }) => {
@ -679,7 +679,7 @@ export default {
},
getHouseList() {
this.$http
.post("/gov/org/ichouse/houseoption", { unitId: this.dataForm.unitId })
.post("/actual/base/communityHouse/houseoption", { unitId: this.dataForm.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

10
src/views/modules/plugins/change/verify.vue

@ -454,7 +454,7 @@ export default {
getValiheList () {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.fmData.gridId,
agencyId: ''
// agencyId: user.agencyId
@ -473,8 +473,8 @@ export default {
},
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.fmData.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.fmData.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -490,7 +490,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.fmData.buildId
})
.then(({ data: res }) => {
@ -507,7 +507,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.fmData.unitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.fmData.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/modules/plugins/change/verifyForm copy.vue

@ -596,7 +596,7 @@ export default {
},
async loadCommunityList() {
const url = '/gov/org/icneighborhood/neighborhoodoption'
const url = '/actual/base/communityQuarters/listQuartersOptions'
let params = {
gridId: this.dataForm.gridId,
@ -621,10 +621,10 @@ export default {
}
})
const url = '/gov/org/icbuilding/buildingoption'
const url = '/actual/base/communityBuilding/buildingoption'
let params = {
neighborHoodId: this.dataForm.villageId
quartersId: this.dataForm.villageId
}
const { data, code, msg } = await requestPost(url, params)
@ -648,7 +648,7 @@ export default {
}
})
const url = '/gov/org/icbuildingunit/unitoption'
const url = '/actual/base/communityBuildingUnit/unitoption'
let params = {
buildingId: this.dataForm.buildId
@ -674,7 +674,7 @@ export default {
}
})
const url = '/gov/org/ichouse/houseoption'
const url = '/actual/base/communityHouse/houseoption'
let params = {
unitId: this.dataForm.unitId

10
src/views/modules/plugins/change/verifyForm.vue

@ -489,7 +489,7 @@ export default {
},
async loadCommunityList () {
const url = '/gov/org/icneighborhood/neighborhoodoption'
const url = '/actual/base/communityQuarters/listQuartersOptions'
let params = {
gridId: this.dataForm.gridId,
@ -514,10 +514,10 @@ export default {
}
})
const url = '/gov/org/icbuilding/buildingoption'
const url = '/actual/base/communityBuilding/buildingoption'
let params = {
neighborHoodId: this.dataForm.villageId
quartersId: this.dataForm.villageId
}
const { data, code, msg } = await requestPost(url, params)
@ -541,7 +541,7 @@ export default {
}
})
const url = '/gov/org/icbuildingunit/unitoption'
const url = '/actual/base/communityBuildingUnit/unitoption'
let params = {
buildingId: this.dataForm.buildId
@ -567,7 +567,7 @@ export default {
}
})
const url = '/gov/org/ichouse/houseoption'
const url = '/actual/base/communityHouse/houseoption'
let params = {
unitId: this.dataForm.unitId

10
src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue

@ -794,7 +794,7 @@ export default {
},
getVillageList() {
return new Promise((resolve, reject) => {
this.$http.post('/gov/org/icneighborhood/neighborhoodoption', {
this.$http.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.dataForm.gridId,
agencyId: ''
// agencyId: user.agencyId
@ -817,8 +817,8 @@ export default {
},
getBuildList() {
return new Promise((resolve, reject) => {
this.$http.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.dataForm.villageId
this.$http.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.dataForm.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -838,7 +838,7 @@ export default {
},
getUniList() {
return new Promise((resolve, reject) => {
this.$http.post('/gov/org/icbuildingunit/unitoption', {
this.$http.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.dataForm.buildId
})
.then(({ data: res }) => {
@ -859,7 +859,7 @@ export default {
},
getHouseList() {
return new Promise((resolve, reject) => {
this.$http.post('/gov/org/ichouse/houseoption', { unitId: this.dataForm.unitId })
this.$http.post('/actual/base/communityHouse/houseoption', { unitId: this.dataForm.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
reject(false)

10
src/views/modules/plugins/rent/rentcontractinfo.vue

@ -362,7 +362,7 @@ export default {
getValiheList() {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.dataForm.gridId,
agencyId: ''
// agencyId: user.agencyId
@ -381,8 +381,8 @@ export default {
},
getBuildList() {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.dataForm.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.dataForm.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -398,7 +398,7 @@ export default {
},
getUniList() {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.dataForm.buildId
})
.then(({ data: res }) => {
@ -415,7 +415,7 @@ export default {
},
getHouseList() {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.dataForm.unitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.dataForm.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/modules/plugins/rent/rentcontractreview.vue

@ -371,7 +371,7 @@ export default {
getValiheList() {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.dataForm.gridId,
agencyId: ''
// agencyId: user.agencyId
@ -390,8 +390,8 @@ export default {
},
getBuildList() {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.dataForm.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.dataForm.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -407,7 +407,7 @@ export default {
},
getUniList() {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.dataForm.buildId
})
.then(({ data: res }) => {
@ -424,7 +424,7 @@ export default {
},
getHouseList() {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.dataForm.unitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.dataForm.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/modules/plugins/rent/renthouse.vue

@ -424,7 +424,7 @@ export default {
getValiheList() {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.dataForm.gridId,
agencyId: ''
// agencyId: user.agencyId
@ -443,8 +443,8 @@ export default {
},
getBuildList() {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.dataForm.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.dataForm.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -460,7 +460,7 @@ export default {
},
getUniList() {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.dataForm.buildId
})
.then(({ data: res }) => {
@ -477,7 +477,7 @@ export default {
},
getHouseList() {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.dataForm.unitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.dataForm.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/modules/plugins/rent/renthouseForm.vue

@ -370,7 +370,7 @@ export default {
getValiheList() {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.gridId,
agencyId: ''
// agencyId: user.agencyId
@ -389,8 +389,8 @@ export default {
},
getBuildList() {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -406,7 +406,7 @@ export default {
},
getUniList() {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.buildId
})
.then(({ data: res }) => {
@ -423,7 +423,7 @@ export default {
},
getHouseList() {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.unitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

6
src/views/modules/plugins/visit/visitvisitor.vue

@ -220,7 +220,7 @@ export default {
this.unitArr = []
this.houseArr = []
this.$http
.post('/gov/org/icbuilding/buildingoption', { neighborHoodId: this.dataForm.neighborhoodId})
.post('/actual/base/communityBuilding/buildingoption', { quartersId: this.dataForm.neighborhoodId})
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -236,7 +236,7 @@ export default {
getUnitList() {
this.houseArr = []
this.$http
.post('/gov/org/icbuildingunit/unitoption', { buildingId: this.dataForm.buildingId})
.post('/actual/base/communityBuildingUnit/unitoption', { buildingId: this.dataForm.buildingId})
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -251,7 +251,7 @@ export default {
},
getHouseList() {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.dataForm.unitId})
.post('/actual/base/communityHouse/houseoption', { unitId: this.dataForm.unitId})
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

73
src/views/modules/shequ/chaxun.vue

@ -170,7 +170,7 @@
class="f-fc"
type="text"
size="small"
@click="handleWatchSearchFangwu(scope.row)"
@click="handleWatchSearchFangwu(scope.$index)"
>查看</el-button
>
</template>
@ -192,48 +192,17 @@
</div>
</div>
<!-- 修改弹出框 -->
<el-dialog
:visible.sync="showedResiInfo"
:close-on-click-modal="false"
:close-on-press-escape="false"
title="居民详情"
width="986px"
top="5vh"
class="m-dialog"
@closed="showedResiInfo = false"
>
<div class="dialog-h-content scroll-h">
<resi-info
ref="resi_info"
:resi-id="currentResiId"
@dialogCancle="showedResiInfo = false"
></resi-info>
</div>
<div class="resi-btns">
<el-button
size="small"
@click="showedResiInfo = false"
class="diy-button--common"
>关闭</el-button
>
</div>
</el-dialog>
<!-- 修改弹出框 -->
<el-dialog
:visible.sync="showedFangwuInfo"
:close-on-click-modal="false"
:close-on-press-escape="false"
title="房屋详情"
width="900px"
@closed="showedFangwuInfo = false"
>
<fangwu-info
ref="fangwu_info"
@dialogCancle="showedFangwuInfo = false"
></fangwu-info>
</el-dialog>
<resi-info
v-if="showedResiInfo && currentResiId"
:resi-id="currentResiId"
@close="showedResiInfo = false"
/>
<house-info
v-if="showedHouseInfo && currentHouseId"
:house-id="currentHouseId"
@close="showedHouseInfo = false"
/>
</div>
</template>
@ -241,14 +210,14 @@
import { requestPost } from "@/js/dai/request";
import { mapGetters } from "vuex";
import nextTick from "dai-js/tools/nextTick";
import fangwuInfo from "@/views/modules/shequ/cpts/fangwu-info";
import getQueryPara from "dai-js/modules/getQueryPara";
import resiInfo from "../../components/resiInfo.vue";
import resiInfo from "@/views/modules/cpts/resi/info";
import houseInfo from "@/views/modules/cpts/house/info";
export default {
components: {
resiInfo,
fangwuInfo,
houseInfo,
},
props: {
@ -598,8 +567,8 @@ export default {
currentResiId: "",
//
showedFangwuInfo: false,
showedXuqiuInfo: false,
showedHouseInfo: false,
currentHouseId: "",
currentPage: "chaxun", // ,
};
@ -694,10 +663,12 @@ export default {
this.searchFangwu.pageNo = val;
this.getSearchFangwu();
},
async handleWatchSearchFangwu(row) {
this.showedFangwuInfo = true;
async handleWatchSearchFangwu(rowIndex) {
let item = this.searchFangwu.list[rowIndex];
this.currentHouseId = item.id;
await nextTick();
this.$refs.fangwu_info.initForm("detail", row);
this.showedHouseInfo = true;
},
getApiData() {},

10
src/views/modules/shequ/cpts/people-more.vue

@ -686,7 +686,7 @@ export default {
},
async getXiaoquList () {
const url = "/gov/org/icneighborhood/neighborhoodoption";
const url = "/actual/base/communityQuarters/listQuartersOptions";
const { data, code, msg } = await requestPost(url, {
agencyId: this.info.AGENCY_ID,
@ -700,10 +700,10 @@ export default {
}
},
async getLouList () {
const url = "/gov/org/icbuilding/buildingoption";
const url = "/actual/base/communityBuilding/buildingoption";
const { data, code, msg } = await requestPost(url, {
neighborHoodId: this.info.VILLAGE_ID,
quartersId: this.info.VILLAGE_ID,
});
if (code === 0) {
@ -713,7 +713,7 @@ export default {
}
},
async getDanyuanList () {
const url = "/gov/org/icbuildingunit/unitoption";
const url = "/actual/base/communityBuildingUnit/unitoption";
const { data, code, msg } = await requestPost(url, {
buildingId: this.info.BUILD_ID,
@ -726,7 +726,7 @@ export default {
}
},
async getHomeList () {
const url = "/gov/org/ichouse/houseoption";
const url = "/actual/base/communityHouse/houseoption";
const { data, code, msg } = await requestPost(url, {
unitId: this.info.UNIT_ID,

10
src/views/modules/shequzhili/tuceng/zhonghe/base.vue

@ -529,7 +529,7 @@ export default {
getValiheList() {
const { user } = this.$store.state;
this.$http
.post("/gov/org/icneighborhood/neighborhoodoption", {
.post("/actual/base/communityQuarters/listQuartersOptions", {
gridId: this.fmData.gridId,
agencyId: this.fmData.agencyId,
// agencyId: user.agencyId
@ -548,8 +548,8 @@ export default {
},
getBuildList() {
this.$http
.post("/gov/org/icbuilding/buildingoption", {
neighborHoodId: this.fmData.villageId,
.post("/actual/base/communityBuilding/buildingoption", {
quartersId: this.fmData.villageId,
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -565,7 +565,7 @@ export default {
},
getUniList() {
this.$http
.post("/gov/org/icbuildingunit/unitoption", {
.post("/actual/base/communityBuildingUnit/unitoption", {
buildingId: this.fmData.buildId,
})
.then(({ data: res }) => {
@ -582,7 +582,7 @@ export default {
},
getHouseList() {
this.$http
.post("/gov/org/ichouse/houseoption", { unitId: this.fmData.unitId })
.post("/actual/base/communityHouse/houseoption", { unitId: this.fmData.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

10
src/views/modules/shequzhili/tuceng/zhonghe/baseTotal.vue

@ -557,7 +557,7 @@ export default {
getValiheList () {
const { user } = this.$store.state;
this.$http
.post("/gov/org/icneighborhood/neighborhoodoption", {
.post("/actual/base/communityQuarters/listQuartersOptions", {
gridId: this.fmData.gridId,
agencyId: this.fmData.agencyId,
// agencyId: user.agencyId
@ -576,8 +576,8 @@ export default {
},
getBuildList () {
this.$http
.post("/gov/org/icbuilding/buildingoption", {
neighborHoodId: this.fmData.villageId,
.post("/actual/base/communityBuilding/buildingoption", {
quartersId: this.fmData.villageId,
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -593,7 +593,7 @@ export default {
},
getUniList () {
this.$http
.post("/gov/org/icbuildingunit/unitoption", {
.post("/actual/base/communityBuildingUnit/unitoption", {
buildingId: this.fmData.buildId,
})
.then(({ data: res }) => {
@ -610,7 +610,7 @@ export default {
},
getHouseList () {
this.$http
.post("/gov/org/ichouse/houseoption", { unitId: this.fmData.unitId })
.post("/actual/base/communityHouse/houseoption", { unitId: this.fmData.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

10
src/views/modules/shequzhili/xiangmu/cpts/edit.vue

@ -610,7 +610,7 @@ export default {
getValiheList() {
const { user } = this.$store.state;
this.$http
.post("/gov/org/icneighborhood/neighborhoodoption", {
.post("/actual/base/communityQuarters/listQuartersOptions", {
gridId: this.fmData.gridId,
agencyId: "",
// agencyId: user.agencyId
@ -629,8 +629,8 @@ export default {
},
getBuildList() {
this.$http
.post("/gov/org/icbuilding/buildingoption", {
neighborHoodId: this.fmData.villageId,
.post("/actual/base/communityBuilding/buildingoption", {
quartersId: this.fmData.villageId,
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -646,7 +646,7 @@ export default {
},
getUniList() {
this.$http
.post("/gov/org/icbuildingunit/unitoption", {
.post("/actual/base/communityBuildingUnit/unitoption", {
buildingId: this.fmData.buildId,
})
.then(({ data: res }) => {
@ -663,7 +663,7 @@ export default {
},
getHouseList() {
this.$http
.post("/gov/org/ichouse/houseoption", { unitId: this.fmData.unitId })
.post("/actual/base/communityHouse/houseoption", { unitId: this.fmData.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

10
src/views/modules/sys/icvaccineprarmeter-add-or-update.vue

@ -553,7 +553,7 @@
getVillageList() {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.dataForm.gridId,
agencyId: ''
// agencyId: user.agencyId
@ -572,8 +572,8 @@
},
getBuildList() {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.dataForm.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.dataForm.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -589,7 +589,7 @@
},
getUniList() {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.dataForm.buildId
})
.then(({ data: res }) => {
@ -606,7 +606,7 @@
},
getHouseList() {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.dataForm.unitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.dataForm.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/modules/sys/icvaccineprarmeter.vue

@ -646,7 +646,7 @@ export default {
getValiheList () {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.dataForm.gridId,
agencyId: ''
// agencyId: user.agencyId
@ -665,8 +665,8 @@ export default {
},
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.dataForm.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.dataForm.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -682,7 +682,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.dataForm.buildId
})
.then(({ data: res }) => {
@ -699,7 +699,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.dataForm.unitId })
.post('/actual/base/communityHouse/houseoption', { unitId: this.dataForm.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/modules/visual/basicinfo/cpts/people-more.vue

@ -652,7 +652,7 @@ export default {
},
async getXiaoquList () {
const url = "/gov/org/icneighborhood/neighborhoodoption";
const url = "/actual/base/communityQuarters/listQuartersOptions";
const { data, code, msg } = await requestPost(url, {
agencyId: this.info.AGENCY_ID,
@ -666,10 +666,10 @@ export default {
}
},
async getLouList () {
const url = "/gov/org/icbuilding/buildingoption";
const url = "/actual/base/communityBuilding/buildingoption";
const { data, code, msg } = await requestPost(url, {
neighborHoodId: this.info.VILLAGE_ID,
quartersId: this.info.VILLAGE_ID,
});
if (code === 0) {
@ -679,7 +679,7 @@ export default {
}
},
async getDanyuanList () {
const url = "/gov/org/icbuildingunit/unitoption";
const url = "/actual/base/communityBuildingUnit/unitoption";
const { data, code, msg } = await requestPost(url, {
buildingId: this.info.BUILD_ID,
@ -692,7 +692,7 @@ export default {
}
},
async getHomeList () {
const url = "/gov/org/ichouse/houseoption";
const url = "/actual/base/communityHouse/houseoption";
const { data, code, msg } = await requestPost(url, {
unitId: this.info.UNIT_ID,

Loading…
Cancel
Save