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();