universalityAudit.vue 25 KB

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