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

93 lines
3.7 KiB
Plaintext
Raw Normal View History

2024-01-29 17:42:38 +08:00
<title-bar title="基本信息统计"></title-bar>
2024-06-04 14:45:44 +08:00
<scroll-view scroll-y style="height: calc(100vh - {{topBarH}}px);" refresher-enabled bindrefresherrefresh="refresh" bindscrolltolower="dropDown" refresher-triggered="{{freshIng}}">
2024-01-29 17:42:38 +08:00
<view class="content">
2024-06-04 14:45:44 +08:00
<!-- <view class="filter">
<picker mode="date" value="{{startTime}}" bindchange="startTimeChange">
2024-01-29 17:42:38 +08:00
<view class="picker">
2024-06-04 14:45:44 +08:00
开始时间: {{startTime}}
2024-01-29 17:42:38 +08:00
</view>
</picker>
<view class="line"></view>
2024-06-04 14:45:44 +08:00
<picker mode="date" value="{{endTime}}" bindchange="endTimeChange">
2024-01-29 17:42:38 +08:00
<view class="picker">
2024-06-04 14:45:44 +08:00
结束时间: {{endTime}}
2024-01-29 17:42:38 +08:00
</view>
</picker>
2024-06-04 14:45:44 +08:00
</view> -->
2024-01-29 17:42:38 +08:00
<!-- 关键字搜索 -->
2024-06-04 14:45:44 +08:00
<!-- <input class="search" value="{{search}}" placeholder="输入姓名" /> -->
2024-01-29 17:42:38 +08:00
<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}}">
2024-06-04 14:45:44 +08:00
<text class="lab">{{item.typeName}}</text>
<text class="val">{{item.typeNum}}</text>
2024-01-30 17:39:39 +08:00
<text class="flex">人</text>
<image wx:if="{{currentIndex==index}}" class="arrow" src="/images/icon-checked.png" />
2024-01-29 17:42:38 +08:00
</view>
</view>
2024-06-04 14:45:44 +08:00
<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>{{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>
2024-01-29 17:42:38 +08:00
<!-- 列表 -->
<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>
2024-06-04 14:45:44 +08:00
<text class="val">{{item.name}}</text>
2024-01-29 17:42:38 +08:00
</view>
<view class="h-div">
2024-06-04 14:45:44 +08:00
<text class="lab">性别:{{item.sex==1?"男":"女"}}</text>
2024-01-29 17:42:38 +08:00
</view>
<view class="h-div">
2024-06-04 14:45:44 +08:00
<text class="lab">出生日期:{{item.birthday}}</text>
</view>
<!-- <view class="h-div">
2024-01-29 17:42:38 +08:00
<text class="lab">联系电话:</text>
<text class="phone">18140159609</text>
2024-06-04 14:45:44 +08:00
</view> -->
2024-01-29 17:42:38 +08:00
<view class="h-div">
<text class="lab">家庭住址:</text>
2024-06-04 14:45:44 +08:00
<text class="lab address">{{item.domicileAddress}}</text>
2024-01-29 17:42:38 +08:00
</view>
</view>
</view>
</view>
<view class="space"></view>
</view>
2024-06-04 14:45:44 +08:00
</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>
</radio-group>
</view>
</view>