Compare commits

..

No commits in common. "f70d343310493a02d93931dd4d0f0c0c9830523c" and "80511bc32e74fb1157892ec0726fe313263d90b0" have entirely different histories.

2 changed files with 3 additions and 5 deletions

View File

@ -235,7 +235,7 @@ const $message = useMessage();
{
ifShow: reloadCreateBtn.value,
label: '重新生成',
onClick: reloadCreateFn.bind(null, { id: record.id, isDelChildren: false }),
onClick: reloadCreateFn.bind(null, { id: record.id }),
},
{
label: '删除',

View File

@ -61,7 +61,7 @@
<div v-if="current == 1" style="padding: 20px;">
<a-col :span="24" class="shuoming">
<span>温馨提示点击导入后选择数据模板进行导入<a-switch hidden v-model:checked="isDelChildren" checked-children="删除" un-checked-children="不删除"/></span>
<span>温馨提示点击导入后选择数据模板进行导入</span>
</a-col>
<span style="text-align: center;">
<a-spin :spinning="uploadButtonSpinning">
@ -129,7 +129,6 @@ const formData = reactive<Record<string, any>>({
const current = ref<number>(0);
const uploadButtonSpinning = ref<boolean>(false);
const isDelChildren = ref<boolean>(true);
function log(...d){
console.log('shangc',...d);
@ -161,8 +160,7 @@ function handleSuccess(xlsRes){
uploadButtonSpinning.value = false;
if(xlsRes.success){
current.value++;
console.log("参数--------》",{id:formData.id}, xlsRes)
defHttp.get({url:'/blStuAnswer/blStuAnswer/createWord',params:{ id:formData.id, isDelChildren: isDelChildren.value }}).then(res=>{
defHttp.get({url:'/blStuAnswer/blStuAnswer/createWord',params:{id:formData.id}}).then(res=>{
console.log('---生成报告--->',res);
if(res.code==200||res=='生成成功'){
handleWancheng();