sales_shift.vue 23 KB

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