Explorar o código

Signed-off-by: 李妹妹 <1639016684@qq.com>

李妹妹 hai 1 mes
pai
achega
a725b9efcd
Modificáronse 1 ficheiros con 7 adicións e 9 borrados
  1. 7 9
      pages_task/onlineLecture.vue

+ 7 - 9
pages_task/onlineLecture.vue

@@ -113,7 +113,7 @@
 						
 						<view class="option-url-wrapper">
 							<text class="option-url">{{info.liveUrl}}</text>
-							<view class="copy-btn" @click="copyUrl">复制链接</view>
+							<view class="copy-btn" @click="copyUrl(info.liveUrl)">复制链接</view>
 						</view>
 						<view class="option-tips">复制至谷歌浏览器,登录账号即可开播</view>
 					</view>
@@ -254,9 +254,9 @@ export default {
 				})
 			}
 		},
-        copyUrl() {
+        copyUrl(url) {
 			uni.setClipboardData({
-				data: this.broadcastUrl,
+				data: url,
 				success: () => {
 					uni.showToast({
 						icon: 'success',
@@ -404,15 +404,13 @@ export default {
 				const nextPage = this.pageNum + 1
 				// 构建请求参数
 				const params = {
-					applyStartTime: this.dateRange.startDate,
-					applyEndTime: this.dateRange.endDate,
-					finishAuditStatus:this.currentTab,
-					taskType: 3,
-					pageNum: nextPage,
+					finishStatus:this.currentTab,
+					title:this.keyword,
+					pageNum: 1,
 					pageSize: this.pageSize
 				}
 				
-				const res = await getOnlineLectureList()
+				const res = await getOnlineLectureList(params)
 				
 				if (res.code === 200) {
 					const newData = res.rows || []