h5
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.

13 lines
450 B

import { computed } from 'vue';
import store from '@/store/index';
// const fullPath = store.getters['finance/fullPath'];
// console.log('fullPath: ', fullPath);
const domain = computed(() => store.state.domain);
export function setupFinance(app) {
uni.$u.api = { ...uni.$u.api } || {};
// 根据任务id获取财务条信息
uni.$u.api.getFinanceByTask = taskDetailId => uni.$u.post(`${domain.value}/finance/getByTask`, { taskDetailId });
}