Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saasio
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
reyun
saasio
Commits
9400beda
Commit
9400beda
authored
Mar 08, 2018
by
yangfangfang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应用列表修改
parent
ac80c8c8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
15 deletions
+18
-15
copy.png
src/main/websrc/images/copy.png
+0
-0
copy_hover.png
src/main/websrc/images/copy_hover.png
+0
-0
app.js
src/main/websrc/js/manage/app.js
+5
-5
style.scss
src/main/websrc/styles/style.scss
+6
-2
app.html
src/main/websrc/template/manage/app.html
+7
-8
No files found.
src/main/websrc/images/copy.png
0 → 100644
View file @
9400beda
204 Bytes
src/main/websrc/images/copy_hover.png
0 → 100644
View file @
9400beda
207 Bytes
src/main/websrc/js/manage/app.js
View file @
9400beda
...
...
@@ -45,10 +45,10 @@
});
},
200
);
//启用停用
$scope
.
onOff
=
function
(
i
d
,
flag
){
var
url
=
"mng/app/enable/"
+
id
,
tipmsg
=
"启用成功"
;
if
(
flag
&&
flag
==
1
){
url
=
"mng/app/forbidden/"
+
id
;
$scope
.
onOff
=
function
(
i
nfo
){
var
url
=
"mng/app/enable/"
+
i
nfo
.
i
d
,
tipmsg
=
"启用成功"
;
if
(
info
.
regedbutton
){
url
=
"mng/app/forbidden/"
+
i
nfo
.
i
d
;
tipmsg
=
"停用成功"
;
}
var
userPM
=
HttpService
.
putInfo
(
url
,{});
...
...
@@ -57,7 +57,7 @@
ToolService
.
hideLoading
();
ToolService
.
showTips
(
tipmsg
)
$scope
.
$emit
(
"f5Applist"
,
true
);
$rootScope
.
operSubmitData
(
tipmsg
.
slice
(
0
,
2
));
$rootScope
.
operSubmitData
(
tipmsg
.
slice
(
0
,
2
));
});
}
...
...
src/main/websrc/styles/style.scss
View file @
9400beda
...
...
@@ -461,13 +461,17 @@ ul li .darklabel,.darklabel{color:$darkfontcolor;}
margin-left
:
3px
;
}
.copyBtnIcon
{
@extend
.settingIcon
;
background-position
:
-33px
-100px
;
background
:
url(../images/copy.png)
no-repeat
;
width
:
12px
;
height
:
12px
;
display
:
inline-block
;
vertical-align
:middle
;
margin-left
:
3px
;
margin-top
:
-3px
;
cursor
:
pointer
;
&
:hover
{
background
:
url(../images/copy_hover.png)
no-repeat
;
}
}
.rightHeader
.helpInfo
:hover
{
...
...
src/main/websrc/template/manage/app.html
View file @
9400beda
...
...
@@ -11,11 +11,11 @@
<div
class=
"appList"
>
<div
ng-if=
"resultList.length>0"
class=
"appWrap"
ng-repeat=
"info in appAlllistInfo | limitTo:limitCount | filterList:searchTxt:'name,appkey' as filterResult track by $index"
>
<div
class=
"app"
ng-click=
"goReport(info)"
>
<div
class=
"app"
>
<div
class=
"ml20 mt20"
>
<div
class=
"iconfont platform"
ng-class=
"{'iOS':'icon-ios','Android':'icon-android','H5':'icon-wrap'}[info.platform]"
></div>
<span
class=
"title"
>
{{info.name}}
</span>
<span
class=
"copyBtnIcon copyBtn"
data-clipboard-text=
"{{info.name}}"
title=
"点击复制"
stop-event
></span>
<span
class=
"title"
ng-click=
"goReport(info)"
>
{{info.name}}
</span>
<span
class=
"copyBtnIcon copyBtn"
data-clipboard-text=
"{{info.name}}"
title=
"点击复制"
></span>
<span
class=
"setting"
ng-click=
"info.isShow=!info.isShow"
stop-event
>
<ul
ng-show=
"info.isShow"
ng-mouseleave=
"info.isShow=false"
>
<li
ng-click=
"gopage(info.id)"
>
编辑
</li>
...
...
@@ -24,19 +24,18 @@
</span>
</div>
<div
class=
"key"
>
APPKEY:{{info.appkey}}
<span
class=
"copyBtnIcon copyBtn"
data-clipboard-text=
"{{info.appkey}}"
title=
"点击复制"
stop-event
></span>
<span
class=
"copyBtnIcon copyBtn"
data-clipboard-text=
"{{info.appkey}}"
title=
"点击复制"
></span>
</div>
<div
class=
"bottom"
>
<span
ng-show=
"!isDebug"
stop-event
>
自动生成日志
<div
class=
"onOffBtn"
ng-class=
"{'on':info.regedbutton == true}"
ng-click=
"onOff(info)"
></div></span>
<div
class=
"debugbtn"
ng-show=
"isDebug"
ng-click=
"gopage(info.id,1)"
stop-event
>
调试
</div>
<span
class=
"right"
ng-style=
"{'margin-top':isDebug?'5px':''}"
>
创建时间:{{info.createTime | date:'yyyy-MM-dd HH:mm:ss'}}
</span>
<span
stop-event
>
自动生成日志
<div
class=
"onOffBtn"
ng-class=
"{'on':info.regedbutton == true}"
ng-click=
"onOff(info)"
></div></span>
<span
class=
"right"
>
创建时间:{{info.createTime | date:'yyyy-MM-dd HH:mm:ss'}}
</span>
</div>
</div>
</div>
<div
class=
"more"
ng-click=
"getMore()"
ng-show=
"isShow() && filterResult.length>0"
><span>
更多产品
<label>
(共{{resultList.length}}个产品)
</label></span></div>
<div
class=
"noData"
ng-if=
"resultList.length==0"
>
<span></span>
<div>
暂无
{{isDebug?'待调试':'已调试'}}
产品
</div>
<div>
暂无产品
</div>
</div>
<div
class=
"noData"
ng-if=
"filterResult.length==0"
>
<span></span>
...
...
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