warehouse_approval.vue 20 KB

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