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
9350c916
Commit
9350c916
authored
Feb 21, 2022
by
wcmoon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 通证列表支持点击名称跳转到浏览器查询
parent
73d44a49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
PassListTable.vue
src/components/pass/PassListTable.vue
+11
-0
No files found.
src/components/pass/PassListTable.vue
View file @
9350c916
...
@@ -32,6 +32,10 @@
...
@@ -32,6 +32,10 @@
<svg-icon
class=
"icon-re"
icon-class=
"re"
@
click=
"reIssue(scope.row)"
/>
<svg-icon
class=
"icon-re"
icon-class=
"re"
@
click=
"reIssue(scope.row)"
/>
</div>
</div>
</div>
</div>
<span
class=
"pass-name"
@
click=
"toProve(scope.row)"
v-else-if=
"item.prop === 'name'"
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
<span
v-else
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
<span
v-else
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -63,6 +67,7 @@ import {debounce} from "../../utils/tool/debounce";
...
@@ -63,6 +67,7 @@ import {debounce} from "../../utils/tool/debounce";
import
CommonDialog
from
"@/components/CommonDialog.vue"
;
import
CommonDialog
from
"@/components/CommonDialog.vue"
;
import
TransferPass
from
"@/components/newProductList/TransferPass"
;
import
TransferPass
from
"@/components/newProductList/TransferPass"
;
import
{
GO_URLS
}
from
"../../config/URLS"
;
import
{
GO_URLS
}
from
"../../config/URLS"
;
import
store
from
"../../store"
;
export
default
{
export
default
{
name
:
"PassListTable"
,
name
:
"PassListTable"
,
...
@@ -121,6 +126,9 @@ export default {
...
@@ -121,6 +126,9 @@ export default {
TransferPass
TransferPass
},
},
methods
:
{
methods
:
{
toProve
(
item
)
{
window
.
open
(
`
${
store
.
getters
.
get_urlList
.
chain_browser_url
}
/trace_token?goods_id=
${
item
.
id
}
&evm_tx_hash=
${
item
.
tx_hash
}
`
);
},
reIssue
:
debounce
(
async
function
(
content
)
{
reIssue
:
debounce
(
async
function
(
content
)
{
const
res
=
await
this
.
$ajax
({
const
res
=
await
this
.
$ajax
({
type
:
"post"
,
type
:
"post"
,
...
@@ -157,6 +165,9 @@ export default {
...
@@ -157,6 +165,9 @@ export default {
margin-left: 40px;
margin-left: 40px;
}
}
}
}
.pass-name {
cursor: pointer;
}
.column-status {
.column-status {
width: 70px;
width: 70px;
height: 25px;
height: 25px;
...
...
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