universalityAudit.vue 25 KB

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