Browse Source

bug修改

shibei_master
jiangyy 3 years ago
parent
commit
07055a98e8
  1. 7
      src/assets/scss/modules/management/epidemic.scss
  2. 28
      src/views/modules/base/huji/houseChange/houseChangeList.vue

7
src/assets/scss/modules/management/epidemic.scss

@ -37,12 +37,15 @@
.div_search {
background: #ffffff;
border-radius: 4px;
padding: 30px 20px 5px;
padding: 20px 20px 5px 5px;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
}
.list_item_width_1 {
width: 185px;
width: 165px;
}
.list_item_width_2 {
width: 135px;
}
}

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

@ -4,7 +4,7 @@
<el-form :inline="true"
:model="formData"
ref="ref_searchform"
:label-width="'90px'">
:label-width="'80px'">
<div>
<el-form-item label="所属网格"
@ -48,7 +48,7 @@
:disabled="!this.formData.neighborHoodId"
size="small"
clearable
class="resi-cell-select resi-cell-select-middle list_item_width_1"
class="resi-cell-select resi-cell-select-middle list_item_width_2"
@change="handleChangeB">
<el-option v-for="item in optionsB"
:key="item.value"
@ -63,7 +63,7 @@
size="small"
:disabled="!this.formData.buildingId"
clearable
class="resi-cell-select resi-cell-select-middle list_item_width_1"
class="resi-cell-select resi-cell-select-middle list_item_width_2"
@change="handleChangeD">
<el-option v-for="item in optionsD"
:key="item.value"
@ -78,7 +78,7 @@
:disabled="!this.formData.buildingUnitId"
size="small"
clearable
class="resi-cell-select resi-cell-select-middle list_item_width_1">
class="resi-cell-select resi-cell-select-middle list_item_width_2">
<el-option v-for="item in optionsH"
:key="item.value"
:label="item.label"
@ -305,9 +305,9 @@ export default {
this.formData.buildingUnitId = ''
this.formData.houseId = ''
this.getValiheList()
this.getBuildList()
this.getUniList()
this.getHouseList()
// this.getBuildList()
// this.getUniList()
// this.getHouseList()
},
handleChangeV (val) {
console.log('val', val)
@ -315,15 +315,15 @@ export default {
this.formData.buildingUnitId = ''
this.formData.houseId = ''
this.getBuildList()
this.getUniList()
this.getHouseList()
// this.getUniList()
// this.getHouseList()
},
handleChangeB (val) {
console.log('val', val)
this.formData.buildingUnitId = ''
this.formData.houseId = ''
this.getUniList()
this.getHouseList()
// this.getHouseList()
},
handleChangeD () {
this.formData.houseId = ''
@ -379,7 +379,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { buildingUnitId: this.formData.buildingUnitId })
.post('/gov/org/ichouse/houseoption', { unitId: this.formData.buildingUnitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -462,7 +462,7 @@ export default {
},
computed: {
tableHeight () {
return this.$store.state.inIframe ? this.clientHeight - 415 + this.iframeHeight : this.clientHeight - 415
return this.$store.state.inIframe ? this.clientHeight - 365 + this.iframeHeight : this.clientHeight - 365
},
@ -479,6 +479,10 @@ export default {
<style lang="scss" scoped >
@import "@/assets/scss/modules/management/epidemic.scss";
.item_width_1 {
width: 260px;
}
</style>

Loading…
Cancel
Save