作业改为任务

This commit is contained in:
zhangyc
2022-12-23 09:24:45 +08:00
parent 2a6678fb23
commit be9f5d9d91
5 changed files with 38 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
@after-visible-change="afterVisibleChange">
<div class="drawerMain">
<div class="header">
<div class="headerTitle">{{ edit ? "编辑" : "添加" }}作业</div>
<div class="headerTitle">{{ edit ? "编辑" : "添加" }}任务</div>
<img style="width: 29px; height: 29px; cursor: pointer" src="../../assets/images/basicinfo/close.png"
@click="closeDrawer2" />
</div>

View File

@@ -128,6 +128,10 @@ const props = defineProps({
stage: {
type: Array,
default: () => [],
},
visable: {
type: Boolean,
default:false,
},
});
const tablecolumns = ref([
@@ -202,8 +206,15 @@ onMounted(() => {
});
watch(props, () => {
if(!props.visable){
stuSelectKeys.value =[];
console.log("关闭了");
}
console.log("props.visable",props.visable)
tableParam.value.pid = props.id;
getStuList();
});
function onStuSelectChange(e) {