a327b92b by lttnew

审核

1 parent a43fbc41
...@@ -937,6 +937,21 @@ export function auditJi(data) { ...@@ -937,6 +937,21 @@ export function auditJi(data) {
937 params: data 937 params: data
938 }) 938 })
939 } 939 }
940 export function auditDuanExam(data) {
941 // 基础 URL
942 let url = `/exam/info/auditDuanExam/${data.ids}?flag=${data.flag}&ids=${data.ids}`;
943
944 // reason 有值才拼接
945 if (data.reason && data.reason.trim() !== '') {
946 url += `&reason=${data.reason}`;
947 }
948
949 return request({
950 url: url,
951 method: 'post',
952 params: data
953 })
954 }
940 955
941 export function doMergeFlows(params) { 956 export function doMergeFlows(params) {
942 return request({ 957 return request({
......
1 // dev 1 // dev
2 // const baseUrl_api = 'http://192.168.1.137:8787' 2 const baseUrl_api = 'http://192.168.1.137:8787'
3 const baseUrl_api = 'http://tk001.wxjylt.com/stage-api' 3 // const baseUrl_api = 'http://tk001.wxjylt.com/stage-api'
4 const loginImage_api = 'http://tk001.wxjylt.com/stage-api' 4 const loginImage_api = 'http://tk001.wxjylt.com/stage-api'
5 const payUrl = 'https://wxpay.cmbc.com.cn/mobilePlatform/appserver/lcbpPay.do' 5 const payUrl = 'https://wxpay.cmbc.com.cn/mobilePlatform/appserver/lcbpPay.do'
6 6
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
2 <view> 2 <view>
3 <uni-segmented-control class="whitebg" :current="current" :values="navs" @clickItem="onClickItem" 3 <uni-segmented-control class="whitebg" :current="current" :values="navs" @clickItem="onClickItem"
4 styleType="text" activeColor="#AD181F"></uni-segmented-control> 4 styleType="text" activeColor="#AD181F"></uni-segmented-control>
5 <view v-show="infoList.length>0" class="stat-row"> 5 <!-- <view v-show="infoList.length>0" class="stat-row">
6 <view class="stat-item">费用合计:<text class="red">{{ totalCost.toFixed(2) }}</text></view> 6 <view class="stat-item">费用合计:<text class="red">{{ totalCost.toFixed(2) }}</text></view>
7 <view class="stat-item">考试人数:<text class="red">{{ totalNum }}</text></view> 7 <view class="stat-item">考试人数:<text class="red">{{ totalNum }}</text></view>
8 </view> 8 </view> -->
9 9
10 <view class="appList"> 10 <view class="appList">
11 <view class="appItem" v-for="item in infoList" :key="item.examId" @click="goDetail(item)"> 11 <view class="appItem" v-for="item in infoList" :key="item.examId" @click="goDetail(item)">
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
78 auditSelectType: '1', 78 auditSelectType: '1',
79 auditFlag: '1', 79 auditFlag: '1',
80 pageNum: 1, 80 pageNum: 1,
81 pageSize: 50 81 pageSize: 10
82 }) 82 })
83 83
84 const infoList = ref([]) 84 const infoList = ref([])
......
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
122 122
123 function goApproval(item) { 123 function goApproval(item) {
124 uni.navigateTo({ 124 uni.navigateTo({
125 url: `/level/ztx/memberAuditPage?ids=${item.examId}` 125 url: `/pages/rank/scoreAudit?ids=${item.examId}`
126 }) 126 })
127 } 127 }
128 </script> 128 </script>
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
83 if(!form.value.reason ){ 83 if(!form.value.reason ){
84 delete params.reason 84 delete params.reason
85 } 85 }
86 api.auditJi(params).then(res => { 86 api.auditDuanExam(params).then(res => {
87 uni.showToast({ title: '操作成功', icon: 'success' }) 87 uni.showToast({ title: '操作成功', icon: 'success' })
88 setTimeout(() => { uni.navigateBack() }, 1500) 88 setTimeout(() => { uni.navigateBack() }, 1500)
89 }).catch(err => { 89 }).catch(err => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!