|
|
@@ -35,7 +35,7 @@ export const mixin = { // 导出混入对象
|
|
|
|
|
|
},
|
|
|
{
|
|
|
- name: 'subOrderId',
|
|
|
+ name: 'id',
|
|
|
label: '订单号',
|
|
|
type: 'input',
|
|
|
|
|
|
@@ -130,6 +130,7 @@ export const mixin = { // 导出混入对象
|
|
|
{ prop: "subOrderId", label: "订单号", minWidth: 180 },
|
|
|
{ prop: "userid", label: "业务员", minWidth: 160, formatter: this.useridFormatter },
|
|
|
{ prop: "insCompany", label: "保险公司", minWidth: 120 },
|
|
|
+ { prop: "partnerCompaniesName", label: "合作公司", minWidth: 120 },
|
|
|
{ prop: "agreementName", label: "协议", minWidth: 160 },
|
|
|
{ prop: "licenseno", label: "车牌号", minWidth: 160 },
|
|
|
{ prop: "insuredname", label: "投保人姓名", minWidth: 120 },
|
|
|
@@ -143,7 +144,7 @@ export const mixin = { // 导出混入对象
|
|
|
options: [],//转发人列表
|
|
|
transmitValue: "", //选中的转发人
|
|
|
orderNo: '', //主订单号
|
|
|
- subOrderId: '', //子订单号
|
|
|
+ id: '', //子订单号
|
|
|
queryOrders: {},
|
|
|
carImageList: [], //车辆影像
|
|
|
ownerImageList: [], //车主影像
|
|
|
@@ -162,7 +163,6 @@ export const mixin = { // 导出混入对象
|
|
|
this.$api.dept.findAllTree().then(res => {
|
|
|
this.institutionOptions = res.data;
|
|
|
});
|
|
|
- this.ImageList();
|
|
|
this.areaqueryList(1, 99, "provinceId");
|
|
|
this.CompanyList();
|
|
|
this.agrmentlist();
|
|
|
@@ -215,16 +215,17 @@ export const mixin = { // 导出混入对象
|
|
|
});
|
|
|
},
|
|
|
cpolicy(){
|
|
|
- this.oldfileList = [];
|
|
|
- let businessList = []
|
|
|
- let accidentList = []
|
|
|
+
|
|
|
if (this.orderInfo.orderstatus == "3") {
|
|
|
+ this.oldfileList = [];
|
|
|
+ let businessList = []
|
|
|
+ let accidentList = []
|
|
|
switch (this.orderInfo.inscompany) {
|
|
|
case "永安财险":
|
|
|
if (this.orderInfo.jqpolicyno) {
|
|
|
this.$api.letter
|
|
|
.getPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
policytype: "jq",
|
|
|
})
|
|
|
.then((res) => {
|
|
|
@@ -245,7 +246,7 @@ export const mixin = { // 导出混入对象
|
|
|
});
|
|
|
this.$api.letter
|
|
|
.getPolicyPrint2({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
policytype: "jq",
|
|
|
})
|
|
|
.then((res) => {
|
|
|
@@ -268,7 +269,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.sypolicyno) {
|
|
|
this.$api.letter
|
|
|
.getPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
policytype: "sy",
|
|
|
})
|
|
|
.then((res) => {
|
|
|
@@ -293,7 +294,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.jqpolicyno) {
|
|
|
this.$api.letter
|
|
|
.HuataigetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0507",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -321,7 +322,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.sypolicyno) {
|
|
|
this.$api.letter
|
|
|
.HuataigetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0510",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -342,7 +343,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.jqpolicyno) {
|
|
|
this.$api.letter
|
|
|
.ZhongmeigetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0507",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -359,7 +360,7 @@ export const mixin = { // 导出混入对象
|
|
|
});
|
|
|
this.$api.letter
|
|
|
.ZhongmeigetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0507",
|
|
|
type: "1", // 1:标志
|
|
|
})
|
|
|
@@ -378,7 +379,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.sypolicyno) {
|
|
|
this.$api.letter
|
|
|
.ZhongmeigetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0510",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -399,7 +400,7 @@ export const mixin = { // 导出混入对象
|
|
|
this.$api.letter
|
|
|
.ZhongmeigetPolicyPrint({
|
|
|
ridePolicyNo: ele.ridePolicyNo,
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0513",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -421,7 +422,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.jqpolicyno) {
|
|
|
this.$api.letter
|
|
|
.yongchenggetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0507",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -449,7 +450,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.sypolicyno) {
|
|
|
this.$api.letter
|
|
|
.yongchenggetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0510",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -469,7 +470,7 @@ export const mixin = { // 导出混入对象
|
|
|
this.orderInfo.crossInsurance.map((ele) => {
|
|
|
this.$api.letter
|
|
|
.yongchenggetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
policyNumber: ele.policyNumber,
|
|
|
riskCode: "0513",
|
|
|
type: "2", //2:保单
|
|
|
@@ -492,7 +493,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.jqpolicyno) {
|
|
|
this.$api.letter
|
|
|
.guoRengetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0507",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -509,7 +510,7 @@ export const mixin = { // 导出混入对象
|
|
|
});
|
|
|
this.$api.letter
|
|
|
.guoRengetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0507",
|
|
|
type: "1", //1:标志
|
|
|
})
|
|
|
@@ -528,7 +529,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.sypolicyno) {
|
|
|
this.$api.letter
|
|
|
.guoRengetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0510",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -548,7 +549,7 @@ export const mixin = { // 导出混入对象
|
|
|
this.orderInfo.crossInsurance.map((ele) => {
|
|
|
this.$api.letter
|
|
|
.guoRengetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
policyNumber: ele.policyNumber,
|
|
|
|
|
|
riskCode: "0513",
|
|
|
@@ -573,7 +574,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.jqpolicyno) {
|
|
|
this.$api.letter
|
|
|
.zijingetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0507",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -590,7 +591,7 @@ export const mixin = { // 导出混入对象
|
|
|
});
|
|
|
this.$api.letter
|
|
|
.zijingetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0507",
|
|
|
type: "1", //1:标志
|
|
|
})
|
|
|
@@ -609,7 +610,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.sypolicyno) {
|
|
|
this.$api.letter
|
|
|
.zijingetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0510",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -629,7 +630,7 @@ export const mixin = { // 导出混入对象
|
|
|
this.orderInfo.crossInsurance.map((ele) => {
|
|
|
this.$api.letter
|
|
|
.zijingetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
policyNumber: ele.policyNumber,
|
|
|
riskCode: "0513",
|
|
|
type: "2", //2:保单
|
|
|
@@ -652,7 +653,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.jqpolicyno) {
|
|
|
this.$api.letter
|
|
|
.getPolicyPrintboHai({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
if (res.code == 200 && res.data) {
|
|
|
@@ -704,7 +705,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.jqpolicyno || this.orderInfo.sypolicyno) {
|
|
|
this.$api.letter
|
|
|
.pythongetPolicyPrint({
|
|
|
- subOrderNo: this.orderInfo.subOrderId,
|
|
|
+ subOrderNo: this.orderInfo.id,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
if (res.code == 200 && res.data) {
|
|
|
@@ -751,7 +752,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.jqpolicyno) {
|
|
|
this.$api.letter
|
|
|
.obtainWarranty({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0507",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -768,7 +769,7 @@ export const mixin = { // 导出混入对象
|
|
|
});
|
|
|
this.$api.letter
|
|
|
.obtainWarranty({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0507",
|
|
|
type: "1", //1:标志
|
|
|
})
|
|
|
@@ -787,7 +788,7 @@ export const mixin = { // 导出混入对象
|
|
|
if (this.orderInfo.sypolicyno) {
|
|
|
this.$api.letter
|
|
|
.obtainWarranty({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
riskCode: "0510",
|
|
|
type: "2", //2:保单
|
|
|
})
|
|
|
@@ -805,7 +806,7 @@ export const mixin = { // 导出混入对象
|
|
|
this.orderInfo.crossInsurance.map((ele) => {
|
|
|
this.$api.letter
|
|
|
.zijingetPolicyPrint({
|
|
|
- companyId: this.orderInfo.subOrderId,
|
|
|
+ companyId: this.orderInfo.id,
|
|
|
policyNumber: ele.policyNumber,
|
|
|
riskCode: "0513",
|
|
|
type: "2", //2:保单
|