|
|
@@ -937,7 +937,8 @@ export default {
|
|
|
item.apiType == 2
|
|
|
? "pychonverifyPayment"
|
|
|
: "updateOrderInfoHuatai";
|
|
|
- this.$api.letter[HtApiType](item.id).then(res => {
|
|
|
+
|
|
|
+ this.$api.letter[HtApiType](item.apiType == 2 ? { subOrderNo: item.id } : item.id).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message({
|
|
|
message: res.msg ? res.msg : "已刷新状态",
|
|
|
@@ -1345,10 +1346,10 @@ export default {
|
|
|
: "HuataigetPolicyPrint";
|
|
|
if (this.orderInfo.jqpolicyno) {
|
|
|
this.$api.letter[HtApiType]({
|
|
|
- companyId: item.id,
|
|
|
- riskCode: "0507",
|
|
|
- type: "2" //2:保单
|
|
|
- })
|
|
|
+ [this.apiType == 2 ? "subOrderNo" : "companyId"]: item.id,
|
|
|
+ riskCode: "0507",
|
|
|
+ type: "2" //2:保单
|
|
|
+ })
|
|
|
.then(res => {
|
|
|
if (res.data) {
|
|
|
if (res.data.jqxPolicyUrl) {
|
|
|
@@ -1372,10 +1373,10 @@ export default {
|
|
|
}
|
|
|
if (this.orderInfo.sypolicyno) {
|
|
|
this.$api.letter[HtApiType]({
|
|
|
- companyId: item.id,
|
|
|
- riskCode: "0510",
|
|
|
- type: "2" //2:保单
|
|
|
- })
|
|
|
+ [this.apiType == 2 ? "subOrderNo" : "companyId"]: item.id,
|
|
|
+ riskCode: "0510",
|
|
|
+ type: "2" //2:保单
|
|
|
+ })
|
|
|
.then(res => {
|
|
|
if (res.data && res.data.syxPolicyUrl) {
|
|
|
businessList.push({
|