@@ -43,7 +43,7 @@
function handleStudy(item) {
uni.navigateTo({
- url: `/pages/client/Kecheng/study?kcId=${item.kcId}&from=shouye`
+ url: `/pages/client/Kecheng/study?kcId=${item.kcId}&userKaozhengId=${item.userKaozhengId}&from=shouye`
})
}
</script>
@@ -1,6 +1,5 @@
<template>
<!-- 客户端 -->
-<<<<<<< Updated upstream
<!-- #ifdef H5-->
<ClientLoginBox></ClientLoginBox>
<!-- #endif-->
@@ -9,10 +8,6 @@
<!-- #ifdef APP-PLUS -->
<AdminloginBox></AdminloginBox>
<!-- #endif -->
-
-=======
- <AdminloginBox></AdminloginBox>
->>>>>>> Stashed changes
</template>
<script setup>
import ClientLoginBox from './components/clientloginBox.vue'
@@ -84,7 +84,7 @@
function checkKecheng(item) {
- url: `/pages/client/Kecheng/study?kcId=${item.kcId}&from=kechengList`
+ url: `/pages/client/Kecheng/study?kcId=${item.kcId}&userKaozhengId=${item.userKaozhengId}&from=kechengList`
@@ -83,11 +83,13 @@
from: '',
zyName: '',
zyLevelName: '',
+ userKaozhengId: null,
},
onLoad(options) {
this.kcId = options.kcId;
this.from = options.from;
+ this.userKaozhengId = options.userKaozhengId;
this.init();
methods: {
@@ -244,7 +246,8 @@
init() {
kechengApi.getClientKechengStart({
- kcId: this.kcId
+ kcId: this.kcId,
+ userKaozhengId:this.userKaozhengId
}).then(res => {
const {
userCount,