daishou_details.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936
  1. <template>
  2. <view class="container">
  3. <u-form ref="uForm">
  4. <u-form-item label-width='260' label="合同编号">
  5. <u-input v-model="list.contractNo" input-align="right" placeholder="" disabled />
  6. </u-form-item>
  7. <u-form-item label-width='260' label="买方">
  8. <u-input v-model="list.buyer" input-align="right" placeholder="" disabled />
  9. </u-form-item>
  10. <u-form-item label-width='260' label="买方电话">
  11. <u-input v-model="list.buyerPhone" input-align="right" placeholder="" disabled />
  12. </u-form-item>
  13. <u-form-item label-width='260' label="卖方">
  14. <u-input v-model="list.seller" input-align="right" placeholder="" disabled />
  15. </u-form-item>
  16. <u-form-item label-width='260' label="卖方电话">
  17. <u-input v-model="list.sellerPhone" input-align="right" placeholder="" disabled />
  18. </u-form-item>
  19. <u-form-item label-width='260' label="结算方式">
  20. <u-input v-model="list.settlementMethod" input-align="right" placeholder="" disabled />
  21. </u-form-item>
  22. <u-form-item label-width='260' label="交货方式">
  23. <u-input v-model="list.deliverType1" input-align="right" placeholder="" disabled />
  24. </u-form-item>
  25. <u-form-item label-width='260' label="验收方式">
  26. <u-input v-model="list.acceptanceMethod" input-align="right" placeholder="" disabled />
  27. </u-form-item>
  28. <u-form-item label-width='260' label="重量(吨)">
  29. <u-input v-model="list.weight" input-align="right" placeholder="" disabled />
  30. </u-form-item>
  31. <u-form-item label-width='260' label="交货日期(起)">
  32. <u-input v-model="list.deliveryDateStart" input-align="right" placeholder="" disabled />
  33. </u-form-item>
  34. <u-form-item label-width='260' label="溢短装(%)">
  35. <u-input v-model="list.overShort" input-align="right" placeholder="" disabled />
  36. </u-form-item>
  37. <u-form-item label-width='260' label="交货日期(止)">
  38. <u-input v-model="list.deliveryDateEnd" input-align="right" placeholder="" disabled />
  39. </u-form-item>
  40. <u-form-item label-width='260' label="交货地所在地区">
  41. <view class="textCss">
  42. {{list.deliveryProvince}}{{list.deliveryCity}}{{list.deliveryArea}}
  43. </view>
  44. </u-form-item>
  45. <u-form-item label-width='260' label="交货地详细地址">
  46. <u-input v-model="list.placeDelivery" input-align="right" placeholder="" disabled />
  47. </u-form-item>
  48. <u-form-item label-width='260' label="签订日期">
  49. <u-input v-model="list.signingDate" input-align="right" placeholder="" disabled />
  50. </u-form-item>
  51. <u-form-item label-width='260' label="代收费">
  52. <view class="textCss">
  53. {{list.agencyCharge}}
  54. </view>
  55. </u-form-item>
  56. <u-form-item label-width='300' label="最终实际交易量(吨)">
  57. <u-input v-model="list.finalTradingVolume" input-align="right" placeholder="" disabled />
  58. </u-form-item>
  59. <u-form-item label-width='270' label="代收库负责人">
  60. <u-input v-model="list.personCharge" input-align="right" placeholder="" disabled />
  61. </u-form-item>
  62. <u-form-item label-width='270' label="客户送粮上限(吨)">
  63. <u-input v-model="list.grainDelivery" input-align="right" placeholder="" disabled />
  64. </u-form-item>
  65. <u-form-item label-width='260' label="货名">
  66. <u-input v-model="list.contractGoodsInfo.goodsName" input-align="right" placeholder="" disabled />
  67. </u-form-item>
  68. <u-form-item label-width='260' label="水分(%)<=">
  69. <u-input v-model="list.contractGoodsInfo.waterContent" input-align="right" placeholder="" disabled />
  70. </u-form-item>
  71. <u-form-item label-width='260' label="品级">
  72. <u-input v-model="list.contractGoodsInfo.grade" input-align="right" placeholder="" disabled />
  73. </u-form-item>
  74. <u-form-item label-width='260' label="杂质(%)<=">
  75. <u-input v-model="list.contractGoodsInfo.impurity" input-align="right" placeholder="" disabled />
  76. </u-form-item>
  77. <u-form-item label-width='260' label="容重(克/升)>=">
  78. <u-input v-model="list.contractGoodsInfo.bulkDensity" input-align="right" placeholder="" disabled />
  79. </u-form-item>
  80. <u-form-item label-width='260' label="霉变粒(%)<=">
  81. <u-input v-model="list.contractGoodsInfo.mildewGrain" input-align="right" placeholder="" disabled />
  82. </u-form-item>
  83. <u-form-item label-width='260' label="热损伤(%)<=">
  84. <u-input v-model="list.contractGoodsInfo.jiaorenli" input-align="right" placeholder="" disabled />
  85. </u-form-item>
  86. <u-form-item label-width='260' label="不完善粒(%)<=">
  87. <u-input v-model="list.contractGoodsInfo.imperfectGrain" input-align="right" placeholder="" disabled />
  88. </u-form-item>
  89. <u-form-item label-width='260' label="合同收入(元)">
  90. <u-input v-model="list.contractProcessInfo.goodsNameKey" input-align="right" placeholder="" disabled />
  91. </u-form-item>
  92. <u-form-item label-width='260' label="已开发票(元)">
  93. <u-input v-model="list.contractProcessInfo.goodsName" input-align="right" placeholder="" disabled />
  94. </u-form-item>
  95. <u-form-item label-width='260' label="费用支出(元)">
  96. <u-input v-model="list.contractProcessInfo.waterContent" input-align="right" placeholder="" disabled />
  97. </u-form-item>
  98. <u-form-item label-width='260' label="未开发票(元)">
  99. <u-input v-model="list.contractProcessInfo.impurity" input-align="right" placeholder="" disabled />
  100. </u-form-item>
  101. <u-form-item label-width='260' label="未回款(元)">
  102. <u-input v-model="list.contractProcessInfo.mildewGrain" input-align="right" placeholder="" disabled />
  103. </u-form-item>
  104. <u-form-item label-width='260' label="双章原件回收情况">
  105. <u-input v-model="list.contractProcessInfo.grade" input-align="right" placeholder="" disabled />
  106. </u-form-item>
  107. <u-form-item label-width='260' label="备注信息">
  108. </u-form-item>
  109. <u-form-item>
  110. <textarea class='textarea' v-model="list.remarks" input-align="right" placeholder="" disabled />
  111. </u-form-item>
  112. <u-form-item label-width='120' label="附件">
  113. <view class="form_top">共{{imglist.length}}个附件</view>
  114. <view v-if='imglist.length>0'>
  115. <view style="justify-content: space-between;" class='flex' v-for='item in imglist'>
  116. <view class="img_item">
  117. <view class="" style="width: 16%;">
  118. <image v-if="item.type == 'pdf'" class="imgsign"
  119. src="../../../static/img/oa_office/pdf3.png" mode=""></image>
  120. <image v-else-if="item.type == 'xls'||item.type == 'xlsx'" class="imgsign"
  121. src="../../../static/img/oa_office/excle3.png" mode=""></image>
  122. <image v-else-if="item.type == 'doc'||item.type == 'docx'" class="imgsign"
  123. src="../../../static/img/oa_office/word3.png" mode=""></image>
  124. <image v-else class="imgsign" :src="item.appendixPath" mode="">
  125. </image>
  126. </view>
  127. <view class="" style="width: 70%;">
  128. <view class="char_css">{{item.appendixName}}</view>
  129. <u-line-progress v-if='item.progressstatus' :striped="true" :percent="item.progress"
  130. :striped-active="true"></u-line-progress>
  131. <view class="img_size">{{item.appendixSize}}</view>
  132. </view>
  133. <view style="color: #22C572;" class="img_dowload" @click="openDocument(item)">
  134. 下载
  135. </view>
  136. </view>
  137. </view>
  138. </view>
  139. </u-form-item>
  140. </u-form>
  141. <flow :auditList="auditList" @status='getStatus'></flow>
  142. <view style='padding:10px;' class='flex bottom-btn'>
  143. <u-button v-if='list.approveStatus||isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>
  144. 驳回
  145. </u-button>
  146. <u-button v-if='list.approveStatus||isSHowBtn' @click='pass' type="success" class="btn2">通过</u-button>
  147. </view>
  148. <view v-if='show' class="shade">
  149. <view class="wrap">
  150. <view class="alert-top">
  151. <view class="title">
  152. {{title}}
  153. </view>
  154. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  155. </view>
  156. <view class="u-textarea-style">
  157. <view class="right-bottom">
  158. {{auditMind.length}}/1000个字
  159. </view>
  160. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  161. maxlength="1000" />
  162. </view>
  163. <view @click='close()' class="cancel">取消</view>
  164. <view @click='passSubmit()' class="confirm">确定</view>
  165. </view>
  166. </view>
  167. <view @click='imgShow=false' v-if="imgShow" class="shade">
  168. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  169. </view>
  170. </view>
  171. </template>
  172. <script>
  173. import upload from '@/components/upload.vue';
  174. import helper from '@/common/helper.js';
  175. import flow from '@/components/flow.vue';
  176. export default {
  177. components: {
  178. upload,
  179. flow
  180. },
  181. data() {
  182. return {
  183. isSHowBtn: true,
  184. id: "",
  185. currentPage: 1,
  186. pageSize: 10,
  187. list: {
  188. status: "",
  189. contractGoodsInfo: {},
  190. contractProcessInfo: {}
  191. },
  192. imglist: [],
  193. auditMind: '',
  194. show: false,
  195. title: '',
  196. auditList: [],
  197. contractNo: "",
  198. action: this.$uploadUrl,
  199. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  200. isAdd: true,
  201. imgShow: false,
  202. url: "",
  203. everyCheck: ''
  204. }
  205. },
  206. onBackPress(e) {
  207. if (this.everyCheck) {
  208. uni.navigateTo({
  209. url: "/pages/task/my_task"
  210. })
  211. return true;
  212. }
  213. },
  214. onLoad(options) {
  215. this.id = options.id
  216. this.getList()
  217. this.everyCheck = uni.getStorageSync("everyTask")
  218. this.isSHowBtn = options.isShowbtn
  219. },
  220. methods: {
  221. getStatus(val) {
  222. if (val == 200) this.getList()
  223. },
  224. openDocument(item) {
  225. this.$set(item, 'progressstatus', true)
  226. this.$forceUpdate()
  227. const downloadTask = uni.downloadFile({
  228. url: item.appendixPath,
  229. success: function(res) {
  230. var filePath = res.tempFilePath;
  231. if (item.type == 'pdf' || item.type == 'xls' || item.type == 'xlsx' || item.type ==
  232. 'doc' || item.type == 'docx') {
  233. uni.openDocument({
  234. filePath: filePath,
  235. showMenu: true,
  236. success: function(res) {
  237. console.log('打开文档成功');
  238. }
  239. });
  240. } else {
  241. uni.previewImage({
  242. current: 0, //预览图片的下标
  243. urls: [item.appendixPath]
  244. })
  245. }
  246. }
  247. });
  248. downloadTask.onProgressUpdate((res) => {
  249. this.$set(item, 'progress', res.progress)
  250. this.$forceUpdate()
  251. console.log('下载进度' + res.progress);
  252. console.log('已经下载的数据长度' + res.totalBytesWritten);
  253. console.log('预期需要下载的数据总长度' + res.totalBytesExpectedToWrite);
  254. // 满足测试条件,取消下载任务。
  255. // if (res.progress > 50) {
  256. // downloadTask.abort();
  257. // }
  258. });
  259. },
  260. shadeshow(url) {
  261. this.imgShow = true
  262. this.url = url
  263. },
  264. getList(id) {
  265. var that = this
  266. this.$api.doRequest('get', '/contractManagementInfo/getInfo', {
  267. id: this.id
  268. }).then(res => {
  269. if (res.data.code == 200) {
  270. this.list = res.data.data
  271. if (this.list.deliverType == 1) {
  272. this.list.deliverType1 = '我方自提'
  273. } else if (this.list.deliverType == 2) {
  274. this.list.deliverType1 = '对方送货'
  275. }
  276. this.$api.doRequest('get', '/appendix/query/getFileList', {
  277. appendixIds: that.list.addressUrl
  278. }).then(res1 => {
  279. that.imglist = res1.data.data
  280. for (let i = 0; i < that.imglist.length; i++) { //获取后缀
  281. that.imglist[i].progressstatus = false
  282. that.imglist[i].progress = 0
  283. if (that.imglist[i].appendixName) {
  284. let index = that.imglist[i].appendixName.lastIndexOf(".")
  285. that.imglist[i].type = that.imglist[i].appendixName.substring(index +
  286. 1)
  287. }
  288. }
  289. })
  290. // 审核流程
  291. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  292. businessCode: 'DAISHOU-CONTRACT-APPROVE',
  293. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  294. }).then(res1 => {
  295. this.$api.doRequest('get', '/commonUser/getHis', {
  296. workflowId: res1.data.data[0].id,
  297. businessKey: this.id,
  298. // branch:that.list.jointVentureParties?that.list.jointVentureParties:'zt'
  299. }).then(response => {
  300. uni.hideLoading()
  301. for (let i = 0; i < response.data.data.length; i++) {
  302. this.$set(response.data.data[i], 'status', 'question')
  303. // console.log(response.data.data[i].workflowHistoricTasks,i)
  304. if (response.data.data[i].commonStaffs) {
  305. response.data.data[i].showflow = false
  306. response.data.data[i].operatorTitle = response.data.data[i]
  307. .desc.substring(0, 2)
  308. response.data.data[i].operatorName = response.data.data[i]
  309. .desc
  310. response.data.data[i].staffscontent = '共' + response.data
  311. .data[i].commonStaffs.length + '人,当前审核' + response.data
  312. .data[i].workflowHistoricTasks.length + '人'
  313. if (response.data.data[i].workflowHistoricTasks && response
  314. .data.data[i].workflowHistoricTasks.length > 0) {
  315. if (response.data.data[i].workflowHistoricTasks
  316. .length != response.data.data[i].commonStaffs
  317. .length) {
  318. // response.data.data[i].status='question'
  319. this.$set(response.data.data[i], 'status',
  320. 'question')
  321. } else {
  322. this.$set(response.data.data[i], 'status',
  323. 'success')
  324. // response.data.data[i].status='success'
  325. }
  326. response.data.data[i].workflowlen = response.data.data[
  327. i].workflowHistoricTasks.length
  328. var workflowdata = response.data.data[i]
  329. .workflowHistoricTasks
  330. var staffsdata = response.data.data[i].commonStaffs
  331. for (let q = 0; q < staffsdata.length; q++) {
  332. staffsdata[q].status = false
  333. staffsdata[q].staffTitle = staffsdata[q].staffName
  334. for (let k = 0; k < workflowdata.length; k++) {
  335. if (staffsdata[q].staffId == workflowdata[k]
  336. .operatorId) {
  337. staffsdata[q].status = true
  338. }
  339. }
  340. }
  341. }
  342. response.data.data[i].commonStaffs1 = response.data.data[i]
  343. .commonStaffs
  344. } else {
  345. if (response.data.data[i].workflowHistoricTasks && response
  346. .data.data[i].workflowHistoricTasks.length > 0) {
  347. var len = response.data.data[i].workflowHistoricTasks
  348. .length - 1
  349. if (response.data.data[i].workflowHistoricTasks[len]
  350. .approved) {
  351. this.$set(response.data.data[i], 'status',
  352. 'success')
  353. } else {
  354. this.$set(response.data.data[i], 'status', 'error')
  355. }
  356. response.data.data[i].operatorTitle = response.data
  357. .data[i].workflowHistoricTasks[len].operatorName
  358. .substring(response.data.data[i]
  359. .workflowHistoricTasks[0].operatorName.length -
  360. 2)
  361. response.data.data[i].operatorName = response.data
  362. .data[i].workflowHistoricTasks[len].operatorName
  363. var time = new Date(response.data.data[i]
  364. .workflowHistoricTasks[len].claimTime)
  365. .getTime()
  366. response.data.data[i].updateDate = this.$u.timeFormat(
  367. time, 'mm.dd hh:MM')
  368. response.data.data[i].auditMind = response.data.data[i]
  369. .workflowHistoricTasks[len].auditMind
  370. } else {
  371. this.$set(response.data.data[i], 'status', 'question')
  372. // response.data.data[i].status='question'
  373. if (response.data.data[i].desc == '总经理助理审核') {
  374. response.data.data[i].operatorTitle = '总助'
  375. } else if (response.data.data[i].desc == '杜大光审核') {
  376. response.data.data[i].operatorTitle = '大光'
  377. } else {
  378. response.data.data[i].operatorTitle = response.data
  379. .data[i].desc.substring(0, 2)
  380. }
  381. response.data.data[i].operatorName = response.data
  382. .data[i].desc
  383. var time1 = new Date(response.data.data[i].updateDate)
  384. .getTime()
  385. response.data.data[i].updateDate = this.$u.timeFormat(
  386. time1, 'mm.dd hh:MM')
  387. response.data.data[i].auditMind = ''
  388. }
  389. }
  390. }
  391. console.log(response.data.data)
  392. for (let i = 0; i < response.data.data.length; i++) {
  393. if (response.data.data[i].status == "error") {
  394. this.auditCheck = "error"
  395. break;
  396. } else if (response.data.data[i].status == "question") {
  397. this.auditCheck = "question"
  398. break;
  399. } else {
  400. this.auditCheck = "success"
  401. }
  402. }
  403. this.auditList = response.data.data
  404. var time2 = new Date(this.list.createDate).getTime()
  405. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  406. this.auditList.unshift({
  407. operatorTitle: this.list.creater.substring(0, 2),
  408. operatorName: this.list.creater,
  409. updateDate: time3,
  410. auditMind: '',
  411. desc: '发起申请',
  412. showflow: false,
  413. commonStaffs1: null,
  414. commonStaffs: null,
  415. workflowHistoricTasks: [],
  416. status: 'success'
  417. })
  418. })
  419. })
  420. }
  421. })
  422. },
  423. filterFileType(index, lists) {
  424. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  425. lists.splice(index, 1);
  426. // 当前文件不支持
  427. uni.showModal({
  428. title: '暂不支持当前图片类型',
  429. showCancel: false
  430. });
  431. } else {
  432. this.isAdd = false;
  433. }
  434. },
  435. //驳回
  436. rejectSubmit() {
  437. uni.showLoading({
  438. title: '加载中',
  439. mask: true
  440. });
  441. var that = this
  442. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  443. taskId: that.list.taskId,
  444. approved: false,
  445. auditMind: this.auditMind,
  446. needReapply: true,
  447. }).then(res => {
  448. that.$api.msg('驳回成功')
  449. that.show = false
  450. setTimeout(function() {
  451. if (that.everyCheck) {
  452. helper.setAudit(that.list)
  453. } else {
  454. uni.navigateBack()
  455. }
  456. uni.hideLoading()
  457. }, 1000);
  458. })
  459. },
  460. close() {
  461. this.show = false
  462. },
  463. pass() {
  464. this.show = true
  465. this.title = '审核意见(通过)'
  466. },
  467. reject() {
  468. this.show = true
  469. this.title = '驳回原因(驳回)'
  470. },
  471. //通过
  472. passSubmit() {
  473. var that = this
  474. if (this.title == '驳回原因(驳回)') {
  475. this.rejectSubmit()
  476. } else {
  477. uni.showLoading({
  478. title: '加载中',
  479. mask: true
  480. });
  481. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  482. taskId: that.list.taskId,
  483. approved: true,
  484. auditMind: this.auditMind,
  485. needReapply: true,
  486. }).then(res => {
  487. that.$api.msg('通过成功')
  488. that.show = false
  489. setTimeout(function() {
  490. if (that.everyCheck) {
  491. helper.setAudit(that.list)
  492. } else {
  493. uni.navigateBack()
  494. }
  495. uni.hideLoading()
  496. }, 1000);
  497. })
  498. }
  499. },
  500. //审核方法
  501. audit(item, index, status, status2, reason) {
  502. if (index < this.list.length) {
  503. this.$api.doRequest('post', '/newWorkflow/api/handle', {
  504. taskId: item.taskId,
  505. approved: status,
  506. auditMind: reason != undefined ? '已驳回' : '34',
  507. needReapply: status2 != undefined ? true : false,
  508. }).then(res => {
  509. this.audit(this.list[index + 1], index + 1, status)
  510. })
  511. } else {
  512. if (status == true) {
  513. that.$api.msg('通过成功')
  514. this.getList()
  515. } else if (status == false) {
  516. that.$api.msg('驳回成功')
  517. this.getList()
  518. }
  519. }
  520. },
  521. }
  522. }
  523. </script>
  524. <style scoped lang="scss">
  525. .container {
  526. padding: 20rpx 20rpx 250rpx 20rpx;
  527. }
  528. .u-form {
  529. background: #fff;
  530. border-radius: 10px;
  531. padding: 0 10px;
  532. .u-form-item {
  533. line-height: 30px;
  534. padding: 5px 0;
  535. }
  536. }
  537. .content {
  538. margin-top: 30rpx;
  539. .top {
  540. display: flex;
  541. justify-content: space-between;
  542. }
  543. .content-item {
  544. border-radius: 20rpx;
  545. background: white;
  546. padding: 40rpx 20rpx;
  547. margin-bottom: 30rpx;
  548. }
  549. .title {
  550. font-size: 32rpx;
  551. font-weight: 600;
  552. color: #333333;
  553. text-align: left;
  554. margin: 20rpx 0;
  555. }
  556. .car-container {
  557. border-bottom: 2rpx solid #EEEEEE;
  558. }
  559. .car-type-item {
  560. font-size: 28rpx;
  561. margin: 20rpx 0;
  562. color: #878C9C;
  563. }
  564. .weightInfoCss {
  565. font-size: 28rpx;
  566. color: #333333;
  567. font-weight: 500;
  568. }
  569. .row {
  570. display: flex;
  571. justify-content: space-between;
  572. // .right,
  573. // input {
  574. // font-size: 28rpx;
  575. // // color: #333333;
  576. // }
  577. }
  578. .money {
  579. font-size: 32rpx;
  580. font-weight: 500;
  581. margin-bottom: 30rpx;
  582. }
  583. .moneyInfo {
  584. color: #22C572;
  585. font-size: 32rpx;
  586. }
  587. }
  588. .bottom-btn {
  589. width: 100%;
  590. position: fixed;
  591. bottom: 0;
  592. display: flex;
  593. z-index: 2;
  594. left: 0;
  595. background-color: #f8f8f8;
  596. flex-direction: column;
  597. .btn1,
  598. .btn2 {
  599. width: 100%;
  600. margin-bottom: 26rpx;
  601. border-radius: 90rpx;
  602. }
  603. .btn1 {
  604. background: white;
  605. color: #00C265;
  606. }
  607. }
  608. .topInfo {
  609. height: 210rpx;
  610. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  611. padding: 30rpx;
  612. .topInfo-item {
  613. height: 150rpx;
  614. background-color: #FFFFFF;
  615. border-radius: 20rpx;
  616. padding: 40rpx;
  617. .logo {
  618. width: 40rpx;
  619. height: 40rpx;
  620. margin-top: 8rpx;
  621. }
  622. .infoText {
  623. font-size: 36rpx;
  624. font-weight: 600;
  625. margin-left: 20rpx;
  626. }
  627. .infoData {
  628. color: #878C9C;
  629. font-size: 26rpx;
  630. margin-top: 10rpx;
  631. }
  632. }
  633. }
  634. .shade {
  635. position: fixed;
  636. top: 0;
  637. left: 0;
  638. height: 100%;
  639. width: 100%;
  640. background: rgba(0, 0, 0, 0.4);
  641. z-index: 3;
  642. .wrap {
  643. position: absolute;
  644. left: 0;
  645. top: 0;
  646. right: 0;
  647. bottom: 0;
  648. margin: auto;
  649. background: #fff;
  650. width: calc(100% - 198rpx);
  651. height: 700rpx;
  652. border-radius: 20rpx;
  653. .alert-top {
  654. padding: 33rpx;
  655. display: flex;
  656. justify-content: center;
  657. align-items: center;
  658. position: relative;
  659. }
  660. .title {
  661. font-size: 32rpx;
  662. font-weight: 600;
  663. color: #333333;
  664. }
  665. .close {
  666. position: absolute;
  667. right: 33rpx;
  668. }
  669. }
  670. }
  671. .cancel,
  672. .confirm {
  673. position: absolute;
  674. display: inline-block;
  675. width: 50%;
  676. text-align: center;
  677. bottom: 0;
  678. padding: 10px;
  679. border-top: 1px solid #eee;
  680. font-size: 34rpx;
  681. }
  682. .cancel {
  683. left: 0;
  684. border-right: 1px solid #eee;
  685. color: #AFB3BF;
  686. }
  687. .confirm {
  688. right: 0;
  689. color: #22C572;
  690. }
  691. .textCss {
  692. display: flex;
  693. justify-content: flex-end;
  694. width: 100%;
  695. text-align: right;
  696. }
  697. .textarea {
  698. margin: 20px auto;
  699. width: 100%;
  700. background: #F9F9FA;
  701. border-radius: 10px;
  702. border: 1px solid #EEEEEE;
  703. font-size: 28rpx;
  704. padding: 10px;
  705. }
  706. /deep/.u-form-item--right__content__slot {
  707. flex-wrap: wrap;
  708. }
  709. .u-textarea-style {
  710. margin: 20rpx;
  711. background: #F9F9FA;
  712. border-radius: 10px;
  713. border: 1px solid #EEEEEE;
  714. padding: 10rpx 20rpx;
  715. position: relative;
  716. .right-bottom {
  717. position: absolute;
  718. right: 20rpx;
  719. bottom: 20rpx;
  720. color: #AFB3BF;
  721. }
  722. }
  723. .img_item {
  724. display: flex;
  725. width: 100%;
  726. margin: 10px 0;
  727. padding: 0 10rpx;
  728. .imgsign {
  729. width: 25px;
  730. height: 25px;
  731. margin-top: 6px;
  732. }
  733. .char_css {
  734. font-size: 28rpx;
  735. font-weight: 600;
  736. display: -webkit-box;
  737. overflow: hidden;
  738. /*! autoprefixer: off; */
  739. -webkit-box-orient: vertical;
  740. -webkit-line-clamp: 1;
  741. -webkit-box-orient: vertical;
  742. text-overflow: ellipsis;
  743. word-break: break-all;
  744. }
  745. .img_size {
  746. color: #B0B3BF;
  747. font-size: 12px;
  748. margin-top: 5px;
  749. }
  750. .img_dowload {
  751. width: 16%;
  752. color: #22C572;
  753. text-align: right;
  754. }
  755. }
  756. .content2 {
  757. background: white;
  758. margin: 20rpx 0;
  759. border-radius: 20rpx;
  760. padding: 20rpx;
  761. .row {
  762. display: flex;
  763. .left {
  764. display: flex;
  765. align-items: center;
  766. .item1 {
  767. position: relative;
  768. .item-content {
  769. background: #617AE0;
  770. width: 44px;
  771. height: 44px;
  772. border-radius: 22px;
  773. line-height: 44px;
  774. text-align: center;
  775. font-size: 15px;
  776. color: #fff;
  777. }
  778. .status {
  779. position: absolute;
  780. border-radius: 50%;
  781. padding: 0px 2px;
  782. right: -3px;
  783. bottom: -3px;
  784. background: #fff;
  785. }
  786. .status.success {
  787. border: 1px solid rgb(60, 156, 255);
  788. }
  789. .status.error {
  790. border: 1px solid rgb(245, 108, 108);
  791. }
  792. .status.question {
  793. border: 1px solid #f9ae3d;
  794. }
  795. }
  796. }
  797. .right {
  798. width: 80%;
  799. // color: #B0B1B5;
  800. margin-top: 10px;
  801. .right-content {
  802. background: #F2F3F7;
  803. margin-left: 10px;
  804. margin-top: 10px;
  805. padding: 10px;
  806. border-radius: 5px;
  807. color: #B0B1B5;
  808. }
  809. .right-item {
  810. display: flex;
  811. justify-content: space-between;
  812. .time {
  813. color: #999;
  814. }
  815. .item2 {
  816. margin-left: 20rpx;
  817. margin-top: -7px;
  818. .name {
  819. font-size: 28rpx;
  820. font-weight: 800;
  821. margin-bottom: 4px;
  822. }
  823. .status.success {
  824. color: #6CC48C;
  825. }
  826. .status.error {
  827. color: rgb(245, 108, 108);
  828. }
  829. .status.question {
  830. color: #f9ae3d;
  831. }
  832. }
  833. }
  834. }
  835. }
  836. .row2 {
  837. display: flex;
  838. .item-content {
  839. background: #22C572;
  840. width: 30px;
  841. height: 30px;
  842. border-radius: 50%;
  843. line-height: 30px;
  844. text-align: center;
  845. font-size: 12px;
  846. color: #fff;
  847. padding: 0 2px;
  848. margin: 0 auto;
  849. }
  850. .status {
  851. position: absolute;
  852. top: 0;
  853. right: 0;
  854. }
  855. }
  856. .row-line {
  857. width: 1px;
  858. height: 30px;
  859. background: #F2F2F2;
  860. margin: 10rpx 50rpx;
  861. }
  862. .audit {
  863. margin-top: 20rpx;
  864. }
  865. }
  866. </style>