|
@ -93,8 +93,22 @@ export default function (businessType, type) { |
|
|
delete schema.properties["isMaidan"]; |
|
|
delete schema.properties["isMaidan"]; |
|
|
delete schema.properties["contractDocID"]; |
|
|
delete schema.properties["contractDocID"]; |
|
|
} |
|
|
} |
|
|
if (businessType !== "JisBBAC") { |
|
|
if (businessType !== "JisBBAC") |
|
|
delete schema.properties["site"]; |
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
if(businessType === "ZhiGongJianBBAC") |
|
|
|
|
|
{ |
|
|
|
|
|
if(service === "pub_can_sa_service") |
|
|
|
|
|
{ |
|
|
|
|
|
delete schema.properties["site"]; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
else |
|
|
|
|
|
{ |
|
|
|
|
|
delete schema.properties["site"]; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
@ -111,7 +125,7 @@ export default function (businessType, type) { |
|
|
const addMethod = "POST"; |
|
|
const addMethod = "POST"; |
|
|
const exportMethod = "POST"; |
|
|
const exportMethod = "POST"; |
|
|
|
|
|
|
|
|
if (businessType !== "JisBBAC") |
|
|
if (businessType !== "JisBBAC" && businessType !== "ZhiGongJianBBAC") |
|
|
{ |
|
|
{ |
|
|
return { |
|
|
return { |
|
|
query: { |
|
|
query: { |
|
@ -299,7 +313,7 @@ export default function (businessType, type) { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(service === "bbac_can_sa_service") |
|
|
if(service === "bbac_can_sa_service"||service === "pub_can_sa_service") |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|