From 27faf2a65f13fcbb925f5d036501ff63f827bc8e Mon Sep 17 00:00:00 2001 From: bai <1643359946@qq.com> Date: Wed, 24 Jul 2024 03:37:48 +0800 Subject: [PATCH] =?UTF-8?q?2024=E5=B9=B47=E6=9C=8824=E6=97=A5=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeecgboot-vue3/src/views/bl/blStuInfo/BlStuInfoList.vue | 2 +- .../src/views/bl/blStuInfo/components/BlStuInfoV2Form.vue | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/jeecgboot-vue3/src/views/bl/blStuInfo/BlStuInfoList.vue b/jeecgboot-vue3/src/views/bl/blStuInfo/BlStuInfoList.vue index f4e5c1f..8289906 100644 --- a/jeecgboot-vue3/src/views/bl/blStuInfo/BlStuInfoList.vue +++ b/jeecgboot-vue3/src/views/bl/blStuInfo/BlStuInfoList.vue @@ -235,7 +235,7 @@ const $message = useMessage(); { ifShow: reloadCreateBtn.value, label: '重新生成', - onClick: reloadCreateFn.bind(null, { id: record.id }), + onClick: reloadCreateFn.bind(null, { id: record.id, isDelChildren: false }), }, { label: '删除', diff --git a/jeecgboot-vue3/src/views/bl/blStuInfo/components/BlStuInfoV2Form.vue b/jeecgboot-vue3/src/views/bl/blStuInfo/components/BlStuInfoV2Form.vue index 666534b..fda10eb 100644 --- a/jeecgboot-vue3/src/views/bl/blStuInfo/components/BlStuInfoV2Form.vue +++ b/jeecgboot-vue3/src/views/bl/blStuInfo/components/BlStuInfoV2Form.vue @@ -61,7 +61,7 @@
- 温馨提示:点击导入后选择数据模板进行导入! + 温馨提示:点击导入后选择数据模板进行导入! @@ -129,6 +129,7 @@ const formData = reactive>({ const current = ref(0); const uploadButtonSpinning = ref(false); +const isDelChildren = ref(true); function log(...d){ console.log('shangc',...d); @@ -160,8 +161,8 @@ function handleSuccess(xlsRes){ uploadButtonSpinning.value = false; if(xlsRes.success){ current.value++; - console.log("参数--------》",{id:formData.id}, ...d) - defHttp.get({url:'/blStuAnswer/blStuAnswer/createWord',params:{id:formData.id}}).then(res=>{ + console.log("参数--------》",{id:formData.id}, xlsRes) + defHttp.get({url:'/blStuAnswer/blStuAnswer/createWord',params:{ id:formData.id, isDelChildren: isDelChildren.value }}).then(res=>{ console.log('---生成报告--->',res); if(res.code==200||res=='生成成功'){ handleWancheng();