fix:增加导入作业参数

This commit is contained in:
wyx
2023-02-21 18:43:10 +08:00
parent 0d36ee103e
commit e6ebf1d799
2 changed files with 10 additions and 2 deletions

View File

@@ -38,6 +38,7 @@
:data="{
type: type,
taskId: Number(id),
workId: datesource.info.id,
targetId: Number(id),
}"
>
@@ -149,8 +150,7 @@
display: flex;
align-items: center;
width: 500px;
height: 40px;
"
height: 40px;"
:style="{
background: errNum
? 'rgba(255, 116, 116, 0.1)'
@@ -200,6 +200,12 @@ export default {
type: Boolean,
default: false,
},
datesource: {
type: Object,
default: function () {
return {};
},
},
//type=3:面授课
type: {
type: String,
@@ -241,6 +247,7 @@ export default {
const afterVisibleChange = (bool) => {
console.log("state", bool);
console.log(props.datesource)
};
//上传文件

View File

@@ -135,6 +135,7 @@
:type="1"
:id="projectTaskInfo?.id"
:pid="projectTaskInfo?.projectId"
:datesource="projectTaskInfo"
v-model:searchTaskList="searchTaskList"
/>
<!-- 查看作业抽屉 -->