记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
578d557d
Commit
578d557d
authored
May 31, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin 配置完成
parent
8c995d99
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
373 additions
and
8 deletions
+373
-8
KylinPerformancesController.java
...ontroller/zhengzai/kylin/KylinPerformancesController.java
+12
-3
application-client-admin-web.yml
...n-web/src/main/resources/application-client-admin-web.yml
+1
-1
ry-ui.js
...ent-admin-web/src/main/resources/static/ruoyi/js/ry-ui.js
+2
-0
details.html
...ources/templates/zhengzai/kylin/performances/details.html
+353
-0
performances.html
...s/templates/zhengzai/kylin/performances/performances.html
+5
-4
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/kylin/KylinPerformancesController.java
View file @
578d557d
...
@@ -16,6 +16,8 @@ import org.springframework.web.bind.annotation.PostMapping;
...
@@ -16,6 +16,8 @@ import org.springframework.web.bind.annotation.PostMapping;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
javax.websocket.server.PathParam
;
/**
/**
* 演出Controller
* 演出Controller
...
@@ -52,10 +54,17 @@ public class KylinPerformancesController extends BaseController
...
@@ -52,10 +54,17 @@ public class KylinPerformancesController extends BaseController
return
getDataTable
(
result
.
getList
());
return
getDataTable
(
result
.
getList
());
}
}
@GetMapping
(
value
=
"/details"
)
@RequiresPermissions
(
"kylin:performances:view"
)
@GetMapping
()
public
String
tickets
()
{
return
prefix
+
"/details"
;
}
@RequiresPermissions
(
"kylin:performances:detail"
)
@GetMapping
(
value
=
"/details/{id}"
)
@ResponseBody
@ResponseBody
@RequiresPermissions
(
"kylin:performances:list"
)
public
ResponseDto
<
KylinPerformanceMisVo
>
performanceDetails
(
@PathParam
(
"performancesId"
)
String
performancesId
)
{
public
ResponseDto
<
KylinPerformanceMisVo
>
performanceDetails
(
String
performancesId
)
{
KylinPerformanceMisVo
result
=
null
;
KylinPerformanceMisVo
result
=
null
;
result
=
kylinPerformancesService
.
performanceDetails
(
performancesId
);
result
=
kylinPerformancesService
.
performanceDetails
(
performancesId
);
if
(
null
!=
result
)
{
if
(
null
!=
result
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/application-client-admin-web.yml
View file @
578d557d
...
@@ -114,7 +114,7 @@ shiro:
...
@@ -114,7 +114,7 @@ shiro:
# 首页地址
# 首页地址
indexUrl
:
/index
indexUrl
:
/index
# 验证码开关
# 验证码开关
captchaEnabled
:
tru
e
captchaEnabled
:
fals
e
# 验证码类型 math 数组计算 char 字符
# 验证码类型 math 数组计算 char 字符
captchaType
:
math
captchaType
:
math
cookie
:
cookie
:
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/static/ruoyi/js/ry-ui.js
View file @
578d557d
...
@@ -972,6 +972,7 @@ var table = {
...
@@ -972,6 +972,7 @@ var table = {
detail
:
function
(
id
,
width
,
height
)
{
detail
:
function
(
id
,
width
,
height
)
{
table
.
set
();
table
.
set
();
var
_url
=
$
.
operate
.
detailUrl
(
id
);
var
_url
=
$
.
operate
.
detailUrl
(
id
);
console
.
log
(
_url
)
var
options
=
{
var
options
=
{
title
:
table
.
options
.
modalName
+
"详细"
,
title
:
table
.
options
.
modalName
+
"详细"
,
width
:
width
,
width
:
width
,
...
@@ -983,6 +984,7 @@ var table = {
...
@@ -983,6 +984,7 @@ var table = {
layer
.
close
(
index
);
layer
.
close
(
index
);
}
}
};
};
console
.
log
(
options
)
$
.
modal
.
openOptions
(
options
);
$
.
modal
.
openOptions
(
options
);
},
},
// 详细信息,以tab页展现
// 详细信息,以tab页展现
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/details.html
0 → 100644
View file @
578d557d
This diff is collapsed.
Click to expand it.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/performances.html
View file @
578d557d
...
@@ -93,13 +93,14 @@
...
@@ -93,13 +93,14 @@
</div>
</div>
<th:block
th:include=
"include :: footer"
/>
<th:block
th:include=
"include :: footer"
/>
<script
th:inline=
"javascript"
>
<script
th:inline=
"javascript"
>
var
editFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performances:edit
'
)}]];
var
detailFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performances:detail
'
)}]];
var
removeFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performances:remove
'
)}]];
var
expertFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performances:expert
'
)}]];
var
prefix
=
ctx
+
"kylin/performances"
;
var
prefix
=
ctx
+
"kylin/performances"
;
$
(
function
()
{
$
(
function
()
{
var
options
=
{
var
options
=
{
url
:
prefix
+
"/list"
,
url
:
prefix
+
"/list"
,
detailUrl
:
prefix
+
"/details/{id}"
,
createUrl
:
prefix
+
"/add"
,
createUrl
:
prefix
+
"/add"
,
updateUrl
:
prefix
+
"/edit/{id}"
,
updateUrl
:
prefix
+
"/edit/{id}"
,
removeUrl
:
prefix
+
"/remove"
,
removeUrl
:
prefix
+
"/remove"
,
...
@@ -155,8 +156,8 @@
...
@@ -155,8 +156,8 @@
align
:
'center'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
formatter
:
function
(
value
,
row
,
index
)
{
var
actions
=
[];
var
actions
=
[];
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
editFlag
+
'" href="javascript:void(0)" onclick="$.operate.edit(
\'
'
+
row
.
mid
+
'
\'
)"><i class="fa fa-edit"></i>编辑
</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
detailFlag
+
'" href="javascript:void(0)" onclick="$.operate.detail(
\'
'
+
row
.
performancesId
+
'
\'
)"><i class="fa fa-edit"></i>查看
</a> '
);
actions
.
push
(
'<a class="btn btn-danger btn-xs '
+
removeFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
mid
+
'
\'
)"><i class="fa fa-remove"></i>删除
</a>'
);
actions
.
push
(
'<a class="btn btn-danger btn-xs '
+
expertFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
mid
+
'
\'
)"><i class="fa fa-remove"></i>导出
</a>'
);
return
actions
.
join
(
''
);
return
actions
.
join
(
''
);
}
}
}]
}]
...
...
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