|
@@ -18,7 +18,17 @@ const useFormFilter = () => {
|
|
|
isLeader,
|
|
|
} = useOptions(['subject', 'question', 'group'], undefined, true, true, true)
|
|
|
const ROLE_OPTION = ref<any[]>([])
|
|
|
- useFetch('getRoleList')
|
|
|
+ // useFetch('getRoleList')
|
|
|
+ // .fetch()
|
|
|
+ // .then((res: any) => {
|
|
|
+ // ROLE_OPTION.value = res.map((item: any) => {
|
|
|
+ // return {
|
|
|
+ // value: item.code,
|
|
|
+ // label: item.roleName,
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // })
|
|
|
+ useFetch('nomakerRoleList')
|
|
|
.fetch()
|
|
|
.then((res: any) => {
|
|
|
ROLE_OPTION.value = res.map((item: any) => {
|