Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
112cac81
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1434
Star
162
Fork
130
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
112cac81
编写于
7月 26, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【手机端】删除上线,下线功能
上级
66ede6c2
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
3 addition
and
50 deletion
+3
-50
userauth/src/main/resources/template/js/appWorkPage/appWorkPageList.js
...main/resources/template/js/appWorkPage/appWorkPageList.js
+1
-38
userauth/src/main/resources/template/js/appWorkPageAuthPoint/appworkpageauthpointadd.js
...mplate/js/appWorkPageAuthPoint/appworkpageauthpointadd.js
+0
-0
userauth/src/main/resources/template/js/appWorkPageAuthPoint/appworkpageauthpointedit.js
...plate/js/appWorkPageAuthPoint/appworkpageauthpointedit.js
+0
-0
userauth/src/main/resources/template/js/appWorkPageAuthPoint/appworkpageauthpointlist.js
...plate/js/appWorkPageAuthPoint/appworkpageauthpointlist.js
+0
-0
userauth/src/main/resources/template/tpl/appWorkPage/appWorkPageList.html
...n/resources/template/tpl/appWorkPage/appWorkPageList.html
+2
-12
userauth/src/main/resources/template/tpl/appWorkPageAuthPoint/appworkpageauthpointadd.html
...ate/tpl/appWorkPageAuthPoint/appworkpageauthpointadd.html
+0
-0
userauth/src/main/resources/template/tpl/appWorkPageAuthPoint/appworkpageauthpointedit.html
...te/tpl/appWorkPageAuthPoint/appworkpageauthpointedit.html
+0
-0
userauth/src/main/resources/template/tpl/appWorkPageAuthPoint/appworkpageauthpointlist.html
...te/tpl/appWorkPageAuthPoint/appworkpageauthpointlist.html
+0
-0
未找到文件。
userauth/src/main/resources/template/js/appWorkPage/appWorkPageList.js
浏览文件 @
112cac81
...
...
@@ -46,15 +46,6 @@ layui.config({
{
field
:
'
childNum
'
,
title
:
'
子页面数量
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
url
'
,
title
:
'
页面路径
'
,
align
:
'
left
'
,
width
:
300
},
{
field
:
'
orderBy
'
,
title
:
'
排序号
'
,
align
:
'
left
'
,
width
:
80
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
80
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
'
1
'
)
{
return
"
<span class='state-new'>新建</span>
"
;
}
else
if
(
d
.
state
==
'
2
'
)
{
return
"
<span class='state-up'>上线</span>
"
;
}
else
if
(
d
.
state
==
'
3
'
)
{
return
"
<span class='state-down'>下线</span>
"
;
}
}},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
...
...
@@ -80,10 +71,6 @@ layui.config({
topOne
(
data
);
}
else
if
(
layEvent
===
'
lower
'
)
{
//下移
lowerOne
(
data
);
}
else
if
(
layEvent
===
'
up
'
)
{
//上线
up
(
data
);
}
else
if
(
layEvent
===
'
down
'
)
{
//下线
down
(
data
);
}
else
if
(
layEvent
===
'
authpoint
'
)
{
//权限点
authpoint
(
data
);
}
...
...
@@ -143,30 +130,6 @@ layui.config({
}});
}
// 上线
function
up
(
data
,
obj
){
var
msg
=
obj
?
'
确认将【
'
+
obj
.
data
.
title
+
'
】上线吗?
'
:
'
确认将选中数据上线吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
上线操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
appworkpage010
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
上线成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 下线
function
down
(
data
,
obj
){
var
msg
=
obj
?
'
确认将【
'
+
obj
.
data
.
title
+
'
】下线吗?
'
:
'
确认将选中数据下线吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
下线操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
appworkpage011
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
下线成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 权限点
function
authpoint
(
data
){
menuId
=
data
.
id
;
...
...
@@ -193,5 +156,5 @@ layui.config({
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
app
workpage
'
,
{});
exports
(
'
app
WorkPageList
'
,
{});
});
userauth/src/main/resources/template/js/app
workpageauthp
oint/appworkpageauthpointadd.js
→
userauth/src/main/resources/template/js/app
WorkPageAuthP
oint/appworkpageauthpointadd.js
浏览文件 @
112cac81
文件已移动
userauth/src/main/resources/template/js/app
workpageauthp
oint/appworkpageauthpointedit.js
→
userauth/src/main/resources/template/js/app
WorkPageAuthP
oint/appworkpageauthpointedit.js
浏览文件 @
112cac81
文件已移动
userauth/src/main/resources/template/js/app
workpageauthp
oint/appworkpageauthpointlist.js
→
userauth/src/main/resources/template/js/app
WorkPageAuthP
oint/appworkpageauthpointlist.js
浏览文件 @
112cac81
文件已移动
userauth/src/main/resources/template/tpl/appWorkPage/appWorkPageList.html
浏览文件 @
112cac81
...
...
@@ -18,18 +18,8 @@
{{
#
if
(
auth
(
'
1563602200836
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
state
==
1
||
d
.
state
==
3
){
}}
{{
#
if
(
auth
(
'
1563602242822
'
)
&&
d
.
childNum
==
0
){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1563602289002
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
up
"
>
上线
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
state
==
2
){
}}
{{
#
if
(
auth
(
'
1563602309298
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
down
"
>
下线
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1563602242822
'
)
&&
d
.
childNum
==
0
){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
orderBy
!=
1
&&
auth
(
'
1563602259975
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
top
"
>
上移
<
/a
>
...
...
userauth/src/main/resources/template/tpl/app
workpageauthp
oint/appworkpageauthpointadd.html
→
userauth/src/main/resources/template/tpl/app
WorkPageAuthP
oint/appworkpageauthpointadd.html
浏览文件 @
112cac81
文件已移动
userauth/src/main/resources/template/tpl/app
workpageauthp
oint/appworkpageauthpointedit.html
→
userauth/src/main/resources/template/tpl/app
WorkPageAuthP
oint/appworkpageauthpointedit.html
浏览文件 @
112cac81
文件已移动
userauth/src/main/resources/template/tpl/app
workpageauthp
oint/appworkpageauthpointlist.html
→
userauth/src/main/resources/template/tpl/app
WorkPageAuthP
oint/appworkpageauthpointlist.html
浏览文件 @
112cac81
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录