Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
41887c3e
Commit
41887c3e
authored
Aug 03, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟换图标和跳转地址
parent
8f5c377b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
5 deletions
+36
-5
App.vue
src/App.vue
+1
-1
user-right-box.vue
src/components/global/user-right-box.vue
+35
-4
No files found.
src/App.vue
View file @
41887c3e
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
<
style
>
<
style
>
@import
url("~assets/css/font.css")
;
@import
url("~assets/css/font.css")
;
@import
url("//at.alicdn.com/t/font_2077629_
fty5i519neb
.css")
;
@import
url("//at.alicdn.com/t/font_2077629_
ew7nihu6b4p
.css")
;
.q-scrollarea__thumb
{
.q-scrollarea__thumb
{
z-index
:
999999
!important
;
z-index
:
999999
!important
;
}
}
...
...
src/components/global/user-right-box.vue
View file @
41887c3e
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<!-- 跳转资产 -->
<!-- 跳转资产 -->
<q-item
class=
"q-my-sm"
clickable
v-ripple
@
click=
"goUrlZC"
>
<q-item
class=
"q-my-sm"
clickable
v-ripple
@
click=
"goUrlZC
(1)
"
>
<q-item-section
avatar
>
<q-item-section
avatar
>
<q-avatar
style=
"background-color: #F3F6F9;"
rounded
size=
"40px"
text-color=
"primary"
>
<q-avatar
style=
"background-color: #F3F6F9;"
rounded
size=
"40px"
text-color=
"primary"
>
<i
class=
"iconfont icon-zichan"
></i>
<i
class=
"iconfont icon-zichan"
></i>
...
@@ -48,6 +48,28 @@
...
@@ -48,6 +48,28 @@
<q-item-label
class=
"font-pfb"
>
资产管理
</q-item-label>
<q-item-label
class=
"font-pfb"
>
资产管理
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<!-- 跳转资产 -->
<q-item
class=
"q-my-sm"
clickable
v-ripple
@
click=
"goUrlZC(2)"
>
<q-item-section
avatar
>
<q-avatar
style=
"background-color: #F3F6F9;"
rounded
size=
"40px"
text-color=
"primary"
>
<i
class=
"iconfont icon-qinggoudan"
></i>
</q-avatar>
</q-item-section>
<q-item-section>
<q-item-label
class=
"font-pfb"
>
请购审核
</q-item-label>
</q-item-section>
</q-item>
<!-- 跳转资产 -->
<q-item
class=
"q-my-sm"
clickable
v-ripple
@
click=
"goUrlZC(3)"
>
<q-item-section
avatar
>
<q-avatar
style=
"background-color: #F3F6F9;"
rounded
size=
"40px"
text-color=
"primary"
>
<i
class=
"iconfont icon-ruku"
></i>
</q-avatar>
</q-item-section>
<q-item-section>
<q-item-label
class=
"font-pfb"
>
入库审核
</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-list>
<q-separator
color=
"grey-2"
class=
"q-my-md"
></q-separator>
<q-separator
color=
"grey-2"
class=
"q-my-md"
></q-separator>
<div
class=
"text-weight-bold"
style=
"font-size:16px;"
>
常用功能
</div>
<div
class=
"text-weight-bold"
style=
"font-size:16px;"
>
常用功能
</div>
...
@@ -170,13 +192,22 @@ export default {
...
@@ -170,13 +192,22 @@ export default {
})
})
},
},
goUrlZC
()
{
goUrlZC
(
type
)
{
let
userinfo
=
this
.
getLocalStorage
();
let
userinfo
=
this
.
getLocalStorage
();
let
token
=
Lockr
.
get
(
"Token"
);
let
token
=
Lockr
.
get
(
"Token"
);
// let url = "http://www.test.com:8080/#/Autologin?ObjInfo=" + token + "&SecretKey=" + userinfo.UploadConfig.SecretKey;
// let url = "http://www.test.com:8080/#/Autologin?ObjInfo=" + token + "&SecretKey=" + userinfo.UploadConfig.SecretKey;
// let url = "http://zcyx.oytour.com/#/Autologin?ObjInfo=" + token + "&SecretKey=" + userinfo.UploadConfig.SecretKey;
// let url = "http://zcyx.oytour.com/#/Autologin?ObjInfo=" + token + "&SecretKey=" + userinfo.UploadConfig.SecretKey;
let
url
=
url_jump_zc
+
"/#/Autologin?ObjInfo="
+
token
+
"&SecretKey="
+
userinfo
.
UploadConfig
.
SecretKey
;
if
(
type
==
1
){
window
.
open
(
url
)
let
url
=
url_jump_zc
+
"/#/Autologin?ObjInfo="
+
token
+
"&SecretKey="
+
userinfo
.
UploadConfig
.
SecretKey
;
window
.
open
(
url
)
}
else
if
(
type
==
2
){
let
url
=
url_jump_zc
+
"/#/Autologin?ObjInfo="
+
token
+
"&SecretKey="
+
userinfo
.
UploadConfig
.
SecretKey
+
"&ComeFrom=2"
;
window
.
open
(
url
)
}
else
if
(
type
==
3
){
let
url
=
url_jump_zc
+
"/#/Autologin?ObjInfo="
+
token
+
"&SecretKey="
+
userinfo
.
UploadConfig
.
SecretKey
+
"&ComeFrom=3"
;
window
.
open
(
url
)
}
},
},
},
},
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment