universalityAudit.vue 24 KB

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