performanceDetails.axml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. <view>
  2. <view style="margin-bottom:3rem" class="{{popupCx}}">
  3. <!--<view class="upDownList flex-box flex-d-center"><view class="uDownBut font-flex-word" a:for="{{headuDown}}" data-item="{{item}}" onTap="uDownCli"><text a:if="{{!item.id}}" style="color: #a2a2a2;">已无待办</text><text a:else><text a:if="{{item.keys == 1}}">{{ item.keys2 }}</text>
  4. {{ item.keys1 }}:{{ item.name }}<text a:if="{{item.keys == 2}}">{{ item.keys2 }}</text></text></view></view> -->
  5. <view class="header">
  6. <view class="flex-box-ce" a:if="{{Information.name}}">
  7. <img-box name="{{Information.name}}" id="{{Information.id}}" height="70rpx" width="70rpx" fSize="24rpx"></img-box>
  8. <view class="flex-1" style="margin-left:0.2rem">
  9. <view>{{Information.name}}</view>
  10. <view class="fontColorX" style="padding-top:10rpx;font-size:0.26rem;">
  11. <text a:for="{{Information.deptList}}">{{item.name}}
  12. <text a:if="{{Information.deptList.length - index > 1}}">,</text></text>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="result" a:if="{{titList.length > 0}}">
  17. <view class="flex-box" style="padding-bottom:10rpx" a:for="{{titList}}" a:if="{{item.prop}}">
  18. <text>{{ item.lab }}:</text>
  19. <text class="orange flex-1">{{ item.prop }}</text>
  20. </view>
  21. </view>
  22. </view>
  23. <view class="modTit flex-box-ce flex-d-center">
  24. <text>绩效流程</text>
  25. <label class="flex-box-ce">
  26. <checkbox checked="{{checked}}" onChange="onChangeC"/>
  27. <text class="checkbox-text">查看更多</text>
  28. </label>
  29. </view>
  30. <view style="padding:0.24rem;background:#fff">
  31. <view class="flex-box-ce flex_one" catchTap="rotateAndScale" a:if="{{perfstepFlow[flexIndex - 1]}}">
  32. <view class="font-flex-word flex-1">
  33. <text>{{ flexIndex }}. {{ perfstepFlow[flexIndex - 1].remark }}</text>
  34. <text a:for="{{perfstepFlow[flexIndex - 1].target}}">
  35. {{ item.employee_name }}
  36. <text a:if="{{perfstepFlow[flexIndex - 1].target.length - index > 1}}">,</text>
  37. </text>
  38. </view>
  39. <text class="iconfont icon-jiantouxia white"></text>
  40. </view>
  41. </view>
  42. <!-- 维度数据 -->
  43. <view a:for="{{inExecution}}" a:for-index="index">
  44. <view class="modTit">{{ item.theDimension }}</view>
  45. <view style="padding: 0.24rem;background-color: #fff;">
  46. <view class="title" a:if="{{!item.totalScore}}">指标名称</view>
  47. <view>
  48. <text class="textBox" a:for="{{item.tabList}}" a:for-item="list" a:if="{{list.prop}}">{{ list.prop }}</text>
  49. </view>
  50. <view a:if="{{item.per_remark}}">
  51. <view class="orange stanTit">考核标准</view>
  52. <view style="border: 0.02rem solid #efefef; border-radius: 0.1rem;white-space: pre-wrap;padding: 0.2rem;font-size:0.26rem"> {{item.per_remark}}</view>
  53. </view>
  54. <!-- 详情信息 -->
  55. <block >
  56. <view class="flex-box-ce" style="padding:0.1rem 0;font-size:0.28rem" a:for="{{item.details}}" a:for-item="list" a:if="{{list.prop && list.prop != '0'}}">
  57. <text class="fontColorX">{{ list.lab }}:</text>
  58. <text class="flex-1" style="padding-left:0.2rem">{{list.prop}}</text>
  59. </view>
  60. </block>
  61. <!-- 评分结果 -->
  62. <block >
  63. <view a:for="{{item.scoreList}}" a:for-item="list" a:if="{{list.prop&&list.isShow}}">
  64. <view class="flex-box" style="padding:0.1rem 0;font-size:0.28rem" a:if="{{list.pointShow}}">
  65. <text style="color:#757575;">{{ list.lab }}</text>
  66. <text class="orange"> 评分:</text>
  67. <text>{{ list.prop }}</text>
  68. <text a:if="{{list.level}}" style="margin-left: .1rem;color: #26a2ff;">{{ list.level }}</text>
  69. </view>
  70. <view class="flex-box" style="font-size:.29rem;padding:.1rem 0;" a:if="{{list.remark && list.textShow}}">
  71. <text style="padding-right: 0.2rem;color:#757575;">说明:</text>
  72. <text class="pre2 flex-1">{{ list.remark }}</text>
  73. </view>
  74. </view>
  75. </block>
  76. <!-- 管理执行计划 -->
  77. <view class="flex-box-ce" style="margin-top: 0.2rem;">
  78. <text a:if="{{item.schedule && item.schedule.length > 0}}" style="font-size: 0.28rem; padding-right: 0.2rem; color: rgb(29, 150, 255);"
  79. data-index='1' data-item='{{item}}' catchTap="openVas">执行计划({{ item.schedule.length }})</text>
  80. <text a:if="{{item.mamage_record && item.mamage_record.length > 0}}" style="font-size: 0.28rem; padding-right: 0.2rem; color: rgb(29, 150, 255);"
  81. data-index='2' data-item='{{item}}' catchTap="openVas">管理记录({{ item.mamage_record.length }})</text>
  82. </view>
  83. <view style="border-top: 1px solid rgb(241, 241, 241); margin-top: 0.2rem;" a:if="{{item.update_time}}">
  84. <block a:if="{{item.returnStr}}">
  85. <view a:if="{{item.returnStr.indexOf('今天')>=0}}" class="orange" style="font-size: 0.28rem;padding-left:1rem;padding-top: 0.24rem;">{{item.returnStr}}</view>
  86. <view a:elif="{{item.returnStr.indexOf('昨天')>=0}}" class="green" style="font-size: 0.28rem;padding-left:1rem;padding-top: 0.24rem;">{{item.returnStr}}</view>
  87. <view a:elif="{{item.returnStr.indexOf('前天')>=0}}" style="font-size: 0.28rem;padding-left:1rem;padding-top: 0.24rem;">{{item.returnStr}}</view>
  88. <view a:else style="font-size: 0.28rem;padding-left:1rem;padding-top: 0.24rem;">{{item.returnStr}}</view>
  89. </block>
  90. </view>
  91. <!-- 评分 -->
  92. <view a:if="{{graded}}">
  93. <view class="flex-box inputBox" style="margin:20rpx 0" a:if="{{(ruleScore == 1 && !item.totalScore) || (ruleScore == 2 && item.totalScore)}}">
  94. <text>评分</text>
  95. <input class="flex-1"
  96. data-index="{{index}}"
  97. data-item="{{item}}"
  98. onBlur="watresultval"
  99. onInput="sgradeInp"
  100. value="{{item.resultval}}" type="number" placeholder="请输入评分"/>
  101. </view>
  102. <view class="flex-box inputBox" a:if="{{(ruleScore == 1 && !item.totalScore) || (ruleScore == 2 && item.totalScore)}}">
  103. <text class="flex-box">评分说明</text>
  104. <textarea onInput="bindText" data-index="{{index}}" value="{{item.remarks}}" class="flex-1" auto-height placeholder="请输入" maxlength="50" />
  105. </view>
  106. </view>
  107. </view>
  108. </view>
  109. <!-- 记录 -->
  110. <view a:if="{{recordList.length > 0}}">
  111. <view class="modTit">记录</view>
  112. <view style="padding: 0.24rem;background-color: #fff;">
  113. <view class="jl-item" a:for="{{recordList}}">
  114. <view class="flex-box-ce">
  115. <img-box id="{{item.employee_id}}" name="{{item.name}}" height="60rpx" width="60rpx" fSize="24rpx"></img-box>
  116. <text class="flex-1" style="padding-left:10rpx">{{ item.name }}</text>
  117. <text class="date fontColorX" style="font-size:0.24rem">{{ item.time }}</text>
  118. </view>
  119. <view style="padding-left:76rpx">
  120. <view class="green"># {{ item.remark }} #</view>
  121. <view class="center fontColorX" style="padding-top:14rpx">{{ item.content }}</view>
  122. </view>
  123. <view a:if="{{index != recordList.length - 1}}" class="bian"></view>
  124. </view>
  125. </view>
  126. </view>
  127. <block a:if="{{!has_finish}}">
  128. <!-- 执行计划 -->
  129. <view class="sidebar flex-box-ce" data-str="action" a:if="{{actionButShow && !graded}}" catchTap="openTrackPath">
  130. <text class="iconfont icon-jia"></text>
  131. <text class="iconfont icon-jihua" style="margin:0 6rpx"></text>
  132. 执行计划
  133. </view>
  134. <!-- 管理记录 -->
  135. <view class="managementRecord flex-box-ce" data-str="admnin" a:if="{{recordsManagement && !graded}}" catchTap="openTrackPath">
  136. <text class="iconfont icon-jia"></text>
  137. <text class="iconfont icon-wj-jlb" style="margin:0 6rpx"></text>
  138. 管理记录
  139. </view>
  140. <!-- 底部 -->
  141. <view class="footer">
  142. <block a:if="{{!graded}}">
  143. <view class="footweight">指标总权重:{{ weight }}</view>
  144. <view class="footfoot flex-box flex-dv-center" a:if="{{transferBut || feedbackBut || gradeButShow || examineButShow || resultButShow || targetConfirmed}}">
  145. <view class="footcol" catchTap="openSelectUser" a:if="{{transferBut}}" data-index='1'>
  146. <text class="iconfont icon-fenxiang"></text>
  147. <view>转交</view>
  148. </view>
  149. <view class="footcol" catchTap="showGt" a:if="{{feedbackBut}}">
  150. <text class="iconfont icon-goutong"></text>
  151. <view>沟通</view>
  152. </view>
  153. <view class="footcol" catchTap="showCx" a:if="{{revocationShow}}">
  154. <text class="iconfont icon-chexiao"></text>
  155. <view>撤销</view>
  156. </view>
  157. <block a:if="{{gradeButShow || examineButShow || resultButShow || targetConfirmed}}">
  158. <!-- 评分 -->
  159. <button type="primary" a:if="{{gradeButShow}}" class="btn" catchTap="gradeClick">评分</button>
  160. <!-- 审批 -->
  161. <view class="flex-box" a:if="{{examineButShow}}">
  162. <button a:if="{{isAction}}" class="footcolButno" catchTap="gradeTurn">驳回</button>
  163. <button class="gradefootcolButok" catchTap="gradeOk">同意</button>
  164. </view>
  165. <!-- 目标确认 -->
  166. <view a:if="{{targetConfirmed}}" class="flex-box">
  167. <button class="footcolButno" catchTap="gradeTurn">驳回</button>
  168. <button class="gradefootcolButok" catchTap="gradeOk">同意</button>
  169. </view>
  170. <!-- 结果值录入 -->
  171. <button a:if="{{resultButShow}}" class="gradefootcolButok" catchTap="enteringResult">录入结果值</button>
  172. </block>
  173. </view>
  174. </block>
  175. <block a:else>
  176. <block a:if="{{isShowPoint}}">
  177. <view class="footweight">我评的总分:{{ gradeval }}</view>
  178. <view class="footfoot flex-box-ce">
  179. <view class="footcol flex-1" data-index='0' catchTap="scorerveok">
  180. <text class="iconfont icon-wj-jlb"></text>
  181. <view>暂存</view>
  182. </view>
  183. <view class="footBut flex-box-ce">
  184. <view class="footcolButno" catchTap="scorerveno">取消</view>
  185. <view class="footcolButok" data-index='1' catchTap="scorerveok">提交</view>
  186. </view>
  187. </view>
  188. </block>
  189. </block>
  190. </view>
  191. </block>
  192. </view>
  193. <!-- 撤销 -->
  194. <view class="windows" a:if="{{isShowCx}}">
  195. <view class="windows-box">
  196. <view class="windows-title">撤销</view>
  197. <view class="windows-content">
  198. <textarea value="{{textArea}}" onInput="bindTextAreaBlur" maxlength="200" placeholder="请输入撤销理由" />
  199. </view>
  200. <view class="windows-btn flex-box flex-v-ce">
  201. <view class="flex-1" catchTap="closeWindows">取消</view>
  202. <button type="default" class="flex-1" catchTap="revocation">确定</button>
  203. </view>
  204. </view>
  205. </view>
  206. <!-- 目标确认||驳回 -->
  207. <view class="windows" a:if="{{rejectdlg}}">
  208. <view class="vassheet {{rejectdlg?'showdown':''}}" style="min-height: 8rem;max-height: 10rem;">
  209. <view class="vasHead" catchTap="closeWindows">
  210. <icon type="clear" size="20" class="icon"/>
  211. <text>{{popupknowFrom==1? '驳回':popupknowFrom==2? '审批':'目标确认'}}</text>
  212. </view>
  213. <view>
  214. <view class="flex-box-ce" a:if="{{popupknowFrom==1}}" style="padding:0.24rem;border-bottom:1px solid #f1f1f1">
  215. <view>驳回到</view>
  216. <view class="flex-1">
  217. <picker onChange="clickreject" value="{{rejectListIndex}}" range="{{rejectList}}" range-key="name">
  218. <view style="text-align:right;padding-right:10rpx;" class="fontColorX">
  219. <text a:if="{{!rejectList[rejectListIndex]}}">请选择</text>
  220. <text a:if="{{rejectList[rejectListIndex]}}">{{rejectList[rejectListIndex].name}}</text>
  221. </view>
  222. </picker>
  223. </view>
  224. <text class="iconfont icon-jiantouxia"></text>
  225. </view>
  226. <view class="flex-box-ce" a:if="{{rejectProp}}" style="padding:0.24rem;border-bottom:10px solid #f1f1f1">
  227. <view>驳回到指定成员</view>
  228. <view class="flex-1">
  229. <picker onChange="clickreject1" value="{{rejectList1Index}}" range="{{rejectList1}}" range-key="employee_name">
  230. <view style="text-align:right;padding-right:10rpx;" class="fontColorX">{{rejectList1[rejectList1Index].employee_name}}</view>
  231. </picker>
  232. </view>
  233. <text class="iconfont icon-jiantouxia"></text>
  234. </view>
  235. <textarea value="{{commFeedback}}" style="padding:0.24rem;height:3.4rem" maxlength="200" onInput="bindFeedback" placeholder="{{popupknowFrom == 0
  236. ? '请输入沟通反馈(必填)'
  237. : popupknowFrom == 1
  238. ? '请输入驳回内容(必填)'
  239. : popupknowFrom == 2
  240. ? '请输入审批说明(选填)'
  241. : popupknowFrom == 3
  242. ? '请输入目标确认说明(选填)'
  243. :''}}" />
  244. </view>
  245. <view class="windows-btn flex-box flex-v-ce" style="position: absolute;left: 0;right: 0;bottom: 0;">
  246. <view class="flex-1" catchTap="closeWindows">取消</view>
  247. <button a:if="{{popupknowFrom==1}}" type="default" class="flex-1" data-num="0" catchTap="agree0Prop">确定</button>
  248. <button a:if="{{popupknowFrom==2||popupknowFrom==3}}" type="default" class="flex-1" data-num="1" catchTap="agree0Prop">确定</button>
  249. </view>
  250. </view>
  251. </view>
  252. <!-- 流程 -->
  253. <view class="windows" catchTap="rotateAndScale" a:if="{{isShow}}">
  254. <view class="img">
  255. <view class="flexDiaWb">
  256. <view a:for="{{perfstepFlow}}" class="flexDiaLL flex-box">
  257. <view class="fdz">
  258. <view class="fdYuan fdYuan1" a:if="{{item.status == 2}}">
  259. <text class="iconfont icon-chenggong"></text></view>
  260. <view class="fdYuan fdYuan2" a:elif="{{item.status == 1}}">
  261. <text class="iconfont icon-kaishi1"></text></view>
  262. <view class="fdYuan fdYuan3" a:else></view>
  263. <view class="fdShu {{ item.status == 2? 'fdShu1':'' }}" a:if="{{!(perfstepFlow.length - 1 == index)}}"></view>
  264. </view>
  265. <view class="fdy {{item.status == 1? 'blue':'' }}">
  266. <text style="height: 100%;padding-right:.15rem;">{{ index + 1 }}.</text>
  267. <view>{{ item.remark }}
  268. <text a:if="{{item.target.length > 0}}">
  269. <text a:for="{{item.target}}" a:for-item="item2" a:for-index="index2">{{ item2.employee_name }}
  270. <text a:if="{{item.target.length - index2 > 1}}">,</text></text>
  271. </text>
  272. </view>
  273. </view>
  274. </view>
  275. </view>
  276. </view>
  277. </view>
  278. <!-- 展示执行计划||管理记录 -->
  279. <view class="windows" a:if="{{isShowText}}">
  280. <view class="vassheet {{isShowText?'showdown':''}}">
  281. <view class="vasHead" catchTap="closeWindows">
  282. <icon type="clear" size="20" class="icon"/>
  283. <text>{{ logText }}</text>
  284. </view>
  285. <view style="padding:0.15rem 0.15rem 0 0.15rem;font-size:.30rem;background-color: rgb(245, 245, 245);">{{apDetails.name}}</view>
  286. <view a:for="{{logList}}" class="apdList flex-box {{ index == 0?'apdListMarTop':'' }}">
  287. <view style="margin: .14rem 0 0 .2rem;position: relative;">
  288. <view class="apdDian"></view>
  289. <view class="apdHeadBoeder {{(index == logList.length - 1 || logList.length <= 1)? 'apdborderNO':'' }}"></view>
  290. </view>
  291. <view class="apdData {{(logList.length == index + 1)? 'apdborderNO':''}}">
  292. <view class="flex-box-v">
  293. <view class="line-feed" style="font-size:.3rem;color:block;font-width:600">{{ item.title }}</view>
  294. <text style="font-size:.24rem;padding:0.2rem 0" class="fontColorX">
  295. {{ item.date }}
  296. <text a:if="{{logText == '管理记录'}}" style="padding-left:10rpx">记录人:{{ item.userName }}</text>
  297. </text>
  298. <text class="line-feed" style="font-size:.25rem;color:#505050;">
  299. {{item.remark}}
  300. </text>
  301. </view>
  302. <block a:if="{{item.images}}">
  303. <view class="flex-box-ce" style="margin: 10px 0;" a:if="{{item.images.length > 0}}">
  304. <image class="image" a:for="{{item.images}}" a:for-item="e" style="border-radius: 3px;margin-right: 10px;width:200rpx;height:200rpx"
  305. src="{{e.url}}" />
  306. </view>
  307. </block>
  308. </view>
  309. </view>
  310. </view>
  311. </view>
  312. <!-- 沟通 -->
  313. <view class="windows" a:if="{{isShowGt}}">
  314. <view class="windows-box">
  315. <view class="windows-title">沟通</view>
  316. <view class="windows-content">
  317. <textarea value="{{textArea}}" onInput="bindTextAreaBlur" maxlength="200" style="height:3.6rem" placeholder="请输入沟通反馈(必填)" />
  318. <view class="modTit flex-box-ce flex-d-center">
  319. <label class="flex-box-ce">
  320. <checkbox checked="{{ding_msg}}" onChange="onChangeC2"/>
  321. <text class="checkbox-text">发送钉钉通知</text>
  322. </label>
  323. </view>
  324. <view class="aite" catchTap="openSelect" data-index='2'>
  325. <text class="blue" style="padding-right:6rpx">@</text>
  326. <text a:for="{{users}}">{{item.name}},</text>
  327. </view>
  328. </view>
  329. <view class="windows-btn flex-box flex-v-ce">
  330. <view class="flex-1" catchTap="closeWindows">取消</view>
  331. <button type="default" loading="{{disabled}}" class="flex-1" disabled="{{disabled}}" catchTap="confirmBh">确定</button>
  332. </view>
  333. </view>
  334. </view>
  335. <!-- 评分展示 -->
  336. <view class="windows" a:if="{{isPoint}}">
  337. <view class="windows-box">
  338. <view class="windows-title">请确认您的评分</view>
  339. <view class="windows-content">
  340. <view class="flex-box-ce" style="background:#ECF5FF;border-bottom: 1px solid #e4e4e4;">
  341. <view class="flex-4" style="border-right: 1px solid #e4e4e4;padding: 10px 5px;">
  342. 指标(<text style="color:#ff9600;">每项指标评分</text>)
  343. </view>
  344. <view class="flex-1" style="padding: 10px 5px;">评分</view>
  345. </view>
  346. <view a:for="{{pointList}}" class="flex-box-ce" style="border-bottom: 1px solid #e4e4e4;">
  347. <view class="flex-4" style="border-right: 1px solid #e4e4e4;padding: 10px 5px;">{{ item.name }}</view>
  348. <view class="flex-1" style="padding: 10px 5px;">{{ item.score }}</view>
  349. </view>
  350. </view>
  351. <view class="windows-btn flex-box flex-v-ce">
  352. <view class="flex-1" catchTap="closeWindows">取消</view>
  353. <button type="default" class="flex-1"catchTap="score">确定</button>
  354. </view>
  355. </view>
  356. </view>
  357. <view class="box" animation="{{animationInfo}}">
  358. <select-section-staff isAllSelect="{{false}}" isBoss="{{true}}" selectUser="{{employeeObj}}" onClose="onClose" onConfirm="confirm"
  359. a:if="{{isShowstaff=='1'}}" />
  360. <select-section-staff isBoss="{{true}}" selectUser="{{users}}" onClose="onClose" onConfirm="onSelectUser" a:if="{{isShowstaff=='2'}}" />
  361. </view>
  362. </view>