statistics.axml 5.2 KB

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