|
|
|
@ -198,7 +198,6 @@ import Edit from '@/app/views/campus_person_role/components/campus-person-role-e |
|
|
|
import { useRoute } from 'vue-router' |
|
|
|
const route = useRoute() |
|
|
|
const pageName = route.meta.title |
|
|
|
// ?dept_id=1 |
|
|
|
|
|
|
|
let campusPersonRoleTable = reactive({ |
|
|
|
page: 1, |
|
|
|
@ -218,10 +217,9 @@ let campusPersonRoleTable = reactive({ |
|
|
|
if(pageName == '市场人员列表'){ |
|
|
|
campusPersonRoleTable.searchParam.dept_id = 1; |
|
|
|
}else if(pageName == '销售人员列表'){ |
|
|
|
campusPersonRoleTable.searchParam.dept_id = 2; |
|
|
|
// campusPersonRoleTable.searchParam.role_id = 2; |
|
|
|
campusPersonRoleTable.searchParam.dept_id = 3; |
|
|
|
}else if(pageName == '教练管理'){ |
|
|
|
campusPersonRoleTable.searchParam.role_id = 5; |
|
|
|
campusPersonRoleTable.searchParam.role_id = 2; |
|
|
|
} |
|
|
|
|
|
|
|
const searchFormRef = ref<FormInstance>() |
|
|
|
|