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
91debcea
Commit
91debcea
authored
Jul 22, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(gunRule): 发枪预约完善
parent
c7f83cba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
3 deletions
+26
-3
gunRule.jsp
src/main/webapp/WEB-INF/views/cmpt/gunRule.jsp
+26
-3
No files found.
src/main/webapp/WEB-INF/views/cmpt/gunRule.jsp
View file @
91debcea
...
@@ -415,6 +415,7 @@
...
@@ -415,6 +415,7 @@
const
RULE_LIST
=
ECC_BASE_URL
+
"/api-pick/v1/wave-reserve-list?"
const
RULE_LIST
=
ECC_BASE_URL
+
"/api-pick/v1/wave-reserve-list?"
const
ENROLL_PAGE
=
ECC_BASE_URL
+
"/api-pick/v1/enroll-page?"
const
ENROLL_PAGE
=
ECC_BASE_URL
+
"/api-pick/v1/enroll-page?"
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
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
DOWNLOAD_IMPORT_LIST
=
"https://geexekimgoss-sxk.oss-cn-hangzhou.aliyuncs.com/gk/common/markNoSelect/%E9%80%89%E5%8F%B7%E5%90%8D%E5%8D%95%E8%A1%A8%E6%A8%A1%E7%89%88v1.xlsx"
const
DOWNLOAD_IMPORT_LIST
=
"https://geexekimgoss-sxk.oss-cn-hangzhou.aliyuncs.com/gk/common/markNoSelect/%E9%80%89%E5%8F%B7%E5%90%8D%E5%8D%95%E8%A1%A8%E6%A8%A1%E7%89%88v1.xlsx"
...
@@ -856,14 +857,36 @@
...
@@ -856,14 +857,36 @@
return
h
(
NButton
,
{
return
h
(
NButton
,
{
type
:
'error'
,
type
:
'error'
,
size
:
'small'
,
size
:
'small'
,
onClick
:
()
=>
{
onClick
:
async
()
=>
{
gunRuleValue
.
value
.
details
.
splice
(
index
,
1
)
if
(
row
.
reserveId
)
{
// 删除规则
loading
.
value
=
true
const
messageReactive
=
message
.
loading
(
'删除中...'
,
{
duration
:
0
})
// 发起请求
const
[
err
,
data
]
=
await
to
(
fetch
(
DELETE_WAVE_RULE
+
'reserveId='
+
row
.
reserveId
,
{
method
:
'POST'
,
headers
:
{
'Content-Type'
:
'application/json'
},
}).
then
(
res
=>
res
.
json
()))
loading
.
value
=
false
messageReactive
.
destroy
()
if
(
data
.
code
===
200
)
{
message
.
success
(
'操作成功'
)
gunRuleValue
.
value
.
details
.
splice
(
index
,
1
)
}
else
{
message
.
error
(
data
.
message
)
}
}
else
{
gunRuleValue
.
value
.
details
.
splice
(
index
,
1
)
}
}
}
},
'删除'
)
},
'删除'
)
}
}
}
}
]
]
// 新增枪次
// 新增枪次
const
addWave
=
()
=>
{
const
addWave
=
()
=>
{
let
index
=
gunRuleValue
.
value
.
details
.
length
let
index
=
gunRuleValue
.
value
.
details
.
length
...
...
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