Commit 7873f20d authored by linxin's avatar linxin

置空

parent e8092f45
Pipeline #4241 canceled with stages
...@@ -343,11 +343,19 @@ export default { ...@@ -343,11 +343,19 @@ export default {
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
if (from.name === 'NPInvoiceInfo' && window.localStorage.from) { if (from.name === 'NPInvoiceInfo' && window.localStorage.from) {
vm.propertyInfo = {bp_id: window.localStorage.getItem('bp_id')}
vm.hauseInfo = {bp_id: window.localStorage.getItem('bp_id')}
vm.carInfo = {bp_id: window.localStorage.getItem('bp_id')}
vm.houseImg = ''
vm.carImg = ''
vm.estateImg = ''
vm.bp_type = window.localStorage.bp_type vm.bp_type = window.localStorage.bp_type
vm.loadItemList() setTimeout(() => {
vm.getCarInfo() vm.loadItemList()
vm.getHouseInfo() vm.getCarInfo()
vm.getEstateInfo() vm.getHouseInfo()
vm.getEstateInfo()
}, 0)
} }
}) })
}, },
......
...@@ -99,8 +99,8 @@ export default { ...@@ -99,8 +99,8 @@ export default {
}, },
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
vm.invoiceInfo = {}
if (from.name === 'NPBaseInfo' && window.localStorage.from) { if (from.name === 'NPBaseInfo' && window.localStorage.from) {
vm.invoiceInfo = {}
vm.getInvoice() vm.getInvoice()
} }
}) })
......
...@@ -284,7 +284,7 @@ export default new Router({ ...@@ -284,7 +284,7 @@ export default new Router({
// 新版用户绑定-自然人 // 新版用户绑定-自然人
{path: '/np-base-info', component: NPBaseInfo, name: 'NPBaseInfo', meta: {keepAlive: true}}, {path: '/np-base-info', component: NPBaseInfo, name: 'NPBaseInfo', meta: {keepAlive: true}},
{path: '/np-invoice-info', component: NPInvoiceInfo, name: 'NPInvoiceInfo', meta: {keepAlive: true}}, {path: '/np-invoice-info', component: NPInvoiceInfo, name: 'NPInvoiceInfo', meta: {keepAlive: true}},
{path: '/np-bank-info', component: NPBankInfo, name: 'NPBankInfo', meta: {keepAlive: true}}, {path: '/np-bank-info', component: NPBankInfo, name: 'NPBankInfo', meta: {keepAlive: false}},
{path: '/accessory-info', component: AccessoryInfo, name: 'AccessoryInfo', meta: {keepAlive: true}}, {path: '/accessory-info', component: AccessoryInfo, name: 'AccessoryInfo', meta: {keepAlive: true}},
// 合同创建 // 合同创建
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment