leave_approve.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845
  1. <template>
  2. <view class="warp">
  3. <view class="topInfo">
  4. <view class="topInfo-item">
  5. <view class="flex info">
  6. <view class="logo">
  7. <image src="../../../static/img/reject.png" mode="" v-if="dataList.status == '已驳回'"
  8. style="height: 40rpx;">
  9. </image><!-- 驳回 -->
  10. <image src="../../../static/img/tongguo.png" mode="" v-else-if="dataList.status == '已通过'"
  11. style="height: 40rpx;"></image><!-- 通过 -->
  12. <image src="../../../static/img/daishenhe.png" mode=""
  13. v-else-if="dataList.approveStatus == '待人事审核' || dataList.approveStatus == '待主管审核'"
  14. style="height: 40rpx;"></image><!-- 待审核 -->
  15. </view>
  16. <view class="infoText" v-if="dataList.approveStatus">{{dataList.approveStatus}}</view>
  17. <view class="infoText" v-else>{{dataList.status}}</view>
  18. </view>
  19. <view class="infoData" v-if="dataList.updateDate">{{dataList.updateDate}}</view>
  20. </view>
  21. </view>
  22. <view class="content1">
  23. <!-- :model="OutList" -->
  24. <u-form ref="uForm">
  25. <u-form-item label="请假类型" prop="leaveType" label-width="140" class="uForm_item">
  26. <u-input v-model="dataList.leaveType" input-align="right" disabled v-if="dataList.leaveType" />
  27. </u-form-item>
  28. <view class="uForm_item">
  29. <view class='row'>
  30. <view class="left">开始时间</view>
  31. <view class="right">{{dataList.startDate}}</view>
  32. </view>
  33. <view class='row'>
  34. <view class="left">结束时间</view>
  35. <view class="right">{{dataList.endDate}}</view>
  36. </view>
  37. <view class='row'>
  38. <view class="left">请假时长</view>
  39. <view class="right">{{dataList.leaveDuration}}</view>
  40. </view>
  41. <u-form-item label="请假事由" prop="reasonForLeave" label-width="160" label-position="top">
  42. <u-input v-model="dataList.reasonForLeave" input-align="left" placeholder="请输入请假事由"
  43. type="textarea" class="textarea" maxlength="150" />
  44. </u-form-item>
  45. </view>
  46. </u-form>
  47. </view>
  48. <view v-if='show' class="shade1">
  49. <view class="wrap1">
  50. <view class="alert-top1">
  51. <view class="title1">
  52. {{title}}
  53. </view>
  54. <u-icon name="close" class="close1" color="#8890B1" @click="close()"></u-icon>
  55. </view>
  56. <view class="u-textarea-style1">
  57. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  58. maxlength="1000" />
  59. <view class="right-bottom1">
  60. {{auditMind.length}}/1000个字
  61. </view>
  62. </view>
  63. <view @click='close()' class="cancel1">取消</view>
  64. <view @click='passSubmit()' class="confirm1">确定</view>
  65. </view>
  66. </view>
  67. <view class="content3">
  68. <view class="titlez rowz">
  69. 流程
  70. </view>
  71. <view v-for="(item,index) in auditList" :key='index' class="audit">
  72. <view class="row" v-if='item.desc!="_PLACEHOLDER_"'>
  73. <view class="left">
  74. <view class="item1">
  75. <view class="item-content">{{item.operatorTitle}}</view>
  76. <view v-if="item.status=='success'" class='status success'>
  77. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  78. </view>
  79. <view v-if="item.status=='error'" class='status error'>
  80. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  81. </view>
  82. <view v-if="item.status=='question'" class='status question'>
  83. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  84. </view>
  85. </view>
  86. </view>
  87. <view class="right">
  88. <view class="right-item">
  89. <view class="item2">
  90. <view class="name">{{item.desc}}
  91. </view>
  92. <!-- <view class='time'>{{item.updateDate}}</view> -->
  93. <view v-if="item.status=='success'" class="status success">
  94. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  95. v-if='!item.commonStaffs1&&index!=0'>已审核</text></view>
  96. <view v-if="item.status=='error'" class="status error">
  97. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  98. v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text>
  99. </view>
  100. <view v-if="item.status=='question'" class="status question">
  101. {{item.commonStaffs1?item.staffscontent:''}}<text
  102. v-if='!item.commonStaffs1'>未审核</text></view>
  103. <!-- <view class="status success">吕波(已审核)</view> -->
  104. </view>
  105. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0'
  106. class='time'>
  107. {{item.updateDate}}
  108. </view>
  109. </view>
  110. <view v-if='item.auditMind' class="right-content">
  111. {{item.auditMind}}
  112. </view>
  113. </view>
  114. <view v-if='item.commonStaffs1' class="right">
  115. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28">
  116. </u-icon>
  117. </view>
  118. </view>
  119. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  120. <view class='row2'>
  121. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  122. <view class="item-content">
  123. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  124. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  125. </view>
  126. <view class="name">{{item1.staffName}}</view>
  127. </view>
  128. </view>
  129. </view>
  130. <view class="row-line" v-if="index!= auditList.length - 1&&item.desc!='_PLACEHOLDER_'"></view>
  131. </view>
  132. </view>
  133. <u-toast ref="uToast" />
  134. <view style='padding:10px;' class='flex bottom-btn'>
  135. <u-button @click='reject' type="error" class="btn1" hover-class='none'>驳回</u-button>
  136. <u-button @click='pass' type="success" class="btn2">通过</u-button>
  137. </view>
  138. </view>
  139. </template>
  140. <script>
  141. import helper from '@/common/helper.js';
  142. import {
  143. mapState
  144. } from 'vuex';
  145. export default {
  146. data() {
  147. return {
  148. everyCheck: '',
  149. height: 200,
  150. autoHeight: true,
  151. border: false,
  152. id: "",
  153. show: false,
  154. auditMind: '',
  155. leaveType: '',
  156. reasonForLeave: '',
  157. startDate: '',
  158. endDate: '',
  159. leaveDuration: '',
  160. leaveType: '',
  161. approveStatus: '',
  162. status: '',
  163. auditList: [],
  164. leaveInfo: {
  165. id: '',
  166. },
  167. pcUserInfo :uni.getStorageSync('pcUserInfo'),
  168. updateDate: '',
  169. dataList: {
  170. srcList:[]
  171. },
  172. }
  173. },
  174. onBackPress(e) {
  175. if (this.everyCheck) {
  176. uni.navigateTo({
  177. url: "/pages/task/my_task"
  178. })
  179. return true;
  180. }
  181. },
  182. onLoad(options) {
  183. this.id = options.id
  184. this.everyCheck = uni.getStorageSync("everyTask")
  185. this.getList()
  186. },
  187. computed: {
  188. ...mapState(['hasLogin', 'userInfo']),
  189. },
  190. methods: {
  191. getList() {
  192. this.$api.doRequest('get', '/leaveInfo/getLeaveInfo', {
  193. id: this.id
  194. }).then(res => {
  195. if (res.data.code == 200) {
  196. this.dataList = res.data.data
  197. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  198. businessCode: 'QINGJIA-APPROVE',
  199. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  200. }).then(res1 => {
  201. this.$api.doRequest('get', '/commonUser/getHis', {
  202. workflowId: res1.data.data[0].id,
  203. businessKey: this.id,
  204. // branch:that.list.jointVentureParties?that.list.jointVentureParties:'zt'
  205. }).then(response => {
  206. uni.hideLoading()
  207. for (let i = 0; i < response.data.data.length; i++) {
  208. this.$set(response.data.data[i], 'status', 'question')
  209. // console.log(response.data.data[i].workflowHistoricTasks,i)
  210. if (response.data.data[i].commonStaffs) {
  211. response.data.data[i].showflow = false
  212. response.data.data[i].operatorTitle = response.data.data[i]
  213. .desc.substring(0, 2)
  214. response.data.data[i].operatorName = response.data.data[i]
  215. .desc
  216. response.data.data[i].staffscontent = '共' + response.data
  217. .data[i].commonStaffs.length + '人,当前审核' + response.data
  218. .data[i].workflowHistoricTasks.length + '人'
  219. if (response.data.data[i].workflowHistoricTasks && response
  220. .data.data[i].workflowHistoricTasks.length > 0) {
  221. if (response.data.data[i].workflowHistoricTasks
  222. .length != response.data.data[i].commonStaffs
  223. .length) {
  224. // response.data.data[i].status='question'
  225. this.$set(response.data.data[i], 'status',
  226. 'question')
  227. } else {
  228. this.$set(response.data.data[i], 'status',
  229. 'success')
  230. // response.data.data[i].status='success'
  231. }
  232. response.data.data[i].workflowlen = response.data.data[
  233. i].workflowHistoricTasks.length
  234. var workflowdata = response.data.data[i]
  235. .workflowHistoricTasks
  236. var staffsdata = response.data.data[i].commonStaffs
  237. for (let q = 0; q < staffsdata.length; q++) {
  238. staffsdata[q].status = false
  239. staffsdata[q].staffTitle = staffsdata[q].staffName
  240. for (let k = 0; k < workflowdata.length; k++) {
  241. if (staffsdata[q].staffId == workflowdata[k]
  242. .operatorId) {
  243. staffsdata[q].status = true
  244. }
  245. }
  246. }
  247. }
  248. response.data.data[i].commonStaffs1 = response.data.data[i]
  249. .commonStaffs
  250. } else {
  251. if (response.data.data[i].workflowHistoricTasks && response
  252. .data.data[i].workflowHistoricTasks.length > 0) {
  253. var len = response.data.data[i].workflowHistoricTasks
  254. .length - 1
  255. if (response.data.data[i].workflowHistoricTasks[len]
  256. .approved) {
  257. this.$set(response.data.data[i], 'status',
  258. 'success')
  259. } else {
  260. this.$set(response.data.data[i], 'status', 'error')
  261. }
  262. response.data.data[i].operatorTitle = response.data
  263. .data[i].workflowHistoricTasks[len].operatorName
  264. .substring(response.data.data[i]
  265. .workflowHistoricTasks[0].operatorName.length -
  266. 2)
  267. response.data.data[i].operatorName = response.data
  268. .data[i].workflowHistoricTasks[len].operatorName
  269. var time = new Date(response.data.data[i]
  270. .workflowHistoricTasks[len].claimTime)
  271. .getTime()
  272. response.data.data[i].updateDate = this.$u.timeFormat(
  273. time, 'mm.dd hh:MM')
  274. response.data.data[i].auditMind = response.data.data[i]
  275. .workflowHistoricTasks[len].auditMind
  276. } else {
  277. this.$set(response.data.data[i], 'status', 'question')
  278. // response.data.data[i].status='question'
  279. if (response.data.data[i].desc == '总经理助理审核') {
  280. response.data.data[i].operatorTitle = '总助'
  281. } else if (response.data.data[i].desc == '杜大光审核') {
  282. response.data.data[i].operatorTitle = '大光'
  283. } else {
  284. response.data.data[i].operatorTitle = response.data
  285. .data[i].desc.substring(0, 2)
  286. }
  287. response.data.data[i].operatorName = response.data
  288. .data[i].desc
  289. var time1 = new Date(response.data.data[i].updateDate)
  290. .getTime()
  291. response.data.data[i].updateDate = this.$u.timeFormat(
  292. time1, 'mm.dd hh:MM')
  293. response.data.data[i].auditMind = ''
  294. }
  295. }
  296. }
  297. console.log(response.data.data)
  298. this.auditList = response.data.data
  299. var time2 = new Date(this.dataList.createDate).getTime()
  300. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  301. this.auditList.unshift({
  302. operatorTitle: this.dataList.empName.substring(0, 2),
  303. operatorName: this.dataList.empName,
  304. updateDate: time3,
  305. auditMind: '',
  306. desc: '发起申请',
  307. showflow: false,
  308. commonStaffs1: null,
  309. commonStaffs: null,
  310. workflowHistoricTasks: [],
  311. status: 'success'
  312. })
  313. })
  314. })
  315. }
  316. })
  317. },
  318. close() {
  319. this.show = false
  320. },
  321. pass() {
  322. this.show = true
  323. this.title = '审核意见(通过)'
  324. },
  325. reject() {
  326. this.show = true
  327. this.title = '驳回原因(驳回)'
  328. },
  329. //通过
  330. passSubmit() {
  331. var that = this
  332. if (this.title == '驳回原因(驳回)') {
  333. this.rejectSubmit()
  334. } else {
  335. let that = this
  336. that.show = false
  337. uni.showModal({
  338. content: "是否确定通过?",
  339. showCancel: true,
  340. confirmText: '确定',
  341. success: function(res) {
  342. uni.showLoading({
  343. title: "审核中"
  344. })
  345. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  346. approved: true,
  347. taskId: that.dataList.taskId,
  348. auditMind: that.auditMind,
  349. needReapply: false
  350. }).then(res => {
  351. if (res.data.code == 200) {
  352. //最后一级审核通过后,添加打卡记录
  353. if (that.dataList.approveStatus == '待杜大光审批') {
  354. that.leaveInfo.id = that.id
  355. that.$api.doRequest('post', '/leaveInfo/api/generateClock',
  356. that.leaveInfo
  357. ).then(res => {
  358. if (res.data.code != 200) {
  359. that.$api.msg('提交失败')
  360. return
  361. }
  362. })
  363. uni.hideLoading()
  364. that.$api.msg('审核成功!')
  365. setTimeout(function() {
  366. uni.navigateBack();
  367. }, 2000);
  368. }else{
  369. uni.hideLoading()
  370. that.$api.msg('审核成功!')
  371. setTimeout(function() {
  372. uni.navigateBack();
  373. }, 2000);
  374. }
  375. } else {
  376. that.$api.msg('审核失败!')
  377. }
  378. }).catch(res => {
  379. uni.hideLoading()
  380. if (res.message) {
  381. uni.showToast({
  382. title: res.message,
  383. icon: 'none',
  384. duration: 2000
  385. })
  386. } else {
  387. uni.showToast({
  388. title: "系统异常,请联系管理员",
  389. icon: 'none',
  390. duration: 2000
  391. })
  392. }
  393. })
  394. }
  395. })
  396. }
  397. },
  398. //驳回
  399. rejectSubmit() {
  400. if (!this.auditMind) {
  401. this.$api.msg('驳回原因不能为空!')
  402. } else {
  403. this.show = false
  404. let that = this
  405. uni.showModal({
  406. content: "是否确定驳回?",
  407. showCancel: true,
  408. confirmText: '确定',
  409. success: function(res) {
  410. uni.showLoading({
  411. title: "审核中"
  412. })
  413. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  414. approved: false,
  415. taskId: that.dataList.taskId,
  416. auditMind: that.auditMind,
  417. needReapply: true
  418. }).then(res => {
  419. if (res.data.code == 200) {
  420. this.$api.msg('驳回成功!')
  421. uni.navigateTo({
  422. url: "/pages/task/my_task"
  423. })
  424. uni.hideLoading()
  425. } else {
  426. this.$api.msg('驳回失败!')
  427. }
  428. })
  429. }
  430. })
  431. }
  432. },
  433. }
  434. }
  435. </script>
  436. <style scoped lang="scss">
  437. .warp {
  438. margin: 10rpx;
  439. padding: 20rpx 20rpx 240rpx 20rpx;
  440. }
  441. .content1 {
  442. margin: 10rpx;
  443. .title {
  444. height: 70rpx;
  445. line-height: 60rpx;
  446. font-size: 32rpx;
  447. font-weight: 600;
  448. color: #333333;
  449. border-bottom: 2rpx solid #EEEEEE;
  450. }
  451. }
  452. .uForm {
  453. padding: 0 40rpx;
  454. }
  455. .u-form-item {
  456. padding: 0;
  457. }
  458. .bottom-btn {
  459. width: 100%;
  460. position: fixed;
  461. bottom: 0;
  462. display: flex;
  463. z-index: 2;
  464. left: 0;
  465. background-color: #f8f8f8;
  466. flex-direction: column;
  467. .btn1,
  468. .btn2 {
  469. width: 100%;
  470. margin-bottom: 26rpx;
  471. border-radius: 90rpx;
  472. }
  473. .btn1 {
  474. background: white;
  475. color: #00C265;
  476. }
  477. }
  478. .submit {
  479. width: 50%;
  480. background: #22C572;
  481. border-radius: 10rpx;
  482. }
  483. .part2 {
  484. margin-top: 20rpx;
  485. }
  486. .textarea {
  487. border: 1px solid #ccc;
  488. border-radius: 10rpx;
  489. background-color: #F9F9FA;
  490. height: 100px;
  491. }
  492. .row {
  493. display: flex;
  494. justify-content: space-between;
  495. // border-bottom: 1px solid #EEEEEE;
  496. padding: 21rpx 0;
  497. .right,
  498. input {
  499. font-size: 28rpx;
  500. color: #333333;
  501. }
  502. }
  503. //弹出框
  504. // .popup {
  505. // padding: 30rpx;
  506. // border-radius: 20rpx;
  507. // }
  508. // .rejectInfoCss {
  509. // border: 1px solid #ccc;
  510. // border-radius: 10rpx;
  511. // background-color: #F9F9FA;
  512. // margin: 30rpx;
  513. // overflow-y: auto;
  514. // // height: 300rpx;
  515. // background: red;
  516. // }
  517. .uForm_item {
  518. padding: 20rpx;
  519. background-color: #FFFFFF;
  520. margin: 20rpx 0rpx 0rpx 0rpx;
  521. border-radius: 20rpx;
  522. width: 100%;
  523. }
  524. .rejectText {
  525. text-align: center;
  526. }
  527. .topInfo {
  528. height: 210rpx;
  529. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  530. padding: 30rpx;
  531. .topInfo-item {
  532. height: 150rpx;
  533. background-color: #FFFFFF;
  534. border-radius: 20rpx;
  535. padding: 40rpx;
  536. .logo {
  537. width: 40rpx;
  538. height: 40rpx;
  539. margin-top: 8rpx;
  540. }
  541. .infoText {
  542. font-size: 36rpx;
  543. font-weight: 600;
  544. margin-left: 20rpx;
  545. }
  546. .infoData {
  547. color: #878C9C;
  548. font-size: 26rpx;
  549. margin-top: 10rpx;
  550. }
  551. }
  552. }
  553. .shade1 {
  554. position: fixed;
  555. top: 0;
  556. left: 0;
  557. height: 100%;
  558. width: 100%;
  559. background: rgba(0, 0, 0, 0.4);
  560. z-index: 3;
  561. .wrap1 {
  562. position: absolute;
  563. left: 0;
  564. top: 0;
  565. right: 0;
  566. bottom: 0;
  567. margin: auto;
  568. background: #fff;
  569. width: calc(100% - 198rpx);
  570. height: 355px;
  571. border-radius: 20rpx;
  572. .alert-top1 {
  573. padding: 33rpx;
  574. display: flex;
  575. justify-content: center;
  576. align-items: center;
  577. position: relative;
  578. }
  579. .title1 {
  580. font-size: 32rpx;
  581. font-weight: 600;
  582. color: #333333;
  583. }
  584. .close1 {
  585. position: absolute;
  586. right: 33rpx;
  587. }
  588. }
  589. .u-textarea-style1 {
  590. margin: 20rpx;
  591. background: #F9F9FA;
  592. border-radius: 10px;
  593. border: 1px solid #EEEEEE;
  594. padding: 10rpx 20rpx;
  595. height: 230px;
  596. .right-bottom1 {
  597. position: absolute;
  598. right: 20rpx;
  599. bottom: 80px;
  600. color: #AFB3BF;
  601. }
  602. }
  603. .cancel1 {
  604. position: absolute;
  605. display: inline-block;
  606. width: 50%;
  607. text-align: center;
  608. bottom: 0;
  609. padding: 10px;
  610. border-top: 1px solid #eee;
  611. font-size: 34rpx;
  612. }
  613. .confirm1 {
  614. position: absolute;
  615. display: inline-block;
  616. width: 50%;
  617. text-align: center;
  618. bottom: 0;
  619. padding: 10px;
  620. border-top: 1px solid #eee;
  621. font-size: 34rpx;
  622. }
  623. .cancel1 {
  624. left: 0;
  625. border-right: 1px solid #eee;
  626. color: #ff0000;
  627. }
  628. .confirm1 {
  629. right: 0;
  630. color: #22C572;
  631. }
  632. .bottom-btn1 {
  633. width: 100%;
  634. // position: fixed;
  635. bottom: 0;
  636. display: flex;
  637. z-index: 2;
  638. left: 0;
  639. background-color: #f8f8f8;
  640. flex-direction: column;
  641. .btn1,
  642. .btn2 {
  643. width: 100%;
  644. margin-bottom: 26rpx;
  645. border-radius: 90rpx;
  646. }
  647. .btn1 {
  648. background: white;
  649. color: #00C265;
  650. }
  651. }
  652. }
  653. .content3 {
  654. background: white;
  655. margin: 20rpx 0;
  656. border-radius: 20rpx;
  657. padding: 20rpx;
  658. .row {
  659. display: flex;
  660. .left {
  661. display: flex;
  662. align-items: center;
  663. .item1 {
  664. position: relative;
  665. .item-content {
  666. background: #617AE0;
  667. width: 44px;
  668. height: 44px;
  669. border-radius: 22px;
  670. line-height: 44px;
  671. text-align: center;
  672. font-size: 15px;
  673. color: #fff;
  674. }
  675. .status {
  676. position: absolute;
  677. border-radius: 50%;
  678. padding: 0px 2px;
  679. right: -3px;
  680. bottom: -3px;
  681. background: #fff;
  682. }
  683. .status.success {
  684. border: 1px solid rgb(60, 156, 255);
  685. }
  686. .status.error {
  687. border: 1px solid rgb(245, 108, 108);
  688. }
  689. .status.question {
  690. border: 1px solid #f9ae3d;
  691. }
  692. }
  693. }
  694. .right {
  695. width: 80%;
  696. // color: #B0B1B5;
  697. margin-top: 10px;
  698. .right-content {
  699. background: #F2F3F7;
  700. margin-left: 10px;
  701. margin-top: 10px;
  702. padding: 10px;
  703. border-radius: 5px;
  704. color: #B0B1B5;
  705. }
  706. .right-item {
  707. display: flex;
  708. justify-content: space-between;
  709. .time {
  710. color: #999;
  711. }
  712. .item2 {
  713. margin-left: 20rpx;
  714. margin-top: -7px;
  715. .name {
  716. font-size: 28rpx;
  717. font-weight: 800;
  718. }
  719. .status.success {
  720. color: #6CC48C;
  721. }
  722. .status.error {
  723. color: rgb(245, 108, 108);
  724. }
  725. .status.question {
  726. color: #f9ae3d;
  727. }
  728. }
  729. }
  730. }
  731. }
  732. .row2 {
  733. display: flex;
  734. .item-content {
  735. background: #22C572;
  736. width: 30px;
  737. height: 30px;
  738. border-radius: 50%;
  739. line-height: 30px;
  740. text-align: center;
  741. font-size: 12px;
  742. color: #fff;
  743. padding: 0 2px;
  744. margin: 0 auto;
  745. }
  746. .status {
  747. position: absolute;
  748. top: 0;
  749. right: 0;
  750. }
  751. }
  752. .row-line {
  753. width: 1px;
  754. height: 40rpx;
  755. background: #F2F2F2;
  756. margin: 10rpx 50rpx;
  757. }
  758. .audit {
  759. margin-top: 20rpx;
  760. }
  761. }
  762. .titlez {
  763. font-size: 17px;
  764. font-weight: 700;
  765. height: 35px;
  766. border-bottom: 1px solid #EEEEEE;
  767. }
  768. .rowz{
  769. display: flex;
  770. justify-content: space-between;
  771. .right,
  772. input {
  773. font-size: 28rpx;
  774. color: #333333;
  775. }
  776. }
  777. /deep/.u-input__textarea {
  778. height: 200rpx !important;
  779. }
  780. </style>