|
|
@@ -183,33 +183,30 @@
|
|
|
<view v-if="riskitem.riskCode=='0507'" class="time dis j-s a-c">
|
|
|
<template v-if="item.orderstatus!=3">
|
|
|
<text>交强险投保时间</text>
|
|
|
- <text>{{riskitem.startDate}}</text>
|
|
|
+ <text>{{item.jqstartdate}}</text>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<text>交强险保险期间</text>
|
|
|
- <text>{{riskitem.startDate}}-{{riskitem.endDate}}</text>
|
|
|
+ <text>{{item.jqstartdate}}-{{item.jqenddate}}</text>
|
|
|
</template>
|
|
|
|
|
|
</view>
|
|
|
<view v-if="riskitem.riskCode=='0510'" class="time dis j-s a-c">
|
|
|
<template v-if="item.orderstatus!=3">
|
|
|
<text>商业险投保时间</text>
|
|
|
- <text>{{riskitem.startDate}}</text>
|
|
|
+ <text>{{item.systartdate}}</text>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<text>商业险保险期间</text>
|
|
|
- <text>{{riskitem.startDate}}-{{riskitem.endDate}}</text>
|
|
|
+ <text>{{item.systartdate}}-{{item.syenddate}}</text>
|
|
|
</template>
|
|
|
</view>
|
|
|
</template>
|
|
|
-
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="orderItemPane-below dis a-c j-end f-wrap ">
|
|
|
+ <view class="orderItemPane-below dis a-c j-end f-wrap">
|
|
|
<u-button v-if="item.orderstatus!='3'"
|
|
|
:custom-style="{fontSize:'12px',background:'rgba(34,152,5,0.05)',color:'#229805',borderColor:'#229805'}"
|
|
|
shape="circle" size="mini" :hair-line="false" :plain="true"
|
|
|
@@ -240,7 +237,7 @@
|
|
|
@click="quotehistory(item,'4')">核保退回 <u-badge type="error" bgColor="#FF0F00"
|
|
|
v-if="item.orderStatus4" :count="item.orderStatus4"
|
|
|
:offset="[-8, -8]"></u-badge></u-button>
|
|
|
- <u-button
|
|
|
+ <u-button v-if="item.orderstatus!='3'"
|
|
|
:custom-style="{fontSize:'12px',background:'rgba(159,159,159,0.05)',color:'#666666',borderColor:'#D2D2D2'}"
|
|
|
shape="circle" size="mini" :hair-line="false" :plain="true"
|
|
|
@click="closeOrder(item.orderno)">关闭订单 </u-button>
|
|
|
@@ -266,6 +263,15 @@
|
|
|
|
|
|
</view>
|
|
|
</u-mask>
|
|
|
+ <u-modal v-model="closeOrderShow" title="提示"
|
|
|
+ :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
|
|
|
+ :show-cancel-button="true"
|
|
|
+ :confirm-style="{background:'#E6EEFF',color:'#0052FF',height:'40px',lineHeight:'40px'}"
|
|
|
+ :cancel-style="{height:'40px',lineHeight:'40px'}" @confirm="closeOrderconfirm" confirm-text="确定">
|
|
|
+ <view class="slot-content dis a-c j-c p-2">
|
|
|
+ 确认关闭订单?
|
|
|
+ </view>
|
|
|
+ </u-modal>
|
|
|
<service-widget @btnClick="btn_click"></service-widget>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -290,6 +296,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ closeOrderShow: false,
|
|
|
productsTypeoptions: [],
|
|
|
show: true,
|
|
|
showDropdown: false,
|
|
|
@@ -515,17 +522,20 @@
|
|
|
phoneNumber: phone, //仅为示例
|
|
|
});
|
|
|
},
|
|
|
- //关闭订单
|
|
|
- async closeOrder(orderno) {
|
|
|
+ async closeOrderconfirm() {
|
|
|
let res = await this.$http.get('/insurance/order/shutDown/' + orderno);
|
|
|
if (res.code == '200') {
|
|
|
uni.showToast({
|
|
|
- title: res.msg,
|
|
|
+ title: "关闭成功",
|
|
|
icon: 'none',
|
|
|
});
|
|
|
this.getOrdersList(1, 20);
|
|
|
}
|
|
|
},
|
|
|
+ //关闭订单
|
|
|
+ closeOrder(orderno) {
|
|
|
+ this.closeOrderShow = true;
|
|
|
+ },
|
|
|
btn_click() {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/chat/chat'
|