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
c9015f69
Commit
c9015f69
authored
Jun 23, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(gk): 赛包+发票
parent
042cd241
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1923 additions
and
2 deletions
+1923
-2
ResourcesController.java
...m/dlbridge/jadp/plugins/cmpt/web/ResourcesController.java
+1
-0
ServiceSettingController.java
...ridge/jadp/plugins/cmpt/web/ServiceSettingController.java
+1
-0
BagDeliveryController.java
...adp/plugins/partner/controller/BagDeliveryController.java
+18
-0
InvoiceController.java
...ge/jadp/plugins/partner/controller/InvoiceController.java
+16
-0
bag.jsp
src/main/webapp/WEB-INF/views/cmpt/bag.jsp
+614
-0
invoice.jsp
src/main/webapp/WEB-INF/views/cmpt/invoice.jsp
+767
-0
outter-link.jsp
src/main/webapp/WEB-INF/views/cmpt/outter-link.jsp
+1
-1
menu.jsp
src/main/webapp/WEB-INF/views/common/menu.jsp
+15
-1
base.css
src/main/webapp/static/css/base.css
+490
-0
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/web/ResourcesController.java
View file @
c9015f69
...
@@ -75,6 +75,7 @@ public class ResourcesController {
...
@@ -75,6 +75,7 @@ public class ResourcesController {
obj
.
put
(
"scene"
,
"raceId="
+
cmptid
);
obj
.
put
(
"scene"
,
"raceId="
+
cmptid
);
// 修改为小程序页面路径 by 2025-06-12
// 修改为小程序页面路径 by 2025-06-12
obj
.
put
(
"page"
,
"pages/race/raceHome"
);
obj
.
put
(
"page"
,
"pages/race/raceHome"
);
obj
.
put
(
"width"
,
"1280"
);
String
partnerId
=
cmptService
.
getPartnerId
(
cmptid
);
String
partnerId
=
cmptService
.
getPartnerId
(
cmptid
);
String
url
=
"https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token="
;
String
url
=
"https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token="
;
try
{
try
{
...
...
src/main/java/com/dlbridge/jadp/plugins/cmpt/web/ServiceSettingController.java
View file @
c9015f69
...
@@ -40,6 +40,7 @@ public class ServiceSettingController {
...
@@ -40,6 +40,7 @@ public class ServiceSettingController {
@RequestMapping
(
value
=
"/page/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/page/{id}"
,
method
=
RequestMethod
.
GET
)
@PageView
public
ModelAndView
page
(
@PathVariable
(
"id"
)
String
id
,
ModelAndView
mv
)
{
public
ModelAndView
page
(
@PathVariable
(
"id"
)
String
id
,
ModelAndView
mv
)
{
mv
.
setViewName
(
"cmpt/detail"
);
mv
.
setViewName
(
"cmpt/detail"
);
RichText
richText
=
richTextService
.
getById
(
id
);
RichText
richText
=
richTextService
.
getById
(
id
);
...
...
src/main/java/com/dlbridge/jadp/plugins/partner/controller/BagDeliveryController.java
View file @
c9015f69
package
com
.
dlbridge
.
jadp
.
plugins
.
partner
.
controller
;
package
com
.
dlbridge
.
jadp
.
plugins
.
partner
.
controller
;
import
com.dlbridge.jadp.common.interceptor.PageView
;
import
com.dlbridge.jadp.job.CountJob
;
import
com.dlbridge.jadp.plugins.cmpt.bean.Banner
;
import
com.dlbridge.jadp.plugins.cmpt.dao.model.Cmpt
;
import
com.dlbridge.jadp.plugins.cmpt.service.CmptService
;
import
com.dlbridge.jadp.plugins.cmpt.utils.Page
;
import
com.dlbridge.jadp.plugins.cmpt.utils.Page
;
import
com.dlbridge.jadp.plugins.partner.bean.BagDelivery
;
import
com.dlbridge.jadp.plugins.partner.bean.BagDelivery
;
import
com.dlbridge.jadp.plugins.partner.bean.BagParam
;
import
com.dlbridge.jadp.plugins.partner.bean.BagParam
;
...
@@ -8,6 +13,7 @@ import com.neusoft.www.utils.web.Result;
...
@@ -8,6 +13,7 @@ import com.neusoft.www.utils.web.Result;
import
org.springframework.data.domain.Pageable
;
import
org.springframework.data.domain.Pageable
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.servlet.ModelAndView
;
import
springfox.documentation.annotations.ApiIgnore
;
import
springfox.documentation.annotations.ApiIgnore
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
...
@@ -19,6 +25,18 @@ public class BagDeliveryController {
...
@@ -19,6 +25,18 @@ public class BagDeliveryController {
@Resource
@Resource
private
BagDeliveryService
bagDeliveryService
;
private
BagDeliveryService
bagDeliveryService
;
@Resource
private
CmptService
cmptService
;
@RequestMapping
(
"index/{cmptId}"
)
@PageView
public
ModelAndView
index
(
@PathVariable
(
"cmptId"
)
Integer
cmptId
,
ModelAndView
mv
)
{
Cmpt
cmpt
=
cmptService
.
queryCmptBycmptId
(
cmptId
);
mv
.
addObject
(
"cmpt"
,
cmpt
);
mv
.
setViewName
(
"cmpt/bag"
);
return
mv
;
}
/**
/**
* 赛包邮寄申请列表
* 赛包邮寄申请列表
* @param page 分页参数
* @param page 分页参数
...
...
src/main/java/com/dlbridge/jadp/plugins/partner/controller/InvoiceController.java
View file @
c9015f69
package
com
.
dlbridge
.
jadp
.
plugins
.
partner
.
controller
;
package
com
.
dlbridge
.
jadp
.
plugins
.
partner
.
controller
;
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
com.dlbridge.jadp.plugins.cmpt.utils.Page
;
import
com.dlbridge.jadp.plugins.cmpt.utils.Page
;
import
com.dlbridge.jadp.plugins.partner.bean.Invoice
;
import
com.dlbridge.jadp.plugins.partner.bean.Invoice
;
import
com.dlbridge.jadp.plugins.partner.bean.BagParam
;
import
com.dlbridge.jadp.plugins.partner.bean.BagParam
;
...
@@ -9,6 +12,7 @@ import com.neusoft.www.utils.web.Result;
...
@@ -9,6 +12,7 @@ import com.neusoft.www.utils.web.Result;
import
org.springframework.data.domain.Pageable
;
import
org.springframework.data.domain.Pageable
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.servlet.ModelAndView
;
import
springfox.documentation.annotations.ApiIgnore
;
import
springfox.documentation.annotations.ApiIgnore
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
@@ -21,6 +25,18 @@ public class InvoiceController {
...
@@ -21,6 +25,18 @@ public class InvoiceController {
@Resource
@Resource
private
InvoiceService
invoiceService
;
private
InvoiceService
invoiceService
;
@Resource
private
CmptService
cmptService
;
@RequestMapping
(
"index/{cmptId}"
)
@PageView
public
ModelAndView
index
(
@PathVariable
(
"cmptId"
)
Integer
cmptId
,
ModelAndView
mv
)
{
Cmpt
cmpt
=
cmptService
.
queryCmptBycmptId
(
cmptId
);
mv
.
addObject
(
"cmpt"
,
cmpt
);
mv
.
setViewName
(
"cmpt/invoice"
);
return
mv
;
}
/**
/**
* 赛包邮寄申请列表
* 赛包邮寄申请列表
* @param page 分页参数
* @param page 分页参数
...
...
src/main/webapp/WEB-INF/views/cmpt/bag.jsp
0 → 100644
View file @
c9015f69
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/views/cmpt/invoice.jsp
0 → 100644
View file @
c9015f69
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/views/cmpt/outter-link.jsp
View file @
c9015f69
...
@@ -656,7 +656,7 @@
...
@@ -656,7 +656,7 @@
return
;
return
;
}
}
// 文档
// 文档
if
(
file
.
type
&&
!
[
'.docx'
,
'.xlsx'
,
'.pptx'
].
includes
(
file
.
name
.
slice
(
file
.
name
.
lastIndexOf
(
'.'
)))
&&
this
.
letter
.
openType
==
5
)
{
if
(
file
.
type
&&
!
[
'.docx'
,
'.xlsx'
,
'.pptx'
,
'.pdf'
].
includes
(
file
.
name
.
slice
(
file
.
name
.
lastIndexOf
(
'.'
)))
&&
this
.
letter
.
openType
==
5
)
{
layer
.
msg
(
'请上传文档'
,
{
icon
:
5
})
layer
.
msg
(
'请上传文档'
,
{
icon
:
5
})
return
;
return
;
}
}
...
...
src/main/webapp/WEB-INF/views/common/menu.jsp
View file @
c9015f69
...
@@ -348,6 +348,20 @@
...
@@ -348,6 +348,20 @@
<span
class=
"menu-txt"
>
轮播图管理
</span>
<span
class=
"menu-txt"
>
轮播图管理
</span>
</a>
</a>
</li>
</li>
<li
class=
"bag menu-sub-item"
>
<a
href=
"/gk/bag/index/${cmpt.cmptId}?uId=${uId}&cId=${cId}×tamp=${timestamp}&sign=${sign}"
>
<span
class=
"left-arrow"
></span>
<span
class=
"menu-txt"
>
赛包邮寄
</span>
</a>
</li>
<li
class=
"invoice menu-sub-item"
>
<a
href=
"/gk/invoice/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>
...
@@ -410,7 +424,7 @@
...
@@ -410,7 +424,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"
];
'outter-link'
,
'sure-letter'
,
'rankSetting'
,
'service'
,
"module"
,
"swiper"
,
"bag"
,
"invoice"
];
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
)
{
...
...
src/main/webapp/static/css/base.css
0 → 100644
View file @
c9015f69
/* Flex 布局相关 */
.flex
{
display
:
flex
;
}
.flex-col
{
flex-direction
:
column
;
}
.flex-row
{
flex-direction
:
row
;
}
.justify-start
{
justify-content
:
flex-start
;
}
.justify-end
{
justify-content
:
flex-end
;
}
.justify-center
{
justify-content
:
center
;
}
.justify-between
{
justify-content
:
space-between
;
}
.justify-around
{
justify-content
:
space-around
;
}
.items-start
{
align-items
:
flex-start
;
}
.items-end
{
align-items
:
flex-end
;
}
.items-center
{
align-items
:
center
;
}
.items-baseline
{
align-items
:
baseline
;
}
.items-stretch
{
align-items
:
stretch
;
}
.flex-wrap
{
flex-wrap
:
wrap
;
}
.flex-nowrap
{
flex-wrap
:
nowrap
;
}
.flex-1
{
flex
:
1
1
0%
;
}
/* Margin 相关 */
.m-0
{
margin
:
0
;
}
.m-1
{
margin
:
0.25rem
;
}
.m-2
{
margin
:
0.5rem
;
}
.m-3
{
margin
:
1rem
;
}
.m-4
{
margin
:
1.5rem
;
}
.m-5
{
margin
:
3rem
;
}
.mt-0
{
margin-top
:
0
;
}
.mt-1
{
margin-top
:
0.25rem
;
}
.mt-2
{
margin-top
:
0.5rem
;
}
.mt-3
{
margin-top
:
1rem
;
}
.mt-4
{
margin-top
:
1.5rem
;
}
.mt-5
{
margin-top
:
3rem
;
}
/* 其他方向margin (mr, mb, ml) 和 padding (p, pt, pr, pb, pl) 同理 */
/* 这里省略类似代码,实际使用时建议补全 */
/* Padding 相关 */
.p-0
{
padding
:
0
;
}
.p-1
{
padding
:
0.25rem
;
}
.p-2
{
padding
:
0.5rem
;
}
.p-3
{
padding
:
1rem
;
}
.p-4
{
padding
:
1.5rem
;
}
.p-5
{
padding
:
3rem
;
}
/* 文本相关 */
.text-left
{
text-align
:
left
;
}
.text-center
{
text-align
:
center
;
}
.text-right
{
text-align
:
right
;
}
.text-uppercase
{
text-transform
:
uppercase
;
}
.text-lowercase
{
text-transform
:
lowercase
;
}
.text-capitalize
{
text-transform
:
capitalize
;
}
.font-bold
{
font-weight
:
bold
;
}
.font-normal
{
font-weight
:
normal
;
}
/* 宽度相关 */
.w-full
{
width
:
100%
;
}
.w-auto
{
width
:
auto
;
}
.w-1
\
/
2
{
width
:
50%
;
}
.w-1
\
/
3
{
width
:
33.333333%
;
}
.w-2
\
/
3
{
width
:
66.666667%
;
}
/* 显示相关 */
.block
{
display
:
block
;
}
.inline-block
{
display
:
inline-block
;
}
.inline
{
display
:
inline
;
}
.hidden
{
display
:
none
;
}
/* 间距相关 - 基于rem单位 */
.gap-0
{
gap
:
0
;
}
.gap-1
{
gap
:
0.25rem
;
}
.gap-2
{
gap
:
0.5rem
;
}
.gap-3
{
gap
:
1rem
;
}
.gap-4
{
gap
:
1.5rem
;
}
.gap-5
{
gap
:
3rem
;
}
/* 行间距 (row-gap) */
.row-gap-0
{
row-gap
:
0
;
}
.row-gap-1
{
row-gap
:
0.25rem
;
}
.row-gap-2
{
row-gap
:
0.5rem
;
}
.row-gap-3
{
row-gap
:
1rem
;
}
.row-gap-4
{
row-gap
:
1.5rem
;
}
.row-gap-5
{
row-gap
:
3rem
;
}
/* 列间距 (column-gap) */
.column-gap-0
{
column-gap
:
0
;
}
.column-gap-1
{
column-gap
:
0.25rem
;
}
.column-gap-2
{
column-gap
:
0.5rem
;
}
.column-gap-3
{
column-gap
:
1rem
;
}
.column-gap-4
{
column-gap
:
1.5rem
;
}
.column-gap-5
{
column-gap
:
3rem
;
}
/* 行高相关 */
.lh-1
{
line-height
:
1
;
}
.lh-1
\
.2
{
line-height
:
1.2
;
}
.lh-1
\
.4
{
line-height
:
1.4
;
}
.lh-1
\
.5
{
line-height
:
1.5
;
}
.lh-1
\
.6
{
line-height
:
1.6
;
}
.lh-1
\
.8
{
line-height
:
1.8
;
}
.lh-2
{
line-height
:
2
;
}
/* 固定值行高 */
.lh-16
{
line-height
:
16px
;
}
.lh-20
{
line-height
:
20px
;
}
.lh-24
{
line-height
:
24px
;
}
.lh-28
{
line-height
:
28px
;
}
.lh-32
{
line-height
:
32px
;
}
.lh-40
{
line-height
:
40px
;
}
.lh-48
{
line-height
:
48px
;
}
/* 指针相关 */
.cursor-auto
{
cursor
:
auto
;
}
.cursor-default
{
cursor
:
default
;
}
.cursor-pointer
{
cursor
:
pointer
;
}
.cursor-wait
{
cursor
:
wait
;
}
.cursor-text
{
cursor
:
text
;
}
.cursor-move
{
cursor
:
move
;
}
.cursor-help
{
cursor
:
help
;
}
.cursor-not-allowed
{
cursor
:
not-allowed
;
}
.cursor-none
{
cursor
:
none
;
}
.cursor-context-menu
{
cursor
:
context-menu
;
}
.cursor-progress
{
cursor
:
progress
;
}
.cursor-cell
{
cursor
:
cell
;
}
.cursor-crosshair
{
cursor
:
crosshair
;
}
.cursor-vertical-text
{
cursor
:
vertical-text
;
}
.cursor-alias
{
cursor
:
alias
;
}
.cursor-copy
{
cursor
:
copy
;
}
.cursor-no-drop
{
cursor
:
no-drop
;
}
.cursor-grab
{
cursor
:
grab
;
}
.cursor-grabbing
{
cursor
:
grabbing
;
}
.cursor-all-scroll
{
cursor
:
all-scroll
;
}
.cursor-col-resize
{
cursor
:
col-resize
;
}
.cursor-row-resize
{
cursor
:
row-resize
;
}
.cursor-n-resize
{
cursor
:
n-resize
;
}
.cursor-e-resize
{
cursor
:
e-resize
;
}
.cursor-s-resize
{
cursor
:
s-resize
;
}
.cursor-w-resize
{
cursor
:
w-resize
;
}
.cursor-ne-resize
{
cursor
:
ne-resize
;
}
.cursor-nw-resize
{
cursor
:
nw-resize
;
}
.cursor-se-resize
{
cursor
:
se-resize
;
}
.cursor-sw-resize
{
cursor
:
sw-resize
;
}
.cursor-ew-resize
{
cursor
:
ew-resize
;
}
.cursor-ns-resize
{
cursor
:
ns-resize
;
}
.cursor-nesw-resize
{
cursor
:
nesw-resize
;
}
.cursor-nwse-resize
{
cursor
:
nwse-resize
;
}
.cursor-zoom-in
{
cursor
:
zoom-in
;
}
.cursor-zoom-out
{
cursor
:
zoom-out
;
}
\ No newline at end of file
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