mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 01:36:47 +08:00
作业改为任务
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user