1234567891011121314151617181920212223242526272829303132333435363738 |
- import axios from '@/common/services/axios-instance'
- class AuditAdvancedImportService {
- // 导入
- Import(params) {
- return axios({
- method: 'post',
- url: 'api/xcoa-mobile/v1/iam-excel-config/importData',
- data: params,
- })
- }
- // 下载会议计划批量导入模板
- downloadMeetingPlanTemplateExcel() {
- return axios({
- method: 'get',
- url: 'api/xcoa-mobile/v1/iam-excel-config/importData',
- responseType: 'blob',
- })
- }
- getTemplate(configId) {
- return axios({
- method: 'get',
- url: `api/xcoa-mobile/v1/iam-excel-config/excelTemplate?configId=${configId}`,
- })
- }
- downloadTemplateExcel(path, params) {
- return axios({
- method: 'post',
- url: `${path}`,
- data: params,
- })
- }
- }
- export default new AuditAdvancedImportService()
|