You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
785 B
32 lines
785 B
|
2 years ago
|
import request from '@/utils/request';
|
||
|
|
import { AxiosPromise } from 'axios';
|
||
|
|
import {
|
||
|
|
customerFormCont,
|
||
|
|
CustomerFormPageResult,
|
||
|
|
SearchForm,
|
||
|
|
customerFormConfig
|
||
|
|
} from './type';
|
||
|
|
//自定义表单列表
|
||
|
|
export function getCustomerFormList(queryParams: SearchForm): AxiosPromise<CustomerFormPageResult> {
|
||
|
|
return request({
|
||
|
|
url: '/systemapi/customer_form/customer_form_list',
|
||
|
|
method: 'post',
|
||
|
|
params: queryParams
|
||
|
|
});
|
||
|
|
}
|
||
|
|
//生成表单基本信息
|
||
|
|
export function getProductionMarkForm(): AxiosPromise<customerFormConfig> {
|
||
|
|
return request({
|
||
|
|
url: '/systemapi/customer_form/production_mark_form',
|
||
|
|
method: 'post',
|
||
|
|
});
|
||
|
|
}
|
||
|
|
|
||
|
|
export function saveProductionForm(data: any) {
|
||
|
|
return request({
|
||
|
|
url: '/systemapi/customer_form/save_customer_form',
|
||
|
|
method: 'post',
|
||
|
|
data: data
|
||
|
|
});
|
||
|
|
}
|