warehouse_approval.vue 21 KB

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