|
|
@@ -126,8 +126,7 @@
|
|
|
<el-button link type="primary" v-if="scope.row.orderStatus === '7' || scope.row.orderStatus === '1'"
|
|
|
@click="toEdit(scope.row)">提交核保</el-button>
|
|
|
<el-button link type="primary" v-if="scope.row.orderStatus === '3'">取消核保</el-button>
|
|
|
- <el-button link type="primary"
|
|
|
- v-if="scope.row.orderStatus === '7' || scope.row.orderStatus === '4'"
|
|
|
+ <el-button link type="primary" v-if="scope.row.orderStatus === '7' || scope.row.orderStatus === '4'"
|
|
|
@click="updateOrderStatus(scope.row.orderNo)">更新订单</el-button>
|
|
|
<!-- 模拟接口,正式上线后,删除 -->
|
|
|
<el-button link type="primary" :loading="scope.row.loading" v-if="scope.row.orderStatus === '4'"
|
|
|
@@ -138,8 +137,10 @@
|
|
|
@click="toEdit(scope.row)">计算保费</el-button>
|
|
|
<el-button link type="primary" v-if="scope.row.orderStatus === '8'"
|
|
|
@click="toEdit(scope.row)">重新报价</el-button>
|
|
|
- <el-button link type="primary" @click="viewElectronicPolicy(scope.row)" v-if="scope.row.orderStatus === '5'">下载电子保单</el-button>
|
|
|
- <el-button link type="primary" @click="viewElectronicPolicy(scope.row)" v-if="scope.row.orderStatus === '5'">查看电子保单</el-button>
|
|
|
+ <el-button link type="primary" @click="viewElectronicPolicy(scope.row)"
|
|
|
+ v-if="scope.row.orderStatus === '5'">下载电子保单</el-button>
|
|
|
+ <el-button link type="primary" @click="viewElectronicPolicy(scope.row)"
|
|
|
+ v-if="scope.row.orderStatus === '5'">查看电子保单</el-button>
|
|
|
<el-button link type="primary" v-if="scope.row.orderStatus === '4'" @click="payCode(scope)">支付码</el-button>
|
|
|
<el-button link type="danger" @click="deleteOrder(scope.row.orderNo)"
|
|
|
v-if="scope.row.orderStatus === '6' || scope.row.orderStatus === '8'">删除订单</el-button>
|
|
|
@@ -561,14 +562,12 @@ const handleSearch = () => {
|
|
|
}
|
|
|
|
|
|
const viewElectronicPolicy = async (row) => {
|
|
|
- console.log("🚀 ~ viewElectronicPolicy ~ row:", row)
|
|
|
- const params={
|
|
|
- order:{
|
|
|
- orderNo: row.orderNo
|
|
|
+ const params = {
|
|
|
+ order: {
|
|
|
+ ordersNo: row.orderNo
|
|
|
}
|
|
|
}
|
|
|
- const res=await api.insurancePolicyApi.downloadPolicy(params)
|
|
|
- console.log("🚀 ~ viewElectronicPolicy ~ res:", res)
|
|
|
+ const res = await api.insurancePolicyApi.downloadPolicy(params)
|
|
|
}
|
|
|
// 详情
|
|
|
const toDetail = (orderNo: any) => {
|