From 64d1d46ba75629f1d41f1bdf6618ae26bdac2c61 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Sun, 25 Jun 2023 23:01:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/kc/kcGongkaike/KcGongkaike.data.ts | 15 +++++++++++++++ .../kcGongkaike/components/KcGongkaikeForm.vue | 18 ++++++++++++++++++ src/views/site/jingCaiGongKaiKe/index.vue | 16 ++++++++++++++-- 3 files changed, 47 insertions(+), 2 deletions(-) diff --git a/src/views/kc/kcGongkaike/KcGongkaike.data.ts b/src/views/kc/kcGongkaike/KcGongkaike.data.ts index 5f48783..3b147da 100644 --- a/src/views/kc/kcGongkaike/KcGongkaike.data.ts +++ b/src/views/kc/kcGongkaike/KcGongkaike.data.ts @@ -212,6 +212,21 @@ export const formSchema: FormSchema[] = [ label: '类别', field: 'hxrlb', component: 'Input', + }, + { + label: '说课视频地址', + field: 'shuokePath', + component: 'Input', + }, + { + label: '授课视频地址', + field: 'shoukePath', + component: 'Input', + }, + { + label: '课后反思视频地址', + field: 'kehouPath', + component: 'Input', }, // TODO 主键隐藏字段,目前写死为ID { diff --git a/src/views/kc/kcGongkaike/components/KcGongkaikeForm.vue b/src/views/kc/kcGongkaike/components/KcGongkaikeForm.vue index 00b8cfb..ddec685 100644 --- a/src/views/kc/kcGongkaike/components/KcGongkaikeForm.vue +++ b/src/views/kc/kcGongkaike/components/KcGongkaikeForm.vue @@ -84,6 +84,21 @@ + + + + + + + + + + + + + + + -
进入课堂
+
进入课堂
进入课堂
@@ -156,7 +156,19 @@ function loadData(){ // queryParam.value.order = 'asc' list(queryParam.value).then(res => { console.log(`🚀 ~ file: index.vue:104 ~ list ~ res:`, res) - listData.value.push(...res.records) + var list = res.records + for(var i=0;i=dqsj){ + console.log(`🚀 ~ file: index.vue:166 ~ list ~ dqsj:`, 11111111111) + list[i].sfxs2 = 1 + } + } + console.log(`🚀 ~ file: index.vue:169 ~ list ~ list:`, list) + listData.value.push(...list) current = res.pages }) }