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.
 

76 lines
3.2 KiB

<view class="screen">
<picker
mode="date"
model:value="{{ month }}"
fields="month"
bind:change="onConfirm"
>
<view class="picker">
<text>{{ month ? month : '按月度' }}</text>
<image src="../../../images/down.png" mode="widthFix"/>
</view>
</picker>
<picker
range="{{satisfactionSourceOptions}}"
range-key="label"
model:value="{{ satisfactionSourceIndex }}"
bind:change="sourceChange"
>
<view class="picker-type">
<text>{{ satisfactionSourceIndex >= 0 ? satisfactionSourceOptions[satisfactionSourceIndex].label : '按来源'
}}</text>
<image src="../../../images/down2.png" mode="widthFix"/>
</view>
</picker>
<picker
range="{{satisfactionCategoryOptions}}"
range-key="label"
model:value="{{ satisfactionCategory }}"
>
<view class="picker-type">
<text>{{ satisfactionCategory >= 0 ? satisfactionCategoryOptions[satisfactionCategory].label : '按类型'
}}</text>
<image src="../../../images/down2.png" mode="widthFix"/>
</view>
</picker>
<view class="btn" bindtap="onConfirm">
筛选
</view>
</view>
<!-- bind:scrolltoupper="prevMonth"-->
<scroll-view scroll-y style="height: calc(100vh - 92rpx)" bind:scrolltolower="nextMonth"
class="statistics-container">
<view class="card-list" wx:for="{{list}}" wx:key="{{index}}">
<view class="head">
<view class="month">{{item.month - 0}}<text>月</text>
</view>
<view class="head-right">
<view class="txt">不满意事项: {{item.sumNumber}}项</view>
<view class="txt">不满意人数: {{item.sumPeople}}人</view>
</view>
</view>
<view class="content">
<view class="item" bind:tap="gotopage" data-id="{{item2}}" wx:for="{{item.data}}" wx:key="index2" wx:for-index="index2" wx:for-item="item2">
<view class="user-info">
<view class="name">
{{item2.name?item2.name:''}} {{item.mobile?item.mobile:''}}
<view class="tag red" wx-if="{{item2.dangerFlag}}">风险</view>
</view>
<view class="tag blue" wx-if="{{item2.satisfactionSource === 'satisfaction_12345'}}">12345投诉</view>
<view class="tag orange" wx-if="{{item2.satisfactionSource === 'satisfaction_province'}}">省满意度调查</view>
<view class="tag green" wx-if="{{item2.satisfactionSource === 'satisfaction_community'}}">社区满意度自查</view>
</view>
<view class="date">
<view class="time">{{item.createdTime?item.createdTime:''}}</view>
<view class="type">{{item2.satisfactionCategoryName ? item2.satisfactionCategoryName : ''}}</view>
</view>
<view class="describe">
{{item2.reason?item2.reason:''}}
</view>
</view>
</view>
</view>
</scroll-view>