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
90547f5f
Commit
90547f5f
authored
Jul 23, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(gunRule): 删除名单
parent
6689e89a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
1 deletion
+32
-1
gunRule.jsp
src/main/webapp/WEB-INF/views/cmpt/gunRule.jsp
+32
-1
No files found.
src/main/webapp/WEB-INF/views/cmpt/gunRule.jsp
View file @
90547f5f
...
@@ -486,6 +486,7 @@
...
@@ -486,6 +486,7 @@
const
DELETE_RULE
=
ECC_BASE_URL
+
"/api-pick/v1/delete-rule?"
const
DELETE_RULE
=
ECC_BASE_URL
+
"/api-pick/v1/delete-rule?"
const
DELETE_WAVE_RULE
=
ECC_BASE_URL
+
"/api-pick/v1/delete-wave-reserve?"
const
DELETE_WAVE_RULE
=
ECC_BASE_URL
+
"/api-pick/v1/delete-wave-reserve?"
const
IMPORT_MARK_ENROLL
=
ECC_BASE_URL
+
"/api-pick/v1/import-mark-enroll"
const
IMPORT_MARK_ENROLL
=
ECC_BASE_URL
+
"/api-pick/v1/import-mark-enroll"
const
DELETE_ENROLL
=
ECC_BASE_URL
+
"/api-pick/v1/delete-enroll"
// 导出名单
// 导出名单
const
EXPORT_ENROLL
=
ECC_BASE_URL
+
"/api-pick/v1/export-markno-enroll"
const
EXPORT_ENROLL
=
ECC_BASE_URL
+
"/api-pick/v1/export-markno-enroll"
// 下载导入名单
// 下载导入名单
...
@@ -660,7 +661,7 @@
...
@@ -660,7 +661,7 @@
{
{
title
:
'操作'
,
title
:
'操作'
,
key
:
'action'
,
key
:
'action'
,
width
:
9
0
,
width
:
15
0
,
align
:
'center'
,
align
:
'center'
,
render
:
(
row
)
=>
{
render
:
(
row
)
=>
{
// 两个按钮,一个 编辑 一个 删除
// 两个按钮,一个 编辑 一个 删除
...
@@ -675,7 +676,37 @@
...
@@ -675,7 +676,37 @@
showPlayerModal
.
value
=
true
showPlayerModal
.
value
=
true
}
}
},
'编辑'
),
},
'编辑'
),
h
(
NButton
,
{
type
:
'error'
,
size
:
'small'
,
onClick
:
async
()
=>
{
const
confirm
=
window
.
confirm
(
'确定删除吗?'
)
if
(
!
confirm
)
{
return
}
if
(
!
confirm
)
return
loading
.
value
=
true
const
[
err
,
data
]
=
await
to
(
fetch
(
DELETE_ENROLL
+
'?id='
+
row
.
id
,
{
method
:
'POST'
,
headers
:
{
'Content-Type'
:
'application/json'
,
},
}).
then
(
res
=>
res
.
json
()))
loading
.
value
=
false
if
(
err
)
{
message
.
error
(
err
.
message
)
return
}
if
(
data
.
code
===
200
)
{
message
.
success
(
'删除成功'
)
getPlayers
()
}
else
{
message
.
error
(
data
.
msg
)
}
}
},
'删除'
),
])
])
}
}
},
},
]
]
...
...
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