Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
e90137f4
Commit
e90137f4
authored
Nov 18, 2019
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
e4464c21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
bigdata/app/front/vues/pages/gtbhome/gtbhome.html
+8
-7
bigdata/app/front/vues/pages/gtbhome/gtbhome.js
+5
-1
No files found.
bigdata/app/front/vues/pages/gtbhome/gtbhome.html
View file @
e90137f4
...
...
@@ -4,24 +4,24 @@
<span><i>
丨
</i>
个体宝
</span>
<div>
<!-- <img src="/imgs/ticon2.png" alt=""> -->
<el-dropdown>
<el-dropdown
@
command=
"exitclick"
>
<span
class=
"el-dropdown-link"
>
<img
class=
"gtb-ticon1"
src=
"/imgs/ticon1.png"
alt=
""
>
</span>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
icon=
"el-icon-plus"
>
退出
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</div>
<div
class=
"gtb-home-main"
>
<div
v-for=
"(item,key) in
showimgUrl
"
:key=
"key"
class=
"app-child"
:style=
"bgimg(item)"
>
<img
:src=
"item.
icon
"
alt=
""
>
<div
v-for=
"(item,key) in
myapps
"
:key=
"key"
class=
"app-child"
:style=
"bgimg(item)"
>
<img
:src=
"item.
logoUrl
"
alt=
""
>
<div>
{{item.name}}
</div>
<
!-- <span @click="systemsetting(app
)" v-if="currentUser && currentUser.roles.indexOf(\'common\')>=0" style="position: absolute;left:5px;top: 10px;font-size:20px;color:red;padding: 5px;cursor: pointer;"><i class="el-icon-setting"></i></span>
<div class="activeColor" @click="goapplogin(
app
)" style="text-align:right;font-size: 0.8em;cursor: pointer;">
<
span
@
click=
"systemsetting(item
)"
v-if=
"currentUser && currentUser.roles.indexOf(\'common\')>=0"
style=
"position: absolute;left:5px;top: 10px;font-size:20px;color:red;padding: 5px;cursor: pointer;"
><i
class=
"el-icon-setting"
></i></span>
<div
class=
"activeColor"
@
click=
"goapplogin(
item
)"
style=
"text-align:right;font-size: 0.8em;cursor: pointer;"
>
GO
</div>
-->
</div>
</div>
</div>
</div>
\ No newline at end of file
bigdata/app/front/vues/pages/gtbhome/gtbhome.js
View file @
e90137f4
...
...
@@ -45,8 +45,12 @@
var
d
=
await
this
.
$root
.
postReq
(
"/web/auth/userCtl/sysManageForApp?appKey="
+
app
.
appkey
+
"&toKey="
+
appinfo
.
appkey
,
tocompanyinfo
);
window
.
open
(
d
.
data
.
jumpUrl
);
},
async
exitclick
(){
var
d
=
await
this
.
$root
.
postReq
(
"/web/auth/userCtl/exit"
,{});
this
.
$router
.
push
(
"/tlogin"
);
},
bgimg
(
app
){
return
"background:url('"
+
app
.
img
+
"') no-repeat;background-size: cover"
;
return
"background:url('"
+
app
.
bkimageUrl
+
"') no-repeat;background-size: cover"
;
},
async
goapplogin
(
app
){
var
d
=
await
this
.
$root
.
postReq
(
"/web/auth/userCtl/goLoginForApp"
,
app
);
...
...
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