Issueandreceipt_task_details.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  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. // pjPicker(e) {
  476. // this.OutList.grade = this.pjList[e[0]].type
  477. // this.OutList.gradeKey = e[0] + 1
  478. // },
  479. // pjPicker1(e) {
  480. // this.EnterList.grade = this.pjList[e[0]].type
  481. // this.EnterList.gradeKey = e[0] + 1
  482. // },
  483. fanHui() {
  484. uni.navigateBack()
  485. }
  486. }
  487. }
  488. </script>
  489. <style scoped lang="scss">
  490. .content1 {
  491. margin: 10rpx;
  492. padding-bottom: 120rpx;
  493. .title {
  494. height: 70rpx;
  495. line-height: 60rpx;
  496. font-size: 32rpx;
  497. font-weight: 600;
  498. color: #333333;
  499. border-bottom: 2rpx solid #EEEEEE;
  500. }
  501. }
  502. .uForm {
  503. padding: 0 40rpx;
  504. }
  505. .u-form-item {
  506. padding: 0;
  507. }
  508. .bottom-btn {
  509. width: 100%;
  510. position: fixed;
  511. bottom: 0;
  512. display: flex;
  513. z-index: 2;
  514. left: 0;
  515. background-color: #f8f8f8;
  516. flex-direction: column;
  517. .btn1,
  518. .btn2 {
  519. width: 100%;
  520. margin-bottom: 26rpx;
  521. border-radius: 90rpx;
  522. }
  523. .btn1 {
  524. background: white;
  525. color: #00C265;
  526. }
  527. }
  528. .submit {
  529. width: 50%;
  530. background: #22C572;
  531. border-radius: 10rpx;
  532. }
  533. .part2 {
  534. margin-top: 20rpx;
  535. }
  536. .textarea {
  537. border: 1px solid #ccc;
  538. border-radius: 10rpx;
  539. background-color: #F9F9FA;
  540. height: 100px;
  541. }
  542. .row {
  543. display: flex;
  544. justify-content: space-between;
  545. // border-bottom: 1px solid #EEEEEE;
  546. padding: 21rpx 0;
  547. .right,
  548. input {
  549. font-size: 28rpx;
  550. color: #333333;
  551. }
  552. }
  553. //弹出框
  554. // .popup {
  555. // padding: 30rpx;
  556. // border-radius: 20rpx;
  557. // }
  558. .rejectInfoCss {
  559. border: 1px solid #ccc;
  560. border-radius: 10rpx;
  561. background-color: #F9F9FA;
  562. height: 100px;
  563. margin: 30rpx;
  564. }
  565. .uForm_item {
  566. padding: 20rpx;
  567. background-color: #FFFFFF;
  568. margin: 20rpx;
  569. border-radius: 20rpx;
  570. }
  571. .rejectText {
  572. text-align: center;
  573. }
  574. .topInfo {
  575. height: 210rpx;
  576. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  577. padding: 30rpx;
  578. .topInfo-item {
  579. height: 150rpx;
  580. background-color: #FFFFFF;
  581. border-radius: 20rpx;
  582. padding: 40rpx;
  583. .logo {
  584. width: 40rpx;
  585. height: 40rpx;
  586. margin-top: 8rpx;
  587. }
  588. .infoText {
  589. font-size: 36rpx;
  590. font-weight: 600;
  591. margin-left: 20rpx;
  592. }
  593. .infoData {
  594. color: #878C9C;
  595. font-size: 26rpx;
  596. margin-top: 10rpx;
  597. }
  598. }
  599. }
  600. .deleteText {
  601. text-align: center;
  602. color: #AFB3BF;
  603. }
  604. .content2 {
  605. background: white;
  606. margin: 20rpx 0;
  607. border-radius: 20rpx;
  608. padding: 20rpx;
  609. .row {
  610. display: flex;
  611. .left {
  612. display: flex;
  613. align-items: center;
  614. .item1 {
  615. position: relative;
  616. .item-content {
  617. background: #617AE0;
  618. width: 44px;
  619. height: 44px;
  620. border-radius: 22px;
  621. line-height: 44px;
  622. text-align: center;
  623. font-size: 15px;
  624. color: #fff;
  625. }
  626. .status {
  627. position: absolute;
  628. border-radius: 50%;
  629. padding: 0px 2px;
  630. right: -3px;
  631. bottom: -3px;
  632. background: #fff;
  633. }
  634. .status.success {
  635. border: 1px solid rgb(60, 156, 255);
  636. }
  637. .status.error {
  638. border: 1px solid rgb(245, 108, 108);
  639. }
  640. .status.question {
  641. border: 1px solid #f9ae3d;
  642. }
  643. }
  644. }
  645. .right {
  646. width: 80%;
  647. // color: #B0B1B5;
  648. margin-top: 10px;
  649. .right-content {
  650. background: #F2F3F7;
  651. margin-left: 10px;
  652. margin-top: 10px;
  653. padding: 10px;
  654. border-radius: 5px;
  655. color: #B0B1B5;
  656. }
  657. .right-item {
  658. display: flex;
  659. justify-content: space-between;
  660. .time {
  661. color: #999;
  662. }
  663. .item2 {
  664. margin-left: 20rpx;
  665. margin-top: -7px;
  666. .name {
  667. font-size: 28rpx;
  668. font-weight: 800;
  669. margin-bottom: 4px;
  670. }
  671. .status.success {
  672. color: #6CC48C;
  673. }
  674. .status.error {
  675. color: rgb(245, 108, 108);
  676. }
  677. .status.question {
  678. color: #f9ae3d;
  679. }
  680. }
  681. }
  682. }
  683. }
  684. .row2 {
  685. display: flex;
  686. .item-content {
  687. background: #22C572;
  688. width: 30px;
  689. height: 30px;
  690. border-radius: 50%;
  691. line-height: 30px;
  692. text-align: center;
  693. font-size: 12px;
  694. color: #fff;
  695. padding: 0 2px;
  696. margin: 0 auto;
  697. }
  698. .status {
  699. position: absolute;
  700. top: 0;
  701. right: 0;
  702. }
  703. }
  704. .row-line {
  705. width: 1px;
  706. height: 30px;
  707. background: #F2F2F2;
  708. margin: 10rpx 50rpx;
  709. }
  710. .audit {
  711. margin-top: 20rpx;
  712. }
  713. }
  714. </style>