Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mining-manager
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
Mining
mining-manager
Commits
d340f0a6
Commit
d340f0a6
authored
Apr 25, 2022
by
louyuqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
40e9001f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
ruleSet.vue
src/views/data/ruleSet.vue
+9
-3
No files found.
src/views/data/ruleSet.vue
View file @
d340f0a6
...
...
@@ -25,7 +25,7 @@
</el-table-column>
<el-table-column
label=
"管理"
#
default=
"scope"
>
<el-button
type=
"text"
@
click=
"deleteData(scope.row.id)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"deleteData(scope.row.id
,scope.row.addr
)"
>
删除
</el-button>
</el-table-column>
</el-table>
</div>
...
...
@@ -36,7 +36,7 @@
v-model:current-page=
"params.page"
background
layout=
"prev, pager, next"
:total=
"
params
.count"
></el-pagination>
:total=
"
data
.count"
></el-pagination>
</div>
</div>
</
template
>
...
...
@@ -97,11 +97,17 @@ const getData=()=>{
data
.
count
=+
res
.
data
.
count
})
}
const
deleteData
=
(
id
:
string
)
=>
{
const
deleteData
=
(
id
:
string
,
address
:
string
)
=>
{
ElMessageBox
.
confirm
(
`确认删除
${
address
}
的记录?`
,
'提示'
,{
confirmButtonText
:
'确认'
,
cancelButtonText
:
"取消"
}).
then
(
res
=>
{
delWithdraw
({
id
}).
then
(
res
=>
{
ElMessage
.
success
(
'删除成功'
)
getData
();
})
})
}
const
addRule
=
()
=>
{
ElMessageBox
.
prompt
(
'请输入地址'
,
'提示'
,
{
...
...
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