performanceDetails.axml 20 KB

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