You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
628 B
33 lines
628 B
import { queryChecker } from 'apis/member'
|
|
import { ref } from 'vue'
|
|
|
|
export default function useApplication() {
|
|
const projectId = useProjectId()
|
|
|
|
const reviewerList = ref([])
|
|
|
|
/**
|
|
* 查询所有成员
|
|
* @param { String } projectId
|
|
*/
|
|
async function handleQueryChecker(){
|
|
try {
|
|
const params = {
|
|
param:{
|
|
projectId: projectId.value
|
|
}
|
|
}
|
|
const res = await queryChecker(params)
|
|
reviewerList.value = res
|
|
} catch (error) {
|
|
console.error('error: ', error);
|
|
}
|
|
}
|
|
|
|
// handleQueryChecker()
|
|
|
|
return {
|
|
handleQueryChecker,
|
|
reviewerList,
|
|
};
|
|
}
|
|
|