universalityAudit.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861
  1. <template>
  2. <view style='margin-bottom:280rpx;'>
  3. <view class="topInfo">
  4. <view class="topInfo-item">
  5. <view class="flex info">
  6. <view class="logo">
  7. <image src="../../../static/img/reject.png" mode="" v-if="dataobj.status == '已驳回'"
  8. style="height: 40rpx;"></image><!-- 驳回 -->
  9. <image src="../../../static/img/tongguo.png" mode="" v-if="dataobj.status == '已通过'"
  10. style="height: 40rpx;"></image><!-- 通过 -->
  11. <!-- v-if="status == '审核中' || status == '待决策人审核'" -->
  12. <image v-if='dataobj.approveStatus' src="../../../static/img/daishenhe.png" mode="" style="height: 40rpx;"></image>
  13. <!-- 待审核 -->
  14. </view>
  15. <!-- {{auditList.length > 0 ?auditList[auditList.length - 1].operatorMajorRoleName:""}} -->
  16. <view class="infoText">{{dataobj.approveStatus?dataobj.approveStatus:dataobj.status}}</view>
  17. </view>
  18. <view class="infoData">{{dataobj.updateDate}}</view>
  19. </view>
  20. </view>
  21. <view>
  22. <u-form :model="dataobj" ref="uForm">
  23. <u-form-item label="类型"><view style='text-align:right;width:100%;color:#AFB3BF;'>{{dataobj.businessType}}</view></u-form-item>
  24. <u-form-item :border-bottom='false' :label-position='"top"' label="备注">
  25. <view class="u-textarea-style">
  26. <view class="right-bottom">
  27. {{dataobj.remark?dataobj.remark.length:0}}/2000个字
  28. </view>
  29. <textarea style='font-size:12px;' disabled maxlength="2000" v-model='dataobj.remark' placeholder="请输入备注信息" name="" id="" cols="30" rows="11"></textarea>
  30. </view>
  31. </u-form-item>
  32. </u-form>
  33. <u-form :label-position='"top"' ref="uForm">
  34. <u-form-item :border-bottom='false' :label="'共'+imglist.length+'个附件'">
  35. <view style='width:100%;border-top:1px solid #EEEEEE;' v-if='imglist.length>0'>
  36. <view style="justify-content: space-between;" class='flex' v-for='item in imglist'>
  37. <view class="img_item">
  38. <view class="" style="width: 16%;">
  39. <image
  40. v-if="item.type == 'pdf'"
  41. class="imgsign" src="../../../static/img/oa_office/pdf3.png"
  42. mode=""></image>
  43. <image v-else-if="item.type == 'xls'||item.type == 'xlsx'"
  44. class="imgsign" src="../../../static/img/oa_office/excle3.png"
  45. mode=""></image>
  46. <image v-else-if="item.type == 'doc'||item.type == 'docx'"
  47. class="imgsign" src="../../../static/img/oa_office/word3.png"
  48. mode=""></image>
  49. <image v-else class="imgsign" :src="item.appendixPath" mode="">
  50. </image>
  51. </view>
  52. <view class="" style="width: 70%;">
  53. <view class="char_css">{{item.appendixName}}</view>
  54. <view class="img_size">{{item.appendixSize}}</view>
  55. </view>
  56. <view style="color: #22C572;" class="img_dowload" @click="openDownload(item)">
  57. 下载
  58. </view>
  59. </view>
  60. <!-- <u-icon name="attach" ></u-icon> -->
  61. <!-- <image style='width: 200rpx;height: 200rpx;' :src="item" mode=""></image> -->
  62. </view>
  63. </view>
  64. </u-form-item>
  65. </u-form>
  66. <u-form style='padding-bottom: 180rpx;' ref="uForm">
  67. <view class="form_top">审批流</view>
  68. <view class="content2">
  69. <view v-for="(item,index) in auditList" :key='index' class="audit">
  70. <view class="row" v-if='item.desc!="_PLACEHOLDER_"'>
  71. <view class="left">
  72. <view class="item1">
  73. <view class="item-content">{{item.operatorTitle}}</view>
  74. <view v-if="item.status=='success'" class='status success'>
  75. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  76. </view>
  77. <view v-if="item.status=='error'" class='status error'>
  78. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  79. </view>
  80. <view v-if="item.status=='question'" class='status question'>
  81. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  82. </view>
  83. </view>
  84. </view>
  85. <view class="right">
  86. <view class="right-item">
  87. <view class="item2">
  88. <view class="name">{{item.desc}}
  89. </view>
  90. <!-- <view class='time'>{{item.updateDate}}</view> -->
  91. <view v-if="item.status=='success'" class="status success">
  92. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  93. v-if='!item.commonStaffs1&&index!=0'>已审核</text></view>
  94. <view v-if="item.status=='error'" class="status error">
  95. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  96. v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text>
  97. </view>
  98. <view v-if="item.status=='question'" class="status question">
  99. {{item.commonStaffs1?item.staffscontent:''}}<text
  100. v-if='!item.commonStaffs1'>未审核</text></view>
  101. <!-- <view class="status success">吕波(已审核)</view> -->
  102. </view>
  103. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0'
  104. class='time'>
  105. {{item.updateDate}}
  106. </view>
  107. </view>
  108. <view v-if='item.auditMind' class="right-content">
  109. {{item.auditMind}}
  110. </view>
  111. <view class="flex audit_img">
  112. <view v-for="(items,indexs) in item.fileUrl" class="url_css">
  113. <image :src="items" mode="" class="url_img" @click="auditFile(items)"></image>
  114. </view>
  115. </view>
  116. </view>
  117. <view v-if='item.commonStaffs1' class="right">
  118. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28">
  119. </u-icon>
  120. </view>
  121. </view>
  122. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  123. <view class='row2'>
  124. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  125. <view class="item-content">
  126. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  127. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  128. </view>
  129. <view class="name">{{item1.staffName}}</view>
  130. </view>
  131. </view>
  132. </view>
  133. <view class="row-line" v-if="index!= auditList.length - 1&&item.desc!='_PLACEHOLDER_'"></view>
  134. </view>
  135. </view>
  136. </u-form>
  137. </view>
  138. <view v-if='show' class="shade">
  139. <view class="wrap">
  140. <view class="alert-top">
  141. <view class="title">
  142. {{title}}
  143. </view>
  144. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  145. </view>
  146. <view class="u-textarea-style">
  147. <view class="right-bottom">
  148. {{auditMind.length}}/1000个字
  149. </view>
  150. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  151. maxlength="1000" />
  152. </view>
  153. <view class="upload_css">
  154. 上传附件
  155. <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="2"
  156. :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
  157. @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload>
  158. </view>
  159. <view @click='close()' class="cancel">取消</view>
  160. <view @click='passSubmit()' class="confirm">确定</view>
  161. </view>
  162. </view>
  163. <view style='padding:10px;' class='flex bottom-btn'>
  164. <u-button v-if='dataobj.taskId' @click='reject' type="error" class="btn1" hover-class='none'>驳回</u-button>
  165. <u-button v-if='dataobj.taskId' @click='pass' type="success" class="btn2">通过</u-button>
  166. <u-button v-if='!dataobj.taskId' @click="fanHui" type="success" class="btn1" hover-class='none'>返回</u-button>
  167. </view>
  168. </view>
  169. </template>
  170. <script>
  171. import upload from '@/components/upload.vue';
  172. export default {
  173. components: {
  174. upload
  175. },
  176. data() {
  177. return {
  178. id:'',
  179. dataobj:{},
  180. show:false,
  181. auditMind:'',
  182. title:'',
  183. imglist:[],
  184. auditList:[],
  185. action: this.$uploadUrl,
  186. maxSize: 50 * 1024 * 1024, //限制文件大小 50M,
  187. fileUrl:[]
  188. }
  189. },
  190. onLoad(options){
  191. this.id=options.id
  192. console.log(options.id)
  193. },
  194. onShow(){
  195. // this.$nextTick(()=>{
  196. this.getList()
  197. // })
  198. },
  199. methods: {
  200. openDownload(item){
  201. uni.downloadFile({
  202. url: item.appendixPath,
  203. success: function(res) {
  204. var filePath = res.tempFilePath;
  205. uni.openDocument({
  206. filePath: filePath,
  207. showMenu: true,
  208. success: function(res) {
  209. console.log('打开文档成功');
  210. }
  211. });
  212. }
  213. });
  214. },
  215. filterFileType(index, lists) {
  216. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  217. lists.splice(index, 1);
  218. // 当前文件不支持
  219. uni.showModal({
  220. title: '暂不支持当前图片类型',
  221. showCancel: false
  222. });
  223. } else {
  224. this.isAdd = false;
  225. }
  226. },
  227. auditFile(src) {
  228. uni.downloadFile({
  229. url: src,
  230. success: function(res) {
  231. var filePath = res.tempFilePath;
  232. uni.openDocument({
  233. filePath: filePath,
  234. showMenu: true,
  235. success: function(res) {
  236. console.log('打开文档成功');
  237. }
  238. });
  239. }
  240. });
  241. },
  242. getImgUrl(res) {
  243. this.fileUrl.push(res)
  244. },
  245. onError(error) {
  246. alert(error)
  247. console.log('------------error-----------')
  248. console.log(error)
  249. },
  250. onProgress(e) {
  251. console.log(e)
  252. },
  253. onRemove(index) {
  254. this.fileUrl.splice(index, 1)
  255. },
  256. pass() {
  257. this.show = true
  258. this.title = '审核意见(通过)'
  259. },
  260. reject() {
  261. this.show = true
  262. this.title = '驳回原因(驳回)'
  263. },
  264. // 驳回
  265. rejectSubmit() {
  266. var that = this
  267. if (!this.auditMind) {
  268. this.$api.msg('驳回原因不能为空!')
  269. } else {
  270. this.show = false
  271. uni.showModal({
  272. content: "是否确定驳回?",
  273. showCancel: true,
  274. confirmText: '确定',
  275. success: function(res) {
  276. if (res.confirm) {
  277. that.audit(that.dataobj, 0, false, true, that.auditMind)
  278. }
  279. }
  280. })
  281. }
  282. },
  283. //通过
  284. passSubmit() {
  285. var that = this
  286. if (this.title == '驳回原因(驳回)') {
  287. this.rejectSubmit()
  288. } else {
  289. this.show = false
  290. uni.showModal({
  291. content: "是否确定通过?",
  292. showCancel: true,
  293. confirmText: '确定',
  294. success: function(res) {
  295. if (res.confirm) {
  296. that.audit(that.dataobj, 0, true, 2, that.auditMind)
  297. }
  298. }
  299. })
  300. }
  301. },
  302. //审核方法
  303. audit(list, index, status, status2, reason) {
  304. uni.showLoading({
  305. title: "审核中"
  306. })
  307. let that = this
  308. var info = that.auditMind
  309. if (that.fileUrl.length > 0) {
  310. info = that.auditMind + "##" + that.fileUrl.toString()
  311. }
  312. this.$api.doRequest('post', '/newWorkflow/api/handle', {
  313. taskId: list.taskId,
  314. approved: status,
  315. auditMind: info?info:"",
  316. needReapply: status2 != undefined ? true : false,
  317. }).then(res => {
  318. if (status == true) {
  319. this.$api.msg('通过成功')
  320. } else if (status == false) {
  321. this.$api.msg('驳回成功')
  322. }
  323. setTimeout(function() {
  324. uni.navigateBack()
  325. }, 1000);
  326. })
  327. },
  328. fanHui() {
  329. uni.navigateBack()
  330. },
  331. close() {
  332. this.show = false
  333. },
  334. getList(){
  335. var that =this
  336. this.$api.doRequest('get', '/generalAuditInfo/getGeneralAuditInfo', {
  337. id:this.id
  338. }).then(res => {
  339. this.dataobj=res.data.data
  340. this.$api.doRequest('get', '/appendix/query/getFileList', {
  341. appendixIds: that.dataobj.addressUrl
  342. }).then(res1 => {
  343. that.imglist = res1.data.data
  344. for (let i = 0; i < that.imglist.length; i++) {//获取后缀
  345. if (that.imglist[i].appendixName) {
  346. let index = that.imglist[i].appendixName.lastIndexOf(".")
  347. that.imglist[i].type = that.imglist[i].appendixName.substring(index+1)
  348. }
  349. }
  350. })
  351. // 查流程
  352. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  353. businessCode: 'GENERAL-AUDIT-APPROVE',
  354. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  355. }).then(res1 => {
  356. this.$api.doRequest('get', '/commonUser/getHis', {
  357. workflowId: res1.data.data[0].id,
  358. businessKey: this.id,
  359. branch:that.dataobj.businessType?that.dataobj.businessType:'zt'
  360. }).then(response => {
  361. uni.hideLoading()
  362. for (let i = 0; i < response.data.data.length; i++) {
  363. this.$set(response.data.data[i], 'status', 'question')
  364. console.log(response.data.data[i].workflowHistoricTasks, i)
  365. if (response.data.data[i].commonStaffs) {
  366. response.data.data[i].showflow = false
  367. response.data.data[i].operatorTitle = response.data.data[i]
  368. .desc.substring(0, 2)
  369. response.data.data[i].operatorName = response.data.data[i]
  370. .desc
  371. response.data.data[i].staffscontent = '共' + response.data
  372. .data[i].commonStaffs.length + '人,当前审核' + response.data
  373. .data[i].workflowHistoricTasks.length + '人'
  374. if (response.data.data[i].workflowHistoricTasks && response
  375. .data.data[i].workflowHistoricTasks.length > 0) {
  376. if (response.data.data[i].workflowHistoricTasks
  377. .length != response.data.data[i].commonStaffs
  378. .length) {
  379. // response.data.data[i].status='question'
  380. this.$set(response.data.data[i], 'status',
  381. 'question')
  382. } else {
  383. this.$set(response.data.data[i], 'status',
  384. 'success')
  385. // response.data.data[i].status='success'
  386. }
  387. response.data.data[i].workflowlen = response.data.data[
  388. i].workflowHistoricTasks.length
  389. var workflowdata = response.data.data[i]
  390. .workflowHistoricTasks
  391. var staffsdata = response.data.data[i].commonStaffs
  392. for (let q = 0; q < staffsdata.length; q++) {
  393. staffsdata[q].status = false
  394. staffsdata[q].staffTitle = staffsdata[q].staffName
  395. for (let k = 0; k < workflowdata.length; k++) {
  396. if (staffsdata[q].staffId == workflowdata[k]
  397. .operatorId) {
  398. staffsdata[q].status = true
  399. }
  400. }
  401. }
  402. }
  403. response.data.data[i].commonStaffs1 = response.data.data[i]
  404. .commonStaffs
  405. } else {
  406. if (response.data.data[i].workflowHistoricTasks && response
  407. .data.data[i].workflowHistoricTasks.length > 0) {
  408. var len = response.data.data[i].workflowHistoricTasks
  409. .length - 1
  410. if (response.data.data[i].workflowHistoricTasks[len]
  411. .approved) {
  412. this.$set(response.data.data[i], 'status',
  413. 'success')
  414. } else {
  415. this.$set(response.data.data[i], 'status', 'error')
  416. }
  417. response.data.data[i].operatorTitle = response.data
  418. .data[i].workflowHistoricTasks[len].operatorName
  419. .substring(response.data.data[i]
  420. .workflowHistoricTasks[0].operatorName.length -
  421. 2)
  422. response.data.data[i].operatorName = response.data
  423. .data[i].workflowHistoricTasks[len].operatorName
  424. var time = new Date(response.data.data[i]
  425. .workflowHistoricTasks[len].claimTime)
  426. .getTime()
  427. response.data.data[i].updateDate = this.$u.timeFormat(
  428. time, 'mm.dd hh:MM')
  429. // response.data.data[i].auditMind = response.data.data[i]
  430. // .workflowHistoricTasks[len].auditMind
  431. if (response.data.data[i].workflowHistoricTasks[len].auditMind && response.data.data[i].workflowHistoricTasks[len].auditMind.indexOf("##") !=-1) {
  432. response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[0]
  433. response.data.data[i].fileUrl = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[1].split(",")
  434. }else{
  435. response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind
  436. }
  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
  446. .data[i].desc.substring(0, 2)
  447. }
  448. response.data.data[i].operatorName = response.data
  449. .data[i].desc
  450. var time1 = new Date(response.data.data[i].updateDate)
  451. .getTime()
  452. response.data.data[i].updateDate = this.$u.timeFormat(
  453. time1, 'mm.dd hh:MM')
  454. response.data.data[i].auditMind = ''
  455. }
  456. }
  457. }
  458. console.log(response.data.data)
  459. for(let i = 0 ;i<response.data.data.length;i++){
  460. if(response.data.data[i].status == "error"){
  461. this.auditCheck = "error"
  462. break;
  463. }else if(response.data.data[i].status == "question"){
  464. this.auditCheck = "question"
  465. break;
  466. }else{
  467. this.auditCheck = "success"
  468. }
  469. }
  470. this.auditList = response.data.data
  471. var time2 = new Date(this.dataobj.createDate).getTime()
  472. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  473. this.auditList.unshift({
  474. operatorTitle: this.dataobj.creater.substring(0, 2),
  475. operatorName: this.dataobj.creater,
  476. updateDate: time3,
  477. auditMind: '',
  478. desc: '发起申请',
  479. showflow: false,
  480. commonStaffs1: null,
  481. commonStaffs: null,
  482. workflowHistoricTasks: [],
  483. status: 'success'
  484. })
  485. })
  486. })
  487. })
  488. }
  489. }
  490. }
  491. </script>
  492. <style lang="scss" scoped>
  493. .bottom-btn {
  494. width: 100%;
  495. position: fixed;
  496. bottom: 0;
  497. display: flex;
  498. z-index: 2;
  499. left: 0;
  500. background-color: #f8f8f8;
  501. flex-direction: column;
  502. .btn1,
  503. .btn2 {
  504. width: 100%;
  505. margin-bottom: 26rpx;
  506. border-radius: 90rpx;
  507. }
  508. .btn1 {
  509. background: white;
  510. color: #00C265;
  511. }
  512. }
  513. .content2 {
  514. background: white;
  515. margin: 20rpx 0;
  516. border-radius: 20rpx;
  517. padding: 20rpx;
  518. .row {
  519. display: flex;
  520. .left {
  521. display: flex;
  522. align-items: center;
  523. .item1 {
  524. position: relative;
  525. .item-content {
  526. background: #617AE0;
  527. width: 44px;
  528. height: 44px;
  529. border-radius: 22px;
  530. line-height: 44px;
  531. text-align: center;
  532. font-size: 15px;
  533. color: #fff;
  534. }
  535. .status {
  536. position: absolute;
  537. border-radius: 50%;
  538. padding: 0px 2px;
  539. right: -3px;
  540. bottom: -3px;
  541. background: #fff;
  542. }
  543. .status.success {
  544. border: 1px solid rgb(60, 156, 255);
  545. }
  546. .status.error {
  547. border: 1px solid rgb(245, 108, 108);
  548. }
  549. .status.question {
  550. border: 1px solid #f9ae3d;
  551. }
  552. }
  553. }
  554. .right {
  555. width: 80%;
  556. // color: #B0B1B5;
  557. margin-top: 10px;
  558. .right-content {
  559. background: #F2F3F7;
  560. margin-left: 10px;
  561. margin-top: 10px;
  562. padding: 10px;
  563. border-radius: 5px;
  564. color: #B0B1B5;
  565. }
  566. .right-item {
  567. display: flex;
  568. justify-content: space-between;
  569. .time {
  570. color: #999;
  571. }
  572. .item2 {
  573. margin-left: 20rpx;
  574. margin-top: -7px;
  575. .name {
  576. font-size: 28rpx;
  577. font-weight: 800;
  578. margin-bottom: 4px;
  579. }
  580. .status.success {
  581. color: #6CC48C;
  582. }
  583. .status.error {
  584. color: rgb(245, 108, 108);
  585. }
  586. .status.question {
  587. color: #f9ae3d;
  588. }
  589. }
  590. }
  591. .audit_img {
  592. flex-wrap: wrap;
  593. margin: 0 20rpx;
  594. .url_css {
  595. border: 1px solid #999999;
  596. border-radius: 10px;
  597. margin-top: 10px;
  598. margin-right: 10px;
  599. .url_img {
  600. width: 80px;
  601. height: 80px;
  602. border-radius: 10px;
  603. }
  604. }
  605. }
  606. }
  607. }
  608. .row2 {
  609. display: flex;
  610. .item-content {
  611. background: #22C572;
  612. width: 30px;
  613. height: 30px;
  614. border-radius: 50%;
  615. line-height: 30px;
  616. text-align: center;
  617. font-size: 12px;
  618. color: #fff;
  619. padding: 0 2px;
  620. margin: 0 auto;
  621. }
  622. .status {
  623. position: absolute;
  624. top: 0;
  625. right: 0;
  626. }
  627. }
  628. .row-line {
  629. width: 1px;
  630. height: 30px;
  631. background: #F2F2F2;
  632. margin: 10rpx 50rpx;
  633. }
  634. .audit {
  635. margin-top: 20rpx;
  636. }
  637. }
  638. .u-form {
  639. margin: 20rpx;
  640. background: #fff;
  641. border-radius: 10px;
  642. padding: 30rpx 10px;
  643. .u-form-item {
  644. line-height: 30px;
  645. padding: 0px 0;
  646. font-size: 26rpx;
  647. }
  648. }
  649. .u-textarea-style {
  650. margin: 20rpx;
  651. background: #F9F9FA;
  652. border-radius: 10px;
  653. border: 1px solid #EEEEEE;
  654. padding: 10rpx 20rpx;
  655. position: relative;
  656. height:165px;
  657. /deep/.uni-textarea-textarea{
  658. width: 80%;
  659. }
  660. .right-bottom {
  661. position: absolute;
  662. right: 20rpx;
  663. bottom: 20rpx;
  664. color: #AFB3BF;
  665. }
  666. }
  667. .form_top {
  668. border-bottom: 1px solid #F5F6FA;
  669. padding-bottom: 10px;
  670. margin-bottom: 18rpx;
  671. font-size: 30rpx;
  672. font-weight: 600;
  673. }
  674. .form_view{
  675. margin: 20rpx 0;
  676. border-radius: 20rpx;
  677. background: #F9F9FA;
  678. padding: 30rpx 20rpx;
  679. margin-top: 30rpx;
  680. }
  681. .label_css {
  682. font-size: 26rpx;
  683. color: #878C9C;
  684. }
  685. .input_css {
  686. font-size: 20rpx;
  687. }
  688. .img_item {
  689. display: flex;
  690. width: 100%;
  691. margin: 10px 0;
  692. padding: 0 10rpx;
  693. .imgsign{
  694. width: 25px;
  695. height: 25px;
  696. margin-top: 6px;
  697. }
  698. .char_css {
  699. font-size: 28rpx;
  700. font-weight: 600;
  701. display: -webkit-box;
  702. overflow: hidden;
  703. /*! autoprefixer: off; */
  704. -webkit-box-orient: vertical;
  705. -webkit-line-clamp: 1;
  706. -webkit-box-orient: vertical;
  707. text-overflow: ellipsis;
  708. word-break: break-all;
  709. }
  710. .img_size{
  711. color: #B0B3BF;
  712. font-size: 12px;
  713. margin-top: 5px;
  714. }
  715. .img_dowload {
  716. width: 14%;
  717. color: #22C572;
  718. text-align: right;
  719. }
  720. }
  721. .shade {
  722. position: fixed;
  723. top: 0;
  724. left: 0;
  725. height: 100%;
  726. width: 100%;
  727. background: rgba(0, 0, 0, 0.4);
  728. z-index: 3;
  729. .wrap {
  730. position: absolute;
  731. left: 0;
  732. top: 0;
  733. right: 0;
  734. bottom: 0;
  735. margin: auto;
  736. background: #fff;
  737. width: calc(100% - 198rpx);
  738. height: 820rpx;
  739. border-radius: 20rpx;
  740. .alert-top {
  741. padding: 33rpx;
  742. display: flex;
  743. justify-content: center;
  744. align-items: center;
  745. position: relative;
  746. }
  747. .title {
  748. font-size: 32rpx;
  749. font-weight: 600;
  750. color: #333333;
  751. }
  752. .close {
  753. position: absolute;
  754. right: 33rpx;
  755. }
  756. .upload_css {
  757. margin-left: 20rpx;
  758. }
  759. }
  760. }
  761. .cancel,
  762. .confirm {
  763. position: absolute;
  764. display: inline-block;
  765. width: 50%;
  766. text-align: center;
  767. bottom: 0;
  768. padding: 10px;
  769. border-top: 1px solid #eee;
  770. font-size: 34rpx;
  771. }
  772. .cancel {
  773. left: 0;
  774. border-right: 1px solid #eee;
  775. color: #AFB3BF;
  776. }
  777. .confirm {
  778. right: 0;
  779. color: #22C572;
  780. }
  781. .topInfo {
  782. height: 210rpx;
  783. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  784. padding: 30rpx;
  785. .topInfo-item {
  786. height: 150rpx;
  787. background-color: #FFFFFF;
  788. border-radius: 20rpx;
  789. padding: 40rpx;
  790. .logo {
  791. width: 40rpx;
  792. height: 40rpx;
  793. margin-top: 8rpx;
  794. }
  795. .infoText {
  796. font-size: 36rpx;
  797. font-weight: 600;
  798. margin-left: 20rpx;
  799. }
  800. .infoData {
  801. color: #878C9C;
  802. font-size: 26rpx;
  803. margin-top: 10rpx;
  804. }
  805. }
  806. }
  807. </style>