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

View File

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