| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-alert |
| | | :title="message" |
| | | :type="userType !== 1?'success':'error'"> |
| | | </el-alert> |
| | | |
| | | <iframe src="http://121.239.169.27:6703/"></iframe> |
| | | </div> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | import {getExamAuth} from '@/api/exam' |
| | | import {getToken} from "@/utils/auth" |
| | | import Cookies from 'js-cookie' |
| | | import request from '@/utils/request' |
| | | import { mapGetters } from 'vuex' |
| | | export default { |
| | | name: "current", |
| | | |
| | | created(){ |
| | | this.getExamAuth() |
| | | |
| | | }, |
| | | computed: { |
| | | ...mapGetters([ |
| | |
| | | }, |
| | | data(){ |
| | | return { |
| | | pass:false, |
| | | message: '', |
| | | flag:false, |
| | | |
| | | } |
| | | }, |
| | | methods:{ |
| | | queryHandle(){ |
| | | }, |
| | | getExamAuth(){ |
| | | if (this.userType !== 1) { |
| | | window.open(process.env.NANO_API + "/foreground/system/auth/verify.do?tokens=" + getToken()); |
| | | this.message ='拥有权限登入' |
| | | } |
| | | else |
| | | { |
| | | window.open(process.env.NANO_API + "/background/login/auth/verify.do?tokens=" + getToken()); |
| | | this.message = '拥有权限登入'; |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .span-filter-label{ |
| | | font-size: 15px; |
| | | color: #606266; |
| | | margin-right: 4px; |
| | | margin-left: 7px; |
| | | } |
| | | |
| | | .basic_search{ |
| | | margin-bottom: 15px; |
| | | } |
| | | </style> |