cf0006a0 by 张猛

级位提交审核bug修改

1 parent 6f6c7894
...@@ -426,14 +426,14 @@ function getChosedStudentList() { ...@@ -426,14 +426,14 @@ function getChosedStudentList() {
426 } else { 426 } else {
427 d.levelRecommend = '9' 427 d.levelRecommend = '9'
428 } 428 }
429 429
430 // 原级别是一级时,levelNew 默认为空,不使用推荐值 430 // 原级别是一级时,levelNew 默认为空,不使用推荐值
431 if (d.levelOld === '1') { 431 if (d.levelOld === '1') {
432 d.levelNew = '' 432 d.levelNew = ''
433 } else if (!d.levelNew) { 433 } else if (!d.levelNew) {
434 d.levelNew = d.levelRecommend 434 d.levelNew = d.levelRecommend
435 } 435 }
436 436
437 if (!d.isPass) { 437 if (!d.isPass) {
438 d.isPass = '1' 438 d.isPass = '1'
439 } 439 }
...@@ -545,22 +545,25 @@ function submitForm2(flag) { ...@@ -545,22 +545,25 @@ function submitForm2(flag) {
545 return 545 return
546 } 546 }
547 } 547 }
548 548 debugger
549 if (flag === 1) { 549 if (flag === 1) {
550 if (infoList.value.length == 0) { 550 if (infoList.value.length == 0) {
551 uni.showToast({title: '请选择考生', icon: 'none'}) 551 uni.showToast({title: '请选择考生', icon: 'none'})
552 return 552 return
553 } 553 }
554 554
555 uni.showModal({ 555 uni.showModal({
556 title: '提示', 556 title: '提示',
557 content: `请确认人员照片是否已更新?`, 557 content: `请确认人员照片是否已更新?`,
558 success: function (res) { 558 success: function (res) {
559 if (res.confirm) { 559 if (res.confirm) {
560 saveStep2(flag).then(() => { 560 // saveStep2(flag).then(() => {
561 uni.navigateTo({ 561 // uni.navigateTo({
562 url: `/level/paymentDetail?examId=${form.value.examId}` 562 // url: `/level/paymentDetail?examId=${form.value.examId}`
563 }) 563 // })
564 // })
565 uni.navigateTo({
566 url: `/level/paymentDetail?examId=${form.value.examId}`
564 }) 567 })
565 } 568 }
566 } 569 }
...@@ -887,7 +890,7 @@ function handleDelete(row) { ...@@ -887,7 +890,7 @@ function handleDelete(row) {
887 position: relative; 890 position: relative;
888 z-index: 99; 891 z-index: 99;
889 } 892 }
890 893
891 .exam-level-select { 894 .exam-level-select {
892 position: relative; 895 position: relative;
893 z-index: 999; 896 z-index: 999;
......
...@@ -52,9 +52,8 @@ ...@@ -52,9 +52,8 @@
52 52
53 <script setup> 53 <script setup>
54 import {ref} from 'vue' 54 import {ref} from 'vue'
55 import {onLoad, onReachBottom} from '@dcloudio/uni-app' 55 import {onLoad, onShow, onReachBottom} from '@dcloudio/uni-app'
56 import {getMyRecentExam} from '@/common/api' 56 import {getMyRecentExam} from '@/common/api'
57 import {onShow} from "@/unpackage/dist/dev/mp-weixin/common/vendor";
58 57
59 const app = getApp() 58 const app = getApp()
60 const list = ref([]) 59 const list = ref([])
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!