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.
10 lines
349 B
10 lines
349 B
import store from '@/store/index';
|
|
|
|
const fullPath = store.getters['finance/fullPath'];
|
|
console.log('fullPath: ', fullPath);
|
|
|
|
export function setupFinance(app) {
|
|
uni.$u.api = { ...uni.$u.api } || {};
|
|
// 根据任务id获取财务条信息
|
|
uni.$u.api.getFinanceByTask = taskDetailId => uni.$u.post(`${fullPath}/getByTask`, { taskDetailId });
|
|
}
|
|
|