universalityAudit.vue 24 KB

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