sales_shift.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899
  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 class='taskNo' :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 v-if='list.tranCarInfoList' style='margin-left:20rpx;font-weight:600;'>车辆信息</view>
  51. <view v-for='(item,index) in list.tranCarInfoList'>
  52. <view style='justify-content: space-between;margin:10rpx 20rpx;align-items: center;' 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='align-items: center;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='!editstatus?"":"border-bottom:1px solid #ccc;"' style='width:200rpx;margin:0 4rpx;padding-right:10rpx;' v-model="item.tranPrice" input-align="right" placeholder="" :disabled='!editstatus' />
  62. <text>{{item.billingMethod==1?'元/吨':'元/车'}}</text> <u-icon @click='downchange(index)' name="arrow-down-fill" color="#000" size="28"></u-icon>
  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. <u-popup mode='center' :border-radius='10' :closeable='true' :width='"400"' :height='"200"' v-model="show1">
  161. <view style='margin:50rpx 0 0 20rpx;'>
  162. <u-radio-group @change='radiochange' v-model="value">
  163. <u-radio name='1' shape="circle">元/吨</u-radio>
  164. <u-radio name='2' shape="circle">元/车</u-radio>
  165. </u-radio-group>
  166. </view>
  167. </u-popup>
  168. <view v-if='list.taskId' style='padding:10px;z-index: 12;' class='flex bottom-btn'>
  169. <u-button v-if='list.approveStatus||isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>
  170. 驳回
  171. </u-button>
  172. <u-button v-if='list.approveStatus||isSHowBtn' @click='pass' type="success" class="btn2">通过
  173. </u-button>
  174. </view>
  175. </view>
  176. </template>
  177. <script>
  178. import * as config from '../../../config'
  179. import helper from '@/common/helper.js';
  180. import {
  181. mapState
  182. } from 'vuex';
  183. export default {
  184. data() {
  185. return {
  186. isSHowBtn: true,
  187. everyCheck: '',
  188. list: {
  189. status: "",
  190. },
  191. id: "",
  192. pcUserInfo :uni.getStorageSync('pcUserInfo'),
  193. action1: config.def().baseUrlNew+ 'appendix/api/uploadFiles',
  194. show: false,
  195. editstatus:false,
  196. rejectInfo: "", //审核意见
  197. title: '',
  198. value:'1',
  199. show1:false,
  200. index:0,
  201. auditMind: '',
  202. auditList:[],
  203. fileUrl:[],
  204. maxSize: 50 * 1024 * 1024,
  205. content: '是否通过该设置?'
  206. }
  207. },
  208. onBackPress(e) {
  209. if (this.everyCheck) {
  210. uni.navigateTo({
  211. url: "/pages/task/my_task"
  212. })
  213. return true;
  214. }
  215. },
  216. onLoad(options) {
  217. this.id = options.id
  218. this.everyCheck = uni.getStorageSync("everyTask")
  219. this.isSHowBtn = options.isShowbtn
  220. this.getList()
  221. },
  222. computed: {
  223. ...mapState(['hasLogin', 'userInfo']),
  224. },
  225. methods: {
  226. downchange(index){
  227. if(this.editstatus){
  228. this.index=index
  229. this.value=this.list.tranCarInfoList[this.index].billingMethod
  230. this.show1=true
  231. }
  232. },
  233. radiochange(e){
  234. this.list.tranCarInfoList[this.index].billingMethod=e
  235. console.log(e)
  236. },
  237. getImgUrl(res) {
  238. this.fileUrl.push(res.data.appendixPath)
  239. },
  240. onError(error) {
  241. alert(error)
  242. console.log('------------error-----------')
  243. console.log(error)
  244. },
  245. onProgress(e) {
  246. console.log(e)
  247. },
  248. onRemove(index) {
  249. console.log(index)
  250. this.fileUrl.splice(index, 1)
  251. },
  252. close() {
  253. this.show = false
  254. },
  255. //驳回
  256. rejectSubmit() {
  257. var that = this
  258. var info = that.auditMind
  259. if (that.fileUrl.length > 0) {
  260. info = that.auditMind + "##" + that.fileUrl.toString()
  261. }
  262. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  263. taskId: that.list.taskId,
  264. approved: false,
  265. auditMind: info?info:"",
  266. needReapply: true,
  267. }).then(res => {
  268. that.$api.msg('驳回成功')
  269. that.show = false
  270. setTimeout(function() {
  271. if (that.everyCheck) {
  272. helper.setAudit(that.list)
  273. } else {
  274. uni.navigateBack()
  275. }
  276. uni.hideLoading()
  277. }, 1000);
  278. })
  279. },
  280. //通过
  281. async passSubmit() {
  282. var that = this
  283. uni.showLoading({
  284. title: '加载中',
  285. mask: true
  286. });
  287. if(this.editstatus){
  288. await that.$api.doRequest('post', '/salesTransferInfo/api/editInfo', {
  289. id:this.list.id,
  290. tranCarInfoList:this.list.tranCarInfoList
  291. }).then(res => {})
  292. }
  293. if (this.title == '驳回原因(驳回)') {
  294. this.rejectSubmit()
  295. } else {
  296. var info = that.auditMind
  297. if (that.fileUrl.length > 0) {
  298. info = that.auditMind + "##" + that.fileUrl.toString()
  299. }
  300. await that.$api.doRequest('post', '/newWorkflow/api/handle', {
  301. taskId: that.list.taskId,
  302. approved: true,
  303. auditMind: info?info:"",
  304. needReapply: true,
  305. }).then(res => {
  306. that.$api.msg('通过成功')
  307. that.show = false
  308. setTimeout(function() {
  309. if (that.everyCheck) {
  310. helper.setAudit(that.list)
  311. } else {
  312. uni.navigateBack()
  313. }
  314. uni.hideLoading()
  315. }, 1000);
  316. })
  317. }
  318. },
  319. pass() {
  320. if(this.list.tranCarInfoList){
  321. for (var i = 0; i < this.list.tranCarInfoList.length; i++) {
  322. if(!this.list.tranCarInfoList[i].tranPrice){
  323. this.$api.msg('运费不能为空')
  324. return
  325. }
  326. if(this.list.tranCarInfoList[i].tranPrice<0){
  327. this.$api.msg('运费输入错误')
  328. return
  329. }
  330. if(this.list.tranCarInfoList[i].tranPrice.indexOf('.')!=-1&&this.list.tranCarInfoList[i].tranPrice.split('.')[1].length>2){
  331. this.$api.msg('运费输入错误')
  332. return
  333. }
  334. }
  335. }
  336. this.show = true
  337. this.title = '审核意见(通过)'
  338. },
  339. reject() {
  340. if(this.list.tranCarInfoList){
  341. for (var i = 0; i < this.list.tranCarInfoList.length; i++) {
  342. if(!this.list.tranCarInfoList[i].tranPrice){
  343. this.$api.msg('运费不能为空')
  344. return
  345. }
  346. if(this.list.tranCarInfoList[i].tranPrice<0){
  347. this.$api.msg('运费输入错误')
  348. return
  349. }
  350. if(this.list.tranCarInfoList[i].tranPrice.indexOf('.')!=-1&&this.list.tranCarInfoList[i].tranPrice.split('.')[1].length>2){
  351. this.$api.msg('运费输入错误')
  352. return
  353. }
  354. }
  355. }
  356. this.show = true
  357. this.title = '驳回原因(驳回)'
  358. },
  359. getList() {
  360. var that = this
  361. this.$api.doRequest('get', '/salesTransferInfo/getInfo', {
  362. id: this.id
  363. }).then(res => {
  364. res.data.data.taskNoList=res.data.data.taskNo.split(',')
  365. this.list = res.data.data
  366. // 查流程
  367. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  368. businessCode: 'WAREHOUSING-XSZY-APPROVE',
  369. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  370. }).then(res1 => {
  371. this.$api.doRequest('get', '/commonUser/getHis', {
  372. workflowId: res1.data.data[0].id,
  373. businessKey: this.id,
  374. // branch:'zt'
  375. }).then(response => {
  376. uni.hideLoading()
  377. if(response.data.data[0].workflowHistoricTasks.length>0){
  378. this.editstatus=false
  379. }else{
  380. this.editstatus=true
  381. }
  382. for (let i = 0; i < response.data.data.length; i++) {
  383. this.$set(response.data.data[i], 'status', 'question')
  384. console.log(response.data.data[i].workflowHistoricTasks, i)
  385. if (response.data.data[i].commonStaffs) {
  386. response.data.data[i].showflow = false
  387. response.data.data[i].operatorTitle = response.data.data[i]
  388. .desc.substring(0, 2)
  389. response.data.data[i].operatorName = response.data.data[i]
  390. .desc
  391. response.data.data[i].staffscontent = '共' + response.data
  392. .data[i].commonStaffs.length + '人,当前审核' + response.data
  393. .data[i].workflowHistoricTasks.length + '人'
  394. if (response.data.data[i].workflowHistoricTasks && response
  395. .data.data[i].workflowHistoricTasks.length > 0) {
  396. if (response.data.data[i].workflowHistoricTasks
  397. .length != response.data.data[i].commonStaffs
  398. .length) {
  399. // response.data.data[i].status='question'
  400. this.$set(response.data.data[i], 'status',
  401. 'question')
  402. } else {
  403. this.$set(response.data.data[i], 'status',
  404. 'success')
  405. // response.data.data[i].status='success'
  406. }
  407. response.data.data[i].workflowlen = response.data.data[
  408. i].workflowHistoricTasks.length
  409. var workflowdata = response.data.data[i]
  410. .workflowHistoricTasks
  411. var staffsdata = response.data.data[i].commonStaffs
  412. for (let q = 0; q < staffsdata.length; q++) {
  413. staffsdata[q].status = false
  414. staffsdata[q].staffTitle = staffsdata[q].staffName
  415. for (let k = 0; k < workflowdata.length; k++) {
  416. if (staffsdata[q].staffId == workflowdata[k]
  417. .operatorId) {
  418. staffsdata[q].status = true
  419. }
  420. }
  421. }
  422. }
  423. response.data.data[i].commonStaffs1 = response.data.data[i]
  424. .commonStaffs
  425. } else {
  426. if (response.data.data[i].workflowHistoricTasks && response
  427. .data.data[i].workflowHistoricTasks.length > 0) {
  428. var len = response.data.data[i].workflowHistoricTasks
  429. .length - 1
  430. if (response.data.data[i].workflowHistoricTasks[len]
  431. .approved) {
  432. this.$set(response.data.data[i], 'status',
  433. 'success')
  434. } else {
  435. this.$set(response.data.data[i], 'status', 'error')
  436. }
  437. response.data.data[i].operatorTitle = response.data
  438. .data[i].workflowHistoricTasks[len].operatorName
  439. .substring(response.data.data[i]
  440. .workflowHistoricTasks[0].operatorName.length -
  441. 2)
  442. response.data.data[i].operatorName = response.data
  443. .data[i].workflowHistoricTasks[len].operatorName
  444. var time = new Date(response.data.data[i]
  445. .workflowHistoricTasks[len].claimTime)
  446. .getTime()
  447. response.data.data[i].updateDate = this.$u.timeFormat(
  448. time, 'mm.dd hh:MM')
  449. response.data.data[i].auditMind = response.data.data[i]
  450. .workflowHistoricTasks[len].auditMind
  451. } else {
  452. this.$set(response.data.data[i], 'status', 'question')
  453. // response.data.data[i].status='question'
  454. if (response.data.data[i].desc == '总经理助理审核') {
  455. response.data.data[i].operatorTitle = '总助'
  456. } else if (response.data.data[i].desc == '杜大光审核') {
  457. response.data.data[i].operatorTitle = '大光'
  458. } else {
  459. response.data.data[i].operatorTitle = response.data
  460. .data[i].desc.substring(0, 2)
  461. }
  462. response.data.data[i].operatorName = response.data
  463. .data[i].desc
  464. var time1 = new Date(response.data.data[i].updateDate)
  465. .getTime()
  466. response.data.data[i].updateDate = this.$u.timeFormat(
  467. time1, 'mm.dd hh:MM')
  468. response.data.data[i].auditMind = ''
  469. }
  470. }
  471. }
  472. console.log(response.data.data)
  473. for(let i = 0 ;i<response.data.data.length;i++){
  474. if(response.data.data[i].status == "error"){
  475. this.auditCheck = "error"
  476. break;
  477. }else if(response.data.data[i].status == "question"){
  478. this.auditCheck = "question"
  479. break;
  480. }else{
  481. this.auditCheck = "success"
  482. }
  483. }
  484. this.auditList = response.data.data
  485. var time2 = new Date(this.list.createDate).getTime()
  486. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  487. this.auditList.unshift({
  488. operatorTitle: this.list.creater.substring(0, 2),
  489. operatorName: this.list.creater,
  490. updateDate: time3,
  491. auditMind: '',
  492. desc: '发起申请',
  493. showflow: false,
  494. commonStaffs1: null,
  495. commonStaffs: null,
  496. workflowHistoricTasks: [],
  497. status: 'success'
  498. })
  499. })
  500. })
  501. for (var i = 0; i < this.list.tranCarInfoList.length; i++) {
  502. if(!this.list.tranCarInfoList[i].billingMethod){
  503. this.list.tranCarInfoList[i].billingMethod=1
  504. }
  505. if(this.editstatus){
  506. this.list.tranCarInfoList[i].tranPrice=this.list.tranCarInfoList[i].tranPriceOld
  507. }else{
  508. this.list.tranCarInfoList[i].tranPrice= Number(this.list.tranCarInfoList[i].tranPrice).toFixed(2)
  509. }
  510. }
  511. })
  512. },
  513. }
  514. }
  515. </script>
  516. <style scoped lang="scss">
  517. .transaction {
  518. background-color: #FFFFFF;
  519. margin: 10rpx;
  520. padding-bottom: 10rpx;
  521. border-radius: 20rpx;
  522. }
  523. .uForm {
  524. padding: 0 40rpx;
  525. }
  526. .u-form-item {
  527. padding: 0;
  528. }
  529. .bottom-btn {
  530. width: 100%;
  531. position: fixed;
  532. bottom: 0rpx;
  533. display: flex;
  534. z-index: 2;
  535. background:#fff;
  536. }
  537. .topInfo {
  538. height: 210rpx;
  539. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  540. padding: 30rpx;
  541. .topInfo-item {
  542. height: 150rpx;
  543. background-color: #FFFFFF;
  544. border-radius: 20rpx;
  545. padding: 40rpx;
  546. .logo {
  547. width: 40rpx;
  548. height: 40rpx;
  549. margin-top: 8rpx;
  550. }
  551. .infoText {
  552. font-size: 36rpx;
  553. font-weight: 600;
  554. margin-left: 20rpx;
  555. }
  556. .infoData {
  557. color: #878C9C;
  558. font-size: 26rpx;
  559. margin-top: 10rpx;
  560. }
  561. }
  562. }
  563. .submit {
  564. width: 98%;
  565. background: #22C572;
  566. border-radius: 40rpx;
  567. margin-top: 40rpx;
  568. }
  569. .rejectInfoCss {
  570. border: 1px solid #ccc;
  571. border-radius: 10rpx;
  572. background-color: #F9F9FA;
  573. // height: 100px;
  574. overflow-y: auto;
  575. margin: 30rpx;
  576. }
  577. .rejectText {
  578. text-align: center;
  579. }
  580. /deep/.u-input__textarea {
  581. height: 300rpx !important;
  582. }
  583. .text_info {
  584. display: flex;
  585. width: 100%;
  586. justify-content: flex-end;
  587. }
  588. .u-form {
  589. margin-bottom: 20rpx;
  590. background: #fff;
  591. border-radius: 10px;
  592. padding: 30rpx 10px;
  593. .u-form-item {
  594. line-height: 30px;
  595. padding: 0px 0;
  596. font-size: 26rpx;
  597. color: #878C9C;
  598. }
  599. }
  600. .content2 {
  601. background: white;
  602. margin: 20rpx 0;
  603. border-radius: 20rpx;
  604. padding: 20rpx;
  605. .row {
  606. display: flex;
  607. .row-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. .row-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. .warp{
  711. padding-bottom:252rpx;
  712. }
  713. .shade {
  714. position: fixed;
  715. top: 0;
  716. left: 0;
  717. height: 100%;
  718. width: 100%;
  719. background: rgba(0, 0, 0, 0.4);
  720. z-index: 13;
  721. .wrap {
  722. position: absolute;
  723. left: 0;
  724. top: 0;
  725. right: 0;
  726. bottom: 0;
  727. margin: auto;
  728. background: #fff;
  729. width: calc(100% - 198rpx);
  730. height: 948rpx;
  731. border-radius: 20rpx;
  732. // overflow-y: scroll;
  733. .alert-top {
  734. padding: 33rpx;
  735. display: flex;
  736. justify-content: center;
  737. align-items: center;
  738. position: relative;
  739. }
  740. .title {
  741. font-size: 32rpx;
  742. font-weight: 600;
  743. color: #333333;
  744. }
  745. .close {
  746. position: absolute;
  747. right: 33rpx;
  748. }
  749. }
  750. }
  751. .cancel,
  752. .confirm {
  753. position: absolute;
  754. display: inline-block;
  755. width: 50%;
  756. text-align: center;
  757. bottom: 0;
  758. padding: 10px;
  759. border-top: 1px solid #eee;
  760. font-size: 34rpx;
  761. z-index:10;
  762. background:#fff;
  763. }
  764. .cancel {
  765. left: 0;
  766. border-right: 1px solid #eee;
  767. color: #AFB3BF;
  768. }
  769. .confirm {
  770. right: 0;
  771. color: #22C572;
  772. }
  773. .textarea {
  774. margin: 18rpx auto;
  775. width: 100%;
  776. background: #F9F9FA;
  777. border-radius: 10px;
  778. border: 1px solid #EEEEEE;
  779. font-size: 28rpx;
  780. padding: 10px;
  781. }
  782. .textCss {
  783. display: flex;
  784. justify-content: flex-end;
  785. width: 100%;
  786. text-align: right;
  787. color: #333333;
  788. }
  789. .u-textarea-style {
  790. margin: 20rpx;
  791. background: #F9F9FA;
  792. border-radius: 10px;
  793. border: 1px solid #EEEEEE;
  794. padding: 10rpx 20rpx;
  795. position: relative;
  796. height: 240px;
  797. /deep/.uni-textarea-textarea {
  798. width: 80%;
  799. }
  800. .right-bottom {
  801. position: absolute;
  802. right: 20rpx;
  803. bottom: 20rpx;
  804. color: #AFB3BF;
  805. }
  806. }
  807. /deep/.u-input__textarea {
  808. height: 300rpx !important;
  809. }
  810. /deep/.taskNo .u-form-item--right__content__slot {
  811. flex-direction: column;
  812. }
  813. .bottom-btn {
  814. width: 100%;
  815. position: fixed;
  816. bottom: 0;
  817. display: flex;
  818. z-index: 2;
  819. left: 0;
  820. background-color: #f8f8f8;
  821. flex-direction: column;
  822. .btn1,
  823. .btn2 {
  824. width: 100%;
  825. margin-bottom: 26rpx;
  826. border-radius: 90rpx;
  827. }
  828. .btn1 {
  829. background: white;
  830. color: #00C265;
  831. }
  832. }
  833. </style>