Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
dangan_dataV
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8b13acae
authored
2025-04-29 17:57:58 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
看板
1 parent
6b94d10e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
src/views/error/401.vue
src/viewsPc/home.vue
src/views/error/401.vue
View file @
8b13aca
...
...
@@ -9,7 +9,7 @@
404错误!
</h1>
<h2>
您没有访问权限!
</h2>
<h6>
对不起,您没有访问权限,请不要进行非法操作!
您可以返回主页面
</h6>
<h6>
对不起,您没有访问权限,请不要进行非法操作!
</h6>
<!--
<ul
class=
"list-unstyled"
>
-->
<!--
<li
class=
"link-type"
>
-->
<!--
<router-link
to=
"/"
>
-->
...
...
src/viewsPc/home.vue
View file @
8b13aca
<
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
||
{}
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment