warehouse_warrant_detail.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934
  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="status == '已驳回'"
  8. style="height: 40rpx;"></image><!-- 驳回 -->
  9. <image src="../../../static/img/tongguo.png" mode="" v-if="status == '已通过'"
  10. style="height: 40rpx;"></image><!-- 通过 -->
  11. <!-- v-if="status == '审核中' || status == '待决策人审核'" -->
  12. <image src="../../../static/img/daishenhe.png" mode="" style="height: 40rpx;"></image>
  13. <!-- 待审核 -->
  14. </view>
  15. <!-- {{auditList.length > 0 ?auditList[auditList.length - 1].operatorMajorRoleName:""}} -->
  16. <view class="infoText">{{auditInfo.approveStatus?auditInfo.approveStatus:'已完成'}}</view>
  17. </view>
  18. <view class="infoData">{{updateDate}}</view>
  19. </view>
  20. </view>
  21. <view class="content1">
  22. <view class="title ">
  23. 基本信息
  24. </view>
  25. <view class="row">
  26. <view class="left">请款日期</view>
  27. <view class="right">{{auditInfo.requestDate}}</view>
  28. </view>
  29. <view class="row">
  30. <view class="left">请款人</view>
  31. <view class="right">{{auditInfo.requestPerson}}</view>
  32. </view>
  33. <view class="row">
  34. <view class="left">所属仓库 </view>
  35. <view class="right">{{auditInfo.warehouseName}}</view>
  36. </view>
  37. <view class="row">
  38. <view class="left">合计重量(吨)</view>
  39. <view class="right">{{auditInfo.inWarehouseWeightTotal}}</view>
  40. </view>
  41. <view class="row">
  42. <view class="left">合计金额(元)</view>
  43. <view class="right">{{auditInfo.requestFundsTotal}}</view>
  44. </view>
  45. <!-- <view class="row">
  46. <view class="left">仓库名称</view>
  47. <view class="right">{{auditInfo.warehouseName}}</view>
  48. </view>
  49. <view class="row">
  50. <view class="left">入库日期</view>
  51. <view class="right">{{auditInfo.issuingTime}}</view>
  52. </view>
  53. <view class="row" style="border-bottom:0">
  54. <view class="left">车数</view>
  55. <view class="right">{{auditInfo.count}}</view>
  56. </view> -->
  57. </view>
  58. <view class="content1">
  59. <view class="title ">
  60. 支付明细
  61. </view>
  62. <view class="mx-content" v-for="item in auditInfo.warehousingOrderList">
  63. <view class='flex align-center justify-between'>
  64. <view class="name">
  65. {{item.customer}}
  66. </view>
  67. <view class="mx-item">
  68. {{item.goodsName}}
  69. </view>
  70. </view>
  71. <view class="mx-bottom">
  72. <view class="mx-row1">
  73. <!-- <view class="mx-item">
  74. 平均容重
  75. </view>
  76. <view class="mx-item">
  77. 平均水分
  78. </view> -->
  79. </view>
  80. <view class="mx-row2">
  81. <view class="mx-item">
  82. {{item.inWarehouseWeight}}吨
  83. </view>
  84. <view class="mx-item">
  85. <!-- 2000元/吨 -->
  86. {{item.avgCost}}元/吨
  87. </view>
  88. <view class="mx-item">
  89. {{item.requestFunds}}元
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. </view>
  95. <view class="content1" v-if="url && url != 'ng'">
  96. <view class="title ">
  97. 附件
  98. </view>
  99. <view class="file" @click="openXls">
  100. <image src="../../../static/img/excle.png" mode="" class="img_css"></image>
  101. <text class="text_css">付款明细.xls</text>
  102. </view>
  103. <view class="file" @click="openXls2">
  104. <image src="../../../static/img/excle.png" mode="" class="img_css"></image>
  105. <text class="text_css">粮食指标.xls</text>
  106. </view>
  107. </view>
  108. <view class="content2">
  109. <view class="title row">
  110. 流程
  111. </view>
  112. <view v-for="(item,index) in auditList" :key='index' class="audit">
  113. <view class="row">
  114. <view class="left">
  115. <view class="item1">
  116. <view class="item-content">{{item.operatorTitle}}</view>
  117. <view v-if="item.status=='success'" class='status success'>
  118. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  119. </view>
  120. <view v-if="item.status=='error'" class='status error'>
  121. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  122. </view>
  123. <view v-if="item.status=='question'" class='status question'>
  124. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  125. </view>
  126. </view>
  127. </view>
  128. <view class="right">
  129. <view class="right-item">
  130. <view class="item2">
  131. <view class="name">{{item.desc}}
  132. </view>
  133. <!-- <view class='time'>{{item.updateDate}}</view> -->
  134. <view v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1&&index!=0'>已审核</text></view>
  135. <view v-if="item.status=='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text></view>
  136. <view v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
  137. <!-- <view class="status success">吕波(已审核)</view> -->
  138. </view>
  139. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0' class='time'>
  140. {{item.updateDate}}
  141. </view>
  142. </view>
  143. <view v-if='item.auditMind' class="right-content">
  144. {{item.auditMind}}
  145. </view>
  146. </view>
  147. <view v-if='item.commonStaffs1' class="right">
  148. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28"></u-icon>
  149. </view>
  150. </view>
  151. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  152. <view class='row2'>
  153. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  154. <view class="item-content">
  155. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  156. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  157. </view>
  158. <view class="name">{{item1.staffName}}</view>
  159. </view>
  160. </view>
  161. </view>
  162. <view class="row-line" v-if="index!= auditList.length - 1"></view>
  163. </view>
  164. </view>
  165. <view v-if='show' class="shade">
  166. <view class="wrap">
  167. <view class="alert-top">
  168. <view class="title">
  169. {{title}}
  170. </view>
  171. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  172. </view>
  173. <view class="u-textarea-style">
  174. <view class="right-bottom">
  175. {{auditMind.length}}/100个字
  176. </view>
  177. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  178. maxlength="100" />
  179. </view>
  180. <view @click='close()' class="cancel">取消</view>
  181. <view @click='passSubmit()' class="confirm">确定</view>
  182. </view>
  183. </view>
  184. <u-toast ref="uToast" />
  185. <view style='padding:10px;' class='flex bottom-btn'>
  186. <u-button @click='fanhui' type="success" class="btn2">返回</u-button>
  187. </view>
  188. </view>
  189. </template>
  190. <script>
  191. import helper from '@/common/helper.js';
  192. import {
  193. mapState
  194. } from 'vuex';
  195. export default {
  196. data() {
  197. return {
  198. src: '../../../static/img/myimg/LiangShang@2x.png',
  199. isSHowBtn: true,
  200. height: 200,
  201. autoHeight: true,
  202. border: false,
  203. title: '',
  204. show: false,
  205. auditMind: '',
  206. id: "",
  207. currentPage: 1,
  208. pageSize: 100,
  209. List: [],
  210. status: "",
  211. updateDate: "",
  212. warehouseName: "",
  213. everyCheck: '',
  214. auditInfo: {},
  215. id: "",
  216. auditList: [],
  217. url: "11",
  218. url2: "11",
  219. }
  220. },
  221. onBackPress(e) {
  222. if (this.everyCheck) {
  223. uni.navigateTo({
  224. url: "/pages/task/my_task"
  225. })
  226. return true;
  227. }
  228. },
  229. onLoad(options) {
  230. this.id = options.id
  231. this.vesselId = options.vesselId
  232. this.everyCheck = uni.getStorageSync("everyTask")
  233. this.isSHowBtn = options.isShowbtn
  234. },
  235. onShow(options) {
  236. this.getList()
  237. },
  238. computed: {
  239. ...mapState(['hasLogin', 'userInfo']),
  240. },
  241. methods: {
  242. showcontent(item){
  243. item.showflow=!item.showflow
  244. },
  245. openXls() {
  246. if (this.url && this.url != "ng") {
  247. uni.downloadFile({
  248. url: this.url,
  249. success: function(res) {
  250. var filePath = res.tempFilePath;
  251. uni.openDocument({
  252. filePath: filePath,
  253. showMenu: true,
  254. success: function(res) {
  255. console.log('打开文档成功');
  256. }
  257. });
  258. }
  259. });
  260. }
  261. },
  262. openXls2() {
  263. if (this.url2 && this.url2 != "ng") {
  264. uni.downloadFile({
  265. url: this.url2,
  266. success: function(res) {
  267. var filePath = res.tempFilePath;
  268. uni.openDocument({
  269. filePath: filePath,
  270. showMenu: true,
  271. success: function(res) {
  272. console.log('打开文档成功');
  273. }
  274. });
  275. }
  276. });
  277. }
  278. },
  279. getList() {
  280. uni.showLoading({
  281. title: "加载中...",
  282. mask: true
  283. })
  284. // this.$api.doRequest('get', '/warehousingOrder/selectInfo', {
  285. // currentPage: 1,
  286. // pageSize: 100,
  287. // searchType: '2', //searchType:1待审核
  288. // // warehouseName: this.vesselId,
  289. // managementType: 1
  290. // }).then(res1 => {
  291. // uni.hideLoading()
  292. // if (res1.data.code == 200) {
  293. // this.List = res1.data.data.records
  294. // }
  295. // })
  296. // this.$api.doRequest('get', '/paymentManagement/getInfo', {
  297. // id: this.id
  298. // }).then(res => {
  299. // if (res.data.code == 200) {
  300. // uni.showLoading({
  301. // title: "加载中...",
  302. // mask: true
  303. // })
  304. // }
  305. // })
  306. this.$api.doRequest('post', '/warehousingOrder/exportPhone', {
  307. batchId: this.id,
  308. // searchType: 1,
  309. }).then(res1 => {
  310. if (res1.data.code == 200) {
  311. this.url = res1.data.data
  312. }
  313. })
  314. this.$api.doRequest('post', '/paymentManagement/exportPhoneOrder', {
  315. orderId: this.id,
  316. // searchType: 1,
  317. }).then(res1 => {
  318. if (res1.data.code == 200) {
  319. this.url2 = res1.data.data
  320. }
  321. })
  322. this.$api.doRequest('post', '/warehousingOrder/exportPhoneDataHis', {
  323. // searchType: 1,
  324. batchId: this.id
  325. }).then(res1 => {
  326. if (res1.data.code == 200) {
  327. this.auditInfo = res1.data.data
  328. if(this.auditInfo.inWarehouseWeightTotal){
  329. this.auditInfo.inWarehouseWeightTotal = this.auditInfo.inWarehouseWeightTotal.toFixed(2)
  330. }
  331. if(this.auditInfo.requestFundsTotal){
  332. this.auditInfo.requestFundsTotal = this.auditInfo.requestFundsTotal.toFixed(2)
  333. }
  334. this.auditInfo.amountIngPayableTotal1 = helper.convertCurrency(this.auditInfo
  335. .amountIngPayableTotal)
  336. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  337. businessCode: 'WAREHOUSING-ORDER-APPROVE',
  338. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  339. }).then(res1 => {
  340. this.$api.doRequest('get', '/commonUser/getHis', {
  341. workflowId: res1.data.data[0].id,
  342. businessKey: this.id
  343. }).then(response => {
  344. uni.hideLoading()
  345. for (let i = 0; i < response.data.data.length; i++) {
  346. this.$set(response.data.data[i],'status','question')
  347. console.log(response.data.data[i].workflowHistoricTasks,i)
  348. if(response.data.data[i].commonStaffs){
  349. response.data.data[i].showflow=false
  350. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  351. response.data.data[i].operatorName=response.data.data[i].desc
  352. response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
  353. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  354. if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
  355. // response.data.data[i].status='question'
  356. this.$set(response.data.data[i],'status','question')
  357. }else{
  358. this.$set(response.data.data[i],'status','success')
  359. // response.data.data[i].status='success'
  360. }
  361. response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
  362. var workflowdata=response.data.data[i].workflowHistoricTasks
  363. var staffsdata=response.data.data[i].commonStaffs
  364. for (let q = 0; q < staffsdata.length; q++) {
  365. staffsdata[q].status=false
  366. staffsdata[q].staffTitle=staffsdata[q].staffName
  367. for (let k = 0; k < workflowdata.length; k++) {
  368. if(staffsdata[q].staffId==workflowdata[k].operatorId){
  369. staffsdata[q].status=true
  370. }
  371. }
  372. }
  373. }
  374. response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
  375. }else{
  376. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  377. var len =response.data.data[i].workflowHistoricTasks.length-1
  378. if(response.data.data[i].workflowHistoricTasks[len].approved){
  379. this.$set(response.data.data[i],'status','success')
  380. }else{
  381. this.$set(response.data.data[i],'status','error')
  382. }
  383. response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[len].operatorName.substring(response.data.data[i].workflowHistoricTasks[0].operatorName.length - 2)
  384. response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[len].operatorName
  385. var time=new Date(response.data.data[i].workflowHistoricTasks[len].claimTime).getTime()
  386. response.data.data[i].updateDate=this.$u.timeFormat(time, 'mm.dd hh:MM')
  387. response.data.data[i].auditMind=response.data.data[i].workflowHistoricTasks[len].auditMind
  388. }else{
  389. this.$set(response.data.data[i],'status','question')
  390. // response.data.data[i].status='question'
  391. if(response.data.data[i].desc=='总经理助理审核'){
  392. response.data.data[i].operatorTitle='总助'
  393. }else if(response.data.data[i].desc=='杜大光审核'){
  394. response.data.data[i].operatorTitle='大光'
  395. }else{
  396. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  397. }
  398. response.data.data[i].operatorName=response.data.data[i].desc
  399. var time1=new Date(response.data.data[i].updateDate).getTime()
  400. response.data.data[i].updateDate=this.$u.timeFormat(time1, 'mm.dd hh:MM')
  401. response.data.data[i].auditMind=''
  402. }
  403. }
  404. }
  405. console.log(response.data.data)
  406. this.auditList = response.data.data
  407. var time2=new Date(this.auditInfo.createDate).getTime()
  408. var time3=this.$u.timeFormat(time2, 'mm.dd hh:MM')
  409. this.auditList.unshift({
  410. operatorTitle:this.auditInfo.creater.substring(0,2),
  411. operatorName:this.auditInfo.creater,
  412. updateDate:time3,
  413. auditMind:'',
  414. desc:'发起申请',
  415. showflow:false,
  416. commonStaffs1:null,
  417. commonStaffs:null,
  418. workflowHistoricTasks:[],
  419. status:'success'
  420. })
  421. })
  422. })
  423. }
  424. })
  425. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  426. businessCode: 'WAREHOUSING-ORDER-APPROVE',
  427. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  428. }).then(res1 => {
  429. this.updateDate = res1.data.data[0].updateDate
  430. this.$api.doRequest('get', '/commonUser/getHis', {
  431. workflowId: res1.data.data[0].id,
  432. businessKey: this.id
  433. }).then(response => {
  434. // uni.hideLoading()
  435. this.auditList = response.data.data
  436. })
  437. })
  438. },
  439. close() {
  440. this.show = false
  441. },
  442. fanHui(){
  443. uni.navigateBack()
  444. },
  445. pass() {
  446. this.show = true
  447. this.title = '审核意见(通过)'
  448. },
  449. reject() {
  450. this.show = true
  451. this.title = '驳回原因(驳回)'
  452. },
  453. //驳回
  454. // rejectSubmit() {
  455. // if (!this.auditMind) {
  456. // this.$api.msg('驳回原因不能为空!')
  457. // } else {
  458. // var that = this
  459. // that.show = false
  460. // if (this.List.length > 0) {
  461. // uni.showModal({
  462. // content: "确定驳回付款申请?",
  463. // showCancel: true,
  464. // confirmText: '确定',
  465. // success: function(res) {
  466. // if (res.confirm) {
  467. // that.audit(that.List[0], 0, false, '', '')
  468. // }
  469. // }
  470. // })
  471. // }
  472. // }
  473. // },
  474. // audit(list, index, status, status2, reason) {
  475. // uni.showLoading({
  476. // title: "审核中"
  477. // })
  478. // if (this.List.length > 0) {
  479. // if (status == true && list.status == "已驳回") {
  480. // this.$api.doRequest('get', '/paymentManagement/api/openAuditFlow', {
  481. // compId: "2710b21efc1e4393930c5dc800010dc4",
  482. // id: list.id
  483. // }).then(res => {
  484. // if (res.data.code == 200) {
  485. // this.audit(this.List[index + 1], index + 1, status, status2, reason)
  486. // }
  487. // })
  488. // } else {
  489. // for (var i = 0; i < this.List.length; i++) {
  490. // this.$api.doRequest('post', '/workflow/api/handle', {
  491. // taskId: this.List[i].taskId,
  492. // approved: status,
  493. // auditMind: this.auditMind ? this.auditMind : "",
  494. // needReapply: status2 ? true : false
  495. // }).then(res => {
  496. // if (res.data.code == 200) {
  497. // uni.hideLoading()
  498. // // this.audit(this.List[index + 1], index + 1, status, status2, reason)
  499. // this.$api.msg('通过成功')
  500. // }else{
  501. // uni.hideLoading()
  502. // this.$api.msg('审核失败')
  503. // }
  504. // })
  505. // }
  506. // }
  507. // } else {
  508. // if (status == true) {
  509. // this.$api.msg('通过成功')
  510. // } else if (status == false) {
  511. // this.$api.msg('驳回成功')
  512. // }
  513. // let that = this
  514. // setTimeout(function() {
  515. // if (that.everyCheck) {
  516. // helper.setAudit(that.list)
  517. // } else {
  518. // uni.navigateBack()
  519. // }
  520. // uni.hideLoading()
  521. // }, 1000);
  522. // }
  523. // },
  524. }
  525. }
  526. </script>
  527. <style scoped lang="scss">
  528. .warp {
  529. margin: 10rpx;
  530. padding: 20rpx 20rpx 240rpx 20rpx;
  531. }
  532. .content1 {
  533. font-size: 28rpx;
  534. color: #333333;
  535. margin-top: 30rpx;
  536. padding: 20rpx;
  537. // .content-item {
  538. border-radius: 20rpx;
  539. background: white;
  540. // padding: 40rpx 20rpx;
  541. // margin-bottom: 30rpx;
  542. // }
  543. // .title {
  544. // font-size: 32rpx;
  545. // font-weight: 600;
  546. // color: #333333;
  547. // margin: 30rpx 0;
  548. // }
  549. // .goodsInfoCss {
  550. // font-size: 28rpx;
  551. // font-weight: 600;
  552. // color: #878C9C;
  553. // margin: 26rpx 10rpx;
  554. // }
  555. // .priceCss {
  556. // font-size: 40rpx;
  557. // margin: 26rpx 10rpx;
  558. // color: #22C572;
  559. // font-weight: 600;
  560. // }
  561. .row {
  562. display: flex;
  563. justify-content: space-between;
  564. border-bottom: 1px solid #EEEEEE;
  565. padding: 20rpx 0;
  566. .right,
  567. input {
  568. font-size: 28rpx;
  569. // color: #333333;
  570. }
  571. }
  572. .img_css {
  573. width: 50rpx;
  574. height: 50rpx;
  575. }
  576. .file {
  577. display: flex;
  578. align-items: center;
  579. margin: 30rpx 0 0 20rpx;
  580. .text_css {
  581. font-size: 30rpx;
  582. margin-left: 20rpx;
  583. }
  584. }
  585. }
  586. .title {
  587. font-size: 34rpx;
  588. font-weight: 700;
  589. // margin-bottom: 20rpx;
  590. height: 70rpx;
  591. border-bottom: 2rpx solid #EEEEEE;
  592. }
  593. .titlerow {
  594. font-size: 34rpx;
  595. font-weight: 700;
  596. // margin-bottom: 20rpx;
  597. // height: 70rpx;
  598. // border-bottom: 2rpx solid #EEEEEE;
  599. }
  600. .content2 {
  601. background: white;
  602. margin: 20rpx 0;
  603. border-radius: 20rpx;
  604. padding: 20rpx;
  605. .row {
  606. display: flex;
  607. .left {
  608. display: flex;
  609. align-items: center;
  610. .item1 {
  611. position: relative;
  612. .item-content {
  613. background: #617AE0;
  614. width: 44px;
  615. height: 44px;
  616. border-radius: 22px;
  617. line-height: 44px;
  618. text-align: center;
  619. font-size: 15px;
  620. color: #fff;
  621. }
  622. .status {
  623. position: absolute;
  624. border-radius: 50%;
  625. padding: 0px 2px;
  626. right: -3px;
  627. bottom: -3px;
  628. background: #fff;
  629. }
  630. .status.success {
  631. border: 1px solid rgb(60, 156, 255);
  632. }
  633. .status.error {
  634. border: 1px solid rgb(245, 108, 108);
  635. }
  636. .status.question {
  637. border: 1px solid #f9ae3d;
  638. }
  639. }
  640. }
  641. .right {
  642. width: 80%;
  643. // color: #B0B1B5;
  644. margin-top: 10px;
  645. .right-content {
  646. background: #F2F3F7;
  647. margin-left: 10px;
  648. margin-top: 10px;
  649. padding: 10px;
  650. border-radius: 5px;
  651. color: #B0B1B5;
  652. }
  653. .right-item {
  654. display: flex;
  655. justify-content: space-between;
  656. .time {
  657. color: #999;
  658. }
  659. .item2 {
  660. margin-left: 20rpx;
  661. margin-top: -7px;
  662. .name {
  663. font-size: 28rpx;
  664. font-weight: 800;
  665. margin-bottom: 4px;
  666. }
  667. .status.success {
  668. color: #6CC48C;
  669. }
  670. .status.error {
  671. color: rgb(245, 108, 108);
  672. }
  673. .status.question {
  674. color: #f9ae3d;
  675. }
  676. }
  677. }
  678. }
  679. }
  680. .row2 {
  681. display: flex;
  682. .item-content {
  683. background: #22C572;
  684. width: 30px;
  685. height: 30px;
  686. border-radius: 50%;
  687. line-height: 30px;
  688. text-align: center;
  689. font-size: 12px;
  690. color: #fff;
  691. padding: 0 2px;
  692. margin: 0 auto;
  693. }
  694. .status {
  695. position: absolute;
  696. top: 0;
  697. right: 0;
  698. }
  699. }
  700. .row-line {
  701. width: 1px;
  702. height: 30px;
  703. background: #F2F2F2;
  704. margin: 10rpx 50rpx;
  705. }
  706. .audit {
  707. margin-top: 20rpx;
  708. }
  709. }
  710. .bottom-btn {
  711. width: 100%;
  712. position: fixed;
  713. bottom: 0;
  714. display: flex;
  715. z-index: 2;
  716. left: 0;
  717. background-color: #f8f8f8;
  718. flex-direction: column;
  719. .btn1,
  720. .btn2 {
  721. width: 100%;
  722. margin-bottom: 26rpx;
  723. border-radius: 90rpx;
  724. }
  725. .btn1 {
  726. background: white;
  727. color: #00C265;
  728. }
  729. }
  730. .row1 {
  731. border-bottom: 0 !important;
  732. }
  733. .topInfo {
  734. height: 210rpx;
  735. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  736. padding: 30rpx;
  737. .topInfo-item {
  738. height: 150rpx;
  739. background-color: #FFFFFF;
  740. border-radius: 20rpx;
  741. padding: 40rpx;
  742. .logo {
  743. width: 40rpx;
  744. height: 40rpx;
  745. margin-top: 8rpx;
  746. }
  747. .infoText {
  748. font-size: 36rpx;
  749. font-weight: 600;
  750. margin-left: 20rpx;
  751. }
  752. .infoData {
  753. color: #878C9C;
  754. font-size: 26rpx;
  755. margin-top: 10rpx;
  756. }
  757. }
  758. }
  759. .shade {
  760. position: fixed;
  761. top: 0;
  762. left: 0;
  763. height: 100%;
  764. width: 100%;
  765. background: rgba(0, 0, 0, 0.4);
  766. z-index: 3;
  767. .wrap {
  768. position: absolute;
  769. left: 0;
  770. top: 0;
  771. right: 0;
  772. bottom: 0;
  773. margin: auto;
  774. background: #fff;
  775. width: calc(100% - 198rpx);
  776. height: 700rpx;
  777. border-radius: 20rpx;
  778. .alert-top {
  779. padding: 33rpx;
  780. display: flex;
  781. justify-content: center;
  782. align-items: center;
  783. position: relative;
  784. }
  785. .title {
  786. font-size: 32rpx;
  787. font-weight: 600;
  788. color: #333333;
  789. }
  790. .close {
  791. position: absolute;
  792. right: 33rpx;
  793. }
  794. }
  795. }
  796. .cancel,
  797. .confirm {
  798. position: absolute;
  799. display: inline-block;
  800. width: 50%;
  801. text-align: center;
  802. bottom: 0;
  803. padding: 10px;
  804. border-top: 1px solid #eee;
  805. font-size: 34rpx;
  806. }
  807. .cancel {
  808. left: 0;
  809. border-right: 1px solid #eee;
  810. color: #AFB3BF;
  811. }
  812. .confirm {
  813. right: 0;
  814. color: #22C572;
  815. }
  816. .u-textarea-style {
  817. margin: 20rpx;
  818. background: #F9F9FA;
  819. border-radius: 10px;
  820. border: 1px solid #EEEEEE;
  821. padding: 10rpx 20rpx;
  822. position: relative;
  823. .right-bottom {
  824. position: absolute;
  825. right: 20rpx;
  826. bottom: 20rpx;
  827. color: #AFB3BF;
  828. }
  829. }
  830. /deep/.u-input__textarea {
  831. height: 300rpx !important;
  832. }
  833. .mx-content {
  834. background: #F9F9FA;
  835. padding: 30rpx;
  836. box-sizing: border-box;
  837. margin-top: 20rpx;
  838. border-radius: 20rpx;
  839. .name {
  840. font-size: 32rpx;
  841. font-weight: 700;
  842. border-bottom: 1px solid #EEEEEE;
  843. padding-bottom: 8rpx;
  844. }
  845. .mx-row1,
  846. .mx-row2 {
  847. display: flex;
  848. justify-content: space-between;
  849. margin-top: 20rpx;
  850. }
  851. .mx-item {
  852. text-align: left;
  853. // width: 33%;
  854. // text-align: center;
  855. }
  856. }
  857. </style>