记得上下班打卡 | 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
a74caf5c
Commit
a74caf5c
authored
May 22, 2023
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 增加同步ui
parent
d725dc21
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
4 deletions
+65
-4
KylinPerformancesController.java
...ontroller/zhengzai/kylin/KylinPerformancesController.java
+4
-4
details.html
...ources/templates/zhengzai/kylin/performances/details.html
+53
-0
list.html
...resources/templates/zhengzai/smile/smileTickets/list.html
+8
-0
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 @
a74caf5c
...
...
@@ -59,17 +59,17 @@ public class KylinPerformancesController extends BaseController {
}
@Log
(
title
=
"同步票务平台-演出"
,
businessType
=
BusinessType
.
OTHER
)
@
GetMapping
(
value
=
"/syncTicketSysPerformance/{performancesId}
"
)
@
PostMapping
(
value
=
"/syncTicketSysPerformance
"
)
@ResponseBody
public
AjaxResult
syncTicketSysPerformance
(
@
PathVariable
(
"performancesId"
)
String
performancesId
)
{
public
AjaxResult
syncTicketSysPerformance
(
@
RequestParam
(
"performancesId"
)
String
performancesId
)
{
boolean
result
=
kylinPerformancesService
.
syncTicketSysPerformance
(
performancesId
);
return
toAjax
(
result
);
}
@Log
(
title
=
"同步票务平台-订单"
,
businessType
=
BusinessType
.
OTHER
)
@
GetMapping
(
value
=
"/syncTicketSysOrder/{performancesId}
"
)
@
PostMapping
(
value
=
"/syncTicketSysOrder
"
)
@ResponseBody
public
AjaxResult
syncTicketSysOrder
(
@
PathVariable
(
"performancesId"
)
String
performancesId
)
{
public
AjaxResult
syncTicketSysOrder
(
@
RequestParam
(
"performancesId"
)
String
performancesId
)
{
boolean
result
=
kylinPerformancesService
.
syncTicketSysOrder
(
performancesId
);
return
toAjax
(
result
);
}
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/details.html
View file @
a74caf5c
...
...
@@ -66,6 +66,17 @@
</button>
</div>
</div>
<div
class=
"panel-body"
id=
"performance_platform"
>
<strong>
同步票务平台
</strong>
<div
th:width=
"max"
style=
"margin-top: 10px"
>
<button
type=
"button"
class=
"btn btn-w-m btn-success"
name=
"synPerform"
onclick=
"synPerform()"
>
同步演出
</button>
<button
type=
"button"
class=
"btn btn-w-m btn-success"
name=
"synOrder"
onclick=
"synOrder()"
>
同步订单
</button>
</div>
</div>
<div
class=
"panel-body"
th:width=
"max"
style=
"margin-top: 10px"
>
<form
class=
"form-horizontal m"
id=
"form-performances-edit"
th:object=
"${kylinPerformanceMisVo}"
>
...
...
@@ -334,7 +345,27 @@
var
prefix
=
ctx
+
"kylin/performances"
const
isShow
=
'[[${kylinPerformanceMisVo.isShow}]]'
;
const
auditStatus
=
'[[${kylinPerformanceMisVo.auditStatus}]]'
;
const
status
=
'[[${kylinPerformanceMisVo.status}]]'
;
const
fieldStatus
=
'[[${kylinPerformanceMisVo.fieldAuditStatus}]]'
;
const
endTime
=
new
Date
(
'[[${kylinPerformanceMisVo.timeEnd}]]'
.
replaceAll
(
"
\"
"
,
""
)).
valueOf
();
const
now
=
new
Date
().
valueOf
();
// const et = new Date(endTime.replaceAll("\"", "")).valueOf();
//获取当前时间
function
FormatDate
()
{
var
now
=
new
Date
();
var
year
=
now
.
getFullYear
();
var
month
=
now
.
getMonth
();
var
date
=
now
.
getDate
();
month
=
month
+
1
;
if
(
month
<
10
)
{
month
=
"0"
+
month
;
}
if
(
date
<
10
)
{
date
=
"0"
+
date
;
}
var
time
=
year
+
"-"
+
month
+
"-"
+
date
;
return
time
;
}
var
agentFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performances:agent'
)}]];
if
(
agentFlag
==
"hidden"
)
{
...
...
@@ -391,6 +422,11 @@
}
else
{
document
.
getElementsByName
(
"isShowCheck"
)[
1
].
checked
=
true
;
}
if
(
now
>
endTime
&&
status
>
3
&&
status
!=
7
)
{
// document.getElementById("performance_platform").style.display = "none";
}
else
{
document
.
getElementById
(
"performance_platform"
).
style
.
display
=
"none"
;
}
//修改 演出是否显示
function
submitHandler
()
{
...
...
@@ -402,6 +438,23 @@
});
}
//同步票务平台
function
synPerform
()
{
var
param
=
{
"performancesId"
:
'[[${kylinPerformanceMisVo.performancesId}]]'
.
replaceAll
(
"
\"
"
,
""
)
};
$
.
operate
.
post
(
prefix
+
"/syncTicketSysPerformance/"
,
param
,
function
(
res
)
{
});
}
function
synOrder
()
{
var
param
=
{
"performancesId"
:
'[[${kylinPerformanceMisVo.performancesId}]]'
.
replaceAll
(
"
\"
"
,
""
)
};
$
.
operate
.
post
(
prefix
+
"/syncTicketSysOrder/"
,
param
,
function
(
res
)
{
});
}
//演出审核
function
aduitHandler
()
{
const
auditStatus
=
document
.
getElementsByName
(
"auditCheck"
)[
0
].
checked
?
3
:
4
;
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/smile/smileTickets/list.html
View file @
a74caf5c
...
...
@@ -119,6 +119,14 @@
field
:
'cityName'
,
title
:
'城市'
},
{
field
:
'timeStart'
,
title
:
'演出开始时间'
},
{
field
:
'timeEnd'
,
title
:
'演出结束时间'
},
{
field
:
'open'
,
title
:
'总销售数量'
...
...
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