|
|
@ -5,7 +5,7 @@ |
|
|
|
<div class="app-loading-dots"> |
|
|
|
<div class="app-loading-dots"> |
|
|
|
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span> |
|
|
|
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="app-loading-title">科技管理信息系统</div> |
|
|
|
<div class="app-loading-title">驻马店是科技大市场管理平台</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -19,7 +19,7 @@ |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import { useUserStore } from '/@/store/modules/user'; |
|
|
|
import { useUserStore } from '/@/store/modules/user'; |
|
|
|
import { useI18n } from '/@/hooks/web/useI18n'; |
|
|
|
import { useI18n } from '/@/hooks/web/useI18n'; |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: "TokenLogin", |
|
|
|
name: "TokenLogin", |
|
|
|
setup(){ |
|
|
|
setup(){ |
|
|
@ -31,7 +31,7 @@ |
|
|
|
if(!routeQuery){ |
|
|
|
if(!routeQuery){ |
|
|
|
createMessage.warning('参数无效') |
|
|
|
createMessage.warning('参数无效') |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const token = routeQuery['loginToken']; |
|
|
|
const token = routeQuery['loginToken']; |
|
|
|
if(!token){ |
|
|
|
if(!token){ |
|
|
|
createMessage.warning('token无效') |
|
|
|
createMessage.warning('token无效') |
|
|
@ -53,12 +53,12 @@ |
|
|
|
duration: 4, |
|
|
|
duration: 4, |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function requestSuccess(res){ |
|
|
|
function requestSuccess(res){ |
|
|
|
let info = routeQuery.info; |
|
|
|
let info = routeQuery.info; |
|
|
|
if(info){ |
|
|
|
if(info){ |
|
|
|
let query = JSON.parse(info); |
|
|
|
let query = JSON.parse(info); |
|
|
|
|
|
|
|
|
|
|
|
//update-begin-author:taoyan date:2023-4-27 for: QQYUN-4882【简流】节点消息通知 邮箱 点击办理跳到了应用首页 |
|
|
|
//update-begin-author:taoyan date:2023-4-27 for: QQYUN-4882【简流】节点消息通知 邮箱 点击办理跳到了应用首页 |
|
|
|
let path = ''; |
|
|
|
let path = ''; |
|
|
|
if(query.isLowApp === 1){ |
|
|
|
if(query.isLowApp === 1){ |
|
|
@ -68,7 +68,7 @@ |
|
|
|
path = '/task/handle/' + taskId |
|
|
|
path = '/task/handle/' + taskId |
|
|
|
} |
|
|
|
} |
|
|
|
//update-end-author:taoyan date:2023-4-27 for: QQYUN-4882【简流】节点消息通知 邮箱 点击办理跳到了应用首页 |
|
|
|
//update-end-author:taoyan date:2023-4-27 for: QQYUN-4882【简流】节点消息通知 邮箱 点击办理跳到了应用首页 |
|
|
|
|
|
|
|
|
|
|
|
router.replace({ path, query }); |
|
|
|
router.replace({ path, query }); |
|
|
|
notification.success({ |
|
|
|
notification.success({ |
|
|
|
message: t('sys.login.loginSuccessTitle'), |
|
|
|
message: t('sys.login.loginSuccessTitle'), |
|
|
|