|
|
@@ -118,27 +118,47 @@ export const mixin = { // 导出混入对象
|
|
|
type: 'date',
|
|
|
list: 'attachList'
|
|
|
},
|
|
|
- {
|
|
|
- name: 'managementSource',
|
|
|
- label: '机构来源',
|
|
|
- type: 'select',
|
|
|
- options: []
|
|
|
- },
|
|
|
],
|
|
|
loading: false,
|
|
|
queryFrom: {},
|
|
|
pageResult: {},
|
|
|
columns: [
|
|
|
{ prop: "subOrderId", label: "订单号", minWidth: 180 },
|
|
|
- { prop: "userid", label: "业务员", minWidth: 160, formatter: this.useridFormatter },
|
|
|
- { prop: "managementSource", label: "机构来源", minWidth: 160, formatter: this.managementSourceFormatter },
|
|
|
- { prop: "insCompany", label: "保险公司", minWidth: 120 },
|
|
|
+ { prop: "userid", label: "业务员工号", minWidth: 180 },
|
|
|
+ { prop: "username", label: "业务员姓名", minWidth: 180 },
|
|
|
+ // { prop: "userid", label: "业务员", minWidth: 160, formatter: this.useridFormatter },
|
|
|
+ { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },
|
|
|
+ // { prop: "insCompany", label: "保险公司", minWidth: 120 },
|
|
|
{ prop: "partnerCompaniesName", label: "合作公司", minWidth: 120 },
|
|
|
- { prop: "agreementName", label: "协议", minWidth: 160 },
|
|
|
+ // { prop: "agreementName", label: "协议", minWidth: 160 },
|
|
|
{ prop: "licenseno", label: "车牌号", minWidth: 160 },
|
|
|
{ prop: "insuredname", label: "投保人姓名", minWidth: 120 },
|
|
|
{ prop: "product", label: "投保险种", minWidth: 100 },
|
|
|
- { prop: "createtime", label: "录单日期", minWidth: 160 },
|
|
|
+ { prop: "createtime", label: "录单日期", minWidth: 160},
|
|
|
+ ],
|
|
|
+ columns1: [
|
|
|
+ { prop: "subOrderId", label: "订单号", minWidth: 180 },
|
|
|
+ { prop: "userid", label: "业务员工号", minWidth: 180 },
|
|
|
+ { prop: "username", label: "业务员姓名", minWidth: 180 },
|
|
|
+ // { prop: "userid", label: "业务员", minWidth: 160, formatter: this.useridFormatter },
|
|
|
+ { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },
|
|
|
+ // { prop: "insCompany", label: "保险公司", minWidth: 120 },
|
|
|
+ { prop: "partnerCompaniesName", label: "已承保公司", minWidth: 120 },
|
|
|
+ { prop: "licenseno", label: "车牌号", minWidth: 160 },
|
|
|
+ { prop: "jqpremium", label: "交强险保费", minWidth: 160 },
|
|
|
+ { prop: "sypremium", label: "商业险保费", minWidth: 160 },
|
|
|
+
|
|
|
+
|
|
|
+ // { prop: "agreementName", label: "协议", minWidth: 160 },
|
|
|
+ { prop: "taxamount", label: "车船税", minWidth: 160 },
|
|
|
+ { prop: "jypremium", label: "驾意险保费", minWidth: 160 },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ // { prop: "isExternal", label: "外部订单", formatter: this.isExternalFormatter},
|
|
|
+ { prop: "insuredname", label: "投保人姓名", minWidth: 120 },
|
|
|
+ { prop: "product", label: "投保险种", minWidth: 100 },
|
|
|
+ { prop: "createtime", label: "录单日期", minWidth: 160},
|
|
|
],
|
|
|
statusoptions: "",
|
|
|
dialogVisible: false,
|
|
|
@@ -157,24 +177,24 @@ export const mixin = { // 导出混入对象
|
|
|
quoteno: "",
|
|
|
oldfileList: [],
|
|
|
orderInfo: {},
|
|
|
- forwardingRecordsdialogVisible: false,
|
|
|
- gridData: [],
|
|
|
+ forwardingRecordsdialogVisible:false,
|
|
|
+ gridData:[],
|
|
|
natureOfVehicleUseoptions: [],
|
|
|
- businessVehicleUseoptions: [],
|
|
|
- energyTypeoptions: [],
|
|
|
- vehicleTypeoptions: [],
|
|
|
- trafficManagementVehicleTypeoptions: [],
|
|
|
+ businessVehicleUseoptions:[],
|
|
|
+ energyTypeoptions:[],
|
|
|
+ vehicleTypeoptions:[],
|
|
|
+ trafficManagementVehicleTypeoptions:[],
|
|
|
outOfBusinessVehicleUseoptions: [],
|
|
|
- isAuditing: {
|
|
|
- adjustFeeFlag: false,
|
|
|
+ isAuditing:{
|
|
|
+ adjustFeeFlag:false,
|
|
|
},
|
|
|
- feeOrderNewVoList: {},
|
|
|
- dialogVisibleOrder: false,
|
|
|
- formDataOrder: {
|
|
|
- carinfo: {},
|
|
|
- ownerinfo: {},
|
|
|
- applyinfo: {},
|
|
|
- insureinfo: {},
|
|
|
+ feeOrderNewVoList:{},
|
|
|
+ dialogVisibleOrder:false,
|
|
|
+ formDataOrder:{
|
|
|
+ carinfo:{},
|
|
|
+ ownerinfo:{},
|
|
|
+ applyinfo:{},
|
|
|
+ insureinfo:{},
|
|
|
},
|
|
|
formvehicleList: [
|
|
|
{ prop: "licenseNo", label: "车牌号" },
|
|
|
@@ -191,7 +211,7 @@ export const mixin = { // 导出混入对象
|
|
|
],
|
|
|
formownersList: [
|
|
|
{ prop: "name", label: "车主姓名" },
|
|
|
- { prop: "identifyType", label: "证件类型", type: 'select' },
|
|
|
+ { prop: "identifyType", label: "证件类型" ,type:'select'},
|
|
|
{ prop: "identifyNumber", label: "身份证号" },
|
|
|
{ prop: "mobile", label: "手机号" },
|
|
|
{ prop: "email", label: "电子邮箱" },
|
|
|
@@ -199,7 +219,7 @@ export const mixin = { // 导出混入对象
|
|
|
],
|
|
|
formPolicyholderList: [
|
|
|
{ prop: "name", label: "投保人姓名" },
|
|
|
- { prop: "identifyType", label: "证件类型", type: 'select' },
|
|
|
+ { prop: "identifyType", label: "证件类型" ,type:'select'},
|
|
|
{ prop: "identifyNumber", label: "身份证号" },
|
|
|
{ prop: "mobile", label: "手机号" },
|
|
|
{ prop: "email", label: "电子邮箱" },
|
|
|
@@ -207,7 +227,7 @@ export const mixin = { // 导出混入对象
|
|
|
],
|
|
|
forminsureinfoList: [
|
|
|
{ prop: "name", label: "被保人姓名" },
|
|
|
- { prop: "identifyType", label: "证件类型", type: 'select' },
|
|
|
+ { prop: "identifyType", label: "证件类型" ,type:'select'},
|
|
|
{ prop: "identifyNumber", label: "身份证号" },
|
|
|
{ prop: "mobile", label: "手机号" },
|
|
|
{ prop: "email", label: "电子邮箱" },
|
|
|
@@ -218,13 +238,13 @@ export const mixin = { // 导出混入对象
|
|
|
return time.getTime() > Date.now();
|
|
|
}
|
|
|
},
|
|
|
- whetheroptions: [
|
|
|
+ whetheroptions:[
|
|
|
{
|
|
|
- label: '是',
|
|
|
- value: false
|
|
|
+ label:'是',
|
|
|
+ value:false
|
|
|
}, {
|
|
|
- label: '否',
|
|
|
- value: true
|
|
|
+ label:'否',
|
|
|
+ value:true
|
|
|
},
|
|
|
]
|
|
|
}
|
|
|
@@ -244,8 +264,8 @@ export const mixin = { // 导出混入对象
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- this.pageRequest.quoteStartDateStr = this.currentDate;
|
|
|
- this.pageRequest.quoteEndDateStr = this.currentDate;
|
|
|
+ this.pageRequest.quoteStartDateStr=this.currentDate;
|
|
|
+ this.pageRequest.quoteEndDateStr=this.currentDate;
|
|
|
this.$api.letter.gainTopList().then(res => {
|
|
|
this.companyList = res.data;
|
|
|
});
|
|
|
@@ -256,7 +276,6 @@ export const mixin = { // 导出混入对象
|
|
|
this.CompanyList();
|
|
|
this.agrmentlist();
|
|
|
this.getDicType("productsType"); //车船税类型
|
|
|
- this.getManagementSource('business_source')//来源
|
|
|
this.getDicTypePro("natureOfVehicleUse"); //车辆使用性质
|
|
|
this.getDicTypePro("vehicleType"); //车辆种类
|
|
|
this.getDicTypePro("trafficManagementVehicleType"); //车辆类型
|
|
|
@@ -265,25 +284,25 @@ export const mixin = { // 导出混入对象
|
|
|
this.getDicTypePro("outOfBusinessVehicleUse"); //(车辆用途)非营业
|
|
|
},
|
|
|
methods: {
|
|
|
- submitOrder() {
|
|
|
- let data = {
|
|
|
- ownerInfo: this.formDataOrder.ownerinfo,
|
|
|
- carInfo: this.formDataOrder.carinfo,
|
|
|
- applyInfo: this.formDataOrder.applyinfo,
|
|
|
- insureInfo: this.formDataOrder.insureinfo,
|
|
|
- subOrderNo: this.formDataOrder.id
|
|
|
+ submitOrder(){
|
|
|
+ let data={
|
|
|
+ ownerInfo:this.formDataOrder.ownerinfo,
|
|
|
+ carInfo:this.formDataOrder.carinfo,
|
|
|
+ applyInfo:this.formDataOrder.applyinfo,
|
|
|
+ insureInfo:this.formDataOrder.insureinfo,
|
|
|
+ subOrderNo:this.formDataOrder.id
|
|
|
}
|
|
|
this.$api.task.batchOrder(data).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- this.findPage();
|
|
|
- this.dialogVisibleOrder = false
|
|
|
+ this.findPage();
|
|
|
+ this.dialogVisibleOrder=false
|
|
|
|
|
|
this.$message({
|
|
|
- message: res.msg || '操作成功',
|
|
|
+ message: res.msg ||'操作成功',
|
|
|
type: 'success'
|
|
|
});
|
|
|
}
|
|
|
- else {
|
|
|
+ else{
|
|
|
this.$message.error(res.msg);
|
|
|
}
|
|
|
});
|
|
|
@@ -298,8 +317,8 @@ export const mixin = { // 导出混入对象
|
|
|
this.formDataOrder.carinfo.vehicleUse = "";
|
|
|
}
|
|
|
},
|
|
|
- handleCloseOrder() {
|
|
|
- this.dialogVisibleOrder = false
|
|
|
+ handleCloseOrder(){
|
|
|
+ this.dialogVisibleOrder=false
|
|
|
},
|
|
|
getDicTypePro(type) {
|
|
|
this.$api.insCompany.dicType(type).then(res => {
|
|
|
@@ -308,23 +327,23 @@ export const mixin = { // 导出混入对象
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- capTypedictTag(val, option) {
|
|
|
- if (option.find(item => item.dictValue == val)) {
|
|
|
- return option.find(item => item.dictValue == val).dictTag;
|
|
|
- }
|
|
|
- else {
|
|
|
+ capTypedictTag(val,option) {
|
|
|
+ if(option.find(item => item.dictValue == val)){
|
|
|
+ return option.find(item => item.dictValue == val).dictTag;
|
|
|
+ }
|
|
|
+ else{
|
|
|
return '-'
|
|
|
}
|
|
|
},
|
|
|
- forwardingRecords(row) {
|
|
|
- let id = row.row.subOrderId;
|
|
|
+ forwardingRecords(row){
|
|
|
+ let id=row.row.subOrderId;
|
|
|
this.forwardingRecordsQuery(id);
|
|
|
},
|
|
|
forwardingRecordsQuery(id) {
|
|
|
this.$api.letter.findForwardingListBySubOrderId(id).then((res) => {
|
|
|
if (res.code == '200' && res.data.length) {
|
|
|
- this.gridData = res.data;
|
|
|
- this.forwardingRecordsdialogVisible = true;
|
|
|
+ this.gridData=res.data;
|
|
|
+ this.forwardingRecordsdialogVisible=true;
|
|
|
} else {
|
|
|
this.$message({
|
|
|
type: 'error',
|
|
|
@@ -374,37 +393,36 @@ export const mixin = { // 导出混入对象
|
|
|
return val;
|
|
|
})
|
|
|
this.feeOrderNewVoList = {
|
|
|
- list: [...data1.entranceFee, ...data1.exportFee],
|
|
|
+ list: [...data1.entranceFee,...data1.exportFee],
|
|
|
}
|
|
|
}
|
|
|
- if (data.carinfo.carnature && data.carinfo.carnature == '02' || data.carinfo.carnature == '非营业') {
|
|
|
- data.carinfo.vehicleUse = this.capTypedictTag(data.carinfo.vehicleUse, this.outOfBusinessVehicleUseoptions)
|
|
|
- } else {
|
|
|
- data.carinfo.vehicleUse = this.capTypedictTag(data.carinfo.vehicleUse, this.businessVehicleUseoptions)
|
|
|
+ if(data.carinfo.carnature && data.carinfo.carnature == '02' || data.carinfo.carnature == '非营业'){
|
|
|
+ data.carinfo.vehicleUse=this.capTypedictTag(data.carinfo.vehicleUse,this.outOfBusinessVehicleUseoptions)
|
|
|
+ }else{
|
|
|
+ data.carinfo.vehicleUse=this.capTypedictTag(data.carinfo.vehicleUse,this.businessVehicleUseoptions)
|
|
|
}
|
|
|
- data.carinfo.carnature = this.capTypedictTag(data.carinfo.carnature, this.natureOfVehicleUseoptions);
|
|
|
- data.carinfo.cartype = data.carinfo.cartype ? this.capTypedictTag(data.carinfo.cartype, this.trafficManagementVehicleTypeoptions) : ''
|
|
|
- data.carinfo.cimodelclass = data.carinfo.cimodelclass ? this.capTypedictTag(data.carinfo.cimodelclass, this.vehicleTypeoptions) : ''
|
|
|
- data.carinfo.energyType = data.carinfo.energyType ? this.capTypedictTag(data.carinfo.energyType, this.energyTypeoptions) : ''
|
|
|
- data.source = row.row.managementSource
|
|
|
+ data.carinfo.carnature = this.capTypedictTag(data.carinfo.carnature,this.natureOfVehicleUseoptions);
|
|
|
+ data.carinfo.cartype=data.carinfo.cartype?this.capTypedictTag(data.carinfo.cartype,this.trafficManagementVehicleTypeoptions):''
|
|
|
+ data.carinfo.cimodelclass=data.carinfo.cimodelclass?this.capTypedictTag(data.carinfo.cimodelclass,this.vehicleTypeoptions):''
|
|
|
+ data.carinfo.energyType=data.carinfo.energyType?this.capTypedictTag(data.carinfo.energyType,this.energyTypeoptions):''
|
|
|
this.queryOrders = data;
|
|
|
}
|
|
|
- else {
|
|
|
+ else{
|
|
|
this.$message.error(res.msg)
|
|
|
}
|
|
|
});
|
|
|
this.$refs.detailsDialog.setBackupVisible(true);
|
|
|
},
|
|
|
- batchOrder(row) {
|
|
|
- this.dialogVisibleOrder = true
|
|
|
+ batchOrder(row){
|
|
|
+ this.dialogVisibleOrder=true
|
|
|
let params = {
|
|
|
companyId: row.row.subOrderId
|
|
|
};
|
|
|
this.$api.letter.getTaskByCompanyId(params).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
+ if(res.code==200){
|
|
|
this.formDataOrder = res.data;
|
|
|
}
|
|
|
- else {
|
|
|
+ else{
|
|
|
this.$message.error(res.msg)
|
|
|
}
|
|
|
})
|
|
|
@@ -454,22 +472,50 @@ export const mixin = { // 导出混入对象
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- getManagementSource(type) {
|
|
|
- this.$api.dict.findByLableName(type).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- for (let i = 0; i < res.data.length; i++) {
|
|
|
- res.data[i].name = res.data[i].label
|
|
|
- res.data[i].id = Number(res.data[i].value)
|
|
|
- }
|
|
|
- this.selectDataMatching(this.retrievalFields, 'managementSource', res.data);
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
cpolicy() {
|
|
|
if (this.orderInfo.orderstatus == "3") {
|
|
|
this.oldfileList = [];
|
|
|
let businessList = []
|
|
|
let accidentList = []
|
|
|
+ if(this.orderInfo.isExternal==1){
|
|
|
+ this.$api.letter
|
|
|
+ .getPolicyPrintexternalOrder(this.orderInfo.id).then(res1=>{
|
|
|
+ if(res1.code==200){
|
|
|
+ if (res1.data.jqPolicy) {
|
|
|
+ this.oldfileList.push({
|
|
|
+ fileTitle: "交强电子保单",
|
|
|
+ filename: this.orderInfo.jqpolicyno,
|
|
|
+ fileurl: res1.data.jqPolicy
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (res1.data.jqSign) {
|
|
|
+ this.oldfileList.push({
|
|
|
+ fileTitle: "交强电子标志",
|
|
|
+ filename: this.orderInfo.jqpolicyno,
|
|
|
+ fileurl: res1.data.jqSign
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (res1.data.jqSign) {
|
|
|
+ accidentList.push({
|
|
|
+ fileTitle: "商业电子保单",
|
|
|
+ filename: this.orderInfo.sypolicyno,
|
|
|
+ fileurl: res1.data.jqSign
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (res1.data.noPolicy) {
|
|
|
+ accidentList.push({
|
|
|
+ fileTitle: "驾意险保单",
|
|
|
+ filename: "驾意险保单",
|
|
|
+ fileurl: res1.data.noPolicy
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ this.$message.error(res1.msg)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ else{
|
|
|
switch (this.orderInfo.inscompany) {
|
|
|
case "永安财险":
|
|
|
if (this.orderInfo.jqpolicyno) {
|
|
|
@@ -1077,6 +1123,7 @@ export const mixin = { // 导出混入对象
|
|
|
break;
|
|
|
default:
|
|
|
}
|
|
|
+ }
|
|
|
let obj = {
|
|
|
oldfileList: this.oldfileList,
|
|
|
businessList,
|
|
|
@@ -1172,7 +1219,17 @@ export const mixin = { // 导出混入对象
|
|
|
default:
|
|
|
}
|
|
|
},
|
|
|
- trajectory(row) {
|
|
|
+ isExternalFormatter(row, column) {
|
|
|
+ let isExternal = row.isExternal;
|
|
|
+ switch (isExternal) {
|
|
|
+ case 1:
|
|
|
+ return '是'
|
|
|
+ case 0:
|
|
|
+ return '否'
|
|
|
+ default:
|
|
|
+ }
|
|
|
+ },
|
|
|
+ trajectory(row){
|
|
|
this.$api.letter.queryBySuborder(row.subOrderId).then((res) => {
|
|
|
if (res.code == 200 && res.data.length > 0) {
|
|
|
this.ddgjdialogVisible = true;
|
|
|
@@ -1194,13 +1251,13 @@ export const mixin = { // 导出混入对象
|
|
|
});
|
|
|
this.findPage();
|
|
|
}
|
|
|
- else {
|
|
|
+ else{
|
|
|
this.$message.error(res.msg)
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- // 撤销二维码
|
|
|
- revokeCode(row) {
|
|
|
+ // 撤销二维码
|
|
|
+ revokeCode(row) {
|
|
|
this.$api.letter.getRevokeQrCode(row.subOrderId).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message({
|
|
|
@@ -1212,46 +1269,25 @@ export const mixin = { // 导出混入对象
|
|
|
});
|
|
|
},
|
|
|
//查询缴费状态
|
|
|
- refreshStatus(item) {
|
|
|
- let inscompany = {
|
|
|
- 国任财险: "updateOrderInfoGuoren",
|
|
|
- 华泰财险: "orderStatushuatai",
|
|
|
- 大家财险: "updateOrderInfoDajia",
|
|
|
- 中煤财险: "orderStatuszhongmei",
|
|
|
- 太平财险: "auditStatusQuery",
|
|
|
- 华农财险: "auditStatusQuery",
|
|
|
- 恒邦财险: "auditStatusQuery",
|
|
|
- 众安财险: "auditStatusQuery",
|
|
|
- 中国人寿: "auditStatusQuery",
|
|
|
- 安盛天平: "auditStatusQuery",
|
|
|
- 紫金财险: "auditStatusQueryZijin",
|
|
|
- 渤海财险: "orderStatusbohai"
|
|
|
- };
|
|
|
- Object.keys(inscompany).forEach(val => {
|
|
|
- if (val == item.insCompany) {
|
|
|
- this.$api.letter[inscompany[val]]({ companyId: item.subOrderId }).then(
|
|
|
- res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.$message({
|
|
|
- message: res.msg ? res.msg : "已刷新状态",
|
|
|
- type: "success"
|
|
|
- });
|
|
|
- this.findPage();
|
|
|
- } else {
|
|
|
- this.$message({
|
|
|
- showClose: true,
|
|
|
- dangerouslyUseHTMLString: true,
|
|
|
- message: res.msg.replace(/\n/g, "<br><br>"),
|
|
|
- type: "error",
|
|
|
- duration: 7000
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
- );
|
|
|
- }
|
|
|
- });
|
|
|
- if (item.insCompany == "永诚财险") {
|
|
|
- this.$api.letter.orderStatusyongcheng(item.subOrderId).then(res => {
|
|
|
+ refreshStatus(item) {
|
|
|
+ let inscompany = {
|
|
|
+ 国任财险: "updateOrderInfoGuoren",
|
|
|
+ 华泰财险: "orderStatushuatai",
|
|
|
+ 大家财险: "updateOrderInfoDajia",
|
|
|
+ 中煤财险: "orderStatuszhongmei",
|
|
|
+ 太平财险: "auditStatusQuery",
|
|
|
+ 华农财险: "auditStatusQuery",
|
|
|
+ 恒邦财险: "auditStatusQuery",
|
|
|
+ 众安财险: "auditStatusQuery",
|
|
|
+ 中国人寿: "auditStatusQuery",
|
|
|
+ 安盛天平: "auditStatusQuery",
|
|
|
+ 紫金财险: "auditStatusQueryZijin",
|
|
|
+ 渤海财险: "orderStatusbohai"
|
|
|
+ };
|
|
|
+ Object.keys(inscompany).forEach(val => {
|
|
|
+ if (val == item.insCompany) {
|
|
|
+ this.$api.letter[inscompany[val]]({ companyId: item.subOrderId }).then(
|
|
|
+ res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message({
|
|
|
message: res.msg ? res.msg : "已刷新状态",
|
|
|
@@ -1267,31 +1303,52 @@ export const mixin = { // 导出混入对象
|
|
|
duration: 7000
|
|
|
});
|
|
|
}
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }
|
|
|
+ });
|
|
|
+ if (item.insCompany == "永诚财险") {
|
|
|
+ this.$api.letter.orderStatusyongcheng(item.subOrderId).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message({
|
|
|
+ message: res.msg ? res.msg : "已刷新状态",
|
|
|
+ type: "success"
|
|
|
+ });
|
|
|
+ this.findPage();
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ showClose: true,
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
+ message: res.msg.replace(/\n/g, "<br><br>"),
|
|
|
+ type: "error",
|
|
|
+ duration: 7000
|
|
|
});
|
|
|
}
|
|
|
- if (item.insCompany == "华泰财险") {
|
|
|
- let HtApiType =
|
|
|
- item.apiType == 2
|
|
|
- ? "auditStatusQuery"
|
|
|
- : "orderStatushuatai";
|
|
|
- this.$api.letter[HtApiType](item.subOrderId).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.$message({
|
|
|
- message: res.msg ? res.msg : "已刷新状态",
|
|
|
- type: "success"
|
|
|
- });
|
|
|
- this.findPage();
|
|
|
- } else {
|
|
|
- this.$message({
|
|
|
- showClose: true,
|
|
|
- dangerouslyUseHTMLString: true,
|
|
|
- message: res.msg.replace(/\n/g, "<br><br>"),
|
|
|
- type: "error",
|
|
|
- duration: 7000
|
|
|
- });
|
|
|
- }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (item.insCompany == "华泰财险") {
|
|
|
+ let HtApiType =
|
|
|
+ item.apiType == 2
|
|
|
+ ? "auditStatusQuery"
|
|
|
+ : "orderStatushuatai";
|
|
|
+ this.$api.letter[HtApiType](item.subOrderId).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message({
|
|
|
+ message: res.msg ? res.msg : "已刷新状态",
|
|
|
+ type: "success"
|
|
|
+ });
|
|
|
+ this.findPage();
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ showClose: true,
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
+ message: res.msg.replace(/\n/g, "<br><br>"),
|
|
|
+ type: "error",
|
|
|
+ duration: 7000
|
|
|
});
|
|
|
}
|
|
|
- },
|
|
|
+ });
|
|
|
+ }
|
|
|
+},
|
|
|
}
|
|
|
}
|