refuel.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014
  1. <template>
  2. <view class="container">
  3. <u-form ref="uForm" >
  4. <view class="form_top">基本信息</view>
  5. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" class="label_css" label="车牌号">
  6. <u-input v-model="list.carNo" input-align="right" placeholder="--" disabled />
  7. </u-form-item>
  8. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="起点">
  9. {{list.originProvince}}{{list.originCity}}{{list.originArea}}{{list.originAddress}}
  10. </u-form-item>
  11. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="终点">
  12. {{list.destinationProvince}}{{list.destinationCity}}{{list.destinationArea}}{{list.destinationAddress}}
  13. </u-form-item>
  14. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="总油耗(升)">
  15. <u-input v-model="list.tfc" input-align="right" placeholder="--" disabled />
  16. </u-form-item>
  17. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="总金额(元)">
  18. <u-input v-model="list.totalCost" input-align="right" placeholder="--" disabled />
  19. </u-form-item>
  20. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="申请时间">
  21. <u-input v-model="list.createDate" input-align="right" placeholder="--" disabled />
  22. </u-form-item>
  23. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="仓库名">
  24. <u-input v-model="list.warehouseName" input-align="right" placeholder="--" disabled />
  25. </u-form-item>
  26. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="备注">
  27. <u-input v-model="list.remark" input-align="right" placeholder="--" disabled />
  28. </u-form-item>
  29. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="请款金额">
  30. <u-input v-model="list.amountRequested" input-align="right" placeholder="--" disabled />
  31. </u-form-item>
  32. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="请款时间">
  33. <u-input v-model="list.createDate" input-align="right" placeholder="--" disabled />
  34. </u-form-item>
  35. </u-form>
  36. <view v-if="list.fillingDetailInfoList">
  37. <u-form v-for="(item,index) in list.fillingDetailInfoList">
  38. <div>加油-{{index+1}}</div>
  39. <el-form-item label="油耗(升)">
  40. {{item.oilConsumption}}
  41. </el-form-item>
  42. <el-form-item label="单价(元/升)">
  43. {{item.currentOilPrice}}
  44. </el-form-item>
  45. <el-form-item label="油费(元)">
  46. {{item.currentConsumption}}
  47. </el-form-item>
  48. <el-form-item label="凭证">
  49. <img :src="item.addressUrl" alt="">
  50. </el-form-item>
  51. </u-form>
  52. </view>
  53. <view v-if="list.shortFillingInfoList">
  54. <u-form v-for="(item,index) in list.shortFillingInfoList">
  55. <div>加油-{{index+1}}</div>
  56. <el-form-item label="车牌号">
  57. {{item.carNo}}
  58. </el-form-item>
  59. <el-form-item label="起始地">
  60. {{item.originProvince}}{{item.originCity}}{{item.originArea}}{{item.originAddress}}
  61. </el-form-item>
  62. <el-form-item label="终到地">
  63. {{item.destinationProvince}}{{item.destinationCity}}{{item.destinationArea}}{{item.destinationAddress}}
  64. </el-form-item>
  65. </u-form>
  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="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="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>
  95. </view>
  96. <view v-if="item.status=='error'" class="status error">
  97. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  98. v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text>
  99. </view>
  100. <view v-if="item.status=='question'" class="status question">
  101. {{item.commonStaffs1?item.staffscontent:''}}<text
  102. v-if='!item.commonStaffs1'>未审核</text>
  103. </view>
  104. <!-- <view class="status success">吕波(已审核)</view> -->
  105. </view>
  106. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0'
  107. class='time'>
  108. {{item.updateDate}}
  109. </view>
  110. </view>
  111. <view v-if='item.auditMind' class="right-content">
  112. {{item.auditMind}}
  113. </view>
  114. </view>
  115. <view v-if='item.commonStaffs1' class="right">
  116. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28">
  117. </u-icon>
  118. </view>
  119. </view>
  120. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  121. <view class='row2'>
  122. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  123. <view class="item-content">
  124. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  125. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  126. </view>
  127. <view class="name">{{item1.staffName}}</view>
  128. </view>
  129. </view>
  130. </view>
  131. <view class="row-line" v-if="index!= auditList.length - 1&&item.desc!='_PLACEHOLDER_'"></view>
  132. </view>
  133. </view>
  134. </u-form>
  135. <view v-if='list.taskId' style='padding:10px;' class='flex bottom-btn'>
  136. <u-button v-if='list.approveStatus||isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>
  137. 驳回
  138. </u-button>
  139. <u-button v-if='list.approveStatus||isSHowBtn' @click='pass' type="success" class="btn2">通过
  140. </u-button>
  141. </view>
  142. <view v-if='show' class="shade">
  143. <view class="wrap">
  144. <view class="alert-top">
  145. <view class="title">
  146. {{title}}
  147. </view>
  148. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  149. </view>
  150. <view class="u-textarea-style">
  151. <view class="right-bottom">
  152. {{auditMind.length}}/1000个字
  153. </view>
  154. <textarea maxlength="1000" v-model='auditMind' placeholder="请在此输入审核意见" name="" id="" cols="30" rows="11"></textarea>
  155. </view>
  156. <view @click='close()' class="cancel">取消</view>
  157. <view @click='passSubmit()' class="confirm">确定</view>
  158. </view>
  159. </view>
  160. <view @click='imgShow=false' v-if="imgShow" class="shade">
  161. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  162. </view>
  163. </view>
  164. </template>
  165. <script>
  166. import upload from '@/components/upload.vue';
  167. import helper from '@/common/helper.js';
  168. export default {
  169. components: {
  170. upload
  171. },
  172. data() {
  173. return {
  174. everyCheck: '',
  175. id: "",
  176. currentPage: 1,
  177. pageSize: 10,
  178. list: {
  179. status: "",
  180. contractGoodsInfo: {},
  181. contractProcessInfo: {}
  182. },
  183. imglist: [],
  184. title: '',
  185. auditMind: '',
  186. auditList: [],
  187. show: false,
  188. contractNo: "",
  189. action: this.$uploadUrl,
  190. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  191. isAdd: true,
  192. url: "",
  193. imgShow: false,
  194. height: 200,
  195. autoHeight: true,
  196. border: false,
  197. rejectInfo: "",
  198. rejectInfo1: "",
  199. isSHowBtn: true,
  200. auditCheck:"question",//判断审核是否通过
  201. }
  202. },
  203. onBackPress(e) {
  204. if (this.everyCheck) {
  205. uni.navigateTo({
  206. url: "/pages/task/my_task"
  207. })
  208. return true;
  209. }
  210. },
  211. onLoad(options) {
  212. this.id = options.id
  213. this.everyCheck = uni.getStorageSync("everyTask")
  214. this.isSHowBtn = options.isShowbtn
  215. this.getList()
  216. },
  217. methods: {
  218. openDocument(src) {
  219. uni.downloadFile({
  220. url: src.appendixPath,
  221. success: function(res) {
  222. var filePath = res.tempFilePath;
  223. uni.openDocument({
  224. filePath: filePath,
  225. showMenu: true,
  226. success: function(res) {
  227. console.log('打开文档成功');
  228. }
  229. });
  230. }
  231. });
  232. },
  233. shadeshow(url) {
  234. this.imgShow = true
  235. this.url = url
  236. },
  237. showcontent(item) {
  238. item.showflow = !item.showflow
  239. },
  240. getList(id) {
  241. var that = this
  242. uni.showLoading({
  243. title: '加载中',
  244. mask: true
  245. })
  246. this.$api.doRequest('get', '/fuelFillingInfo/getFilling', {
  247. id: this.id
  248. }).then(res => {
  249. if (res.data.code == 200) {
  250. this.list = res.data.data
  251. // this.$api.doRequest('get', '/appendix/query/getFileList', {
  252. // appendixIds: that.list.addressUrl
  253. // }).then(res1 => {
  254. // that.imglist = res1.data.data
  255. // for (let i = 0; i < that.imglist.length; i++) {//获取后缀
  256. // if (that.imglist[i].appendixName) {
  257. // let index = that.imglist[i].appendixName.lastIndexOf(".")
  258. // that.imglist[i].type = that.imglist[i].appendixName.substring(index+1)
  259. // }
  260. // }
  261. // 审核流程
  262. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  263. businessCode: 'JIAYOU-SHENHE-APPROVE',
  264. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  265. }).then(res1 => {
  266. this.$api.doRequest('get', '/commonUser/getHis', {
  267. workflowId: res1.data.data[0].id,
  268. businessKey: this.id,
  269. // branch:that.list.jointVentureParties?that.list.jointVentureParties:'zt'
  270. }).then(response => {
  271. uni.hideLoading()
  272. for (let i = 0; i < response.data.data.length; i++) {
  273. this.$set(response.data.data[i], 'status', 'question')
  274. // console.log(response.data.data[i].workflowHistoricTasks,i)
  275. if (response.data.data[i].commonStaffs) {
  276. response.data.data[i].showflow = false
  277. response.data.data[i].operatorTitle = response.data.data[i]
  278. .desc.substring(0, 2)
  279. response.data.data[i].operatorName = response.data.data[i]
  280. .desc
  281. response.data.data[i].staffscontent = '共' + response.data
  282. .data[i].commonStaffs.length + '人,当前审核' + response.data
  283. .data[i].workflowHistoricTasks.length + '人'
  284. if (response.data.data[i].workflowHistoricTasks && response
  285. .data.data[i].workflowHistoricTasks.length > 0) {
  286. if (response.data.data[i].workflowHistoricTasks
  287. .length != response.data.data[i].commonStaffs
  288. .length) {
  289. // response.data.data[i].status='question'
  290. this.$set(response.data.data[i], 'status',
  291. 'question')
  292. } else {
  293. this.$set(response.data.data[i], 'status',
  294. 'success')
  295. // response.data.data[i].status='success'
  296. }
  297. response.data.data[i].workflowlen = response.data.data[
  298. i].workflowHistoricTasks.length
  299. var workflowdata = response.data.data[i]
  300. .workflowHistoricTasks
  301. var staffsdata = response.data.data[i].commonStaffs
  302. for (let q = 0; q < staffsdata.length; q++) {
  303. staffsdata[q].status = false
  304. staffsdata[q].staffTitle = staffsdata[q].staffName
  305. for (let k = 0; k < workflowdata.length; k++) {
  306. if (staffsdata[q].staffId == workflowdata[k]
  307. .operatorId) {
  308. staffsdata[q].status = true
  309. }
  310. }
  311. }
  312. }
  313. response.data.data[i].commonStaffs1 = response.data.data[i]
  314. .commonStaffs
  315. } else {
  316. if (response.data.data[i].workflowHistoricTasks && response
  317. .data.data[i].workflowHistoricTasks.length > 0) {
  318. var len = response.data.data[i].workflowHistoricTasks
  319. .length - 1
  320. if (response.data.data[i].workflowHistoricTasks[len]
  321. .approved) {
  322. this.$set(response.data.data[i], 'status',
  323. 'success')
  324. } else {
  325. this.$set(response.data.data[i], 'status', 'error')
  326. }
  327. response.data.data[i].operatorTitle = response.data
  328. .data[i].workflowHistoricTasks[len].operatorName
  329. .substring(response.data.data[i]
  330. .workflowHistoricTasks[0].operatorName.length -
  331. 2)
  332. response.data.data[i].operatorName = response.data
  333. .data[i].workflowHistoricTasks[len].operatorName
  334. var time = new Date(response.data.data[i]
  335. .workflowHistoricTasks[len].claimTime)
  336. .getTime()
  337. response.data.data[i].updateDate = this.$u.timeFormat(
  338. time, 'mm.dd hh:MM')
  339. response.data.data[i].auditMind = response.data.data[i]
  340. .workflowHistoricTasks[len].auditMind
  341. } else {
  342. this.$set(response.data.data[i], 'status', 'question')
  343. // response.data.data[i].status='question'
  344. if (response.data.data[i].desc == '总经理助理审核') {
  345. response.data.data[i].operatorTitle = '总助'
  346. } else if (response.data.data[i].desc == '杜大光审核') {
  347. response.data.data[i].operatorTitle = '大光'
  348. } else {
  349. response.data.data[i].operatorTitle = response.data
  350. .data[i].desc.substring(0, 2)
  351. }
  352. response.data.data[i].operatorName = response.data
  353. .data[i].desc
  354. var time1 = new Date(response.data.data[i].updateDate)
  355. .getTime()
  356. response.data.data[i].updateDate = this.$u.timeFormat(
  357. time1, 'mm.dd hh:MM')
  358. response.data.data[i].auditMind = ''
  359. }
  360. }
  361. }
  362. console.log(response.data.data)
  363. for(let i = 0 ;i<response.data.data.length;i++){
  364. if(response.data.data[i].status == "error"){
  365. this.auditCheck = "error"
  366. break;
  367. }else if(response.data.data[i].status == "question"){
  368. this.auditCheck = "question"
  369. break;
  370. }else{
  371. this.auditCheck = "success"
  372. }
  373. }
  374. this.auditList = response.data.data
  375. var time2 = new Date(this.list.createDate).getTime()
  376. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  377. this.auditList.unshift({
  378. operatorTitle: this.list.creater.substring(0, 2),
  379. operatorName: this.list.creater,
  380. updateDate: time3,
  381. auditMind: '',
  382. desc: '发起申请',
  383. showflow: false,
  384. commonStaffs1: null,
  385. commonStaffs: null,
  386. workflowHistoricTasks: [],
  387. status: 'success'
  388. })
  389. })
  390. })
  391. }
  392. })
  393. },
  394. onRemove() {
  395. return
  396. },
  397. filterFileType(index, lists) {
  398. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  399. lists.splice(index, 1);
  400. // 当前文件不支持
  401. uni.showModal({
  402. title: '暂不支持当前图片类型',
  403. showCancel: false
  404. });
  405. } else {
  406. this.isAdd = false;
  407. }
  408. },
  409. close() {
  410. this.show = false
  411. },
  412. pass() {
  413. this.show = true
  414. this.title = '审核意见(通过)'
  415. },
  416. reject() {
  417. this.show = true
  418. this.title = '驳回原因(驳回)'
  419. },
  420. //驳回
  421. rejectSubmit() {
  422. var that = this
  423. uni.showLoading({
  424. title: '加载中',
  425. mask: true
  426. });
  427. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  428. taskId: that.list.taskId,
  429. approved: false,
  430. auditMind: this.auditMind,
  431. needReapply: true,
  432. }).then(res => {
  433. that.$api.msg('驳回成功')
  434. that.show = false
  435. setTimeout(function() {
  436. if (that.everyCheck) {
  437. helper.setAudit(that.list)
  438. } else {
  439. uni.navigateBack()
  440. }
  441. uni.hideLoading()
  442. }, 1000);
  443. })
  444. },
  445. pass() {
  446. this.show = true
  447. this.title = '审核意见'
  448. },
  449. reject() {
  450. this.show = true
  451. this.title = '驳回原因(驳回)'
  452. },
  453. //通过
  454. passSubmit() {
  455. var that = this
  456. if (this.title == '驳回原因(驳回)') {
  457. this.rejectSubmit()
  458. } else {
  459. uni.showLoading({
  460. title: '加载中',
  461. mask: true
  462. });
  463. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  464. taskId: that.list.taskId,
  465. approved: true,
  466. auditMind: this.auditMind,
  467. needReapply: true,
  468. }).then(res => {
  469. that.$api.msg('通过成功')
  470. that.show = false
  471. setTimeout(function() {
  472. if (that.everyCheck) {
  473. helper.setAudit(that.list)
  474. } else {
  475. uni.navigateBack()
  476. }
  477. uni.hideLoading()
  478. }, 1000);
  479. })
  480. }
  481. },
  482. //审核方法
  483. audit(item, index, status, status2, reason) {
  484. if (index < this.list.length) {
  485. this.$api.doRequest('post', '/newWorkflow/api/handle', {
  486. taskId: item.taskId,
  487. approved: status,
  488. auditMind: reason != undefined ? '已驳回' : '34',
  489. needReapply: status2 != undefined ? true : false,
  490. }).then(res => {
  491. this.audit(this.list[index + 1], index + 1, status)
  492. })
  493. } else {
  494. if (status == true) {
  495. that.$api.msg('通过成功')
  496. this.getList()
  497. } else if (status == false) {
  498. that.$api.msg('驳回成功')
  499. this.getList()
  500. }
  501. }
  502. },
  503. }
  504. }
  505. </script>
  506. <style scoped lang="scss">
  507. .container {
  508. padding: 20rpx 20rpx 250rpx 20rpx;
  509. }
  510. .u-form {
  511. margin-bottom: 20rpx;
  512. background: #fff;
  513. border-radius: 10px;
  514. padding: 30rpx 10px;
  515. .u-form-item {
  516. line-height: 30px;
  517. padding: 0px 0;
  518. font-size: 26rpx;
  519. color: #878C9C;
  520. }
  521. }
  522. .content {
  523. margin-top: 30rpx;
  524. .top {
  525. display: flex;
  526. justify-content: space-between;
  527. }
  528. .content-item {
  529. border-radius: 20rpx;
  530. background: white;
  531. padding: 40rpx 20rpx;
  532. margin-bottom: 30rpx;
  533. }
  534. .title {
  535. font-size: 32rpx;
  536. font-weight: 600;
  537. color: #333333;
  538. text-align: left;
  539. margin: 20rpx 0;
  540. }
  541. .car-container {
  542. border-bottom: 2rpx solid #EEEEEE;
  543. }
  544. .car-type-item {
  545. font-size: 28rpx;
  546. margin: 20rpx 0;
  547. color: #878C9C;
  548. }
  549. .weightInfoCss {
  550. font-size: 28rpx;
  551. color: #333333;
  552. font-weight: 500;
  553. }
  554. .row {
  555. display: flex;
  556. justify-content: space-between;
  557. // .right,
  558. // input {
  559. // font-size: 28rpx;
  560. // // color: #333333;
  561. // }
  562. }
  563. .money {
  564. font-size: 32rpx;
  565. font-weight: 500;
  566. margin-bottom: 30rpx;
  567. }
  568. .moneyInfo {
  569. color: #22C572;
  570. font-size: 32rpx;
  571. }
  572. }
  573. .bottom-btn {
  574. width: 100%;
  575. position: fixed;
  576. bottom: 0;
  577. display: flex;
  578. z-index: 2;
  579. left: 0;
  580. background-color: #f8f8f8;
  581. flex-direction: column;
  582. .btn1,
  583. .btn2 {
  584. width: 100%;
  585. margin-bottom: 26rpx;
  586. border-radius: 90rpx;
  587. }
  588. .btn1 {
  589. background: white;
  590. color: #00C265;
  591. }
  592. }
  593. .topInfo {
  594. height: 210rpx;
  595. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  596. padding: 30rpx;
  597. .topInfo-item {
  598. height: 150rpx;
  599. background-color: #FFFFFF;
  600. border-radius: 20rpx;
  601. padding: 40rpx;
  602. .logo {
  603. width: 40rpx;
  604. height: 40rpx;
  605. margin-top: 8rpx;
  606. }
  607. .infoText {
  608. font-size: 36rpx;
  609. font-weight: 600;
  610. margin-left: 20rpx;
  611. }
  612. .infoData {
  613. color: #878C9C;
  614. font-size: 26rpx;
  615. margin-top: 10rpx;
  616. }
  617. }
  618. }
  619. .shade {
  620. position: fixed;
  621. top: 0;
  622. left: 0;
  623. height: 100%;
  624. width: 100%;
  625. background: rgba(0, 0, 0, 0.4);
  626. z-index: 3;
  627. .wrap {
  628. position: absolute;
  629. left: 0;
  630. top: 0;
  631. right: 0;
  632. bottom: 0;
  633. margin: auto;
  634. background: #fff;
  635. width: calc(100% - 198rpx);
  636. height: 700rpx;
  637. border-radius: 20rpx;
  638. .alert-top {
  639. padding: 33rpx;
  640. display: flex;
  641. justify-content: center;
  642. align-items: center;
  643. position: relative;
  644. }
  645. .title {
  646. font-size: 32rpx;
  647. font-weight: 600;
  648. color: #333333;
  649. }
  650. .close {
  651. position: absolute;
  652. right: 33rpx;
  653. }
  654. }
  655. }
  656. .cancel,
  657. .confirm {
  658. position: absolute;
  659. display: inline-block;
  660. width: 50%;
  661. text-align: center;
  662. bottom: 0;
  663. padding: 10px;
  664. border-top: 1px solid #eee;
  665. font-size: 34rpx;
  666. }
  667. .cancel {
  668. left: 0;
  669. border-right: 1px solid #eee;
  670. color: #AFB3BF;
  671. }
  672. .confirm {
  673. right: 0;
  674. color: #22C572;
  675. }
  676. .textarea {
  677. margin: 18rpx auto;
  678. width: 100%;
  679. background: #F9F9FA;
  680. border-radius: 10px;
  681. border: 1px solid #EEEEEE;
  682. font-size: 28rpx;
  683. padding: 10px;
  684. }
  685. .textCss {
  686. display: flex;
  687. justify-content: flex-end;
  688. width: 100%;
  689. text-align: right;
  690. color: #333333;
  691. }
  692. .u-textarea-style {
  693. margin: 20rpx;
  694. background: #F9F9FA;
  695. border-radius: 10px;
  696. border: 1px solid #EEEEEE;
  697. padding: 10rpx 20rpx;
  698. position: relative;
  699. height:240px;
  700. /deep/.uni-textarea-textarea{
  701. width: 80%;
  702. }
  703. .right-bottom {
  704. position: absolute;
  705. right: 20rpx;
  706. bottom: 20rpx;
  707. color: #AFB3BF;
  708. }
  709. }
  710. /deep/.u-input__textarea {
  711. height: 300rpx !important;
  712. }
  713. .content2 {
  714. background: white;
  715. margin: 20rpx 0;
  716. border-radius: 20rpx;
  717. padding: 20rpx;
  718. .row {
  719. display: flex;
  720. .left {
  721. display: flex;
  722. align-items: center;
  723. .item1 {
  724. position: relative;
  725. .item-content {
  726. background: #617AE0;
  727. width: 44px;
  728. height: 44px;
  729. border-radius: 22px;
  730. line-height: 44px;
  731. text-align: center;
  732. font-size: 15px;
  733. color: #fff;
  734. }
  735. .status {
  736. position: absolute;
  737. border-radius: 50%;
  738. padding: 0px 2px;
  739. right: -3px;
  740. bottom: -3px;
  741. background: #fff;
  742. }
  743. .status.success {
  744. border: 1px solid rgb(60, 156, 255);
  745. }
  746. .status.error {
  747. border: 1px solid rgb(245, 108, 108);
  748. }
  749. .status.question {
  750. border: 1px solid #f9ae3d;
  751. }
  752. }
  753. }
  754. .right {
  755. width: 80%;
  756. // color: #B0B1B5;
  757. margin-top: 10px;
  758. .right-content {
  759. background: #F2F3F7;
  760. margin-left: 10px;
  761. margin-top: 10px;
  762. padding: 10px;
  763. border-radius: 5px;
  764. color: #B0B1B5;
  765. }
  766. .right-item {
  767. display: flex;
  768. justify-content: space-between;
  769. .time {
  770. color: #999;
  771. }
  772. .item2 {
  773. margin-left: 20rpx;
  774. margin-top: -7px;
  775. .name {
  776. font-size: 28rpx;
  777. font-weight: 800;
  778. margin-bottom: 4px;
  779. }
  780. .status.success {
  781. color: #6CC48C;
  782. }
  783. .status.error {
  784. color: rgb(245, 108, 108);
  785. }
  786. .status.question {
  787. color: #f9ae3d;
  788. }
  789. }
  790. }
  791. }
  792. }
  793. .row2 {
  794. display: flex;
  795. .item-content {
  796. background: #22C572;
  797. width: 30px;
  798. height: 30px;
  799. border-radius: 50%;
  800. line-height: 30px;
  801. text-align: center;
  802. font-size: 12px;
  803. color: #fff;
  804. padding: 0 2px;
  805. margin: 0 auto;
  806. }
  807. .status {
  808. position: absolute;
  809. top: 0;
  810. right: 0;
  811. }
  812. }
  813. .row-line {
  814. width: 1px;
  815. height: 30px;
  816. background: #F2F2F2;
  817. margin: 10rpx 50rpx;
  818. }
  819. .audit {
  820. margin-top: 20rpx;
  821. }
  822. }
  823. .form_top {
  824. border-bottom: 1px solid #F5F6FA;
  825. padding-bottom: 10px;
  826. margin-bottom: 18rpx;
  827. font-size: 30rpx;
  828. font-weight: 600;
  829. }
  830. .form_view{
  831. margin: 20rpx 0;
  832. border-radius: 20rpx;
  833. background: #F9F9FA;
  834. padding: 30rpx 20rpx;
  835. margin-top: 30rpx;
  836. }
  837. .label_css{
  838. font-size: 26rpx;
  839. color: #878C9C;
  840. }
  841. .input_css{
  842. font-size: 20rpx;
  843. }
  844. /deep/.uni-textarea-wrapper{
  845. height:200px;
  846. }
  847. // .fujian_title{
  848. // font-size: 34rpx;
  849. // margin-top: 20px;
  850. // font-weight: 600;
  851. // // margin-left: 10px;
  852. // }
  853. .headInfo{
  854. height: 100px;
  855. background-color: #FFFFFF;
  856. margin-bottom: 20rpx;
  857. border-radius: 10px;
  858. padding: 30rpx 10px;
  859. display: flex;
  860. .headInfo_left{
  861. width: 10%;
  862. line-height: 60px;
  863. text-align: center;
  864. }
  865. .headInfo_middle{
  866. width: 60%;
  867. padding-left: 10px;
  868. margin-top: 10px;
  869. }
  870. .headInfo_right{
  871. width: 30%;
  872. line-height: 60px;
  873. .char_a{
  874. color: #22C572;
  875. }
  876. .char_b{
  877. color: #FE6430;
  878. }
  879. .char_c{
  880. color: #FB2323;
  881. }
  882. .char_a,.char_b,.char_c{
  883. font-size: 16px;
  884. }
  885. }
  886. .adopt{
  887. position: absolute;
  888. right: 30px;
  889. top: 60px;
  890. .adopt_img{
  891. width: 90px;
  892. height: 90px;
  893. }
  894. }
  895. .headInfo_title{
  896. font-size: 19px;
  897. color: #333333;
  898. font-weight: 600;
  899. }
  900. .headInfo_No{
  901. color: #878C9C;
  902. font-size: 13px;
  903. margin-top: 6px;
  904. }
  905. }
  906. .img_item {
  907. display: flex;
  908. width: 100%;
  909. margin: 10px 0;
  910. padding: 0 10rpx;
  911. .imgsign{
  912. width: 25px;
  913. height: 25px;
  914. margin-top: 6px;
  915. }
  916. .char_css {
  917. font-size: 28rpx;
  918. font-weight: 600;
  919. display: -webkit-box;
  920. overflow: hidden;
  921. /*! autoprefixer: off; */
  922. -webkit-box-orient: vertical;
  923. -webkit-line-clamp: 1;
  924. -webkit-box-orient: vertical;
  925. text-overflow: ellipsis;
  926. word-break: break-all;
  927. }
  928. .img_size{
  929. color: #B0B3BF;
  930. font-size: 12px;
  931. margin-top: 5px;
  932. }
  933. .img_dowload {
  934. width: 14%;
  935. color: #22C572;
  936. text-align: right;
  937. }
  938. }
  939. </style>