daofu-applet/pages/statistic/j-b-x-x/index/index.wxml

96 lines
3.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<title-bar title="基本信息统计"></title-bar>
<scroll-view scroll-y style="height: calc(100vh - {{topBarH}}px);" refresher-enabled bindrefresherrefresh="refresh" bindscrolltolower="dropDown" refresher-triggered="{{freshIng}}">
<view class="content">
<!-- <view class="filter">
<picker mode="date" value="{{startTime}}" bindchange="startTimeChange">
<view class="picker">
开始时间: {{startTime}}
</view>
</picker>
<view class="line"></view>
<picker mode="date" value="{{endTime}}" bindchange="endTimeChange">
<view class="picker">
结束时间: {{endTime}}
</view>
</picker>
</view> -->
<!-- 关键字搜索 -->
<!-- <input class="search" value="{{search}}" placeholder="输入姓名" /> -->
<view class="table">
<view catchtap="changeItem" data-item="{{item}}" data-index="{{index}}" class="tab-item {{currentIndex==index?'tab-item-checked':''}}" wx:for="{{tab}}" wx:key="{{item.label}}">
<text class="lab">{{item.typeName}}</text>
<text class="val">{{item.typeNum}}</text>
<text class="flex">人</text>
<image wx:if="{{currentIndex==index}}" class="arrow" src="/images/icon-checked.png" />
</view>
</view>
<view class="h-div v-center in-bg" catchtap="popModal" data-type="showTypePop">
<view>
<!-- <tree dataTree="{{tree}}" model:value="{{value}}"/> -->
</view>
<text class="lab">所属社区</text>
<text>{{ postData.areaPathName }}</text>
<!-- <text>{{TypeData[postData.type-1].orgname}}</text> -->
<!-- <picker mode="multiSelector" bindchange="areabindMultiPickerChange" bindcolumnchange="areabindMultiPickerColumnChange"
value="{{areamultiIndex}}" range="{{areanewArr}}">
<view class="picker picker1">
<view>{{areanewArr[0][areamultiIndex[0]]}}{{areanewArr[1][areamultiIndex[1]]}}{{areanewArr[2][areamultiIndex[2]]}}</view>
</view>
</picker> -->
</view>
<!-- 列表 -->
<view class="item">
<view class="h-div child" catchtap="toDetail" data-item="{{item}}" wx:for="{{list}}">
<view class="single" />
<view class="v-div h-center">
<view class="h-div">
<text class="lab">姓名:</text>
<text class="val">{{item.name}}</text>
</view>
<view class="h-div">
<text class="lab">性别:{{item.sex==1?"男":"女"}}</text>
</view>
<view class="h-div">
<text class="lab">出生日期:{{item.birthday}}</text>
</view>
<!-- <view class="h-div">
<text class="lab">联系电话:</text>
<text class="phone">18140159609</text>
</view> -->
<view class="h-div">
<text class="lab">家庭住址:</text>
<text class="lab address">{{item.domicileAddress}}</text>
</view>
</view>
</view>
</view>
<view class="space"></view>
</view>
</scroll-view>
<!-- 选择所属社区 -->
<view class="cu-modal {{showTypePop?'show':''}}">
<view class="cu-dialog pop" catchtap>
<view class="cu-bar justify-end pop-header">
<view class="content">选择所属社区</view>
<view class="action" catchtap="popModal" data-type="showTypePop">
<text class="cuIcon-close text-red"></text>
</view>
</view>
<radio-group class="block" style="max-height: 50vh;overflow-y: scroll;">
<!-- <view class="cu-list menu text-left">
<view class="cu-item" wx:for="{{TypeData}}" wx:key>
<label catchtap="typeChange" data-index="{{index}}" class="flex justify-between align-center flex-sub">
<view class="flex-sub">{{item.orgname}}</view>
</label>
</view>
</view> -->
<tree-node id="tree" dataTree="{{unitTreelist}}" pros="{{unitTreepros}}" bindselect="handleselectunit" isOpenAll="true" />
</radio-group>
</view>
</view>