更新代码

master
sunzehua 2 years ago
parent 3f19bc04c5
commit d3ddf65915

@ -35,7 +35,8 @@ const constantRouterComponents = {
TaskLaraRegist: () => import('@/views/main/Taskmanage/TaskLaraRegist'), TaskLaraRegist: () => import('@/views/main/Taskmanage/TaskLaraRegist'),
TaskVgmContrast: () => import('@/views/main/Taskmanage/TaskVgmContrast'), TaskVgmContrast: () => import('@/views/main/Taskmanage/TaskVgmContrast'),
TaskOriginalLost: () => import('@/views/main/Taskmanage/TaskOriginalLost'), TaskOriginalLost: () => import('@/views/main/Taskmanage/TaskOriginalLost'),
TaskChangeShip: () => import('@/views/main/Taskmanage/TaskChangeShip') TaskChangeShip: () => import('@/views/main/Taskmanage/TaskChangeShip'),
Getway: () => import('@/views/getway/index')
} }
// 前端未找到页面路由(固定不用改)、原来为 /404 // 前端未找到页面路由(固定不用改)、原来为 /404
@ -277,6 +278,13 @@ const booking = [
] ]
// 订舱 // 订舱
const bookingNew = [ const bookingNew = [
{
name: 'getway',
path: '/getway',
pid: 0,
id: 10034,
component: 'Getway'
},
{ {
name: 'BookingDetailNew', name: 'BookingDetailNew',
path: '/BookingDetailNew', path: '/BookingDetailNew',

@ -0,0 +1,55 @@
<template>
<span>{{ msg }}</span>
</template>
<script>
// import { isLogin, setToken, removelogin } from '@/utils/auth';
// import { getUrl } from '@/api/getway'
// import { login } from '@/api/user'
export default {
data() {
return {
msg: '请等待'
};
},
created() {
// removelogin();
this.webset();
},
mounted() {
},
methods: {
webset() {
console.log(111)
// const code = this.$route.query.code;
// const webid = this.$route.query.webid;
// if (!webid) {
// this.msg = 'webid';
// this.$message({ message: 'webid' });
// } else {
// if (isLogin()) { //
// this.urlgo(webid)
// } else {
// if (code) {
// login({ code: code }).then(res => {
// setToken(res.data.token);
// setTimeout(() => {
// this.urlgo(webid);
// }, 100);
// })
// } else {
// this.msg = ',code';
// }
// }
// }
},
urlgo(webid) {
// getUrl(webid).then(res => {
// this.$router.push(res.data);
// });
}
}
};
</script>
Loading…
Cancel
Save