|
|
@@ -58,7 +58,7 @@
|
|
|
<el-radio-group v-model="pageRequest.productid">
|
|
|
<el-radio label="">全部</el-radio>
|
|
|
<el-radio v-for="val in productsTypeoptions" :key="val.dictValue" :label="val.dictValue">{{ val.dictTag
|
|
|
- }}</el-radio>
|
|
|
+ }}</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -69,7 +69,7 @@
|
|
|
<el-radio-group v-model="pageRequest.orderStatus">
|
|
|
<el-radio label="888">全部</el-radio>
|
|
|
<el-radio v-for="val in optionsStatus" :key="val.dictValue" :label="val.dictValue">{{ val.dictTag
|
|
|
- }}</el-radio>
|
|
|
+ }}</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -170,7 +170,7 @@
|
|
|
<el-button size="mini" type="text" v-if="item.orderstatus == '2'" @click="carcode(item)"
|
|
|
class="red_color">二维码</el-button>
|
|
|
<!-- <el-button size="mini" class="red_color" v-if="item.orderstatus == '2' && item.inscompany == '平安财险'" type="text" @click="signature(item)">生成签章</el-button> -->
|
|
|
- <el-button v-if="item.orderstatus == '10'" size="mini" type="text" class="blue_color"
|
|
|
+ <el-button v-if="item.orderstatus == '10'" size="mini" type="text" class="blue_color"
|
|
|
@click="supplementOrder(item)">补录订单</el-button>
|
|
|
<el-button size="mini" type="text" class="green_color"
|
|
|
@click="OrderDetails(scope.row, item)">查看详情</el-button>
|
|
|
@@ -488,10 +488,34 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" align="center" min-width="180" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" type="text" v-if="scope.row.orderstatus == '1'"
|
|
|
- @click="updateStatusHuatai(scope.row)" class="red_color">更新订单</el-button>
|
|
|
- <el-button size="mini" type="text" v-if="scope.row.orderstatus == '2'"
|
|
|
- @click="querystatus(scope.row)" class="red_color">状态更新</el-button>
|
|
|
+ <el-button size="mini" type="text" v-if="
|
|
|
+ scope.row.orderstatus == '1' &&
|
|
|
+ [
|
|
|
+ '中煤财险',
|
|
|
+ '大家财险',
|
|
|
+ '永诚财险',
|
|
|
+ '国任财险',
|
|
|
+ '太平财险',
|
|
|
+ '华农财险',
|
|
|
+ '恒邦财险',
|
|
|
+ '诚泰财险',
|
|
|
+ '众安平安',
|
|
|
+ '中国人寿',
|
|
|
+ '人保财险',
|
|
|
+ '安盛天平',
|
|
|
+ '紫金财险',
|
|
|
+ '渤海财险',
|
|
|
+ '泰康财险',
|
|
|
+ '华泰财险',
|
|
|
+ '太平洋财险',
|
|
|
+ '大地财险',
|
|
|
+ '阳光财险',
|
|
|
+ ].includes(scope.row.inscompany)
|
|
|
+ " @click="refreshStatus(scope.row)" class="red_color">更新订单</el-button>
|
|
|
+ <el-button size="mini" type="text" v-if="scope.row.orderstatus == '4' && scope.row.inscompany == '华泰财险'"
|
|
|
+ @click="updateStatusHuatai(scope.row)" class="red_color">更新订单</el-button>
|
|
|
+ <el-button size="mini" type="text" v-if="scope.row.orderstatus == '2'" @click="querystatus(scope.row)"
|
|
|
+ class="red_color">状态更新</el-button>
|
|
|
<el-button type="text" size="small" style="color: #2d4d89"
|
|
|
@click="OrderDetails(quotationhistoryRow, scope.row)">查看详情</el-button>
|
|
|
<el-button size="small" type="text" @click="bjdpreview(scope.row.id, scope.row.userId)">报价单</el-button>
|
|
|
@@ -1733,7 +1757,7 @@ export default {
|
|
|
//查询缴费状态
|
|
|
querystatus(item, index) {
|
|
|
// this.querystatusLoaing = true;
|
|
|
- item.querystatusLoaing = true
|
|
|
+ item.querystatusLoaing = true
|
|
|
let inscompany = {
|
|
|
国任财险: "updateOrderInfoGuoren",
|
|
|
大家财险: "updateOrderInfoDajia",
|
|
|
@@ -1755,9 +1779,9 @@ export default {
|
|
|
? this.RadioHistoryChange()
|
|
|
: "";
|
|
|
this.findPage();
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
} else {
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
this.$message({ message: res.msg, type: "error" });
|
|
|
}
|
|
|
}
|
|
|
@@ -1773,9 +1797,9 @@ export default {
|
|
|
});
|
|
|
this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
|
|
|
this.findPage();
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
} else {
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
this.$message({ message: res.msg, type: "error" });
|
|
|
}
|
|
|
});
|
|
|
@@ -1794,9 +1818,9 @@ export default {
|
|
|
});
|
|
|
this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
|
|
|
this.findPage();
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
} else {
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
this.$message({ message: res.msg, type: "error" });
|
|
|
}
|
|
|
});
|
|
|
@@ -1815,9 +1839,9 @@ export default {
|
|
|
});
|
|
|
this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
|
|
|
this.findPage();
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
} else {
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
this.$message({ message: res.msg, type: "error" });
|
|
|
}
|
|
|
});
|
|
|
@@ -1838,9 +1862,9 @@ export default {
|
|
|
});
|
|
|
this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
|
|
|
this.findPage();
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
} else {
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
this.$message({ message: res.msg, type: "error" });
|
|
|
}
|
|
|
});
|
|
|
@@ -1860,9 +1884,9 @@ export default {
|
|
|
});
|
|
|
this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
|
|
|
this.findPage();
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
} else {
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
this.$message({ message: res.msg, type: "error" });
|
|
|
}
|
|
|
});
|
|
|
@@ -1882,9 +1906,9 @@ export default {
|
|
|
});
|
|
|
this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
|
|
|
this.findPage();
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
} else {
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
this.$message({ message: res.msg, type: "error" });
|
|
|
}
|
|
|
});
|
|
|
@@ -1917,9 +1941,9 @@ export default {
|
|
|
? this.RadioHistoryChange()
|
|
|
: "";
|
|
|
this.findPage();
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
} else {
|
|
|
- item.querystatusLoaing = false;
|
|
|
+ item.querystatusLoaing = false;
|
|
|
this.$message({ message: res.msg, type: "error" });
|
|
|
}
|
|
|
});
|
|
|
@@ -2115,9 +2139,9 @@ export default {
|
|
|
this.$api.letter.getByCompanyId(params).then((res) => {
|
|
|
if (res.code == "200") {
|
|
|
this.$router.push({
|
|
|
- path: "/task/external/externalOrders",
|
|
|
- query: { data: res.data },
|
|
|
- });
|
|
|
+ path: "/task/external/externalOrders",
|
|
|
+ query: { data: res.data },
|
|
|
+ });
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -3296,10 +3320,10 @@ export default {
|
|
|
this.pageResult.map((item) => {
|
|
|
if (item.orderno === row.orderno) {
|
|
|
item.insAreaCompanyList = res.data.map(item => {
|
|
|
- return {
|
|
|
- ...item,
|
|
|
- querystatusLoaing: false
|
|
|
- }
|
|
|
+ return {
|
|
|
+ ...item,
|
|
|
+ querystatusLoaing: false
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
return item;
|