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.
12 lines
455 B
12 lines
455 B
import store from '@/store/index.js';
|
|
import { computed } from 'vue';
|
|
|
|
const domain = computed(() => store.state.domain);
|
|
|
|
export function setupRole(app) {
|
|
uni.$u.api = { ...uni.$u.api } || {};
|
|
//根据项目id查找角色
|
|
uni.$u.api.findShowRole = param => uni.$u.post(`${domain.value}/tall/role/show`, param);
|
|
//根据项目id查找所有成员
|
|
uni.$u.api.queryChecker = param => uni.$u.post(`${domain.value}/deliver/queryChecker`, param);
|
|
};
|
|
|