面授管理清空状态查询时删除status参数

This commit is contained in:
zhangsir
2024-08-20 09:28:36 +08:00
parent f411747407
commit 9b51db209f

View File

@@ -62,6 +62,7 @@
placeholder="请选择" placeholder="请选择"
:options="finishOptions" :options="finishOptions"
allowClear allowClear
@change="changeStatus"
></a-select> ></a-select>
</div> </div>
</div> </div>
@@ -196,6 +197,11 @@ const props = defineProps({
}, },
}, },
}); });
const changeStatus = (e) => {
if(e === undefined){
delete params.value.status;
}
}
const params = ref({ pid: 0, type: 3 }); const params = ref({ pid: 0, type: 3 });
const courseSelectRows = ref([]); const courseSelectRows = ref([]);
const planParams = computed(() => ({ const planParams = computed(() => ({