Merge branch 'feature/GFRS-2215【待完成】重新投保' into dev

This commit is contained in:
pangxingyue
2021-03-31 22:14:14 +08:00
5 changed files with 45 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Author: PangXingYue
* @Date: 2021-03-23 17:07:03
* @LastEditTime: 2021-03-25 19:03:38
* @LastEditTime: 2021-03-31 21:02:31
* @LastEditors: PangXingYue
* @Description:
* @FilePath: \ebiz-h5\src\components\ebiz\insureAgain\ProgressBar.vue
@@ -23,6 +23,7 @@
<script>
import { Image as VanImage } from 'vant'
import CacheUtils from '@/assets/js/utils/cacheUtils'
export default {
name: 'ProgressBar',
components: {
@@ -46,22 +47,27 @@ export default {
},
methods: {
changeProgressBar(index) {
//由 localStorage.salePageFlag 来控制是否可跳到指定页面
if (localStorage.active == '3' && index != 3) {
this.$toast('已到达签名确认流程,不可以回到前面的流程')
}
if (Number(CacheUtils.getLocItem('active')) < Number(index)) return
var url;
switch (index) {
case 0:
url = 'InsureInformation';
url = 'InsureInformation?salePageFlag=ProgressBar';
break;
case 1:
url = 'ProductInformation';
url = 'ProductInformation?salePageFlag=ProgressBar';
break;
case 2:
url = 'Notification';
url = 'Notification?salePageFlag=ProgressBar';
break;
case 3:
url = 'SignatureConfirmation';
url = 'SignatureConfirmation?salePageFlag=ProgressBar';
break;
default:
url = 'InsureInformation';
url = 'InsureInformation?salePageFlag=ProgressBar';
break;
}
this.$jump({