|
@@ -158,14 +158,23 @@
|
|
|
|
|
|
|
|
function checkKaoshi(item) {
|
|
function checkKaoshi(item) {
|
|
|
// #ifdef H5
|
|
// #ifdef H5
|
|
|
- history.replaceState({
|
|
|
|
|
|
|
+ /* history.replaceState({
|
|
|
...history.state,
|
|
...history.state,
|
|
|
newKey: 'newValue'
|
|
newKey: 'newValue'
|
|
|
- }, '', window.location.href);
|
|
|
|
|
|
|
+ }, '', window.location.href); */
|
|
|
// #endif
|
|
// #endif
|
|
|
- uni.navigateTo({
|
|
|
|
|
- url: `/pages/client/Kaoshi/examCamera?ksId=${item.ksId}&zhuapai=${activeks.value.zhuapai}&userKaozhengId=${activeks.value.userKaozhengId}&from=kaoshiList`
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ // 判断是否有抓拍,有抓拍需要跳转到验证页面
|
|
|
|
|
+ if (activeks.value.zhuapai) {
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: `/pages/client/Kaoshi/examCamera?ksId=${item.ksId}&zhuapai=${activeks.value.zhuapai}&userKaozhengId=${activeks.value.userKaozhengId}&from=kaoshiList`
|
|
|
|
|
+ })
|
|
|
|
|
+ } else {
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: `/pages/client/Kaoshi/exam?ksId=${item.ksId}&zhuapai=${activeks.value.zhuapai}&userKaozhengId=${activeks.value.userKaozhengId}&from=kaoshiList`
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function onRefresh() {
|
|
function onRefresh() {
|