acquisitioncontract.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. <template>
  2. <view class="container">
  3. <u-form ref="uForm">
  4. <u-form-item label-width='260' label="合同编号">
  5. <u-input v-model="list.contractNo" input-align="right" placeholder="" disabled />
  6. </u-form-item>
  7. <u-form-item label-width='260' label="交易主体">
  8. <u-input v-model="list.transactionSubject" input-align="right" placeholder="" disabled />
  9. </u-form-item>
  10. <u-form-item label-width='260' label="收购方">
  11. <u-input v-model="list.buyer" input-align="right" placeholder="" disabled />
  12. </u-form-item>
  13. <u-form-item label-width='260' label="收购方电话">
  14. <u-input v-model="list.buyerPhone" input-align="right" placeholder="" disabled />
  15. </u-form-item>
  16. <u-form-item label-width='260' label="合营方">
  17. <u-input v-model="list.seller" input-align="right" placeholder="" disabled />
  18. </u-form-item>
  19. <u-form-item label-width='260' label="合营方电话">
  20. <u-input v-model="list.sellerPhone" input-align="right" placeholder="" disabled />
  21. </u-form-item>
  22. <u-form-item label-width='260' label="交货方式">
  23. <u-input v-model="list.deliverType1" input-align="right" placeholder="" disabled />
  24. </u-form-item>
  25. <u-form-item label-width='260' label="重量(吨)">
  26. <u-input v-model="list.weight" input-align="right" placeholder="" disabled />
  27. </u-form-item>
  28. <u-form-item label-width='260' label="交货日期(起)">
  29. <u-input v-model="list.deliveryDateStart" input-align="right" placeholder="" disabled />
  30. </u-form-item>
  31. <u-form-item label-width='260' label="溢短装(%)">
  32. <u-input v-model="list.overShort" input-align="right" placeholder="" disabled />
  33. </u-form-item>
  34. <u-form-item label-width='260' label="交货日期(止)">
  35. <u-input v-model="list.deliveryDateEnd" input-align="right" placeholder="" disabled />
  36. </u-form-item>
  37. <u-form-item label-width='260' label="合同单价(元/吨)">
  38. <u-input v-model="list.unitContractPrice" input-align="right" placeholder="" disabled />
  39. </u-form-item>
  40. <u-form-item label-width='260' label="合同总价(元)">
  41. <u-input v-model="list.totalContractPrice" input-align="right" placeholder="" disabled />
  42. </u-form-item>
  43. <u-form-item label-width='260' label="签订日期">
  44. <u-input v-model="list.signingDate" input-align="right" placeholder="" disabled />
  45. </u-form-item>
  46. <u-form-item label-width='300' label="最终实际交易量(吨)">
  47. <u-input v-model="list.finalTradingVolume" input-align="right" placeholder="" disabled />
  48. </u-form-item>
  49. <u-form-item label-width='300' label="结算单价(元/吨)">
  50. <u-input v-model="list.settlementPrice" input-align="right" placeholder="" disabled />
  51. </u-form-item>
  52. <u-form-item label-width='260' label="货名">
  53. <u-input v-model="list.contractGoodsInfo.goodsName" input-align="right" placeholder="" disabled />
  54. </u-form-item>
  55. <u-form-item label-width='260' label="水分(%)<=">
  56. <u-input v-model="list.contractGoodsInfo.waterContent" input-align="right" placeholder="" disabled />
  57. </u-form-item>
  58. <u-form-item label-width='260' label="品级">
  59. <u-input v-model="list.contractGoodsInfo.grade" input-align="right" placeholder="" disabled />
  60. </u-form-item>
  61. <u-form-item label-width='260' label="杂质(%)<=">
  62. <u-input v-model="list.contractGoodsInfo.impurity" input-align="right" placeholder="" disabled />
  63. </u-form-item>
  64. <u-form-item label-width='260' label="容重(克/升)>=">
  65. <u-input v-model="list.contractGoodsInfo.bulkDensity" input-align="right" placeholder="" disabled />
  66. </u-form-item>
  67. <u-form-item label-width='260' label="霉变粒(%)<=">
  68. <u-input v-model="list.contractGoodsInfo.mildewGrain" input-align="right" placeholder="" disabled />
  69. </u-form-item>
  70. <u-form-item label-width='260' label="热损伤(%)<=">
  71. <u-input v-model="list.contractGoodsInfo.jiaorenli" input-align="right" placeholder="" disabled />
  72. </u-form-item>
  73. <u-form-item label-width='260' label="不完善粒(%)<=">
  74. <u-input v-model="list.contractGoodsInfo.imperfectGrain" input-align="right" placeholder="" disabled />
  75. </u-form-item>
  76. <u-form-item label-width='260' label="合同收入(元)">
  77. <u-input v-model="list.contractProcessInfo.goodsNameKey" input-align="right" placeholder="" disabled />
  78. </u-form-item>
  79. <u-form-item label-width='260' label="已开发票(元)">
  80. <u-input v-model="list.contractProcessInfo.goodsName" input-align="right" placeholder="" disabled />
  81. </u-form-item>
  82. <u-form-item label-width='260' label="费用支出(元)">
  83. <u-input v-model="list.contractProcessInfo.waterContent" input-align="right" placeholder="" disabled />
  84. </u-form-item>
  85. <u-form-item label-width='260' label="未开发票(元)">
  86. <u-input v-model="list.contractProcessInfo.impurity" input-align="right" placeholder="" disabled />
  87. </u-form-item>
  88. <u-form-item label-width='260' label="未回款(元)">
  89. <u-input v-model="list.contractProcessInfo.mildewGrain" input-align="right" placeholder="" disabled />
  90. </u-form-item>
  91. <u-form-item label-width='260' label="双章原件回收情况">
  92. <u-input v-model="list.contractProcessInfo.grade" input-align="right" placeholder="" disabled />
  93. </u-form-item>
  94. <u-form-item label-width='260' label="备注信息">
  95. </u-form-item>
  96. <u-form-item>
  97. <textarea class='textarea' v-model="list.remarks" input-align="right" placeholder="" disabled />
  98. </u-form-item>
  99. <u-form-item label-width='260' label="附件">
  100. <!-- <view class="textCss">
  101. <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="1"
  102. :file-list="imglist" :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError"
  103. @on-remove="onRemove" @on-uploaded="isAdd = true" :before-upload="filterFileType"
  104. @on-progress="onProgress" :deletable="false" :showProgress = "false"></upload>
  105. </view> -->
  106. <view v-if='imglist.length'>
  107. <view v-for='item in imglist'>
  108. <view class="" style="color: #19be6b;text-decoration:underline;" @click="openDocument(item)">
  109. 点击下载
  110. </view>
  111. <!-- <u-icon name="attach" ></u-icon> -->
  112. <!-- <image style='width: 200rpx;height: 200rpx;' :src="item" mode=""></image> -->
  113. </view>
  114. </view>
  115. </u-form-item>
  116. <view class="content2">
  117. <view class="title row">
  118. 流程
  119. </view>
  120. <view v-for="(item,index) in auditList" :key='index' class="audit">
  121. <view class="row">
  122. <view class="left">
  123. <view class="item1">
  124. <view class="item-content">{{item.operatorTitle}}</view>
  125. <view v-if="item.status=='success'" class='status success'>
  126. <u-icon name="checkmark" color="#2979ff" size="28"></u-icon>
  127. </view>
  128. <view v-if="item.status=='error'" class='status error'>
  129. <u-icon name="close" color="rgb(245, 108, 108)" size="28"></u-icon>
  130. </view>
  131. <view v-if="item.status=='question'" class='status question'>
  132. <u-icon name="question" color="#f9ae3d" size="28"></u-icon>
  133. </view>
  134. </view>
  135. <view class="item2">
  136. <view class="name">{{item.desc}}
  137. </view>
  138. <view class='time'>{{item.updateDate}}</view>
  139. <view v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>已审核</text></view>
  140. <!-- <view v-if="item.status='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已审核":'未审核'}}</text></view> -->
  141. <view v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
  142. <!-- <view class="status success">吕波(已审核)</view> -->
  143. </view>
  144. </view>
  145. <view v-if='item.commonStaffs1' class="right">
  146. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28"></u-icon>
  147. </view>
  148. </view>
  149. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  150. <view class='row2'>
  151. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  152. <view class="item-content">
  153. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  154. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  155. </view>
  156. <view class="name">{{item1.staffName}}</view>
  157. </view>
  158. </view>
  159. </view>
  160. <view class="row-line" v-if="index!= auditList.length - 1"></view>
  161. </view>
  162. </view>
  163. </u-form>
  164. <view style='padding:10px;' class='flex bottom-btn'>
  165. <u-button v-if='list.approveStatus||isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>
  166. 驳回
  167. </u-button>
  168. <u-button v-if='list.approveStatus||isSHowBtn' @click='pass' type="success" class="btn2">通过</u-button>
  169. </view>
  170. <view v-if='show' class="shade">
  171. <view class="wrap">
  172. <view class="alert-top">
  173. <view class="title">
  174. {{title}}
  175. </view>
  176. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  177. </view>
  178. <view class="u-textarea-style">
  179. <view class="right-bottom">
  180. {{auditMind.length}}/100个字
  181. </view>
  182. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  183. maxlength="100" />
  184. </view>
  185. <view @click='close()' class="cancel">取消</view>
  186. <view @click='passSubmit()' class="confirm">确定</view>
  187. </view>
  188. </view>
  189. <view @click='imgShow=false' v-if="imgShow" class="shade">
  190. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  191. </view>
  192. </view>
  193. </template>
  194. <script>
  195. import upload from '@/components/upload.vue';
  196. import helper from '@/common/helper.js';
  197. export default {
  198. components: {
  199. upload
  200. },
  201. data() {
  202. return {
  203. isSHowBtn: true,
  204. id: "",
  205. currentPage: 1,
  206. pageSize: 10,
  207. auditList:[],
  208. showflow:false,
  209. list: {
  210. status: "",
  211. contractGoodsInfo: {},
  212. contractProcessInfo: {}
  213. },
  214. imglist: [],
  215. auditMind: '',
  216. src: '../../../static/img/myimg/LiangShang@2x.png',
  217. show: false,
  218. title: '',
  219. contractNo: "",
  220. action: this.$uploadUrl,
  221. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  222. isAdd: true,
  223. imgShow: false,
  224. url: "",
  225. everyCheck: ''
  226. }
  227. },
  228. onBackPress(e) {
  229. if(this.everyCheck){
  230. uni.navigateTo({
  231. url: "/pages/task/my_task"
  232. })
  233. return true;
  234. }
  235. },
  236. onLoad(options) {
  237. this.id = options.id
  238. this.getList()
  239. this.everyCheck = uni.getStorageSync("everyTask")
  240. this.isSHowBtn = options.isShowbtn
  241. },
  242. methods: {
  243. openDocument(src){
  244. uni.downloadFile({
  245. url: src,
  246. success: function (res) {
  247. var filePath = res.tempFilePath;
  248. uni.openDocument({
  249. filePath: filePath,
  250. showMenu: true,
  251. success: function (res) {
  252. console.log('打开文档成功');
  253. }
  254. });
  255. }
  256. });
  257. },
  258. shadeshow(url) {
  259. this.imgShow = true
  260. this.url = url
  261. },
  262. showcontent(item){
  263. item.showflow=!item.showflow
  264. },
  265. getList(id) {
  266. var that = this
  267. this.$api.doRequest('get', '/contractManagementInfo/getInfo', {
  268. id: this.id
  269. }).then(res => {
  270. if (res.data.code == 200) {
  271. this.list = res.data.data
  272. if (this.list.deliverType == 1) {
  273. this.list.deliverType1 = '我方自提'
  274. } else if (this.list.deliverType == 2) {
  275. this.list.deliverType1 = '对方送货'
  276. }else if (this.list.deliverType == 3) {
  277. this.list.deliverType1 = '对方送货(临时库)'
  278. }
  279. this.$api.doRequest('get', '/appendix/query/getFileList', {
  280. appendixIds: that.list.addressUrl
  281. }).then(res1 => {
  282. for (var i = 0; i < res1.data.data.length; i++) {
  283. that.imglist.push(res1.data.data[i].appendixPath)
  284. }
  285. })
  286. }
  287. })
  288. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  289. businessCode: 'SHOU-CONTRACT-APPROVE',
  290. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  291. }).then(res1 => {
  292. this.$api.doRequest('get', '/commonUser/getHis', {
  293. workflowId: res1.data.data[0].id,
  294. businessKey: this.id
  295. }).then(response => {
  296. // uni.hideLoading()
  297. for (let i = 0; i < response.data.data.length; i++) {
  298. this.$set(response.data.data[i],'status','question')
  299. console.log(response.data.data[i].workflowHistoricTasks,i)
  300. if(response.data.data[i].commonStaffs){
  301. response.data.data[i].showflow=false
  302. response.data.data[i].operatorTitle=response.data.data[i].desc[0]
  303. response.data.data[i].operatorName=response.data.data[i].desc
  304. response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
  305. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  306. if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
  307. // response.data.data[i].status='question'
  308. this.$set(response.data.data[i],'status','question')
  309. }else{
  310. this.$set(response.data.data[i],'status','success')
  311. // response.data.data[i].status='success'
  312. }
  313. response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
  314. var workflowdata=response.data.data[i].workflowHistoricTasks
  315. var staffsdata=response.data.data[i].commonStaffs
  316. for (let q = 0; q < staffsdata.length; q++) {
  317. staffsdata[q].status=false
  318. staffsdata[q].staffTitle=staffsdata[q].staffName
  319. for (let k = 0; k < workflowdata.length; k++) {
  320. if(staffsdata[q].staffId==workflowdata[k].operatorId){
  321. staffsdata[q].status=true
  322. }
  323. }
  324. }
  325. }
  326. response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
  327. }else{
  328. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  329. this.$set(response.data.data[i],'status','success')
  330. response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[0].operatorName[0]
  331. response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[0].operatorName
  332. }else{
  333. this.$set(response.data.data[i],'status','question')
  334. // response.data.data[i].status='question'
  335. response.data.data[i].operatorTitle=response.data.data[i].desc[0]
  336. response.data.data[i].operatorName=response.data.data[i].desc
  337. }
  338. }
  339. }
  340. console.log(response.data.data)
  341. this.auditList = response.data.data
  342. })
  343. })
  344. },
  345. filterFileType(index, lists) {
  346. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  347. lists.splice(index, 1);
  348. // 当前文件不支持
  349. uni.showModal({
  350. title: '暂不支持当前图片类型',
  351. showCancel: false
  352. });
  353. } else {
  354. this.isAdd = false;
  355. }
  356. },
  357. //驳回
  358. rejectSubmit() {
  359. uni.showLoading({
  360. title: '加载中',
  361. mask: true
  362. });
  363. var that = this
  364. that.$api.doRequest('post', '/workflow/api/handle', {
  365. taskId: that.list.taskId,
  366. approved: false,
  367. auditMind: this.auditMind,
  368. needReapply: true,
  369. }).then(res => {
  370. that.$api.msg('驳回成功')
  371. that.show = false
  372. setTimeout(function() {
  373. if (that.everyCheck) {
  374. helper.setAudit(that.list)
  375. } else {
  376. uni.navigateBack()
  377. }
  378. uni.hideLoading()
  379. }, 1000);
  380. })
  381. },
  382. close() {
  383. this.show = false
  384. },
  385. pass() {
  386. this.show = true
  387. this.title = '审核意见(通过)'
  388. },
  389. reject() {
  390. this.show = true
  391. this.title = '驳回原因(驳回)'
  392. },
  393. //通过
  394. passSubmit() {
  395. var that = this
  396. if (this.title == '驳回原因(驳回)') {
  397. this.rejectSubmit()
  398. } else {
  399. uni.showLoading({
  400. title: '加载中',
  401. mask: true
  402. });
  403. that.$api.doRequest('post', '/workflow/api/handle', {
  404. taskId: that.list.taskId,
  405. approved: true,
  406. auditMind: this.auditMind,
  407. needReapply: true,
  408. }).then(res => {
  409. that.$api.msg('通过成功')
  410. that.show = false
  411. setTimeout(function() {
  412. if (that.everyCheck) {
  413. helper.setAudit(that.list)
  414. } else {
  415. uni.navigateBack()
  416. }
  417. uni.hideLoading()
  418. }, 1000);
  419. })
  420. }
  421. },
  422. //审核方法
  423. audit(item, index, status, status2, reason) {
  424. if (index < this.list.length) {
  425. this.$api.doRequest('post', '/workflow/api/handle', {
  426. taskId: item.taskId,
  427. approved: status,
  428. auditMind: reason != undefined ? '已驳回' : '34',
  429. needReapply: status2 != undefined ? true : false,
  430. }).then(res => {
  431. this.audit(this.list[index + 1], index + 1, status)
  432. })
  433. } else {
  434. if (status == true) {
  435. that.$api.msg('通过成功')
  436. this.getList()
  437. } else if (status == false) {
  438. that.$api.msg('驳回成功')
  439. this.getList()
  440. }
  441. }
  442. },
  443. }
  444. }
  445. </script>
  446. <style scoped lang="scss">
  447. .container {
  448. padding: 20rpx 20rpx 250rpx 20rpx;
  449. }
  450. .u-form {
  451. background: #fff;
  452. border-radius: 10px;
  453. padding: 0 10px;
  454. .u-form-item {
  455. line-height: 30px;
  456. padding: 5px 0;
  457. }
  458. }
  459. .content {
  460. margin-top: 30rpx;
  461. .top {
  462. display: flex;
  463. justify-content: space-between;
  464. }
  465. .content-item {
  466. border-radius: 20rpx;
  467. background: white;
  468. padding: 40rpx 20rpx;
  469. margin-bottom: 30rpx;
  470. }
  471. .title {
  472. font-size: 32rpx;
  473. font-weight: 600;
  474. color: #333333;
  475. text-align: left;
  476. margin: 20rpx 0;
  477. }
  478. .car-container {
  479. border-bottom: 2rpx solid #EEEEEE;
  480. }
  481. .car-type-item {
  482. font-size: 28rpx;
  483. margin: 20rpx 0;
  484. color: #878C9C;
  485. }
  486. .weightInfoCss {
  487. font-size: 28rpx;
  488. color: #333333;
  489. font-weight: 500;
  490. }
  491. .row {
  492. display: flex;
  493. justify-content: space-between;
  494. // .right,
  495. // input {
  496. // font-size: 28rpx;
  497. // // color: #333333;
  498. // }
  499. }
  500. .money {
  501. font-size: 32rpx;
  502. font-weight: 500;
  503. margin-bottom: 30rpx;
  504. }
  505. .moneyInfo {
  506. color: #22C572;
  507. font-size: 32rpx;
  508. }
  509. }
  510. .bottom-btn {
  511. width: 100%;
  512. position: fixed;
  513. bottom: 0;
  514. display: flex;
  515. z-index: 2;
  516. left: 0;
  517. background-color: #f8f8f8;
  518. flex-direction: column;
  519. .btn1,
  520. .btn2 {
  521. width: 100%;
  522. margin-bottom: 26rpx;
  523. border-radius: 90rpx;
  524. }
  525. .btn1 {
  526. background: white;
  527. color: #00C265;
  528. }
  529. }
  530. .topInfo {
  531. height: 210rpx;
  532. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  533. padding: 30rpx;
  534. .topInfo-item {
  535. height: 150rpx;
  536. background-color: #FFFFFF;
  537. border-radius: 20rpx;
  538. padding: 40rpx;
  539. .logo {
  540. width: 40rpx;
  541. height: 40rpx;
  542. margin-top: 8rpx;
  543. }
  544. .infoText {
  545. font-size: 36rpx;
  546. font-weight: 600;
  547. margin-left: 20rpx;
  548. }
  549. .infoData {
  550. color: #878C9C;
  551. font-size: 26rpx;
  552. margin-top: 10rpx;
  553. }
  554. }
  555. }
  556. .shade {
  557. position: fixed;
  558. top: 0;
  559. left: 0;
  560. height: 100%;
  561. width: 100%;
  562. background: rgba(0, 0, 0, 0.4);
  563. z-index: 3;
  564. .wrap {
  565. position: absolute;
  566. left: 0;
  567. top: 0;
  568. right: 0;
  569. bottom: 0;
  570. margin: auto;
  571. background: #fff;
  572. width: calc(100% - 198rpx);
  573. height: 700rpx;
  574. border-radius: 20rpx;
  575. .alert-top {
  576. padding: 33rpx;
  577. display: flex;
  578. justify-content: center;
  579. align-items: center;
  580. position: relative;
  581. }
  582. .title {
  583. font-size: 32rpx;
  584. font-weight: 600;
  585. color: #333333;
  586. }
  587. .close {
  588. position: absolute;
  589. right: 33rpx;
  590. }
  591. }
  592. }
  593. .cancel,
  594. .confirm {
  595. position: absolute;
  596. display: inline-block;
  597. width: 50%;
  598. text-align: center;
  599. bottom: 0;
  600. padding: 10px;
  601. border-top: 1px solid #eee;
  602. font-size: 34rpx;
  603. }
  604. .cancel {
  605. left: 0;
  606. border-right: 1px solid #eee;
  607. color: #AFB3BF;
  608. }
  609. .confirm {
  610. right: 0;
  611. color: #22C572;
  612. }
  613. .textCss {
  614. display: flex;
  615. justify-content: flex-end;
  616. width: 100%;
  617. text-align: right;
  618. }
  619. .textarea {
  620. margin: 20px auto;
  621. width: 100%;
  622. background: #F9F9FA;
  623. border-radius: 10px;
  624. border: 1px solid #EEEEEE;
  625. font-size: 28rpx;
  626. padding: 10px;
  627. }
  628. .u-textarea-style {
  629. margin: 20rpx;
  630. background: #F9F9FA;
  631. border-radius: 10px;
  632. border: 1px solid #EEEEEE;
  633. padding: 10rpx 20rpx;
  634. position: relative;
  635. .right-bottom {
  636. position: absolute;
  637. right: 20rpx;
  638. bottom: 20rpx;
  639. color: #AFB3BF;
  640. }
  641. }
  642. .content2 {
  643. background: white;
  644. margin: 20rpx 0;
  645. border-radius: 20rpx;
  646. padding: 20rpx;
  647. .row {
  648. display: flex;
  649. justify-content: space-between;
  650. .left {
  651. display: flex;
  652. align-items: center;
  653. .item1{
  654. position:relative;
  655. .item-content{
  656. background:#22C572;
  657. width: 50px;
  658. height: 50px;
  659. border-radius: 50%;
  660. line-height: 50px;
  661. text-align: center;
  662. font-size: 20px;
  663. color: #fff;
  664. }
  665. .status{
  666. position:absolute;
  667. border-radius: 50%;
  668. padding: 1px 2px;
  669. right: 0;
  670. bottom: 0;
  671. background:#fff;
  672. }
  673. .status.success{
  674. border:1px solid rgb(60, 156, 255);
  675. }
  676. .status.error{
  677. border:1px solid rgb(245, 108, 108);
  678. }
  679. .status.question{
  680. border:1px solid #f9ae3d;
  681. }
  682. }
  683. .item2 {
  684. margin-left: 20rpx;
  685. .name {
  686. font-size: 32rpx;
  687. font-weight: 800;
  688. }
  689. .status.success {
  690. color: #6CC48C;
  691. }
  692. .status.error {
  693. color: rgb(245, 108, 108);
  694. }
  695. .status.question {
  696. color: #f9ae3d;
  697. }
  698. .time{
  699. color:#999;
  700. }
  701. }
  702. }
  703. .right {
  704. color: #B0B1B5;
  705. margin-top: 10px;
  706. }
  707. }
  708. .row2{
  709. display:flex;
  710. .item-content{
  711. background:#22C572;
  712. width: 30px;
  713. height: 30px;
  714. border-radius: 50%;
  715. line-height: 30px;
  716. text-align: center;
  717. font-size: 12px;
  718. color: #fff;
  719. padding:0 2px;
  720. margin:0 auto;
  721. }
  722. .status{
  723. position:absolute;
  724. top:0;right:0;
  725. }
  726. }
  727. .row-line {
  728. width: 1px;
  729. height: 30px;
  730. background: #F2F2F2;
  731. margin: 10rpx 50rpx;
  732. }
  733. .audit {
  734. margin-top: 20rpx;
  735. }
  736. }
  737. </style>