diff --git a/src/api/ea/electronicfinance/finance.js b/src/api/ea/electronicfinance/finance.js new file mode 100644 index 00000000..a0342f76 --- /dev/null +++ b/src/api/ea/electronicfinance/finance.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建财务档案 +export function createFinance(data) { + return request({ + url: '/electronic/finance/create', + method: 'post', + data: data + }) +} + +// 更新财务档案 +export function updateFinance(data) { + return request({ + url: '/electronic/finance/update', + method: 'put', + data: data + }) +} + +// 删除财务档案 +export function deleteFinance(id) { + return request({ + url: '/electronic/finance/delete?id=' + id, + method: 'delete' + }) +} + +// 获得财务档案 +export function getFinance(id) { + return request({ + url: '/electronic/finance/get?id=' + id, + method: 'get' + }) +} + +// 获得财务档案分页 +export function getFinancePage(query) { + return request({ + url: '/electronic/finance/page', + method: 'get', + params: query + }) +} + +// 导出财务档案 Excel +export function exportFinanceExcel(query) { + return request({ + url: '/electronic/finance/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/utils/dict.js b/src/utils/dict.js index 0db360c1..2c7d13ee 100644 --- a/src/utils/dict.js +++ b/src/utils/dict.js @@ -165,7 +165,10 @@ CONSULTATION_TYPE: 'consultation_type', OTHER_BUSINESS_TYPE: 'other_business_type', //启用状态 ENABLE_STATE: 'enable_state', - + //支付方式 + PAY_TYPE:'pay_type', + //交易类型 + TRADE_TYPE:'trade_type' } diff --git a/src/views/archives/prefile/index.vue b/src/views/archives/prefile/index.vue index c0b259b6..7aeab059 100644 --- a/src/views/archives/prefile/index.vue +++ b/src/views/archives/prefile/index.vue @@ -776,6 +776,89 @@ :limit.sync="queryParams.pageSize" @pagination="getList" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { + this.electronicFinanceList = response.data.list + this.total11 = response.data.total + this.loading = false + }); }, /** 获取目录号 */ getCatalogNum() { diff --git a/src/views/archives/record/index.vue b/src/views/archives/record/index.vue index d79a536d..a566476f 100644 --- a/src/views/archives/record/index.vue +++ b/src/views/archives/record/index.vue @@ -992,6 +992,90 @@ :limit.sync="queryParams.pageSize" @pagination="getList" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +