|
|
@@ -3,8 +3,11 @@
|
|
|
<retrievalForm :fields="retrievalFields" @submit="handleFormSubmit" @toggleCollapse="toggleCollapse"
|
|
|
@areaSelectChange="areaSelectChange"></retrievalForm>
|
|
|
<kt-common-table :data="pageResult" :columns="columns" element-loading-text="加载中..." v-loading="loading"
|
|
|
- :showBatchDelete="false" @findPage="findPage" button3Name="转发" button3Type="text"
|
|
|
- @handleButton3="transmit" button2Name="报价轨迹" button2Type="text"
|
|
|
+ :showBatchDelete="false" @findPage="findPage"
|
|
|
+ button3Name="状态更新"
|
|
|
+ button3Type="text"
|
|
|
+ @handleButton3="querystatus"
|
|
|
+ button2Name="报价轨迹" button2Type="text"
|
|
|
:buttonDropdown="dropdownOption"
|
|
|
@handleButton2="trajectory" button5Name="详情" button5Type="text" @handleButton5="detailFun" button4Name="转发记录" button4Type="text"
|
|
|
@handleButton4="forwardingRecords" :operationWidth="300"></kt-common-table>
|
|
|
@@ -94,8 +97,8 @@ export default {
|
|
|
label:'撤销二维码',
|
|
|
click:(row)=>this.revokeCode(row)
|
|
|
},{
|
|
|
- label:'状态更新',
|
|
|
- click:(row)=>this.querystatus(row)
|
|
|
+ label: "转发",
|
|
|
+ click: (row) => this.transmit(row),
|
|
|
}, {
|
|
|
label:'撤单',
|
|
|
hide:(row) => {
|
|
|
@@ -125,8 +128,8 @@ export default {
|
|
|
渤海财险: "getOrderDetailboHai"
|
|
|
};
|
|
|
Object.keys(inscompany).forEach(val => {
|
|
|
- if (val == item.insCompany) {
|
|
|
- this.$api.letter[inscompany[val]]({ companyId: item.subOrderId }).then(
|
|
|
+ if (val == item.row.insCompany) {
|
|
|
+ this.$api.letter[inscompany[val]]({ companyId: item.row.subOrderId }).then(
|
|
|
res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message({
|
|
|
@@ -141,8 +144,8 @@ export default {
|
|
|
);
|
|
|
}
|
|
|
});
|
|
|
- if (item.insCompany == "永诚财险") {
|
|
|
- this.$api.letter.orderStatusyongcheng(item.subOrderId).then(res => {
|
|
|
+ if (item.row.insCompany == "永诚财险") {
|
|
|
+ this.$api.letter.orderStatusyongcheng(item.row.subOrderId).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message({
|
|
|
message: res.msg ? res.msg : "已刷新状态",
|
|
|
@@ -154,13 +157,13 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
- if (item.insCompany == "华泰财险") {
|
|
|
+ if (item.row.insCompany == "华泰财险") {
|
|
|
let HtApiType =
|
|
|
- item.apiType == 2
|
|
|
+ item.row.apiType == 2
|
|
|
? "pychonverifyPayment"
|
|
|
: "updateOrderInfoHuatai";
|
|
|
|
|
|
- this.$api.letter[HtApiType](item.apiType == 2 ? { subOrderNo: item.subOrderId } : item.id).then(res => {
|
|
|
+ this.$api.letter[HtApiType](item.row.apiType == 2 ? { subOrderNo: item.row.subOrderId } : item.row.id).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message({
|
|
|
message: res.msg ? res.msg : "已刷新状态",
|
|
|
@@ -173,12 +176,12 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
if (
|
|
|
- item.insCompany == "恒邦财险" ||
|
|
|
- item.insCompany == "众安财险" ||
|
|
|
- item.insCompany == "中国人寿" ||
|
|
|
- item.insCompany == "安盛天平" ||
|
|
|
- item.insCompany == "太平财险" ||
|
|
|
- item.insCompany == "华农财险"
|
|
|
+ item.row.insCompany == "恒邦财险" ||
|
|
|
+ item.row.insCompany == "众安财险" ||
|
|
|
+ item.row.insCompany == "中国人寿" ||
|
|
|
+ item.row.insCompany == "安盛天平" ||
|
|
|
+ item.row.insCompany == "太平财险" ||
|
|
|
+ item.row.insCompany == "华农财险"
|
|
|
) {
|
|
|
this.$api.letter
|
|
|
.pychonverifyPayment({ subOrderNo: item.subOrderId })
|
|
|
@@ -250,8 +253,8 @@ export default {
|
|
|
transmit(row) {
|
|
|
this.dialogVisible = true;
|
|
|
this.transmitValue = "";
|
|
|
- this.orderNo = row.row.orderno
|
|
|
- this.subOrderId = row.row.subOrderId
|
|
|
+ this.orderNo = row.orderno
|
|
|
+ this.subOrderId = row.subOrderId
|
|
|
this.$api.task.getCustomerUsers().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.options = res.data
|