warehouse_approval.vue 22 KB

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