8b13acae by zhangmeng

看板

1 parent 6b94d10e
......@@ -9,7 +9,7 @@
404错误!
</h1>
<h2>您没有访问权限!</h2>
<h6>对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面</h6>
<h6>对不起,您没有访问权限,请不要进行非法操作!</h6>
<!-- <ul class="list-unstyled">-->
<!-- <li class="link-type">-->
<!-- <router-link to="/">-->
......
<template>
<div class="main">
<el-row class="w100">
<el-col v-if="obj?.IFBASE" :span="type=='否'?8:12">
<el-col v-if="obj.IFBASE" :span="type=='否'?8:12">
<left-page :obj="obj" :type="type" :url="result"/>
</el-col>
<el-col v-if="type=='否'" :span="8">
<center-page :obj="obj" :type="type=='否'" :url="result"/>
</el-col>
<el-col v-if="obj?.IFBASE" :span="type=='否'?8:12">
<el-col v-if="obj.IFBASE" :span="type=='否'?8:12">
<right-page :obj="obj" :type="type" :url="result"/>
</el-col>
</el-row>
......@@ -21,32 +21,31 @@ import CenterPage from "@/viewsPc/vip/centerPage"
import RightPage from "@/viewsPc/vip/rightPage"
import {getYS000} from '@/api/server.js'
import {ref, onMounted, getCurrentInstance} from 'vue'
import {useRouter} from 'vue-router'
const type = ref('是')
const url = ref()
const obj = ref({})
const result = ref()
url.value = 'http://192.168.1.152:8899/login/sid=41a9a180-b1ad-4c78-95cc-f369fadb13f0#/'
// url.value ='http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/'
// url.value = window.location.href
const roueter = useRouter()
// url.value = 'http://192.168.1.152:8899/login/sid=41a9a180-b1ad-4c78-95cc-f369fadb13f0#/'
// url.value = 'http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/'
url.value = window.location.href
result.value = url.value?.split('=')[1]?.split('#')[0];
onMounted(() => {
if (result.value) {
handelGetYS000()
} else {
// handelGetYS000()
roueter.push('/401')
}
})
async function handelGetYS000() {
const res = await getYS000(result.value)
type.value = res.data?.IFBASE || '否'
obj.value = res.data || {
IFBASE: '123'
}
type.value = res.data?.IFBASE || '是'
obj.value = res.data || {}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!