123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <ion-view view-title="统计结果">
- <ion-content>
- <!--反馈-->
- <div ng-if="details.back_title != null && type == 0">
- <div class="item item-divider">
- <span class="notice-result-title">反馈统计</span>
- </div>
- <div class="item item-text-wrap">
- <span>{{details.back_title}}</span>
- </div>
- <div class="item item-icon-right" ng-click="toResultDetails(3)">
- <span>已反馈</span>
- <i class="icon ion-chevron-right icon-accessory"></i>
- <span class="item-note">{{countData.backed}}人({{ countData.backed / (countData.backed + countData.unback + countData.backgiveup) | percentage }})</span>
- </div>
- <div class="item item-icon-right" ng-click="countData.unback != 0 ? toResultDetails(2) : null">
- <span>未反馈</span>
- <i class="icon ion-chevron-right icon-accessory" ng-if="countData.unback != 0"></i>
- <span class="item-note">{{countData.unback}}人({{ countData.unback / (countData.backed + countData.unback + countData.backgiveup) | percentage }})</span>
- </div>
- <div class="item item-icon-right" ng-if="countData.backgiveup != 0" ng-click="toResultDetails(4)">
- <span>放弃反馈</span>
- <i class="icon ion-chevron-right icon-accessory"></i>
- <span class="item-note">{{countData.backgiveup}}人({{ countData.backgiveup / (countData.backed + countData.unback + countData.backgiveup) | percentage }})</span>
- </div>
- </div>
- <!--投票-->
- <div ng-if="details.vote_title != null">
- <div class="item item-divider">
- <span class="notice-result-title">投票统计{{details.vote_selecttype == 1 ? '(单选)' : '(多选)'}}</span>
- </div>
- <div class="item item-text-wrap">
- <span>投票标题</span>
- <span class="item-note">{{details.vote_title}}</span>
- </div>
- <div class="item item-icon-right" ng-repeat="item in selectData track by $index" ng-click="type == 0 ? toResultDetails(7,[$index]) : null">
- <span>{{item}}</span>
- <i class="icon ion-chevron-right icon-accessory" ng-if="type == 0"></i>
- <span class="item-note">{{countData.votecount[$index]}}人({{ countData.votecount[$index] / usrvotecount | percentage }})</span>
- </div>
- <div class="item item-icon-right" ng-click="countData.unvote != 0 && type == 0 ? toResultDetails(5) : null">
- <span>未投票</span>
- <i class="icon ion-chevron-right icon-accessory" ng-if="countData.unvote != 0 && type == 0"></i>
- <span class="item-note">{{countData.unvote}}人({{ countData.unvote / usrvotecount | percentage }})</span>
- </div>
- <div class="item item-icon-right" ng-if="countData.votegiveup != 0" ng-click="type == 0 ? toResultDetails(6) : null">
- <span>放弃投票</span>
- <i class="icon ion-chevron-right icon-accessory" ng-if="type == 0"></i>
- <span class="item-note">{{countData.votegiveup}}人({{ countData.votegiveup / usrvotecount | percentage }})</span>
- </div>
- </div>
- <!--阅读-->
- <div ng-if="type == 0">
- <div class="item item-divider">
- <span class="notice-result-title">阅读统计</span>
- </div>
- <div class="item item-icon-right" ng-click="toResultDetails(1)">
- <span>已看</span>
- <i class="icon ion-chevron-right icon-accessory"></i>
- <span class="item-note">{{countData.readed}}人({{ countData.readed / (countData.readed + countData.unread) | percentage }})</span>
- </div>
- <div class="item item-icon-right" ng-click="toResultDetails(0)">
- <span>未看</span>
- <i class="icon ion-chevron-right icon-accessory"></i>
- <span class="item-note">{{countData.unread}}人({{ countData.unread / (countData.readed + countData.unread) | percentage }})</span>
- </div>
- </div>
- </ion-content>
- </ion-view>
|