|
|
@@ -94,9 +94,9 @@
|
|
|
@click="cancelorder(item)" style="color:#f56c6c">撤单</el-button>
|
|
|
<el-button size="mini" type="text" v-if="item.orderstatus == '2'" @click="carcode(scope.row, item)" style="color:#f56c6c">二维码</el-button>
|
|
|
<el-button size="mini" type="text" @click="OrderDetails(scope.row, item)">查看详情</el-button>
|
|
|
- <el-button size="mini" type="text" style="color:rgb(247, 191, 32)" :loading="querystatusLoaing"
|
|
|
- v-if="item.orderstatus == '2'&& ['恒邦财险', '众安财险', '中国人寿', '安盛天平', '紫金财险','永诚财险','大家财险','华泰财险','国任财险','中煤财险',].includes(item.inscompany)"
|
|
|
- @click="querystatus(item)" >状态更新</el-button>
|
|
|
+ <el-button size="mini" type="text" style="color:rgb(245, 182, 10)" :loading="querystatusLoaing"
|
|
|
+ v-if="item.orderstatus == '2'&& ['太平财险','华农财险','恒邦财险', '众安财险', '中国人寿', '安盛天平', '紫金财险','永诚财险','大家财险','华泰财险','国任财险','中煤财险',].includes(item.inscompany)"
|
|
|
+ @click="querystatus(item,index)" >状态更新</el-button>
|
|
|
<el-button v-if="item.orderstatus !== '2'" size="mini" type="text" style="color:rgb(247, 191, 32)" @click="orderTrajectory(scope.row, item)">订单轨迹</el-button>
|
|
|
<el-button type="text" size="mini" style="color:rgb(240, 12, 10)" @click="bjdpreview(item.id)">报价单</el-button>
|
|
|
<!-- <el-button size="mini" type="text" @click="CloseEdit(scope.$index, scope.row)">编辑</el-button> -->
|
|
|
@@ -868,7 +868,7 @@
|
|
|
type="text"
|
|
|
size="mini"
|
|
|
style="color:rgb(247, 191, 32)"
|
|
|
- v-if="scope.row.orderstatus == '2'&& ['恒邦财险', '众安财险', '中国人寿', '安盛天平', '紫金财险','永诚财险','大家财险','华泰财险','国任财险','中煤财险',].includes(scope.row.inscompany)"
|
|
|
+ v-if="scope.row.orderstatus == '2'&& ['太平财险','华农财险','恒邦财险', '众安财险', '中国人寿', '安盛天平', '紫金财险','永诚财险','大家财险','华泰财险','国任财险','中煤财险',].includes(scope.row.inscompany)"
|
|
|
@click="querystatus(scope.row,'history')"
|
|
|
>状态更新</el-button>
|
|
|
</template>
|
|
|
@@ -1340,7 +1340,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
//查询缴费状态
|
|
|
- querystatus(item) {
|
|
|
+ querystatus(item,index) {
|
|
|
this.querystatusLoaing=true
|
|
|
let inscompany={
|
|
|
'国任财险':'updateOrderInfoGuoren',
|
|
|
@@ -1356,10 +1356,10 @@ export default {
|
|
|
this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
|
|
|
this.quotationhistorydialogVisible?this.RadioHistoryChange():'';
|
|
|
this.findPage()
|
|
|
- this.querystatusLoaing=false
|
|
|
+ this.querystatusLoaing=false
|
|
|
}
|
|
|
else{
|
|
|
- this.querystatusLoaing=false
|
|
|
+ this.querystatusLoaing=false
|
|
|
this.$message({ message:res.msg, type: "error" })
|
|
|
}
|
|
|
})
|
|
|
@@ -1379,22 +1379,21 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
- if(item.inscompany == '恒邦财险'|| item.inscompany == '众安财险'|| item.inscompany == '中国人寿'||item.inscompany =='安盛天平')
|
|
|
+ if(item.inscompany == '恒邦财险'|| item.inscompany == '众安财险'|| item.inscompany == '中国人寿'||item.inscompany =='安盛天平'||item.inscompany =='太平财险'||item.inscompany =='华农财险')
|
|
|
{
|
|
|
this.$api.letter.pychonverifyPayment({ subOrderNo: item.id }).then(res => {
|
|
|
if (res.code == '200') {
|
|
|
this.$message({ message: "订单支付成功,正在更改状态", type: "success" })
|
|
|
this.quotationhistorydialogVisible?this.RadioHistoryChange():'';
|
|
|
this.findPage()
|
|
|
- this.querystatusLoaing=false
|
|
|
+ this.querystatusLoaing=false
|
|
|
} else {
|
|
|
- this.querystatusLoaing=false
|
|
|
+ this.querystatusLoaing=false
|
|
|
this.$message({ message: res.msg, type: "error" })
|
|
|
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
cancelorder(item) {
|
|
|
this.$api.letter.zijincancelorder({ companyId: item.id }).then(res => {
|
|
|
@@ -2007,12 +2006,14 @@ export default {
|
|
|
case "恒邦财险":
|
|
|
case "安盛天平":
|
|
|
case "中国人寿":
|
|
|
+ case "太平财险":
|
|
|
+ case "华农财险":
|
|
|
case "众安财险":
|
|
|
if (this.orderInfo.jqpolicyno || this.orderInfo.sypolicyno) {
|
|
|
this.$api.letter.pythongetPolicyPrint({
|
|
|
subOrderNo: item.id,
|
|
|
}).then(res => {
|
|
|
- if (res.data) {
|
|
|
+ if (res.code==500 && res.data) {
|
|
|
if (res.data.jqxPolicyUrl) {
|
|
|
this.oldfileList.push({
|
|
|
fileTitle: "交强电子保单",
|
|
|
@@ -2232,6 +2233,7 @@ export default {
|
|
|
// }
|
|
|
// },
|
|
|
handleRowChange(row){
|
|
|
+ console.log(row,111111111)
|
|
|
if(!row.expanded){
|
|
|
this.$api.letter.querySonOrders({orderNo:row.orderno}).then(res=>{
|
|
|
if(res.code=='200' && res.data.length!=0){
|
|
|
@@ -2261,7 +2263,7 @@ export default {
|
|
|
this.pageResult = res.data.content;
|
|
|
this.pageNum = res.data.pageNum;
|
|
|
this.totalSize = res.data.totalSize;
|
|
|
- this.pageResult.forEach(val => {
|
|
|
+ this.pageResult.forEach((val,index) => {
|
|
|
this.$set(val, "expanded", false);
|
|
|
});
|
|
|
} else {
|