performanceDetails.axml 20 KB

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