epmet 工作端 小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

154 lines
8.9 KiB

<!--pages/resiAndHouse/resiAndHouse.wxml-->
<view class="group_1">
<view class="block_1">
<view class="box_15">
<text lines="1" class="text_1">{{agencyName}}</text>
</view>
<view class="text-wrapper_30">
<view bind:tap="handelClickSearchType" data-type="resi">
<text lines="1" class="text_3 {{selectVale === 'resi' ? 'font_bold' : ''}}">查询居民</text>
<image src="../../images/work/select.png" mode="" wx:if="{{selectVale == 'resi'}}" />
</view>
<view bind:tap="handelClickSearchType" data-type="house">
<text lines="1" class="text_3 {{selectVale === 'house' ? 'font_bold' : ''}}">查询房屋</text>
<image src="../../images/work/select.png" mode="" wx:if="{{selectVale == 'house'}}" />
</view>
</view>
<view class="inout_box">
<image src="../../images/work/search.png" mode="" class="search_img" />
<input type="text" placeholder="姓名/手机/身份证" bindinput="handelBlurKeyWord" bindblur="handelBlurKeyWord" value="{{keyWord}}" />
<view class="btn_box" bind:tap="handelClickSearch">
<image src="../../images/cardIcon.png" mode="" class="OCR_img" bind:tap="handelClickToOcr" />
<text>搜索</text>
</view>
</view>
</view>
</view>
<view class="group_2" wx:if="{{selectVale === 'resi'}}">
<view class="section_2">
<view class="box_16">
<text lines="1" class="text_4">{{cascaderName}}</text>
<view class="image-text_9">
<text lines="1" class="text_5" bind:tap="handelClickShowTree">切换</text>
<image src="../../images/swapHorizontal.png" class="image_8"></image>
</view>
</view>
<view class="box_17">
<view class="tabs">
<view class="tab_item {{activeType === index ? 'border_bto' : ''}}" wx:for="{{tabList}}" bind:tap="handelClickTab" data-index="{{index}}" data-category="{{item.category}}">
<view class="num">{{item.categoryCount}}</view>
<view class="name" style="color:{{activeType === index?'#3974f6':'#666666'}}">{{item.categoryName}}</view>
</view>
</view>
</view>
<scroll-view class="scroll" scroll-y="{{true}}" lower-threshold="{{ lowerThreshold }}" bindscrolltolower="onScrollToLower">
<view class="form_item" wx:for="{{tableData}}" :wx:key="{{index}}" bind:tap="toResiDetail" data-resiId="{{item.resiId}}">
<view class="box_18">
<text lines="1" class="text_16">{{item.name}}</text>
<view class="resi_tag" wx:if="{{item.categoryInfo.categoryNames}}">
<view class="text-wrapper_8" wx:for="{{item.categoryInfo.categoryNames.split(',')}}" wx:for-item="itemC">
{{itemC}}
</view>
</view>
<view class="text-wrapper_9">
</view>
</view>
<view class="box_19">
<view class="text-wrapper_10">
<text lines="1" class="text_21">国籍:</text>
<text lines="1" class="text_22">{{item.nationalityName || "--"}}</text>
</view>
<view class="text-wrapper_11">
<text lines="1" class="text_23">民族:</text>
<text lines="1" class="text_24">{{item.nationName || '--'}}</text>
</view>
</view>
<view class="text-wrapper_12">
<text lines="1" class="text_25">电话:</text>
<text lines="1" class="text_26">{{item.mobile}}</text>
</view>
<view class="text-wrapper_13">
<text lines="1" class="text_27">证件号</text>
<text lines="1" class="text_28">:</text>
<text lines="1" class="text_29">{{item.idNum}}</text>
</view>
<view class="text-wrapper_14">
<text lines="1" class="text_30">地址:</text>
<text lines="1" class="text_31">{{item.agencyName || ''}} {{item.homeName || ''}}</text>
</view>
<view class="text-wrapper_15">
<text lines="1" class="text_32">最新更新时间:</text>
<text lines="1" decode="true" class="text_33">{{item.updatedTime|| '--'}}</text>
</view>
</view>
<load-more loadVisible="{{loadMoreVisible}}" loadType="{{loadMoreType}}"></load-more>
<no-data isShow="{{nodata}}" wx:if="{{nodata}}"></no-data>
</scroll-view>
</view>
</view>
<view class="group_2" wx:if="{{selectVale === 'house'}}">
<view class="section_2">
<view class="box_16">
<text lines="1" class="text_4" bind:tap="handelClickShowTreeFw">{{cascaderNameFw}}</text>
<view class="image-text_9">
<view class="image-text_qh">
<text lines="1" class="text_5" bind:tap="handelClickShowTreeFw">切换</text>
<image src="../../images/swapHorizontal.png" class="image_8"></image>
</view>
</view>
</view>
<view class="box_17">
<view class="tabs">
<view class="tab_item_fw {{activeFwType === index ? 'border_bto' : ''}}" wx:for="{{fwTypes}}" bind:tap="handelClickTabFw" data-index="{{index}}" data-category="{{item.value}}">
<view class="num">{{item.num}}</view>
<view class="name" style="color:{{activeFwType === index?'#3974f6':'#666666'}}">{{item.name}}</view>
</view>
</view>
</view>
<view style="margin-left: 24rpx;">
<text class="text_51">注:</text>
<image src="../../images/house/zzMin.png" class="image_81"></image>
<text lines="1" class="text_51" bind:tap="handelClickShowTreeFw">自住</text>
<image src="../../images/house/czMin.png" class="image_81 image_82"></image>
<text style="margin-left:1" lines="1" class="text_51" bind:tap="handelClickShowTreeFw">出租</text>
<image src="../../images/house/xzMin.png" class="image_81 image_82"></image>
<text lines="1" class="text_51" bind:tap="handelClickShowTreeFw">闲置</text>
<image src="../../images/house/wcsMin.png" class="image_81 image_82"></image>
<text lines="1" class="text_51" bind:tap="handelClickShowTreeFw">未出售</text>
</view>
<scroll-view class="scroll_fw form_item_fw" scroll-y="{{true}}" lower-threshold="{{ lowerThreshold }}" bindscrolltolower="onScrollFwToLower">
<view class="form_item_fw">
<view wx:for="{{tableFwData}}" :wx:key="{{index}}" bind:tap="onClickJump" data-resiId="{{item.id}}" class="form_item_fw_item">
<view class="item_fw">
<view class="item_imgs_fw">
<image class="item_img_fw_img" wx:if="{{item.rentFlagName=='自住'}}" src="../../images/house/zzMax.png"></image>
<image class="item_img_fw_img" wx:if="{{item.rentFlagName=='出租'}}" src="../../images/house/czMax.png"></image>
<image class="item_img_fw_img" wx:if="{{item.rentFlagName=='闲置'}}" src="../../images/house/xzMax.png"></image>
<image class="item_img_fw_img" wx:if="{{item.rentFlagName=='未出售'}}" src="../../images/house/wcsMax.png"></image>
</view>
<view class="item_texts_fw">
<view class="item_text_hh">{{item.houseName}}</view>
<view class="item_text_rs">
{{item.resiTotal}}人
</view>
</view>
</view>
</view>
</view>
<load-more loadVisible="{{loadFwMoreVisible}}" loadType="{{loadFwMoreType}}"></load-more>
<no-data isShow="{{nodata}}" wx:if="{{tableFwData.length==0}}"></no-data>
</scroll-view>
</view>
</view>
<custom-tab-bar></custom-tab-bar>
<van-popup show="{{ showAngenCascader }}" round position="bottom">
<van-cascader field-names="{{fieldName}}" wx:if="{{showAngenCascader}}" value="{{ searchOrgIdPath }}" title="请选择" options="{{ angencyList }}" bind:close="onClose" bind:finish="onFinish" />
</van-popup>
<van-popup show="{{ showFw }}" round position="bottom">
<van-cascader wx:if="{{ showFw }}" field-names="{{ fieldNameFw }}" value="{{ cascaderFwValue }}" title="请选择所在地区" options="{{ angencyFwList }}" bind:close="onCloseFw" bind:change="onChangeFw" bind:finish="onFinishFw" />
</van-popup>