|
@@ -100,6 +100,9 @@ export function fieldTemplateLists() {
|
|
|
return request.get('/fieldtemplate/fieldTemplateList');
|
|
|
|
|
|
}
|
|
|
+export function getTemplateById(templateId){
|
|
|
+ return request.get('/fieldtemplate/getTemplateById?id=' + templateId);
|
|
|
+}
|
|
|
export function cooperatorProductList(pageNum,pageSize){
|
|
|
return request.post('/cooperator_product/cooperatorProductList',
|
|
|
{
|
|
@@ -145,18 +148,54 @@ export function findCooperatorFieldsByName(cooperatorName){
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-export function businessToDoList(){
|
|
|
- return request.get('/business/businessToDoList');
|
|
|
+export function businessToDoList(pageNum,pageSize){
|
|
|
+ return request.post('/business/businessToDoList',
|
|
|
+ {
|
|
|
+ pageNum:pageNum,
|
|
|
+ pageSize:pageSize,
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
-export function businessAnalysisList(){
|
|
|
- return request.get('/business/businessAnalysisList');
|
|
|
+export function selectBusinessToDo(pageNum,pageSize,customerName){
|
|
|
+ return request.post('/business/selectBusinessToDo',
|
|
|
+ {
|
|
|
+ pageNum:pageNum,
|
|
|
+ pageSize:pageSize,
|
|
|
+ customerName:customerName,
|
|
|
+
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
-export function businessFailList(){
|
|
|
- return request.get('/business/businessFailList');
|
|
|
+export function businessAnalysisList(pageNum,pageSize){
|
|
|
+ return request.post('/business/businessAnalysisList', {
|
|
|
+ pageNum:pageNum,
|
|
|
+ pageSize:pageSize,
|
|
|
+ });
|
|
|
}
|
|
|
+export function selectBusinessAnalysis(pageNum,pageSize,customerName){
|
|
|
+ return request.post('/business/selectBusinessAnalysis',
|
|
|
+ {
|
|
|
+ pageNum:pageNum,
|
|
|
+ pageSize:pageSize,
|
|
|
+ customerName:customerName,
|
|
|
|
|
|
+ });
|
|
|
+}
|
|
|
+export function businessFailList(pageNum,pageSize) {
|
|
|
+ return request.post('/business/businessFailList', {
|
|
|
+ pageNum: pageNum,
|
|
|
+ pageSize: pageSize,
|
|
|
+ });
|
|
|
+}
|
|
|
+export function selectBusinessFail(pageNum,pageSize,customerName){
|
|
|
+ return request.post('/business/selectBusinessFail',
|
|
|
+ {
|
|
|
+ pageNum:pageNum,
|
|
|
+ pageSize:pageSize,
|
|
|
+ customerName:customerName,
|
|
|
+
|
|
|
+ });
|
|
|
+}
|
|
|
export function modelDefineList(){
|
|
|
return request.get('/model_define/modelDefineList');
|
|
|
}
|
|
@@ -353,21 +392,22 @@ export function fieldTemplateSave(templateData) {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-export function cooperatorAdd(cooperator_name, cooperatorNum, corp_certificate_type, field_template_no) {
|
|
|
+export function cooperatorAdd(cooperator_name, corpCertificateNum, corp_certificate_type, field_template_id) {
|
|
|
return request.post('/cooperator/add', {
|
|
|
cooperator_name : cooperator_name,
|
|
|
- cooperatorNum : cooperatorNum,
|
|
|
- corp_certificate_type : corp_certificate_type,
|
|
|
- field_template_no : field_template_no
|
|
|
+ corpCertificateNum : corpCertificateNum,
|
|
|
+ corp_certificate_type : corp_certificate_type,
|
|
|
+ field_template_id : field_template_id
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-export function cooperatorEdit(cooperator_id, cooperator_name, cooperatorNum, corp_certificate_type) {
|
|
|
+export function cooperatorEdit(cooperator_id, cooperator_name, cooperatorNum, corp_certificate_type,fieldTemplateId) {
|
|
|
return request.post('/cooperator/edit', {
|
|
|
cooperator_id : cooperator_id,
|
|
|
cooperator_name : cooperator_name,
|
|
|
cooperatorNum : cooperatorNum,
|
|
|
- corp_certificate_type : corp_certificate_type,
|
|
|
+ corp_certificate_type : corp_certificate_type,
|
|
|
+ fieldTemplateId:fieldTemplateId
|
|
|
});
|
|
|
}
|
|
|
|