Issueandreceipt_task_details.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770
  1. <template>
  2. <view class="warp">
  3. <view class="topInfo" v-if='retreatList.inOutType!="退库"'>
  4. <view class="topInfo-item">
  5. <view class="flex info">
  6. <view class="logo">
  7. <image src="../../../static/img/reject.png" mode=""
  8. v-if="OutList.taskStatus == '已驳回'||EnterList.taskStatus == '已驳回'" style="height: 40rpx;">
  9. </image><!-- 驳回 -->
  10. <image src="../../../static/img/tongguo.png" mode=""
  11. v-else-if="OutList.taskStatus == '已通过'||EnterList.taskStatus == '已通过'||OutList.taskStatus == '执行中'"
  12. style="height: 40rpx;"></image><!-- 通过 -->
  13. <image src="../../../static/img/daishenhe.png" mode=""
  14. v-else-if="OutList.taskStatus == '审核中'||OutList.taskStatus == '待审核'||EnterList.taskStatus == '待审核'"
  15. style="height: 40rpx;"></image><!-- 待审核 -->
  16. </view>
  17. <view class="infoText" v-if="OutList.taskStatus">{{OutList.approveStatus?OutList.approveStatus:OutList.taskStatus}}</view>
  18. <view class="infoText" v-else>{{EnterList.approveStatus?EnterList.approveStatus:EnterList.taskStatus}}</view>
  19. </view>
  20. <view class="infoData" v-if="OutList.updateDate">{{OutList.updateDate}}</view>
  21. <view class="infoData" v-else>{{EnterList.updateDate}}</view>
  22. </view>
  23. </view>
  24. <view class="content1">
  25. <u-form :model="OutList" ref="uForm">
  26. <u-form-item label="任务类型" prop="inOutType" label-width="140" class="uForm_item">
  27. <u-input v-model="OutList.inOutType" input-align="right" disabled v-if="OutList.inOutType" />
  28. <u-input v-model="EnterList.inOutType" input-align="right" disabled v-else />
  29. </u-form-item>
  30. <view v-if="retreatList.judge == 3 && retreatList">
  31. <!-- 退库 -->
  32. <view class="uForm_item">
  33. <view class="title part2">{{retreatList.inOutType}}</view>
  34. <view class='row'>
  35. <view class="left">编号</view>
  36. <text selectable="true" class="right">退库({{retreatList.inOutTaskNo}})</text>
  37. </view>
  38. <view class='row'>
  39. <view class="left">仓库</view>
  40. <view class="right">{{retreatList.warehouseName}}</view>
  41. </view>
  42. <view class='row'>
  43. <view class="left">出库类型</view>
  44. <view class="right">{{retreatList.inOutType}}</view>
  45. </view>
  46. <view class='row' v-if="retreatList.inOutType == '移库出库'">
  47. <view class="left" style="width: 180rpx;">移库任务编号</view>
  48. <text selectable="true" class="right">{{retreatList.moveTaskNo}}</text>
  49. </view>
  50. <view class='row' v-if="retreatList.inOutType != '移库出库'">
  51. <view class="left">合同编号</view>
  52. <text selectable="true" class="right">退库({{retreatList.contractNo}}}</text>
  53. </view>
  54. <view class='row'>
  55. <view class="left">货名</view>
  56. <view class="right">{{retreatList.goodsName}}</view>
  57. </view>
  58. <view class='row'>
  59. <view class="left">重量(吨)</view>
  60. <view class="right">{{retreatList.weight}}</view>
  61. </view>
  62. <view class='row'>
  63. <view class="left">预计出库日期</view>
  64. <view class="right">{{retreatList.predictDate}}</view>
  65. </view>
  66. <!-- <view class='row'>
  67. <view class="left">预估运费(元/吨)</view>
  68. <view class="right">{{retreatList.estimatedFreight}}</view>
  69. </view> -->
  70. <view class='row'>
  71. <view class="left">收货人</view>
  72. <view class="right">{{retreatList.agent}}</view>
  73. </view>
  74. </view>
  75. <view class="uForm_item">
  76. <u-form-item label="品级" prop="grade" label-width="150" disabled>
  77. <u-input v-model="retreatList.grade" input-align="right" placeholder="" @click='show=true'
  78. disabled />
  79. </u-picker>
  80. </u-form-item>
  81. <u-form-item label="容重(克/升)>=" prop="bulkDensity" label-width="190">
  82. <u-input v-model="retreatList.bulkDensity" input-align="right" placeholder="" disabled />
  83. </u-form-item>
  84. <u-form-item label="水分(%)<=" prop="waterContent" label-width="160">
  85. <u-input v-model="retreatList.waterContent" input-align="right" placeholder="" disabled />
  86. </u-form-item>
  87. <u-form-item label="单价(元/吨)" prop="unitPrice" label-width="160">
  88. <u-input v-model="retreatList.unitPrice" input-align="right" placeholder="" disabled />
  89. </u-form-item>
  90. </view>
  91. </view>
  92. <view v-if="OutList.judge == 1">
  93. <view class="uForm_item">
  94. <!-- 出库 -->
  95. <view class="title part2">{{OutList.inOutType}}</view>
  96. <view class='row'>
  97. <view class="left">编号</view>
  98. <text selectable="true" class="right">出库({{OutList.inOutTaskNo}})</text>
  99. </view>
  100. <view class='row'>
  101. <view class="left">仓库</view>
  102. <view class="right">{{OutList.warehouseName}}</view>
  103. </view>
  104. <view class='row'>
  105. <view class="left">出库类型</view>
  106. <view class="right">{{OutList.inOutType}}</view>
  107. </view>
  108. <view class='row' v-if="OutList.inOutType == '移库出库'">
  109. <view class="left" style="width: 180rpx;">移库任务编号</view>
  110. <text selectable="true" class="right">{{OutList.moveTaskNo}}</text>
  111. </view>
  112. <view class='row' v-if="OutList.inOutType != '移库出库'">
  113. <view class="left">合同编号</view>
  114. <text selectable="true" class="right">{{OutList.contractNo}}</text>
  115. </view>
  116. <view class='row'>
  117. <view class="left">货名</view>
  118. <view class="right">{{OutList.goodsName}}</view>
  119. </view>
  120. <view class='row'>
  121. <view class="left">重量(吨)</view>
  122. <view class="right">{{OutList.weight}}</view>
  123. </view>
  124. <view class='row'>
  125. <view class="left">预计出库日期</view>
  126. <view class="right">{{OutList.predictDate}}</view>
  127. </view>
  128. <!-- <view class='row'>
  129. <view class="left">预估运费(元/吨)</view>
  130. <view class="right">{{OutList.estimatedFreight}}</view>
  131. </view> -->
  132. <view class='row'>
  133. <view class="left">发货人</view>
  134. <view class="right">{{OutList.agent}}</view>
  135. </view>
  136. </view>
  137. <view class="uForm_item">
  138. <u-form-item label="品级" prop="grade" label-width="150" v-if="retreatList.inOutType != '退库'">
  139. <u-input v-model="OutList.grade" input-align="right" placeholder="" disabled />
  140. </u-form-item>
  141. <u-form-item label="容重(克/升)>=" prop="bulkDensity" label-width="190"
  142. v-if="retreatList.inOutType != '退库'">
  143. <u-input v-model="OutList.bulkDensity" input-align="right" placeholder="" disabled />
  144. </u-form-item>
  145. <u-form-item label="水分(%)<=" prop="waterContent" label-width="160"
  146. v-if="retreatList.inOutType != '退库'">
  147. <u-input v-model="OutList.waterContent" input-align="right" placeholder="" disabled />
  148. </u-form-item>
  149. <u-form-item label="单价(元/吨)" prop="unitPrice" label-width="160"
  150. v-if="retreatList.inOutType != '退库'">
  151. <u-input v-model="OutList.unitPrice" input-align="right" placeholder="" disabled />
  152. </u-form-item>
  153. <u-form-item label="业务描述" prop="businessDescribe" label-width="160" label-position="top"
  154. v-if="OutList.inOutType != '移库出库'">
  155. <u-input v-model="OutList.businessDescribe" input-align="left" placeholder="请输入业务描述"
  156. type="textarea" class="textarea" maxlength="150" disabled />
  157. </u-form-item>
  158. <u-form-item v-if="retreatList.inOutType!='退库'" label="仓位号(选填)" prop="binNumber"
  159. label-width="170">
  160. <u-input v-model="OutList.binNumber" input-align="right" placeholder="未指定" disabled />
  161. </u-form-item>
  162. </view>
  163. </view>
  164. <view v-if="EnterList.judge == 2 && EnterList">
  165. <view class="uForm_item">
  166. <!-- 入库 -->
  167. <view class="title part2">{{EnterList.inOutType}}</view>
  168. <view class='row'>
  169. <view class="left">编号</view>
  170. <text selectable="true" class="right">入库({{EnterList.inOutTaskNo}})</text>
  171. </view>
  172. <view class='row'>
  173. <view class="left">仓库</view>
  174. <view class="right">{{EnterList.warehouseName}}</view>
  175. </view>
  176. <view class='row'>
  177. <view class="left">入库类型</view>
  178. <view class="right">{{EnterList.inOutType}}</view>
  179. </view>
  180. <view class='row' v-if="EnterList.inOutType == '移库入库'">
  181. <view class="left" style="width: 180rpx;">移库任务编号</view>
  182. <text selectable="true" class="right">{{EnterList.moveTaskNo}}</text>
  183. </view>
  184. <view class='row' v-if="EnterList.inOutType != '移库入库'">
  185. <view class="left">合同编号</view>
  186. <text selectable="true" class="right">{{EnterList.contractNo}}</text>
  187. </view>
  188. <view class='row'>
  189. <view class="left">货名</view>
  190. <view class="right">{{EnterList.goodsName}}</view>
  191. </view>
  192. <view class='row'>
  193. <view class="left">重量(吨)</view>
  194. <view class="right">{{EnterList.weight}}</view>
  195. </view>
  196. <view class='row'>
  197. <view class="left">预计入库日期</view>
  198. <view class="right">{{EnterList.predictDate}}</view>
  199. </view>
  200. <!-- <view class='row'>
  201. <view class="left">预估运费(元/吨)</view>
  202. <view class="right">{{EnterList.estimatedFreight}}</view>
  203. </view> -->
  204. <view class='row'>
  205. <view class="left">收货人</view>
  206. <view class="right">{{EnterList.agent}}</view>
  207. </view>
  208. </view>
  209. <view class="uForm_item">
  210. <u-form-item label="品级" prop="grade" label-width="150" v-if="EnterList.inOutType != '移库入库' ">
  211. <u-input v-model="EnterList.grade" input-align="right" placeholder="请选择品级"
  212. @click='show=true' disabled />
  213. </u-picker>
  214. </u-form-item>
  215. <u-form-item label="容重(克/升)>=" prop="bulkDensity" label-width="190"
  216. v-if="EnterList.inOutType != '移库入库'">
  217. <u-input v-model="EnterList.bulkDensity" input-align="right" placeholder="请输入容重占比"
  218. disabled />
  219. </u-form-item>
  220. <u-form-item label="水分(%)<=" prop="waterContent" label-width="160"
  221. v-if="EnterList.inOutType != '移库入库'">
  222. <u-input v-model="EnterList.waterContent" input-align="right" placeholder="请输入水分占比"
  223. disabled />
  224. </u-form-item>
  225. <u-form-item label="单价(元/吨)" prop="unitPrice" label-width="160"
  226. v-if="EnterList.inOutType != '移库入库'">
  227. <u-input v-model="EnterList.unitPrice" input-align="right" placeholder="请输入单价" disabled />
  228. </u-form-item>
  229. <u-form-item label="业务描述" prop="businessDescribe" label-width="160" label-position="top">
  230. <u-input v-model="EnterList.businessDescribe" input-align="left" placeholder="请输入业务描述"
  231. type="textarea" class="textarea" maxlength="150" disabled />
  232. </u-form-item>
  233. <u-form-item v-if="OutList.inOutType!='退库'" label="仓位号(选填)" prop="binNumber" label-width="170">
  234. <u-input v-model="EnterList.binNumber" input-align="right" placeholder="未指定" disabled />
  235. </u-form-item>
  236. </view>
  237. </view>
  238. <view class="uForm_item" v-if="OutList.taskTypeKey == 3 && !EnterList.judge">
  239. <view class="deleteText">移库入库(已删除)</view>
  240. </view>
  241. <view class="content2">
  242. <view class="title row">
  243. 流程
  244. </view>
  245. <view v-for="(item,index) in auditList" :key='index' class="audit">
  246. <view class="row">
  247. <view class="left">
  248. <view class="item1">
  249. <view class="item-content">{{item.operatorTitle}}</view>
  250. <view v-if="item.status=='success'" class='status success'>
  251. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  252. </view>
  253. <view v-if="item.status=='error'" class='status error'>
  254. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  255. </view>
  256. <view v-if="item.status=='question'" class='status question'>
  257. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  258. </view>
  259. </view>
  260. </view>
  261. <view class="right">
  262. <view class="right-item">
  263. <view class="item2">
  264. <view class="name">{{item.desc}}
  265. </view>
  266. <!-- <view class='time'>{{item.updateDate}}</view> -->
  267. <view v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1&&index!=0'>已审核</text></view>
  268. <view v-if="item.status=='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text></view>
  269. <view v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
  270. <!-- <view class="status success">吕波(已审核)</view> -->
  271. </view>
  272. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0' class='time'>
  273. {{item.updateDate}}
  274. </view>
  275. </view>
  276. <view v-if='item.auditMind' class="right-content">
  277. {{item.auditMind}}
  278. </view>
  279. </view>
  280. <view v-if='item.commonStaffs1' class="right">
  281. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28"></u-icon>
  282. </view>
  283. </view>
  284. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  285. <view class='row2'>
  286. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  287. <view class="item-content">
  288. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  289. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  290. </view>
  291. <view class="name">{{item1.staffName}}</view>
  292. </view>
  293. </view>
  294. </view>
  295. <view class="row-line" v-if="index!= auditList.length - 1"></view>
  296. </view>
  297. </view>
  298. </u-form>
  299. </view>
  300. <view style='padding:10px;' class='flex bottom-btn'>
  301. <u-button @click='fanHui' type="success" class="btn1" hover-class='none'>返回</u-button>
  302. </view>
  303. </view>
  304. </template>
  305. <script>
  306. import {
  307. mapState
  308. } from 'vuex';
  309. export default {
  310. data() {
  311. return {
  312. id: "",
  313. OutList: {}, //出
  314. EnterList: {}, //入
  315. retreatList: {}, //退
  316. type: '移库',
  317. show: false,
  318. show1: false,
  319. border: false,
  320. auditList:[],
  321. list:{},
  322. rejectInfo: "", //驳回原因
  323. pjList: [{
  324. type: '一等品'
  325. },
  326. {
  327. type: '二等品'
  328. },
  329. {
  330. type: '三等品'
  331. },
  332. {
  333. type: '等外'
  334. }
  335. ],
  336. }
  337. },
  338. // onReady() {
  339. // this.$refs.uForm.setRules(this.rules);
  340. // },
  341. onLoad(options) {
  342. this.id = options.id
  343. this.getList()
  344. },
  345. computed: {
  346. ...mapState(['hasLogin', 'userInfo']),
  347. },
  348. methods: {
  349. showcontent(item){
  350. item.showflow=!item.showflow
  351. },
  352. getList() {
  353. uni.showLoading({
  354. title:'加载中',
  355. mask:true
  356. })
  357. this.$api.doRequest('get', '/inOutWarehouseTask/getTask', {
  358. id: this.id
  359. }).then(res => {
  360. if (res.data.code == 200) {
  361. this.$api.doRequest('get', '/inOutWarehouseTask/getInOutWarehouseTask', {
  362. relevanceId: res.data.data.relevanceId
  363. }).then(res => {
  364. if (res.data.code == 200) {
  365. for (let i = 0; i < res.data.data.length; i++) {
  366. if (res.data.data[i].inOutType == "移库出库" || res.data.data[i]
  367. .inOutType == "贸易服务出库" || res.data.data[i].inOutType == "销售出库" ||
  368. res.data.data[i].inOutType == "暂存出库") {
  369. this.OutList = res.data.data[i]
  370. this.OutList.judge = 1
  371. } else if (res.data.data[i].inOutType == "移库入库" || res.data.data[i]
  372. .inOutType == "暂存入库" || res
  373. .data.data[i].inOutType == "采购入库" || res.data.data[i].inOutType ==
  374. "贸易服务入库"|| res.data.data[i].inOutType ==
  375. "收购入库") {
  376. this.EnterList = res.data.data[i]
  377. this.EnterList.judge = 2
  378. } else if (res.data.data[i].inOutType == "退库") {
  379. this.retreatList = res.data.data[i]
  380. this.retreatList.judge = 3
  381. }
  382. }
  383. }
  384. //审核流程
  385. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  386. businessCode: 'INOUTTASK-TASK-APPROVE',
  387. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  388. }).then(res1 => {
  389. this.$api.doRequest('get', '/commonUser/getHis', {
  390. workflowId: res1.data.data[0].id,
  391. businessKey: this.id
  392. }).then(response => {
  393. uni.hideLoading()
  394. for (let i = 0; i < response.data.data.length; i++) {
  395. this.$set(response.data.data[i],'status','question')
  396. console.log(response.data.data[i].workflowHistoricTasks,i)
  397. if(response.data.data[i].commonStaffs){
  398. response.data.data[i].showflow=false
  399. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  400. response.data.data[i].operatorName=response.data.data[i].desc
  401. response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
  402. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  403. if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
  404. // response.data.data[i].status='question'
  405. this.$set(response.data.data[i],'status','question')
  406. }else{
  407. this.$set(response.data.data[i],'status','success')
  408. // response.data.data[i].status='success'
  409. }
  410. response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
  411. var workflowdata=response.data.data[i].workflowHistoricTasks
  412. var staffsdata=response.data.data[i].commonStaffs
  413. for (let q = 0; q < staffsdata.length; q++) {
  414. staffsdata[q].status=false
  415. staffsdata[q].staffTitle=staffsdata[q].staffName
  416. for (let k = 0; k < workflowdata.length; k++) {
  417. if(staffsdata[q].staffId==workflowdata[k].operatorId){
  418. staffsdata[q].status=true
  419. }
  420. }
  421. }
  422. }
  423. response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
  424. }else{
  425. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  426. var len =response.data.data[i].workflowHistoricTasks.length-1
  427. if(response.data.data[i].workflowHistoricTasks[len].approved){
  428. this.$set(response.data.data[i],'status','success')
  429. }else{
  430. this.$set(response.data.data[i],'status','error')
  431. }
  432. response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[len].operatorName.substring(response.data.data[i].workflowHistoricTasks[0].operatorName.length - 2)
  433. response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[len].operatorName
  434. var time=new Date(response.data.data[i].workflowHistoricTasks[len].claimTime).getTime()
  435. response.data.data[i].updateDate=this.$u.timeFormat(time, 'mm.dd hh:MM')
  436. response.data.data[i].auditMind=response.data.data[i].workflowHistoricTasks[len].auditMind
  437. }else{
  438. this.$set(response.data.data[i],'status','question')
  439. // response.data.data[i].status='question'
  440. if(response.data.data[i].desc=='总经理助理审核'){
  441. response.data.data[i].operatorTitle='总助'
  442. }else if(response.data.data[i].desc=='杜大光审核'){
  443. response.data.data[i].operatorTitle='大光'
  444. }else{
  445. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  446. }
  447. response.data.data[i].operatorName=response.data.data[i].desc
  448. var time1=new Date(response.data.data[i].updateDate).getTime()
  449. response.data.data[i].updateDate=this.$u.timeFormat(time1, 'mm.dd hh:MM')
  450. response.data.data[i].auditMind=''
  451. }
  452. }
  453. }
  454. console.log(response.data.data)
  455. this.auditList = response.data.data
  456. var time2=new Date(this.list.createDate).getTime()
  457. var time3=this.$u.timeFormat(time2, 'mm.dd hh:MM')
  458. this.auditList.unshift({
  459. operatorTitle:this.list.creater.substring(0,2),
  460. operatorName:this.list.creater,
  461. updateDate:time3,
  462. auditMind:'',
  463. desc:'发起申请',
  464. showflow:false,
  465. commonStaffs1:null,
  466. commonStaffs:null,
  467. workflowHistoricTasks:[],
  468. status:'success'
  469. })
  470. })
  471. })
  472. })
  473. }
  474. })
  475. },
  476. // pjPicker(e) {
  477. // this.OutList.grade = this.pjList[e[0]].type
  478. // this.OutList.gradeKey = e[0] + 1
  479. // },
  480. // pjPicker1(e) {
  481. // this.EnterList.grade = this.pjList[e[0]].type
  482. // this.EnterList.gradeKey = e[0] + 1
  483. // },
  484. fanHui() {
  485. uni.navigateBack()
  486. }
  487. }
  488. }
  489. </script>
  490. <style scoped lang="scss">
  491. .content1 {
  492. margin: 10rpx;
  493. padding-bottom: 120rpx;
  494. .title {
  495. height: 70rpx;
  496. line-height: 60rpx;
  497. font-size: 32rpx;
  498. font-weight: 600;
  499. color: #333333;
  500. border-bottom: 2rpx solid #EEEEEE;
  501. }
  502. }
  503. .uForm {
  504. padding: 0 40rpx;
  505. }
  506. .u-form-item {
  507. padding: 0;
  508. }
  509. .bottom-btn {
  510. width: 100%;
  511. position: fixed;
  512. bottom: 0;
  513. display: flex;
  514. z-index: 2;
  515. left: 0;
  516. background-color: #f8f8f8;
  517. flex-direction: column;
  518. .btn1,
  519. .btn2 {
  520. width: 100%;
  521. margin-bottom: 26rpx;
  522. border-radius: 90rpx;
  523. }
  524. .btn1 {
  525. background: white;
  526. color: #00C265;
  527. }
  528. }
  529. .submit {
  530. width: 50%;
  531. background: #22C572;
  532. border-radius: 10rpx;
  533. }
  534. .part2 {
  535. margin-top: 20rpx;
  536. }
  537. .textarea {
  538. border: 1px solid #ccc;
  539. border-radius: 10rpx;
  540. background-color: #F9F9FA;
  541. height: 100px;
  542. }
  543. .row {
  544. display: flex;
  545. justify-content: space-between;
  546. // border-bottom: 1px solid #EEEEEE;
  547. padding: 21rpx 0;
  548. .right,
  549. input {
  550. font-size: 28rpx;
  551. color: #333333;
  552. }
  553. }
  554. //弹出框
  555. // .popup {
  556. // padding: 30rpx;
  557. // border-radius: 20rpx;
  558. // }
  559. .rejectInfoCss {
  560. border: 1px solid #ccc;
  561. border-radius: 10rpx;
  562. background-color: #F9F9FA;
  563. height: 100px;
  564. margin: 30rpx;
  565. }
  566. .uForm_item {
  567. padding: 20rpx;
  568. background-color: #FFFFFF;
  569. margin: 20rpx;
  570. border-radius: 20rpx;
  571. }
  572. .rejectText {
  573. text-align: center;
  574. }
  575. .topInfo {
  576. height: 210rpx;
  577. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  578. padding: 30rpx;
  579. .topInfo-item {
  580. height: 150rpx;
  581. background-color: #FFFFFF;
  582. border-radius: 20rpx;
  583. padding: 40rpx;
  584. .logo {
  585. width: 40rpx;
  586. height: 40rpx;
  587. margin-top: 8rpx;
  588. }
  589. .infoText {
  590. font-size: 36rpx;
  591. font-weight: 600;
  592. margin-left: 20rpx;
  593. }
  594. .infoData {
  595. color: #878C9C;
  596. font-size: 26rpx;
  597. margin-top: 10rpx;
  598. }
  599. }
  600. }
  601. .deleteText {
  602. text-align: center;
  603. color: #AFB3BF;
  604. }
  605. .content2 {
  606. background: white;
  607. margin: 20rpx 0;
  608. border-radius: 20rpx;
  609. padding: 20rpx;
  610. .row {
  611. display: flex;
  612. .left {
  613. display: flex;
  614. align-items: center;
  615. .item1 {
  616. position: relative;
  617. .item-content {
  618. background: #617AE0;
  619. width: 44px;
  620. height: 44px;
  621. border-radius: 22px;
  622. line-height: 44px;
  623. text-align: center;
  624. font-size: 15px;
  625. color: #fff;
  626. }
  627. .status {
  628. position: absolute;
  629. border-radius: 50%;
  630. padding: 0px 2px;
  631. right: -3px;
  632. bottom: -3px;
  633. background: #fff;
  634. }
  635. .status.success {
  636. border: 1px solid rgb(60, 156, 255);
  637. }
  638. .status.error {
  639. border: 1px solid rgb(245, 108, 108);
  640. }
  641. .status.question {
  642. border: 1px solid #f9ae3d;
  643. }
  644. }
  645. }
  646. .right {
  647. width: 80%;
  648. // color: #B0B1B5;
  649. margin-top: 10px;
  650. .right-content {
  651. background: #F2F3F7;
  652. margin-left: 10px;
  653. margin-top: 10px;
  654. padding: 10px;
  655. border-radius: 5px;
  656. color: #B0B1B5;
  657. }
  658. .right-item {
  659. display: flex;
  660. justify-content: space-between;
  661. .time {
  662. color: #999;
  663. }
  664. .item2 {
  665. margin-left: 20rpx;
  666. margin-top: -7px;
  667. .name {
  668. font-size: 28rpx;
  669. font-weight: 800;
  670. margin-bottom: 4px;
  671. }
  672. .status.success {
  673. color: #6CC48C;
  674. }
  675. .status.error {
  676. color: rgb(245, 108, 108);
  677. }
  678. .status.question {
  679. color: #f9ae3d;
  680. }
  681. }
  682. }
  683. }
  684. }
  685. .row2 {
  686. display: flex;
  687. .item-content {
  688. background: #22C572;
  689. width: 30px;
  690. height: 30px;
  691. border-radius: 50%;
  692. line-height: 30px;
  693. text-align: center;
  694. font-size: 12px;
  695. color: #fff;
  696. padding: 0 2px;
  697. margin: 0 auto;
  698. }
  699. .status {
  700. position: absolute;
  701. top: 0;
  702. right: 0;
  703. }
  704. }
  705. .row-line {
  706. width: 1px;
  707. height: 30px;
  708. background: #F2F2F2;
  709. margin: 10rpx 50rpx;
  710. }
  711. .audit {
  712. margin-top: 20rpx;
  713. }
  714. }
  715. </style>