Commit fff8cd22 authored by 786817560's avatar 786817560

'修改经销商keepalive为true'

parent 53399ecc
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: 合同详情 * @Description: 合同详情
* @Author: your name * @Author: your name
* @Date: 2019-09-25 15:38:21 * @Date: 2019-09-25 15:38:21
* @LastEditTime: 2019-11-15 17:38:34 * @LastEditTime: 2019-11-26 17:23:14
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<span>签约详情</span> <span>签约详情</span>
</div> </div>
</h-header> </h-header>
<Tab @getTabNum="getTabNum" /> <Tab :tabNums="tabNum" @getTabNum="getTabNum" />
<!-- 基本信息 --> <!-- 基本信息 -->
<h-content v-if="tabNum === 0"> <h-content v-if="tabNum === 0">
...@@ -40,22 +40,6 @@ ...@@ -40,22 +40,6 @@
</item> </item>
</list-item> </list-item>
<!-- <list-item v-if="guarantorInfo.length && guarantorInfo[0].bp_class === 'ORG'" :item-height="76">
<item v-for="(item,index) in guarantorInfo" :key="index">
<div slot="name">
<span class="name-box">{{ index+1 }}</span>
<span class="name">担保人{{ index+1 }}姓名</span>
<span class="card-num">证件号</span>
</div>
<div slot="content" class="right">
<img src="@/assets/intoApproval/introduce.png" >
<span :title="item.bp_name">{{ item.bp_name }}</span>
<br >
<span>{{ item.organization_code }}</span>
</div>
</item>
</list-item> -->
<!-- 联系人 --> <!-- 联系人 -->
<div class="bottom-call-wrap"> <div class="bottom-call-wrap">
<div class="bottom-call"> <div class="bottom-call">
...@@ -171,15 +155,6 @@ ...@@ -171,15 +155,6 @@
</div> </div>
</h-content> </h-content>
<h-content v-if="tabNum === 2"> <h-content v-if="tabNum === 2">
<!-- <list-item :item-height="56">
<item :proportion="[4,1]">
<div slot="name" class="aguremrnt-list">
<img src="@/assets/distributorSign/agreement.png" alt="" class="pic">
<p class="second first">经销商担保协议</p>
</div>
<img slot="content" src="@/assets/distributorSign/into.png" alt="">
</item>
</list-item> -->
<list-item :item-height="56"> <list-item :item-height="56">
<item :proportion="[4,1]"> <item :proportion="[4,1]">
<div slot="name" class="aguremrnt-list"> <div slot="name" class="aguremrnt-list">
...@@ -214,16 +189,17 @@ export default { ...@@ -214,16 +189,17 @@ export default {
data () { data () {
return { return {
showModalValue: false, showModalValue: false,
info: {}, info: {}, // 租赁信息
tabNum: 0, tabNum: 0,
baseInfo: {}, baseInfo: {}, // 基本信息
project_id: '',
bp_flag: false, bp_flag: false,
guarantorInfo: [], guarantorInfo: [], // 担保人信息
bp_class: window.localStorage.getItem('bp_class'), bp_class: '', // 商业伙伴类型
confirm_status: '', confirm_status: '', // 签约状态
faceListUpload: [], // 自拍照上传 faceListUpload: [], // 自拍照上传
confirm_note: '', confirm_note: '', // 审批意见
confirm_id: window.localStorage.getItem('confirm_id'), confirm_id: '',
agentPic: '', // 经销商担保协议图片 agentPic: '', // 经销商担保协议图片
readed: require('@/assets/constractSigning/read.png'), // 已读 readed: require('@/assets/constractSigning/read.png'), // 已读
unRead: require('@/assets/constractSigning/unread.png'), // 未读 unRead: require('@/assets/constractSigning/unread.png'), // 未读
...@@ -239,36 +215,39 @@ export default { ...@@ -239,36 +215,39 @@ export default {
this.bp_flag = true this.bp_flag = true
} }
}, },
tabNum () {
if (this.tabNum === 1) {
}
},
}, },
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
if (from.name === 'ContractContent') { if (from.name === 'ContractList') {
vm.tabNum = 0
vm.baseInfo = {}
vm.info = {}
vm.bp_flag = false
vm.guarantorInfo = []
vm.faceListUpload = []
vm.confirm_note = ''
vm.bp_class = vm.$route.params.item.bp_class
vm.project_id = vm.$route.params.item.project_id
vm.confirm_id = vm.$route.params.item.confirm_id
vm.confirm_status = vm.$route.params.item.confirm_status
vm.agentPic = vm.unRead
if (vm.bp_class === 'NP') {
vm.bp_flag = false
vm.getBseMsg()
vm.getGuarantor()
} else {
vm.bp_flag = true
vm.getBseMsg()
vm.getGuarantor()
}
vm.getLease()
} else if (from.name === 'ContractContent') {
vm.tabNum = 2 vm.tabNum = 2
vm.agentPic = vm.readed vm.agentPic = vm.readed
} }
}) })
}, },
created () { created () {},
this.agentPic = this.unRead
this.confirm_status = window.localStorage.getItem('confirm_status')
if (this.bp_class === 'NP') {
this.bp_flag = false
this.getBseMsg()
this.getGuarantor()
} else {
this.bp_flag = true
this.getBseMsg()
this.getGuarantor()
}
this.getLease()
},
methods: methods:
{ {
// 签约确认 // 签约确认
...@@ -402,6 +381,9 @@ export default { ...@@ -402,6 +381,9 @@ export default {
vm.hlsPopup.showSuccess('签约成功') vm.hlsPopup.showSuccess('签约成功')
vm.$router.push({ vm.$router.push({
name: 'ContractList', name: 'ContractList',
params: {
backFlag: true,
},
}) })
} else { } else {
vm.hlsPopup.showSuccess(res.message) vm.hlsPopup.showSuccess(res.message)
...@@ -456,7 +438,7 @@ export default { ...@@ -456,7 +438,7 @@ export default {
let url2 = $config.basePath + 'prj_org_info_query' let url2 = $config.basePath + 'prj_org_info_query'
vm.bp_class === 'NP' ? url = url1 : url = url2 vm.bp_class === 'NP' ? url = url1 : url = url2
let param = { let param = {
project_id: window.localStorage.getItem('project_id'), project_id: vm.project_id,
} }
vm.hlsPopup.showLoading('数据加载中') vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
...@@ -476,7 +458,7 @@ export default { ...@@ -476,7 +458,7 @@ export default {
let vm = this let vm = this
let url = $config.basePath + 'prj_guarantor_list_query' let url = $config.basePath + 'prj_guarantor_list_query'
let param = { let param = {
project_id: window.localStorage.getItem('project_id'), project_id: vm.project_id,
} }
vm.hlsPopup.showLoading('数据加载中') vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
...@@ -490,7 +472,7 @@ export default { ...@@ -490,7 +472,7 @@ export default {
let vm = this let vm = this
let url = $config.basePath + 'prj_lease_query' let url = $config.basePath + 'prj_lease_query'
let param = { let param = {
project_id: window.localStorage.getItem('project_id'), project_id: vm.project_id,
} }
// 租赁信息 // 租赁信息
vm.hlsPopup.showLoading('数据加载中') vm.hlsPopup.showLoading('数据加载中')
...@@ -512,9 +494,6 @@ export default { ...@@ -512,9 +494,6 @@ export default {
}, },
// 跳转合同详情 // 跳转合同详情
goContractContent (name) { goContractContent (name) {
// if (name === '经销商担保协议') {
// setTimeout(() => { this.agentPic = this.readed }, 1000)
// }
this.$router.push({ this.$router.push({
name: 'ContractContent', name: 'ContractContent',
params: { params: {
...@@ -526,8 +505,7 @@ export default { ...@@ -526,8 +505,7 @@ export default {
this.$router.push({ this.$router.push({
name: 'FinancDetails', name: 'FinancDetails',
params: { params: {
project_id: window.localStorage.getItem('project_id'), project_id: this.project_id,
// confirm_status: this.confirm_status,
product_num: this.info.product_num, product_num: this.info.product_num,
}, },
}) })
......
...@@ -12,13 +12,16 @@ ...@@ -12,13 +12,16 @@
<span>经销商签约</span> <span>经销商签约</span>
</div> </div>
</h-header> </h-header>
<Tab @getTabNum="getTabNum"/> <div class="tab-style has-header">
<div :class="{'done':num === 1,'undone':num !== 1}" @click="num = 1;"><img :src="num === 1?check1:uncheck1"><span>待签约</span></div>
<div :class="{'done':num === 2,'undone':num !== 2}" @click="num = 2;"><img :src="num === 2?check2:uncheck2"><span>已签约</span></div>
</div>
<!-- 搜索 --> <!-- 搜索 -->
<div class="search"> <div class="search">
<input v-model="searchInput" type="text" placeholder="请输入合同号/承租人名称"> <input v-model="searchInput" type="text" placeholder="请输入合同号/承租人名称">
</div> </div>
<scroll <scroll
v-show="tabNum === 0" v-show="num === 1"
ref="scroll" ref="scroll"
:updateData="[submitLists]" :updateData="[submitLists]"
:pullUp="true" :pullUp="true"
...@@ -43,7 +46,7 @@ ...@@ -43,7 +46,7 @@
</div> </div>
</scroll> </scroll>
<scroll <scroll
v-show="tabNum === 1" v-show="num === 2"
ref="scrolls" ref="scrolls"
:updateData="[approvedLists]" :updateData="[approvedLists]"
:pullUp="true" :pullUp="true"
...@@ -71,35 +74,32 @@ ...@@ -71,35 +74,32 @@
</template> </template>
<script> <script>
import Tab from '@/pages/distributorSign/tab' import Check1 from '@/assets/constractSigning/no-done.png'
import Check2 from '@/assets/constractSigning/yes-done.png'
import unCheck1 from '@/assets/constractSigning/no-undone.png'
import unCheck2 from '@/assets/constractSigning/yes-undone.png'
export default { export default {
name: 'ContractList', name: 'ContractList',
components: {
Tab,
},
data () { data () {
return { return {
tabNum: null, num: 1,
pagenum: 1, submitPagenum: 1, // 待签约页码
submitPagenum: 1, approvedPagenum: 1, // 已签约页码
approvedPagenum: 1, searchInput: '', // 搜索内容
searchInput: '', check1: Check1,
check2: Check2,
uncheck1: unCheck1,
uncheck2: unCheck2,
lists: [], lists: [],
showLists: [], submitLists: [], // 待签约列表
submitLists: [], approvedLists: [], // 已签约列表
approvedLists: [],
submitFlag: false,
approvedFlag: false, approvedFlag: false,
} }
}, },
watch: { watch: {
'tabNum': { 'num': {
handler (newVal, oldVal) { handler (newVal, oldVal) {
if (newVal === 0) { if (newVal === 2) {
if (!this.submitFlag) {
this.getLists()
}
} else if (newVal === 1) {
if (!this.approvedFlag) { if (!this.approvedFlag) {
this.getLists() this.getLists()
} }
...@@ -118,14 +118,35 @@ export default { ...@@ -118,14 +118,35 @@ export default {
}, },
}, },
created () { created () {
this.tabNum = 0
// this.getLists() },
beforeRouteEnter (to, from, next) {
next(vm => {
if (from.name === 'MyInfo') {
vm.num = 1
vm.submitPagenum = 1
vm.approvedPagenum = 1
vm.searchInput = ''
vm.approvedFlag = false
vm.submitLists = []
vm.approvedLists = []
vm.getLists()
} else if (from.name === 'ContractDetails') {
if (vm.$route.params.backFlag) {
vm.searchInput = ''
vm.submitPagenum = 1
vm.approvedPagenum = 1
vm.approvedFlag = false
vm.getLists()
}
}
})
}, },
methods: { methods: {
// 查询签约列表 // 查询签约列表
getLists () { getLists () {
let vm = this let vm = this
if (vm.tabNum === 0) { if (vm.num === 1) {
let url = $config.basePath + 'prj_confirm_list_query' let url = $config.basePath + 'prj_confirm_list_query'
let param = { let param = {
pagesize: 10, pagesize: 10,
...@@ -140,7 +161,6 @@ export default { ...@@ -140,7 +161,6 @@ export default {
if (res.result === 'S') { if (res.result === 'S') {
console.log(res.lists) console.log(res.lists)
vm.submitLists = res.lists vm.submitLists = res.lists
vm.submitFlag = true
// vm.showLists = vm.submitLists // vm.showLists = vm.submitLists
if (res.lists.length > 0 && res.lists.length < 10) { if (res.lists.length > 0 && res.lists.length < 10) {
vm.$refs.scroll.update(true) vm.$refs.scroll.update(true)
...@@ -151,7 +171,7 @@ export default { ...@@ -151,7 +171,7 @@ export default {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
}) })
} else if (vm.tabNum === 1) { } else if (vm.num === 2) {
let url = $config.basePath + 'prj_confirm_list_query' let url = $config.basePath + 'prj_confirm_list_query'
let param = { let param = {
pagesize: 10, pagesize: 10,
...@@ -180,7 +200,7 @@ export default { ...@@ -180,7 +200,7 @@ export default {
}, },
loadMore () { loadMore () {
let vm = this let vm = this
if (vm.tabNum === 0) { if (vm.num === 1) {
vm.submitPagenum++ vm.submitPagenum++
let url = $config.basePath + 'prj_confirm_list_query' let url = $config.basePath + 'prj_confirm_list_query'
let param = { let param = {
...@@ -213,7 +233,7 @@ export default { ...@@ -213,7 +233,7 @@ export default {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
}) })
} else if (vm.tabNum === 1) { } else if (vm.num === 2) {
vm.approvedPagenum++ vm.approvedPagenum++
let url = $config.basePath + 'prj_confirm_list_query' let url = $config.basePath + 'prj_confirm_list_query'
let param = { let param = {
...@@ -259,9 +279,9 @@ export default { ...@@ -259,9 +279,9 @@ export default {
confirm_status: 'SUBMIT', confirm_status: 'SUBMIT',
searchInput: vm.searchInput, searchInput: vm.searchInput,
} }
// vm.hlsPopup.showLoading('数据加载中') vm.hlsPopup.showLoading('请稍后')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
// console.log(res.lists) // console.log(res.lists)
vm.submitLists = res.lists vm.submitLists = res.lists
if (res.lists.length >= 0 && res.lists.length < 10) { if (res.lists.length >= 0 && res.lists.length < 10) {
...@@ -282,9 +302,9 @@ export default { ...@@ -282,9 +302,9 @@ export default {
confirm_status: 'APPROVED', confirm_status: 'APPROVED',
searchInput: vm.searchInput, searchInput: vm.searchInput,
} }
vm.hlsPopup.showLoading('数据加载中') // vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() // vm.hlsPopup.hideLoading()
// console.log(res.lists) // console.log(res.lists)
vm.approvedLists = res.lists vm.approvedLists = res.lists
if (res.lists.length >= 0 && res.lists.length < 10) { if (res.lists.length >= 0 && res.lists.length < 10) {
...@@ -299,20 +319,13 @@ export default { ...@@ -299,20 +319,13 @@ export default {
setTimeout(this.approvedearch, 1000) setTimeout(this.approvedearch, 1000)
}, },
goDetails (item) { goDetails (item) {
window.localStorage.setItem('confirm_id', item.confirm_id)
window.localStorage.setItem('bp_class', item.bp_class)
window.localStorage.setItem('project_id', item.project_id)
window.localStorage.setItem('confirm_status', item.confirm_status)
this.$router.push({ this.$router.push({
name: 'ContractDetails', name: 'ContractDetails',
params: { params: {
confirm_id: item.confirm_id, item: item,
}, },
}) })
}, },
getTabNum (i) {
this.tabNum = i
},
dateConverse (date) { dateConverse (date) {
return date.replace(/\//g, '-') return date.replace(/\//g, '-')
}, },
...@@ -321,7 +334,51 @@ export default { ...@@ -321,7 +334,51 @@ export default {
</script> </script>
<style lang="less"> <style lang="less">
#distribute-sign { #distribute-sign {
.tab-style{
display:flex;
width: 100%;
justify-content: center;
padding-top:12px;
padding-bottom: 8px;
align-items: center;
background-color: #fff;
box-shadow:0 2px 3px 0 rgba(220,220,221,0.50);
position: absolute;
z-index: 999;
div{
position: relative;
height: 32px;
width: 172px;
border-radius:16px;
border-radius: 16px;
font-family: PingFangSC-Semibold;
font-size: 14px;
letter-spacing: 0.43px;
margin: 0 4px;
line-height: 32px;
}
.undone{
background: rgba(220,220,221,0.26);
color: #383F45;
}
.done{
background: rgba(0,70,156,0.10);
color: #00469C;
}
img{
height: 20px;
display: block;
float: left;
margin: 6px 0 0 43px;
}
span{
position: absolute;
left:70px;
}
}
.search { .search {
background-color: #fff; background-color: #fff;
padding: 8px 12px; padding: 8px 12px;
...@@ -329,11 +386,8 @@ export default { ...@@ -329,11 +386,8 @@ export default {
width: 100%; width: 100%;
z-index: 100; z-index: 100;
margin-bottom: 8px; margin-bottom: 8px;
top: 94px; margin-top: 52px;
input { input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding-left: 12px; padding-left: 12px;
border-radius: 4px; border-radius: 4px;
height: 36px; height: 36px;
...@@ -342,6 +396,9 @@ export default { ...@@ -342,6 +396,9 @@ export default {
font-size: 14px; font-size: 14px;
color: #888C8F; color: #888C8F;
line-height: 36px; line-height: 36px;
background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
} }
input::placeholder { input::placeholder {
......
...@@ -16,6 +16,12 @@ import unbase from '@/assets/distributorSign/unbase.png' ...@@ -16,6 +16,12 @@ import unbase from '@/assets/distributorSign/unbase.png'
import unsigned from '@/assets/distributorSign/unsigned.png' import unsigned from '@/assets/distributorSign/unsigned.png'
import untrial from '@/assets/distributorSign/untrial.png' import untrial from '@/assets/distributorSign/untrial.png'
export default { export default {
props: {
tabNums: {
type: Number,
default: 0,
},
},
data () { data () {
return { return {
tabNum: 0, tabNum: 0,
...@@ -27,6 +33,11 @@ export default { ...@@ -27,6 +33,11 @@ export default {
untrial: untrial, untrial: untrial,
} }
}, },
watch: {
tabNums () {
this.tabNum = this.tabNums
},
},
methods: { methods: {
sendTabNum () { sendTabNum () {
this.$emit('getTabNum', this.tabNum) this.$emit('getTabNum', this.tabNum)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: 法人信息 * @Description: 法人信息
* @Author: your name * @Author: your name
* @Date: 2019-09-26 15:09:24 * @Date: 2019-09-26 15:09:24
* @LastEditTime: 2019-11-25 17:35:06 * @LastEditTime: 2019-11-26 17:20:26
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
</item> </item>
<item> <item>
<div slot="name" class="font-color">注册地址</div> <div slot="name" class="font-color">注册地址</div>
<input slot="content" v-model="baseInfo.registered_place" readonly> <span slot="content">{{ baseInfo.registered_place }}</span>
</item> </item>
<item> <item>
<div slot="name" class="font-color">经营地址</div> <div slot="name" class="font-color">经营地址</div>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip:个人信息 * @Descrip:个人信息
* @Author: your name * @Author: your name
* @Date: 2019-09-26 15:47:45 * @Date: 2019-09-26 15:47:45
* @LastEditTime: 2019-11-13 09:21:48 * @LastEditTime: 2019-11-26 17:19:19
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</item> </item>
<item> <item>
<div slot="name" class="font-color">户籍地址</div> <div slot="name" class="font-color">户籍地址</div>
<input slot="content" v-model="baseInfo.address_on_resident_booklit" readonly> <span slot="content">{{ baseInfo.address_on_resident_booklit }}</span>
</item> </item>
<item> <item>
<div slot="name" class="font-color">学历</div> <div slot="name" class="font-color">学历</div>
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</item> </item>
</list-item> </list-item>
<div v-if="baseInfo.marital_status == 'MARRIED'" class="equipment-list">配偶信息</div> <div v-if="baseInfo.marital_status == 'MARRIED'" class="equipment-list">配偶信息</div>
<list-item :item-height="44" v-if="baseInfo.marital_status == 'MARRIED'" class="second-part"> <list-item v-if="baseInfo.marital_status == 'MARRIED'" :item-height="44" class="second-part">
<item> <item>
<div slot="name" class="font-color">姓名</div> <div slot="name" class="font-color">姓名</div>
<input slot="content" v-model="baseInfo.bp_name_sp" readonly> <input slot="content" v-model="baseInfo.bp_name_sp" readonly>
......
...@@ -70,9 +70,9 @@ export default { ...@@ -70,9 +70,9 @@ export default {
if (e === '0') { if (e === '0') {
return '未知类型' return '未知类型'
} else if (e === '1') { } else if (e === '1') {
return '信用卡' return '借记卡'
} else if (e === '2') { } else if (e === '2') {
return '储蓄卡' return '信用卡'
} }
}, },
sendFlag (isClear) { sendFlag (isClear) {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-24 21:29:35 * @Date: 2019-09-24 21:29:35
* @LastEditTime: 2019-10-29 09:43:03 * @LastEditTime: 2019-11-26 17:49:05
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -77,9 +77,9 @@ export default { ...@@ -77,9 +77,9 @@ export default {
if (e === '0') { if (e === '0') {
return '未知类型' return '未知类型'
} else if (e === '1') { } else if (e === '1') {
return '信用卡' return '借记卡'
} else if (e === '2') { } else if (e === '2') {
return '储蓄卡' return '信用卡'
} }
}, },
sendFlag (isClear) { sendFlag (isClear) {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-24 12:34:06 * @Date: 2019-09-24 12:34:06
* @LastEditTime: 2019-11-07 09:49:46 * @LastEditTime: 2019-11-26 17:23:54
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
*/ */
import Vue from 'vue' import Vue from 'vue'
...@@ -191,8 +191,8 @@ export default new Router({ ...@@ -191,8 +191,8 @@ export default new Router({
{path: '/refund', component: Refund, name: 'Refund', meta: {keepAlive: false}}, {path: '/refund', component: Refund, name: 'Refund', meta: {keepAlive: false}},
{path: '/into-list', component: IntoList, name: 'IntoList', meta: {keepAlive: false}}, {path: '/into-list', component: IntoList, name: 'IntoList', meta: {keepAlive: false}},
// 经销商签约 // 经销商签约
{path: '/contract-list', component: ContractList, name: 'ContractList', meta: {keepAlive: false}}, {path: '/contract-list', component: ContractList, name: 'ContractList', meta: {keepAlive: true}},
{path: '/contract-details', component: ContractDetails, name: 'ContractDetails', meta: {keepAlive: false}}, {path: '/contract-details', component: ContractDetails, name: 'ContractDetails', meta: {keepAlive: true}},
{path: '/financ-details', component: FinancDetails, name: 'FinancDetails', meta: {keepAlive: false}}, {path: '/financ-details', component: FinancDetails, name: 'FinancDetails', meta: {keepAlive: false}},
// 试算 // 试算
{path: '/financing-trial', component: FinancingTrial, name: 'FinancingTrial', meta: {keepAlive: true}}, {path: '/financing-trial', component: FinancingTrial, name: 'FinancingTrial', 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