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
3765abd6
Commit
3765abd6
authored
Sep 20, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(upload): 选号规则导入处理
parent
fc76859c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
index.jsp
src/main/webapp/WEB-INF/views/cmpt/index.jsp
+1
-1
markNoSelect.jsp
src/main/webapp/WEB-INF/views/cmpt/markNoSelect.jsp
+4
-2
No files found.
src/main/webapp/WEB-INF/views/cmpt/index.jsp
View file @
3765abd6
...
@@ -303,7 +303,7 @@
...
@@ -303,7 +303,7 @@
<h2
class=
"h3"
>
赛事详情样式
</h2>
<h2
class=
"h3"
>
赛事详情样式
</h2>
</div>
</div>
<div
class=
"card-body"
<div
class=
"card-body"
style=
"display: flex;flex-di
splay:
row;align-items: center"
style=
"display: flex;flex-di
rection:
row;align-items: center"
id=
"style-select"
>
id=
"style-select"
>
<img
data-style=
"1"
<img
data-style=
"1"
class=
"${(cmpt.detailStyle==1||cmpt.detailStyle==null)?'active-style':''}"
class=
"${(cmpt.detailStyle==1||cmpt.detailStyle==null)?'active-style':''}"
...
...
src/main/webapp/WEB-INF/views/cmpt/markNoSelect.jsp
View file @
3765abd6
...
@@ -137,6 +137,7 @@
...
@@ -137,6 +137,7 @@
<
/n-upload
>
<
/n-upload
>
<
n
-
upload
<
n
-
upload
:
max
=
"1"
:
max
=
"1"
:
data
=
"false"
@
change
=
"onChange($event,MARK_NO)"
@
change
=
"onChange($event,MARK_NO)"
v
-
model
:
file
-
list
=
"fileList"
v
-
model
:
file
-
list
=
"fileList"
accept
=
".xlsx,.xls"
accept
=
".xlsx,.xls"
...
@@ -600,11 +601,12 @@
...
@@ -600,11 +601,12 @@
const
url
=
type
===
PLAYER
?
PLAYERS_EXPORT_URL
:
MARK_NO_EXPORT_URL
const
url
=
type
===
PLAYER
?
PLAYERS_EXPORT_URL
:
MARK_NO_EXPORT_URL
window
.
location
.
href
=
url
window
.
location
.
href
=
url
}
}
// 文件上传成功
// 文件上传成功
const
onChange
=
async
(
file
,
type
)
=>
{
const
onChange
=
async
(
file
Event
,
type
)
=>
{
loading
.
value
=
true
loading
.
value
=
true
const
formData
=
new
FormData
();
const
formData
=
new
FormData
();
formData
.
append
(
'file'
,
file
.
file
);
formData
.
append
(
'file'
,
file
Event
.
file
.
file
);
formData
.
append
(
'cmptId'
,
getCId
());
formData
.
append
(
'cmptId'
,
getCId
());
const
url
=
type
===
PLAYER
?
PLAYERS_IMPORT_URL
:
MARK_NO_IMPORT_URL
const
url
=
type
===
PLAYER
?
PLAYERS_IMPORT_URL
:
MARK_NO_IMPORT_URL
const
[
err
,
res
]
=
await
to
(
fetch
(
url
,
{
const
[
err
,
res
]
=
await
to
(
fetch
(
url
,
{
...
...
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