Browse Source

宅基地调查样式优化

rongxin_prod
Xyq123* 1 year ago
parent
commit
133497bd24
2 changed files with 19 additions and 4 deletions
  1. +18
    -3
      src/views/homesteadSurvey/hncyList2.vue
  2. +1
    -1
      src/views/homesteadSurvey/list.vue

+ 18
- 3
src/views/homesteadSurvey/hncyList2.vue View File

@@ -77,9 +77,18 @@
</template> </template>
</van-cell> </van-cell>
<template #right> <template #right>
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;height:100%;" @click="handleFenHu(item)"><img src="../../assets/images/housesteadSurvey/list09.png" alt="" style="margin-right: 3px;">分户</van-button>
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;height:100%;" @click="handleGuohu(item,index)"><img src="../../assets/images/housesteadSurvey/add03.png" alt="" style="margin-right: 3px;">移户</van-button>
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;height:100%;" @click="handleToHuzhu(item,index)"><img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 3px;">设为户主</van-button>
<van-row>
<van-col>
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;height:100%;" @click="handleFenHu(item)"><img src="../../assets/images/housesteadSurvey/list09.png" alt="" style="margin-right: 3px;">分户</van-button>
</van-col>
<van-col>
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;height:100%;" @click="handleGuohu(item,index)"><img src="../../assets/images/housesteadSurvey/add03.png" alt="" style="margin-right: 3px;">移户</van-button>
</van-col>
<van-col>
<van-button v-if="item.yhzgx != '02'" style="align-items: center;color:#22B7F2;font-size:12px;height:100%;" @click="handleToHuzhu(item,index)"><img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 3px;">设为户主</van-button>
</van-col>
</van-row>

</template> </template>
</van-swipe-cell> </van-swipe-cell>
<van-dialog v-model="guohuData.visible" title="成员移户" show-cancel-button confirmButtonText="确认" cancelButtonText="关闭" @confirm="guohu" @cancel="show=false"> <van-dialog v-model="guohuData.visible" title="成员移户" show-cancel-button confirmButtonText="确认" cancelButtonText="关闭" @confirm="guohu" @cancel="show=false">
@@ -5099,6 +5108,12 @@
/deep/ .van-swipe-cell__wrapper{ /deep/ .van-swipe-cell__wrapper{
margin-right:-3px; margin-right:-3px;
} }
/deep/ .van-row{
height: 100%;
}
/deep/ .van-col{
height: 100%;
}
.title:before .title:before
{ {
content:""; content:"";


+ 1
- 1
src/views/homesteadSurvey/list.vue View File

@@ -101,7 +101,7 @@
<template #right> <template #right>
<van-row> <van-row>
<van-col> <van-col>
<van-button square type="info" class="delete-button" @click="showUploadList(item.id)"><van-icon name="photo-o" size=".4rem" style="bottom: -3px;" color="#000000" @click="showUploadList(item.id)"/> 附件</van-button>
<van-button square type="info" class="delete-button" @click="showUploadList(item.id)"><van-icon name="photo-o" size=".4rem" style="bottom: -3px;" color="#FFFFFF" @click="showUploadList(item.id)"/> 附件</van-button>
</van-col> </van-col>
<van-col> <van-col>
<van-button square v-if="item.surveyStatus != '5' && item.surveyStatus != '3'" type="danger" class="delete-button" @click="deleteZjd(item)"><img width="10px" src="../../assets/images/sunVillage_info/list_icon_7.png" alt=""> 删除</van-button> <van-button square v-if="item.surveyStatus != '5' && item.surveyStatus != '3'" type="danger" class="delete-button" @click="deleteZjd(item)"><img width="10px" src="../../assets/images/sunVillage_info/list_icon_7.png" alt=""> 删除</van-button>


Loading…
Cancel
Save