| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import request from '/@/utils/micro_request.js'
- const basePath = import.meta.env.VITE_SCI
- // 横向项目管理
- export function useFundCardApi() {
- return {
- // 列表
- getList(query?: object) {
- return request.postRequest(basePath, 'SciFundCard', 'GetList', query)
- },
- // 详情
- getDetails(query?: object) {
- return request.postRequest(basePath, 'SciFundCard', 'GetEntityById', query)
- },
- // 创建
- create(query?: object) {
- return request.postRequest(basePath, 'SciFundCard', 'Create', query)
- },
- // 删除
- delete(query?: object) {
- return request.postRequest(basePath, 'SciFundCard', 'DeleteByIds', query)
- },
- // 修改
- update(query?: object) {
- return request.postRequest(basePath, 'SciFundCard', 'UpdateById', query)
- },
- // 经费卡明细
- getDetailsList(query?: object) {
- return request.postRequest(basePath, 'SciFundCard', 'GetDetailList', query)
- },
- // 经费卡总明细
- getAllFundsStatistics(query?: object) {
- return request.postRequest(basePath, 'SciFundCard', 'GetAllFundsStatistics', query)
- },
- // 入账信息
- getSubjAmount(query?: object) {
- return request.postRequest(basePath, 'SciFundCard', 'GetSubjAmount', query)
- }
- }
- }
|