|
|
@@ -12440,16 +12440,18 @@ export default {
|
|
|
});
|
|
|
break;
|
|
|
case "渤海财险":
|
|
|
- await this.$api.letter
|
|
|
- .insbohaisubmitImage({
|
|
|
- companyId: this.companyId
|
|
|
+ let BHApiImage = "";
|
|
|
+ BHApiImage =
|
|
|
+ this.apiType == 2 ? "pythonsubmitImage" : "insbohaisubmitImage";
|
|
|
+ await this.$api.letter[BHApiImage]({
|
|
|
+ [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId
|
|
|
})
|
|
|
.then(res => {
|
|
|
if (res.code == "200") {
|
|
|
var _this = this;
|
|
|
- _this.$api.letter
|
|
|
- .bohaiaudit({
|
|
|
- companyId: this.companyId
|
|
|
+ let auditType = this.apiType == 2 ? 'pythonaudit' : 'bohaiaudit'
|
|
|
+ _this.$api.letter[auditType]({
|
|
|
+ [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId
|
|
|
})
|
|
|
.then(res => {
|
|
|
if (res.code == "200") {
|