mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 05:16:44 +08:00
建议书列表点击新增和编辑功能存储branchType字段用于显示GBC的项目信息
This commit is contained in:
@@ -275,8 +275,15 @@
|
|||||||
//点我新增
|
//点我新增
|
||||||
addProposal() {
|
addProposal() {
|
||||||
let thisToken = this.$CacheUtils.getLocItem('token')
|
let thisToken = this.$CacheUtils.getLocItem('token')
|
||||||
|
let thisbranchType = ''
|
||||||
|
if(this.$CacheUtils.getLocItem('branchType') == '13') {
|
||||||
|
thisbranchType = this.$CacheUtils.getLocItem('branchType')
|
||||||
|
}
|
||||||
window.localStorage.clear()
|
window.localStorage.clear()
|
||||||
this.$CacheUtils.setLocItem('token', thisToken)
|
this.$CacheUtils.setLocItem('token', thisToken)
|
||||||
|
if(thisbranchType) {
|
||||||
|
this.$CacheUtils.setLocItem('branchType', thisbranchType)
|
||||||
|
}
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
@@ -290,8 +297,15 @@
|
|||||||
//编辑
|
//编辑
|
||||||
edit(item) {
|
edit(item) {
|
||||||
let thisToken = this.$CacheUtils.getLocItem('token')
|
let thisToken = this.$CacheUtils.getLocItem('token')
|
||||||
|
let thisbranchType = ''
|
||||||
|
if(this.$CacheUtils.getLocItem('branchType') == '13') {
|
||||||
|
thisbranchType = this.$CacheUtils.getLocItem('branchType')
|
||||||
|
}
|
||||||
window.localStorage.clear()
|
window.localStorage.clear()
|
||||||
this.$CacheUtils.setLocItem('token', thisToken)
|
this.$CacheUtils.setLocItem('token', thisToken)
|
||||||
|
if(thisbranchType) {
|
||||||
|
this.$CacheUtils.setLocItem('branchType', thisbranchType)
|
||||||
|
}
|
||||||
//建议书列表 编辑=》制作中的建议书跳转到选择被保险人页面;
|
//建议书列表 编辑=》制作中的建议书跳转到选择被保险人页面;
|
||||||
this.$CacheUtils.setLocItem('proposalNo', item.orderInfoDTO.orderNo)
|
this.$CacheUtils.setLocItem('proposalNo', item.orderInfoDTO.orderNo)
|
||||||
this.$CacheUtils.setLocItem('canMoveOn', 1)
|
this.$CacheUtils.setLocItem('canMoveOn', 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user