|
@ -4,6 +4,7 @@ import router from '../router' |
|
|
import Utils from './contact.js' |
|
|
import Utils from './contact.js' |
|
|
import preview from './preview' |
|
|
import preview from './preview' |
|
|
import Vue from 'vue' |
|
|
import Vue from 'vue' |
|
|
|
|
|
import qs from 'qs' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
// 原始记录预览
|
|
|
// 原始记录预览
|
|
@ -144,8 +145,11 @@ export default { |
|
|
url: '/print/batchGeneratePDF', |
|
|
url: '/print/batchGeneratePDF', |
|
|
method: 'post', |
|
|
method: 'post', |
|
|
data: { |
|
|
data: { |
|
|
ids: id, |
|
|
ids: [id], |
|
|
generateType: viewType |
|
|
generateType: viewType |
|
|
|
|
|
}, |
|
|
|
|
|
paramsSerializer: function(data) { |
|
|
|
|
|
return qs.stringify(data, { indices: false }) |
|
|
} |
|
|
} |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
console.info('重新生成成功') |
|
|
console.info('重新生成成功') |
|
|