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.
43 lines
2.1 KiB
43 lines
2.1 KiB
<view class="tag-list">
|
|
<view wx:for="{{tabList}}" class="tag {{item.value === tabValue?'cur':''}}" wx:key="index" bind:tap="tabChange" data-index="{{item.value}}">
|
|
{{item.label}}({{ywData[item.value].length}})
|
|
</view>
|
|
</view>
|
|
|
|
<view class="table">
|
|
<view wx:if="{{tabValue === '12345'||tabValue === 'event'}}" class="row header">
|
|
<view class="cell">事件类型</view>
|
|
<view class="cell">事件描述</view>
|
|
</view>
|
|
<view wx:if="{{tabValue === 'provinceSurvey'||tabValue === 'selfSurvey'}}" class="row header">
|
|
<view class="cell">不满意事项类型</view>
|
|
<view class="cell">不满意事项描述</view>
|
|
</view>
|
|
<view wx:if="{{tabValue === 'need'}}" class="row header">
|
|
<view class="cell">需求类型</view>
|
|
<view class="cell">需求描述</view>
|
|
</view>
|
|
<view wx:if="{{tabValue === 'serve'}}" class="row header">
|
|
<view class="cell">需求类型</view>
|
|
<view class="cell">事件描述</view>
|
|
</view>
|
|
<view wx:if="{{tabValue === 'punchRecord'}}" class="row header">
|
|
<view class="cell1">打卡人</view>
|
|
<view class="cell1">打卡地址</view>
|
|
<view class="cell1">打卡时间</view>
|
|
</view>
|
|
<block bind:tap="gotopage" wx:if="{{tabValue !== 'punchRecord'}}" data-obj="{{item}}" wx:for="{{ywData[tabValue]}}" wx:key="index">
|
|
<view class="row {{index % 2 == 0 ? 'even' : 'odd'}}">
|
|
<view class="cell">{{item.categorycode}}</view>
|
|
<view class="cell">{{item.eventcontent}}</view>
|
|
</view>
|
|
</block>
|
|
<block bind:tap="gotopage" wx:if="{{tabValue == 'punchRecord'}}" data-obj="{{item}}" wx:for="{{ywData[tabValue]}}" wx:key="index">
|
|
<view class="row {{index % 2 == 0 ? 'even' : 'odd'}}">
|
|
<view class="cell1">{{item.name}}</view>
|
|
<view class="cell1">{{item.clockInAddress}}</view>
|
|
<view class="cell1">{{item.clockInTime}}</view>
|
|
</view>
|
|
</block>
|
|
<no-data isShow="{{ywData[tabValue].length===0}}" wx:if="{{ywData[tabValue].length===0}}"></no-data>
|
|
</view>
|