瀏覽代碼

课程调整

wangxy 2 月之前
父節點
當前提交
5bda1c856f
共有 4 個文件被更改,包括 6 次插入8 次删除
  1. 1 1
      components/listCard/kechengCard.vue
  2. 0 5
      pages/Login/index.vue
  3. 1 1
      pages/client/Kecheng/list.vue
  4. 4 1
      pages/client/Kecheng/study.vue

+ 1 - 1
components/listCard/kechengCard.vue

@@ -43,7 +43,7 @@
 	
 	
 	function handleStudy(item) {
 	function handleStudy(item) {
 		uni.navigateTo({
 		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>
 </script>

+ 0 - 5
pages/Login/index.vue

@@ -1,6 +1,5 @@
 <template>
 <template>
 	<!-- 客户端 -->
 	<!-- 客户端 -->
-<<<<<<< Updated upstream
   <!-- #ifdef H5-->
   <!-- #ifdef H5-->
 	<ClientLoginBox></ClientLoginBox>
 	<ClientLoginBox></ClientLoginBox>
   <!--	#endif-->
   <!--	#endif-->
@@ -9,10 +8,6 @@
 	<!-- #ifdef APP-PLUS -->
 	<!-- #ifdef APP-PLUS -->
 	<AdminloginBox></AdminloginBox>
 	<AdminloginBox></AdminloginBox>
 	<!-- #endif -->
 	<!-- #endif -->
-
-=======
-	<AdminloginBox></AdminloginBox>
->>>>>>> Stashed changes
 </template>
 </template>
 <script setup>
 <script setup>
 	import ClientLoginBox  from './components/clientloginBox.vue'
 	import ClientLoginBox  from './components/clientloginBox.vue'

+ 1 - 1
pages/client/Kecheng/list.vue

@@ -84,7 +84,7 @@
 
 
 	function checkKecheng(item) {
 	function checkKecheng(item) {
 		uni.navigateTo({
 		uni.navigateTo({
-			url: `/pages/client/Kecheng/study?kcId=${item.kcId}&from=kechengList`
+			url: `/pages/client/Kecheng/study?kcId=${item.kcId}&userKaozhengId=${item.userKaozhengId}&from=kechengList`
 		})
 		})
 	}
 	}
 
 

+ 4 - 1
pages/client/Kecheng/study.vue

@@ -83,11 +83,13 @@
 				from: '',
 				from: '',
 				zyName: '',
 				zyName: '',
 				zyLevelName: '',
 				zyLevelName: '',
+				userKaozhengId: null,
 			}
 			}
 		},
 		},
 		onLoad(options) {
 		onLoad(options) {
 			this.kcId = options.kcId;
 			this.kcId = options.kcId;
 			this.from = options.from;
 			this.from = options.from;
+			this.userKaozhengId = options.userKaozhengId;
 			this.init();
 			this.init();
 		},
 		},
 		methods: {
 		methods: {
@@ -244,7 +246,8 @@
 
 
 			init() {
 			init() {
 				kechengApi.getClientKechengStart({
 				kechengApi.getClientKechengStart({
-					kcId: this.kcId
+					kcId: this.kcId,
+					userKaozhengId:this.userKaozhengId
 				}).then(res => {
 				}).then(res => {
 					const {
 					const {
 						userCount,
 						userCount,