12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- import { httpApi } from '../../request/httpApi'
- export default {
- //获取补偿协议表单(新增
- async addGetTables(form, msg = true) {
- return httpApi({
- url: '/api/blade-land/compensationInfo/add',
- method: 'get',
- params: form,
- }, msg)
- },
- async updateGetTables(form, msg = true) {
- return httpApi({
- url: '/api/blade-land/compensationInfo/updateGetTables',
- method: 'get',
- params: form,
- }, msg)
- },
- // 填报页面数据保存
- async saveBussData(form, msg = true) {
- return httpApi({
- url: '/api/blade-land/compensationInfo/save_buss_data',
- method: 'post',
- data: form,
- }, msg)
- },
- //协议表单-生成html
- async getExcelHtml(form, msg = true) {
- return httpApi({
- url: '/api/blade-land/compensationInfo/get-excel-html_buss',
- method: 'get',
- params: form,
- }, msg)
- },
- //协议表单-获取用户保存数据
- async getBussInfo(form, msg = true) {
- return httpApi({
- url: '/api/blade-land/compensationInfo/get-buss-dataInfo',
- method: 'get',
- params: form,
- }, msg)
- },
- //协议表单-获取坐标位置
- async getBussCols(form, msg = true) {
- return httpApi({
- url: '/api/blade-land/compensationInfo/get-html-buss-cols',
- method: 'get',
- params: form,
- }, msg)
- },
- //分页查询补偿协议
- async getPage(form, msg = true) {
- return httpApi({
- url: '/api/blade-land/compensationInfo/page',
- method: 'get',
- params: form,
- }, msg)
- },
- //多表预览
- async getBussPdfs(form, msg = true) {
- return httpApi({
- url: '/api/blade-land/compensationInfo/get-buss-pdfs',
- method: 'get',
- params: form,
- }, msg)
- },
- //删除协议
- async remove(form, msg = true) {
- return httpApi({
- url: '/api/blade-land/compensationInfo/remove',
- method: 'post',
- data: form,
- }, msg)
- },
- //表单复制blade-land/compensationInfo/cope-tab
- async copeTab(form, msg = true) {
- return httpApi({
- url: '/api/blade-land/compensationInfo/cope-tab',
- method: 'post',
- data: form,
- }, msg)
- },
- }
|