From c819024e241b9f7c54cc3786373ad0d2998f2190 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Fri, 05 May 2023 08:55:46 +0800
Subject: [PATCH] 修改
---
src/views/exam/index.vue | 38 +++-----------------------------------
1 files changed, 3 insertions(+), 35 deletions(-)
diff --git a/src/views/exam/index.vue b/src/views/exam/index.vue
index 97da243..5e2c9f9 100644
--- a/src/views/exam/index.vue
+++ b/src/views/exam/index.vue
@@ -1,25 +1,18 @@
<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([
@@ -28,40 +21,15 @@
},
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>
--
Gitblit v1.9.2