mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 07:36:44 +08:00
获客弹窗小于85分点击停止投保调用修改订单状态接口 以及按钮样式和文字修改
This commit is contained in:
@@ -390,3 +390,10 @@ export function saveOrderType(data) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function changeOrderStatus(data) {
|
||||||
|
return request({
|
||||||
|
url: getUrl('/sale/order/changeOrderStatus', 1),
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
@@ -51,16 +51,16 @@
|
|||||||
<div style="padding: 20px 30px 20px;font-size: 14px;">
|
<div style="padding: 20px 30px 20px;font-size: 14px;">
|
||||||
<div style="line-height: 20px;">根据风险测评结果,您不适合投保万能型或分红型保险产品,建议您停止投保。</div>
|
<div style="line-height: 20px;">根据风险测评结果,您不适合投保万能型或分红型保险产品,建议您停止投保。</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align: center;">
|
<div style="text-align: center;display: flex;align-items: end;">
|
||||||
<van-button type="danger" block style="font-size: 14px;background: #fff;color: #e9332e;line-height: 14px;" @click="thisdialogfunc1">已知晓不适宜继续投保,但本人扔申请继续投保</van-button>
|
<van-button type="danger" style="font-size: 12px;background: #fff;color: #e9332e;line-height: 15px;width: 50%;padding: 0px 2px;" @click="thisdialogfunc1">已知晓不适宜继续投保,但本人仍申请继续投保</van-button>
|
||||||
<van-button type="danger" block style="font-size: 14px;margin-top: 2px;" @click="thisdialogfunc2">停止投保</van-button>
|
<van-button type="danger" style="font-size: 14px;margin-top: 2px;width: 50%;" @click="thisdialogfunc2">停止投保</van-button>
|
||||||
</div>
|
</div>
|
||||||
</van-dialog>
|
</van-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { Collapse, CollapseItem, RadioGroup, Radio, Field, CellGroup, Icon } from 'vant'
|
import { Collapse, CollapseItem, RadioGroup, Radio, Field, CellGroup, Icon } from 'vant'
|
||||||
import { saveInformation, getOrderDetail } from '@/api/ebiz/sale/sale'
|
import { saveInformation, getOrderDetail, changeOrderStatus } from '@/api/ebiz/sale/sale'
|
||||||
import IndexBar from '@/components/ebiz/sale/IndexBar'
|
import IndexBar from '@/components/ebiz/sale/IndexBar'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@@ -128,15 +128,25 @@ methods:{
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
thisdialogfunc2(){
|
thisdialogfunc2(){
|
||||||
this.$jump({
|
let params = {
|
||||||
flag: 'h5',
|
orderNO:this.$route.query.orderNo
|
||||||
extra: {
|
}
|
||||||
url: location.origin + '/#/sale/list',
|
changeOrderStatus(params).then(res=>{
|
||||||
},
|
if(res.result == 0){
|
||||||
routerInfo: {
|
this.$jump({
|
||||||
path: '/sale/list'
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/list',
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/list'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
appCallBack(data) {
|
appCallBack(data) {
|
||||||
if (data.trigger == 'left_button_click') {
|
if (data.trigger == 'left_button_click') {
|
||||||
|
|||||||
Reference in New Issue
Block a user