GFRS-2618【前端】签字确认页面加入顶部导航。提交人--张齐

This commit is contained in:
zhangqi1
2021-09-17 15:52:57 +08:00
parent 43bfa80c61
commit 1016c377ca
2 changed files with 13 additions and 6 deletions

View File

@@ -105,9 +105,9 @@ export default {
changePage(pageIndex) {
let url = ''
//由 localStorage.allowancePageFlag 来控制是否可跳到指定页面
if (localStorage.allowancePageFlag == '-10' && pageIndex != 4) {
this.$toast('已到达签名确认流程,不可以回到前面的流程')
}
// if (localStorage.allowancePageFlag == '-10' && pageIndex != 4) {
// this.$toast('已到达签名确认流程,不可以回到前面的流程')
// }
if (!localStorage.allowancePageFlag) return
if (Number(localStorage.allowancePageFlag) < Number(pageIndex)) return
switch (pageIndex) {
@@ -128,7 +128,8 @@ export default {
}
let str = location.hash
let i = str.search(/AttachmentManagement/i)
if (i !== -1 && pageIndex != 3 && pageIndex != 4) {
let k = str.search(/SignatureConfirmation/i)
if ((i !== -1 || k !== -1) && pageIndex != 4) {
this.$dialog
.confirm({
className: 'dialog-blue',