Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tracing
source-trace-manage-go
Commits
3c7495dc
Commit
3c7495dc
authored
Feb 21, 2022
by
wcmoon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 转账列表支持点击名称查询
parent
ba1e2a00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
TransferRecordList.vue
src/components/pass/TransferRecordList.vue
+11
-0
No files found.
src/components/pass/TransferRecordList.vue
View file @
3c7495dc
...
...
@@ -32,6 +32,10 @@
<svg-icon
class=
"icon-re"
icon-class=
"re"
@
click=
"reIssue(scope.row)"
/>
</div>
</div>
<span
class=
"pass-name"
@
click=
"toProve(scope.row)"
v-else-if=
"item.prop === 'pass_name'"
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
<span
v-else
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
</
template
>
</el-table-column>
...
...
@@ -46,6 +50,7 @@
<
script
>
import
{
debounce
}
from
"../../utils/tool/debounce"
;
import
{
GO_URLS
}
from
"../../config/URLS"
;
import
store
from
"../../store"
;
export
default
{
name
:
"TransferRecordList"
,
...
...
@@ -100,6 +105,9 @@ export default {
}
},
methods
:
{
toProve
(
item
)
{
window
.
open
(
`
${
store
.
getters
.
get_urlList
.
chain_browser_url
}
/trace_token?goods_id=
${
item
.
pass_id
}
&evm_tx_hash=
${
item
.
pass_hash
}
`
);
},
reIssue
:
debounce
(
async
function
(
content
)
{
const
res
=
await
this
.
$ajax
({
type
:
"post"
,
...
...
@@ -120,6 +128,9 @@ export default {
</
script
>
<
style
scoped
lang=
"less"
>
.pass-name {
cursor: pointer;
}
.status {
position: relative;
.icon-re {
...
...
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