--fix bug

This commit is contained in:
yuping
2023-03-20 23:36:19 +08:00
parent 664f9f3dec
commit 4bf43cf4b7
3 changed files with 8 additions and 1 deletions

View File

@@ -99,7 +99,7 @@ const pagination = computed(() => ({
}));
const changePagination = (e) => {
params.value[props.pageKey] = e;
onFetch();
nextTick(onFetch);
};
function reset(v = {}) {

View File

@@ -435,6 +435,10 @@ const props = defineProps({
type: Array,
default: () => [],
},
params: {
type: Object,
default: () => ({}),
},
});
const { loading: stuAsyncLoading, start } = useAsyncStu(props.id, props.type, getStuList);
@@ -559,9 +563,11 @@ const tableParam = ref({
studentDepartName: null, //部门名称
topFlag: null, //是否是优秀学员
pageNo: 1,
status: 1,
pageSize: 10,
type: props.type,
pid: props.id,
...props.params
});
const checkgroupParam = ref({

View File

@@ -1250,6 +1250,7 @@
<TableStudent
:type="3"
:id="offcoursePlanId"
:params="{status:1}"
:columns="stuColumns"
:visable="sm_hs"
:permissions="permissions"