3a3694c6 by lttnew

详情

1 parent c18acc6e
1 // dev 1 // dev
2 // const baseUrl_api = 'http://192.168.1.125:8787' 2 // const baseUrl_api = 'http://192.168.1.125:8787'
3 const baseUrl_api = 'http://47.98.186.233:8787' 3 // const baseUrl_api = 'http://47.98.186.233:8787'
4 // const baseUrl_api = 'https://tk001.wxjylt.com/stage-api/' 4 const baseUrl_api = 'https://tk001.wxjylt.com/stage-api/'
5 const loginImage_api = 'https://tk001.wxjylt.com/stage-api' 5 const loginImage_api = 'https://tk001.wxjylt.com/stage-api'
6 const payUrl = 'https://wxpay.cmbc.com.cn/mobilePlatform/appserver/lcbpPay.do' 6 const payUrl = 'https://wxpay.cmbc.com.cn/mobilePlatform/appserver/lcbpPay.do'
7 7
......
...@@ -87,25 +87,20 @@ ...@@ -87,25 +87,20 @@
87 </view> 87 </view>
88 88
89 <!-- 审核记录 --> 89 <!-- 审核记录 -->
90 <view class="card"> 90 <view class="h3-padding">审核记录</view>
91 <view class="card-header"> 91 <view class="wBox">
92 <view class="header-left">审核记录</view>
93 </view>
94
95 <view v-if="loadingAudit" class="state-tip">加载中...</view> 92 <view v-if="loadingAudit" class="state-tip">加载中...</view>
96 <view v-else-if="auditList.length === 0" class="state-tip">暂无审核记录</view> 93 <view v-else-if="auditList.length === 0" class="state-tip">暂无审核记录</view>
97 94 <view class="stepItem" v-else v-for="(n, index) in auditList" :key="index">
98 <view class="audit-list" v-else> 95 <view class="time">{{ parseDateTime(n.auditTime) }}</view>
99 <view class="audit-item" v-for="(n, index) in auditList" :key="index"> 96 <view class="content">
100 <view class="audit-dot" :class="n.auditResult == 1 ? 'pass' : 'fail'"></view> 97 <view class="status">
101 <view class="audit-content"> 98 <text v-if="n.auditResult == 1" class="text-success">审核通过</text>
102 <view class="audit-time">{{ parseDateTime(n.auditTime) }}</view> 99 <text v-else-if="n.auditResult == 0" class="text-danger">审核拒绝</text>
103 <view class="audit-status" :class="n.auditResult == 1 ? 'text-green' : 'text-red'"> 100 <text v-else class="text-primary">审核中</text>
104 {{ getAuditResultText(n.auditResult) }}
105 </view>
106 <view class="audit-dept">{{ n.auditDeptName || '——' }}</view>
107 <view class="audit-remark" v-if="n.auditMsg">备注:{{ n.auditMsg }}</view>
108 </view> 101 </view>
102 <view class="deptName">{{ n.auditDeptName || '--' }}</view>
103 <view v-if="n.auditMsg">备注:{{ n.auditMsg }}</view>
109 </view> 104 </view>
110 </view> 105 </view>
111 </view> 106 </view>
...@@ -430,7 +425,7 @@ $content-gap: 24rpx; ...@@ -430,7 +425,7 @@ $content-gap: 24rpx;
430 } 425 }
431 426
432 .info-col { 427 .info-col {
433 flex: 1; 428 // flex: 1;
434 text-align: left; 429 text-align: left;
435 box-sizing: border-box; 430 box-sizing: border-box;
436 431
...@@ -445,69 +440,56 @@ $content-gap: 24rpx; ...@@ -445,69 +440,56 @@ $content-gap: 24rpx;
445 } 440 }
446 } 441 }
447 442
448 .audit-list { 443 .h3-padding {
449 padding: 0 $content-gap 24rpx; 444 padding: 30rpx 30rpx 0;
450 box-sizing: border-box; 445 font-size: 30rpx;
446 font-weight: 600;
447 color: #333;
451 } 448 }
452 449
453 .audit-item { 450 .wBox {
454 display: flex; 451 width: 700rpx;
455 padding: 20rpx 0; 452 padding: 30rpx;
456 border-bottom: 1rpx dashed $border-color; 453 margin: 20rpx auto 0;
457 box-sizing: border-box; 454 background: #FFFFFF;
455 box-shadow: 0rpx 12rpx 116rpx 0rpx rgba(196, 203, 214, 0.1);
456 border-radius: 15rpx;
457 }
458
459 .stepItem {
460 padding: 16rpx;
461 border-bottom: 1rpx dashed #eee;
458 462
459 &:last-child { 463 &:last-child {
460 border-bottom: none; 464 border-bottom: none;
461 } 465 }
462 466
463 .audit-dot { 467 .time {
464 width: 14rpx; 468 width: 80%;
465 height: 14rpx; 469 font-size: 22rpx;
466 border-radius: 50%; 470 color: #999;
467 margin-top: 8rpx;
468 margin-right: 20rpx;
469 flex-shrink: 0; 471 flex-shrink: 0;
470 box-sizing: border-box; 472 padding-top: 4rpx;
471
472 &.pass {
473 background: $success-color;
474 }
475
476 &.fail {
477 background: $danger-color;
478 }
479 } 473 }
480 474
481 .audit-content { 475 .content {
482 flex: 1; 476 flex: 1;
483 padding-right: 12rpx;
484 box-sizing: border-box;
485
486 .audit-time {
487 font-size: 24rpx;
488 color: $text-placeholder;
489 margin-bottom: 6rpx;
490 }
491 477
492 .audit-status { 478 .status {
493 font-size: 28rpx; 479 font-size: 28rpx;
494 font-weight: 600; 480 font-weight: 600;
495 margin-bottom: 6rpx; 481 margin-bottom: 6rpx;
496 } 482 }
497 483
498 .audit-dept { 484 .deptName {
499 font-size: 26rpx; 485 font-size: 26rpx;
500 color: $text-secondary; 486 color: #666;
501 } 487 }
502 488
503 .audit-remark { 489 view {
504 font-size: 24rpx; 490 font-size: 24rpx;
505 color: $text-placeholder; 491 color: #999;
506 margin-top: 6rpx; 492 margin-top: 4rpx;
507 padding: 8rpx 12rpx;
508 background: #f8f8f8;
509 border-radius: 8rpx;
510 box-sizing: border-box;
511 } 493 }
512 } 494 }
513 } 495 }
...@@ -519,4 +501,16 @@ $content-gap: 24rpx; ...@@ -519,4 +501,16 @@ $content-gap: 24rpx;
519 .text-green { 501 .text-green {
520 color: $success-color !important; 502 color: $success-color !important;
521 } 503 }
504
505 .text-success {
506 color: $success-color;
507 }
508
509 .text-danger {
510 color: $danger-color;
511 }
512
513 .text-primary {
514 color: #333;
515 }
522 </style> 516 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -222,9 +222,7 @@ import * as api from '@/common/api.js' ...@@ -222,9 +222,7 @@ import * as api from '@/common/api.js'
222 import config from '@/config.js' 222 import config from '@/config.js'
223 // 获取deptType值(初始值为0,在onMounted中设置实际值) 223 // 获取deptType值(初始值为0,在onMounted中设置实际值)
224 const deptType = ref(0); 224 const deptType = ref(0);
225 const goToDetail = (item) => { 225
226 uni.navigateTo({url: `/pages/rank/applyDetail?examId=${item.sourceId || item.id}&type=${queryParams.type}`});
227 }
228 226
229 // 标签栏配置(根据deptType动态生成) 227 // 标签栏配置(根据deptType动态生成)
230 const tabs = computed(() => { 228 const tabs = computed(() => {
...@@ -417,6 +415,27 @@ const confirmDel = async () => { ...@@ -417,6 +415,27 @@ const confirmDel = async () => {
417 } 415 }
418 }; 416 };
419 417
418 const goToDetail = (item) => {
419 console.log("goToDetail:", item);
420 console.log("currentTab.value", currentTab.value);
421 const form = encodeURIComponent(JSON.stringify(item))
422 switch (currentTab.value) {
423 case '1':
424 uni.navigateTo({ url: `/group/groupOrderDetail?form=${form}` });
425 break;
426 case '2':
427 case '3':
428 case '4':
429 uni.navigateTo({ url: `/pages/rank/applyDetail?examId=${item.sourceId || item.id}&type=${queryParams.type}` });
430 break;
431 case '0':
432 default:
433 uni.navigateTo({ url: `/personalVip/orderDetail?rangeId=${item.sourceId || item.id}&type=${queryParams.type}` });
434 break;
435 }
436 // uni.navigateTo({url: `/pages/rank/applyDetail?examId=${item.sourceId || item.id}&type=${queryParams.type}`});
437 }
438
420 // 关闭删除弹窗 439 // 关闭删除弹窗
421 const closeDelPopup = () => { 440 const closeDelPopup = () => {
422 showDelPopup.value = false; 441 showDelPopup.value = false;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!