statistics.axml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <view>
  2. <view class="" a:if="{{defaultRuleId}}">
  3. <view class="header flex-box-ce flex-center-center" catchTap="openSelect">
  4. <text class="text font-flex-word">{{jxName}}</text>
  5. <text class="iconfont icon-jiantouxia"></text>
  6. </view>
  7. <scroll-view class="scroll" scroll-y="{{true}}">
  8. <view style="padding:0.24rem">
  9. <progress percent="{{rate}}" stroke-width="12" active show-info />
  10. <view class="flex-box-ce" style="padding-top:0.24rem;font-size:0.28rem">
  11. <view class="flex-1"> 考核进度:
  12. <text class="blue">{{theProgressOf.complete}}人</text>/<text>{{theProgressOf.theTotalNum}}人</text></view>
  13. <view class="blue" catchTap="personnel_detailsPath">查看人员明细
  14. <text class="iconfont icon-jiantouyou blue" style="font-size:0.24rem;position: relative;top:-2rpx"></text></view>
  15. </view>
  16. </view>
  17. <view class="fg flex-box flex-d-center flex-d-wrap margin-bottom">
  18. <view a:for="{{statementHnList}}" class="item" catchTap="personnel_detailsPath" data-index="{{item.key}}">
  19. <view>{{item.tit}}</view>
  20. <view>{{item.num}}</view>
  21. </view>
  22. </view>
  23. <view class="flex-box-ce block">
  24. <view class="{{tabIndex==1? 'tabs':''}} flex-1" onTap="tabAction" data-index="1">结果分析</view>
  25. <view class="{{tabIndex==2? 'tabs':''}} flex-1" onTap="tabAction" data-index="2">考核人数分析</view>
  26. </view>
  27. <block a:if="{{tabIndex==1}}">
  28. <view class="tu margin-bottom">
  29. <view style="text-align: center;padding:0.24rem 0;font-size:0.28rem">总人数
  30. <text class="blue" style="padding:0 6rpx;">{{PieProps}}人</text></view>
  31. <f2 onInit="onInitChart"></f2>
  32. </view>
  33. <view class="flex-box-ce tu" style="padding:0 0.24rem;border-bottom:1px solid #f1f1f1">
  34. <view style="padding: 0.28rem 0;padding-right:0.24rem;border-right:1px solid #f1f1f1">绩效排名</view>
  35. <view class="flex-1 flex-box-ce flex-center-center">
  36. <picker onChange="activeItem" value="{{department_index}}" range="{{department_list}}" range-key="text">
  37. <text class="font-flex-word" style="margin-right:10rpx; padding: 0.28rem 0;display: inline-block;">{{department_list[department_index].text}}</text>
  38. </picker>
  39. <text class="iconfont icon-jiantouxia"></text>
  40. </view>
  41. <view class="flex-1 flex-box-ce flex-center-center">
  42. <picker onChange="activeItem2" value="{{levels_index}}" range="{{levels_list}}" range-key="text">
  43. <text class="font-flex-word" style="margin-right:10rpx; padding: 0.28rem 0;display: inline-block;">{{levels_list[levels_index].text}}</text>
  44. </picker>
  45. <text class="iconfont icon-jiantouxia"></text>
  46. </view>
  47. </view>
  48. <view class="flex-box-ce statmentperson" a:for="{{jxUserList}}" catchTap="openDetail" data-item="{{item}}" a:key="{{item.id}}">
  49. <text style="padding:0 6rpx" class="fontColorB">{{index+1}}</text>
  50. <img-box id="{{item.id}}" name="{{item.name}}" height="60rpx" width="60rpx" fSize="24rpx" style="margin-top:.08rem;"></img-box>
  51. <view class="flex-1" style="margin-left:0.2rem">
  52. <view class="name flex-1" style="font-size:0.32rem;">{{ item.name }}</view>
  53. <view class="font-flex-word" style="width: 3.8rem;display:inline-block;margin-top:6rpx" a:if="{{item.departments.length > 0}}">
  54. <text style="font-size:.25rem;" class="fontColorB" a:for="{{item.departments}}" a:for-index="index2" a:for-item="arr">
  55. {{ arr.dep_name }}<text a:if="{{item.departments.length - index2 > 1}}">,</text>
  56. </text>
  57. </view>
  58. </view>
  59. <view style="font-size:.26rem;line-height: .8rem;text-align:center;">
  60. <text>{{ item.point === '' ? '-' : item.point }}</text>/
  61. <text a:if="{{item.level != ''}}" class="orange">{{ item.level == 'empty' ? '无等级' : item.level }}</text>
  62. <text a:else>无等级</text>
  63. </view>
  64. </view>
  65. </block>
  66. <view a:else class="tu">
  67. <view style="height:400rpx" a:if="{{statementperson.length>0}}">
  68. <f2 onInit="onInitChart2"></f2>
  69. </view>
  70. <no-data a:else content="暂无对应部门"></no-data>
  71. <view style="padding:0.2rem 0.32rem" a:if="{{statementperson.length>0}}">参与考核部门人数</view>
  72. <view a:for="{{statementperson}}" class="flex-box-ce" style="padding:0.24rem 0.32rem;border-bottom:1px solid #f1f1f1" onTap="cellDept" data-item="{{item}}">
  73. <view class="flex-1">
  74. <view>{{ item.name }}</view>
  75. <view class="orange" style="font-size:0.27rem;padding-top:6rpx;">
  76. <text class="iconfont icon-yonghu"></text>
  77. <text style="font-size:0.27rem;padding-left:6rpx;">{{ item.tak }}人</text>
  78. </view>
  79. </view>
  80. <text class="iconfont icon-jiantouyou"></text>
  81. </view>
  82. </view>
  83. <view style="height:1rem"></view>
  84. </scroll-view>
  85. </view>
  86. <no-data a:if="{{!defaultRuleId}}" content="暂无考核内容"></no-data>
  87. <view class="box" animation="{{animationInfo}}">
  88. <select-jx defaultId="{{defaultRuleId}}" tree="true" onConfirm="onSelectItem" onClose="onClose" a:if="{{isShowType}}" />
  89. </view>
  90. </view>