home.axml 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <view>
  2. <view class="headerBox" style="position: relative;">
  3. <view class="flex-box ts flex-center-center" a:if="{{isSubject}}">
  4. <image mode="scaleToFill" src="../../../image/tz.png"></image>
  5. <view class="flex-1">你正在使用个人体验版,如需正式使用,请联系管理员</view>
  6. <button type="primary" onTap="openGly">联系管理员</button>
  7. </view>
  8. <view class="top"><image class="top-img" mode="widthFix" src="../../../image/xcxbj.png" /></view>
  9. <view style="height: 0.8rem;background: #fff;"></view>
  10. <view class="header flex-box-ce" style="top:{{isSubject? '180rpx':'50rpx'}}">
  11. <view style="width:0.9rem;height:0.9rem;margin-right:20rpx;border-radius:100%">
  12. <!-- <open-data
  13. openType="userName"
  14. openId="{{userInfo.user_id}}"
  15. defaultText="默认文本"
  16. onError="openDataError"
  17. class="open-data-test"
  18. /> -->
  19. <img-box name="{{userInfo.name}}" imgUrl="{{userInfo.img_url}}" height="90rpx" width="90rpx" fSize="28rpx"></img-box>
  20. </view>
  21. <view class="flex-1">
  22. <view style="font-size:0.3rem">{{userInfo.name}}</view>
  23. <view class="flex-box-ce fontColorX font-flex-word" style="margin-top:10rpx">
  24. <text a:for="{{userInfo.dept_list}}" a:for-item="e">{{e.name}}<text a:if="{{userInfo.dept_list.length - index > 1}}">,</text></text>
  25. </view>
  26. </view>
  27. <view class="sf">{{str}}</view>
  28. </view>
  29. </view>
  30. <view class="main">
  31. <view style="font-size:0.3rem;padding: 0.24rem 0.32rem;">绩效管理</view>
  32. <view class="menuList flex-box flex-d-wrap">
  33. <view a:for="{{menuList}}" class="menu-item flex-box-v" data-url="{{item.url}}" onTap="openUrl">
  34. <text class="iconfont {{item.icon}} {{item.color}}"></text>
  35. <view>{{item.name}}</view>
  36. </view>
  37. </view>
  38. <view class="flex_one" catchTap="openWebView" a:if="{{isClose}}" >两分钟了解功道云绩效<text class="iconfont icon-dianji" style="padding-left:10rpx;font-size:28rpx"></text><text class="closes" catchTap="closes">×</text> </view>
  39. </view>
  40. <view class="flex-box-ce que margin-bottom" style="font-size: 0.28rem;">
  41. <view class="{{tabIndex==1? 'tabs':''}} flex-1" onTap="tabAction" data-index="1">待办事项 <text class="red" style="padding-left:10rpx">({{dbTolal}})</text></view>
  42. <view class="{{tabIndex==2? 'tabs':''}} flex-1" onTap="tabAction" data-index="2">未读消息 <text class="red" style="padding-left:10rpx">({{xxTolal}})</text></view>
  43. <view class="flex-1"></view>
  44. </view>
  45. <view class="list" a:if="{{tabIndex==1}}">
  46. <view class="item flex-box-ce" a:for="{{dbList}}" a:if="{{dbList.length>0}}" onTap="openDetail" data-item="{{item}}">
  47. <view class="font-flex-word flex-1">{{item.userInfo.name}}的{{item.remark.package_name}}</view>
  48. <text class="orange">
  49. <text a:if="{{item.node_type==9}}">待审批</text>
  50. <text a:if="{{item.node_type==1}}">目标待制定</text>
  51. <text a:if="{{item.node_type==2}}">目标待确认</text>
  52. <text a:if="{{item.node_type==4}}">结果值待录入</text>
  53. <text a:if="{{item.node_type==5}}">待评分</text>
  54. <text class="iconfont icon-jiantouyou" style="font-size:20rpx;margin-left:6rpx;position: relative;top:-3rpx"></text>
  55. </text>
  56. </view>
  57. <no-data a:if="{{dbList.length==0}}"></no-data>
  58. <view class="rankingLists" a:if="{{dbTolal>1}}" onTap="openAll" data-index="1">查看全部待办<text class="iconfont icon-jiantouyou" style="font-size:20rpx;margin-left:6rpx;position: relative;top:-3rpx"></text></view>
  59. </view>
  60. <view class="list" a:else>
  61. <view class="item flex-box-ce" a:for="{{xxList}}" onTap="openDetail" data-item="{{item}}">
  62. <view class="font-flex-word flex-1">{{item.content}}</view>
  63. </view>
  64. <view class="rankingLists" onTap="openAll" data-index="2">查看全部消息<text class="iconfont icon-jiantouyou" style="font-size:20rpx;margin-left:6rpx;position: relative;top:-3rpx"></text></view>
  65. </view>
  66. <!-- 权限勾选 -->
  67. <view class="windows" a:if="{{isPoint}}">
  68. <view class="windows-box">
  69. <view class="windows-title">个人信息权限申请</view>
  70. <view class="windows-content">
  71. <view class="logo"><image class="top-img" mode="widthFix" src="../../../image/logo.png" /></view>
  72. <view style="padding:0 28rpx;">功道云绩效申请获取以下权限:</view>
  73. <view class="fontColorX qxText">获取你的公开信息(呢称,头像等)</view>
  74. </view>
  75. <view class="windows-btn flex-box flex-v-ce">
  76. <view class="flex-1" catchTap="closes2">拒绝</view>
  77. <button type="default" class="flex-1"catchTap="closes2">允许</button>
  78. </view>
  79. </view>
  80. </view>
  81. </view>