|
|
@@ -101,6 +101,9 @@
|
|
|
<el-button size="mini" type="text"
|
|
|
v-if="item.orderstatus == '1' && item.inscompany=='中煤财险'"
|
|
|
@click="updateStatus(item)" style="color:#f56c6c">更新订单</el-button>
|
|
|
+ <el-button size="mini" type="text"
|
|
|
+ v-if="item.orderstatus == '1' && item.inscompany=='华泰财险'"
|
|
|
+ @click="refreshStatusHuatai(item)" style="color:#f56c6c">更新订单</el-button>
|
|
|
<el-button size="mini" type="text"
|
|
|
v-if="item.orderstatus == '2' && item.inscompany=='国任财险'"
|
|
|
@click="refreshStatusGuoren(item)" style="color:#f56c6c">状态更新</el-button>
|
|
|
@@ -1901,6 +1904,31 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ //华泰刷新核保状态
|
|
|
+ refreshStatusHuatai(item){
|
|
|
+ this.$api.letter.orderStatushuatai( {companyId:item.id} ).then(res => {
|
|
|
+ if(res.code==200){
|
|
|
+ this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
|
|
|
+ this.loading = true;
|
|
|
+ this.$api.letter.queryOrders(this.pageRequest).then((res) => {
|
|
|
+ if (res.code == "200") {
|
|
|
+ this.loading = false;
|
|
|
+ this.pageResult = res.data.content;
|
|
|
+ this.pageNum = res.data.pageNum;
|
|
|
+ this.totalSize = res.data.totalSize;
|
|
|
+ this.pageResult.forEach(val => {
|
|
|
+ this.$set(val, "expanded", false);
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.loading = false;
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ this.$message({ message:res.msg, type: "error" })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
//中煤查询缴费状态
|
|
|
updateStatus(item){
|
|
|
this.$api.letter.orderStatuszhongmei( {companyId:item.id} ).then(res => {
|