style:项目下作业面授导出参数错误,隐藏部分按钮

This commit is contained in:
zhangyc
2023-01-12 02:31:37 +08:00
parent e4e6682f62
commit e8d4c179f5
8 changed files with 48 additions and 43 deletions

View File

@@ -14,7 +14,7 @@
/>
</a-form-item>
</a-col>
<a-col v-if="type === 1">
<!-- <a-col v-if="type === 1">
<a-form-item title="小组名称:">
<a-input
class="cus-input"
@@ -23,6 +23,7 @@
/>
</a-form-item>
</a-col>
-->
<a-col v-if="type === 1">
<a-form-item title="部门:">
<div class="select in" style="width: 270px">
@@ -98,9 +99,10 @@
导入学员
</a-button>
</a-col>
<!--
<a-col :span="1.5" v-if="type === 1">
<a-button class="cus-btn white"> 批量换组 </a-button>
</a-col>
</a-col>-->
<a-col :span="1.5" v-if="type === 1">
<a-button class="cus-btn white" @click="exportTaskStu">
导出学习信息
@@ -199,7 +201,7 @@
<a-col>
<slot name="extension" v-bind:data="{ record }"></slot>
</a-col>
<!-- 新加 换组 通过 拒绝-->
<!-- 新加 换组 通过 拒绝
<a-col v-if="type === 1">
<div
style="
@@ -213,6 +215,7 @@
换组
</div>
</a-col>
-->
<a-col v-if="type === 3">
<div
style="
@@ -683,8 +686,8 @@ const exportHomeWorkShow = () => {
.exportHomeWork(obj)
.then((res) => {
console.log("导出作业", res.data.data);
message.destroy();
message.success("导出作业成功");
//message.destroy();
// message.success("导出作业成功");
exportHomeWorkV.value = true;
downloadUrl.value = res.data.data;
})