Commit 1ccda652 by 张权

Merge branch 'v1.2.0' of http://192.168.3.233:8090/saas/scrm-micro-services into v1.2.0

2 parents 292ad4cc efc33584
......@@ -636,8 +636,10 @@ export default {
contractNo: addOrEdit == 1 ? -1 : row.contractNo,
isSuper: this.userInfo.admin
}
const title = this.jumpTitle(addOrEdit)
const urlpara = encodeURIComponent(JSON.stringify(paraFormat))
addOrEdit == 1 ? this.$router.push('/beforeSale/editEquity/' + urlpara) : this.$router.push('/beforeSale/editEquity/' + urlpara)
this.$router.push({path:'/beforeSale/editEquity/' + urlpara,query:{$title:title}})
// addOrEdit == 1 ? this.$router.push('/beforeSale/editEquity/' + urlpara) : this.$router.push('/beforeSale/editEquity/' + urlpara)
},
handlePdfClose() {
......@@ -809,6 +811,31 @@ export default {
// }
// }
this.handleSearch()
},
// 页面跳转标题判断
jumpTitle(addOrEdit) {
let title = '新增权益'
switch (addOrEdit) {
case 1:
title = '新增权益'
break;
case 2:
title = '编辑'
break;
case 3:
title = '修改'
break;
case 4:
title = '重新提单'
break;
case 5:
title = '查看'
break;
default:
title = '新增权益'
break;
}
return title
}
}
}
......
......@@ -718,9 +718,10 @@ export default {
contractNo: addOrEdit == 1 ? -1 : row.contractNo,
isSuper: this.userInfo.admin
}
const title = this.jumpTitle(addOrEdit)
const urlpara = encodeURIComponent(JSON.stringify(paraFormat))
addOrEdit == 1 ? this.$router.push('/ghPreSale/editEquity/' + urlpara) : this.$router.push('/ghPreSale/editEquity/' + urlpara)
// addOrEdit == 1 ? this.$router.push('/beforeSale/editEquity/' + addOrEdit + '/' + this.userInfo.admin + '/' + -1) : this.$router.push('/beforeSale/editEquity/' + addOrEdit + '/' + this.userInfo.admin + '/' + row.contractNo)
// this.$router.push('/ghPreSale/editEquity/' + urlpara)
this.$router.push({path:'/ghPreSale/editEquity/' + urlpara,query:{$title:title}})
},
handlePdfClose() {
......@@ -878,6 +879,31 @@ export default {
}
}
this.handleSearch()
},
// 页面跳转标题判断
jumpTitle(addOrEdit) {
let title = '新增权益'
switch (addOrEdit) {
case 1:
title = '新增权益'
break;
case 2:
title = '编辑'
break;
case 3:
title = '修改'
break;
case 4:
title = '重新提单'
break;
case 5:
title = '查看'
break;
default:
title = '新增权益'
break;
}
return title
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!