Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
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
micro_app
gk
Commits
1ca11816
Commit
1ca11816
authored
Jul 20, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(gunRule): 发枪预约
parent
6d8b3496
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
911 additions
and
11 deletions
+911
-11
GunRolueController.java
...om/dlbridge/jadp/plugins/cmpt/web/GunRolueController.java
+33
-0
feedback.jsp
src/main/webapp/WEB-INF/views/cmpt/feedback.jsp
+2
-5
gunRule.jsp
src/main/webapp/WEB-INF/views/cmpt/gunRule.jsp
+863
-0
markNoRule.jsp
src/main/webapp/WEB-INF/views/cmpt/markNoRule.jsp
+5
-5
menu.jsp
src/main/webapp/WEB-INF/views/common/menu.jsp
+8
-1
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/web/GunRolueController.java
0 → 100644
View file @
1ca11816
package
com
.
dlbridge
.
jadp
.
plugins
.
cmpt
.
web
;
import
com.dlbridge.jadp.common.interceptor.PageView
;
import
com.dlbridge.jadp.plugins.cmpt.dao.model.Cmpt
;
import
com.dlbridge.jadp.plugins.cmpt.service.CmptService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.servlet.ModelAndView
;
import
springfox.documentation.annotations.ApiIgnore
;
import
javax.annotation.Resource
;
@RequestMapping
(
value
=
"/gk/gunRule/"
)
@RestController
@ApiIgnore
@Log4j2
public
class
GunRolueController
{
@Resource
private
CmptService
cmptService
;
@RequestMapping
(
"index/{cmptId}"
)
@PageView
public
ModelAndView
index
(
@PathVariable
(
"cmptId"
)
Integer
cmptId
,
ModelAndView
mv
)
{
Cmpt
cmpt
=
cmptService
.
queryCmptBycmptId
(
cmptId
);
mv
.
setViewName
(
"cmpt/gunRule"
);
mv
.
addObject
(
"cmpt"
,
cmpt
);
return
mv
;
}
}
src/main/webapp/WEB-INF/views/cmpt/feedback.jsp
View file @
1ca11816
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<head>
<head>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
后台管理系统
</title>
<title>
赛事反馈
</title>
<!-- ... 保留原有的 Vue 引入 ... -->
<!-- ... 保留原有的 Vue 引入 ... -->
<script
src=
"https://unpkg.com/vue@3/dist/vue.global.prod.js"
></script>
<script
src=
"https://unpkg.com/vue@3/dist/vue.global.prod.js"
></script>
<!-- 添加 Naive UI 的引入 -->
<!-- 添加 Naive UI 的引入 -->
...
@@ -104,12 +104,9 @@
...
@@ -104,12 +104,9 @@
<
/n-tabs
>
<
/n-tabs
>
<
/div
>
<
/div
>
<
div
class
=
"ml-auto"
><
n
-
input
v
-
model
:
value
=
"keyword"
placeholder
=
"请输入搜索内容"
/><
/div
>
<
div
class
=
"ml-auto"
><
n
-
input
v
-
model
:
value
=
"keyword"
placeholder
=
"请输入搜索内容"
/><
/div
>
<
n
-
button
type
=
"primary"
>
<
n
-
button
type
=
"primary"
@
click
=
"getFeedBacks"
>
搜索
搜索
<
/n-button
>
<
/n-button
>
<
n
-
button
type
=
"primary"
@
click
=
"addFeedBack"
>
新增测试
<
/n-button
>
<
/div
>
<
/div
>
<
/n-card
>
<
/n-card
>
<!--
搜索框
-->
<!--
搜索框
-->
...
...
src/main/webapp/WEB-INF/views/cmpt/gunRule.jsp
0 → 100644
View file @
1ca11816
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/views/cmpt/markNoRule.jsp
View file @
1ca11816
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<head>
<head>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
后台管理系统
</title>
<title>
自选号规则
</title>
<!-- ... 保留原有的 Vue 引入 ... -->
<!-- ... 保留原有的 Vue 引入 ... -->
<script
src=
"https://unpkg.com/vue@3/dist/vue.global.prod.js"
></script>
<script
src=
"https://unpkg.com/vue@3/dist/vue.global.prod.js"
></script>
<!-- 添加 Naive UI 的引入 -->
<!-- 添加 Naive UI 的引入 -->
...
@@ -618,7 +618,7 @@
...
@@ -618,7 +618,7 @@
// 新增规则
// 新增规则
const
onAddMarkNoRule
=
()
=>
{
const
onAddMarkNoRule
=
()
=>
{
markNoRuleValue
.
value
=
initialValue
markNoRuleValue
.
value
=
initialValue
ruleIndex
=
-
1
ruleIndex
.
value
=
-
1
}
}
// 删除规则
// 删除规则
const
deleteMarkNoRule
=
async
()
=>
{
const
deleteMarkNoRule
=
async
()
=>
{
...
@@ -661,13 +661,13 @@
...
@@ -661,13 +661,13 @@
min
:
1
,
min
:
1
,
max
:
100
,
max
:
100
,
onUpdateValue
(
v
)
{
onUpdateValue
(
v
)
{
data
.
value
[
index
].
waveNumber
=
v
markNoRuleValue
.
value
[
index
].
waveNumber
=
v
}
}
})
})
}
}
},
},
{
{
title
:
'最快
配速
'
,
title
:
'最快
成绩
'
,
key
:
'scoreFrom'
,
key
:
'scoreFrom'
,
align
:
'center'
,
align
:
'center'
,
render
(
row
,
index
)
{
render
(
row
,
index
)
{
...
@@ -681,7 +681,7 @@
...
@@ -681,7 +681,7 @@
}
}
},
},
{
{
title
:
'最慢
配速
'
,
title
:
'最慢
成绩
'
,
key
:
'scoreTo'
,
key
:
'scoreTo'
,
align
:
'center'
,
align
:
'center'
,
render
(
row
,
index
)
{
render
(
row
,
index
)
{
...
...
src/main/webapp/WEB-INF/views/common/menu.jsp
View file @
1ca11816
...
@@ -383,6 +383,13 @@
...
@@ -383,6 +383,13 @@
<span
class=
"menu-txt"
>
赛事反馈
</span>
<span
class=
"menu-txt"
>
赛事反馈
</span>
</a>
</a>
</li>
</li>
<li
class=
"gunRule menu-sub-item"
>
<a
href=
"/gk/gunRule/index/${cmpt.cmptId}?uId=${uId}&cId=${cId}×tamp=${timestamp}&sign=${sign}"
>
<span
class=
"left-arrow"
></span>
<span
class=
"menu-txt"
>
发枪预约
</span>
</a>
</li>
</ul>
</ul>
</li>
</li>
</ul>
</ul>
...
@@ -445,7 +452,7 @@
...
@@ -445,7 +452,7 @@
var
classes
=
[
'cmptSetting'
,
'nameList'
,
'manual'
,
'contact'
,
'manage'
,
var
classes
=
[
'cmptSetting'
,
'nameList'
,
'manual'
,
'contact'
,
'manage'
,
'route'
,
'road'
,
'equip'
,
'photo'
,
'news'
,
'cert'
,
'data'
,
'route'
,
'road'
,
'equip'
,
'photo'
,
'news'
,
'cert'
,
'data'
,
'banner'
,
'score'
,
'auto'
,
'scan'
,
'review'
,
'customer'
,
'rule'
,
'banner'
,
'score'
,
'auto'
,
'scan'
,
'review'
,
'customer'
,
'rule'
,
'outter-link'
,
'sure-letter'
,
'rankSetting'
,
'service'
,
"module"
,
"swiper"
,
"bag"
,
"invoice"
,
"markNoSelect"
,
"feedback"
,
"markNoRule"
];
'outter-link'
,
'sure-letter'
,
'rankSetting'
,
'service'
,
"module"
,
"swiper"
,
"bag"
,
"invoice"
,
"markNoSelect"
,
"feedback"
,
"markNoRule"
,
"gunRule"
];
let
url
=
document
.
location
.
href
;
let
url
=
document
.
location
.
href
;
var
done
=
false
;
var
done
=
false
;
for
(
var
i
in
classes
)
{
for
(
var
i
in
classes
)
{
...
...
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