Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
06c4f20d
Commit
06c4f20d
authored
Aug 07, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加点击事件
parent
5e6c4ba4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/components/table/table-um.vue
src/components/table/table-um.vue
+4
-0
src/pages/workbench/component-center/process-management/designer/detail.vue
...h/component-center/process-management/designer/detail.vue
+3
-0
No files found.
src/components/table/table-um.vue
View file @
06c4f20d
...
@@ -200,6 +200,7 @@
...
@@ -200,6 +200,7 @@
{{
scope
.
row
[
item
.
prop
]
}}
{{
scope
.
row
[
item
.
prop
]
}}
</span>
</span>
<!-- others -->
<!-- others -->
<span
v-else-if=
"item.type === 'click'"
style=
"cursor: pointer;"
@
click=
"gotopage(item.url,scope.row[item.prop][item.id])"
>
{{
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>
...
@@ -458,6 +459,9 @@ export default {
...
@@ -458,6 +459,9 @@ export default {
}
}
});
});
},
},
gotopage
(
url
,
id
){
this
.
$router
.
push
(
`/fwgl/0/0/servicedetail/
${
id
}
`
)
},
//本地删除
//本地删除
deleteLocal
(
val
)
{
deleteLocal
(
val
)
{
this
.
selectedTabsPage
.
splice
(
val
.
$index
,
1
);
this
.
selectedTabsPage
.
splice
(
val
.
$index
,
1
);
...
...
src/pages/workbench/component-center/process-management/designer/detail.vue
View file @
06c4f20d
...
@@ -95,6 +95,9 @@ export default {
...
@@ -95,6 +95,9 @@ export default {
prop
:
'
fwmc
'
,
prop
:
'
fwmc
'
,
label
:
'
服务名称
'
,
label
:
'
服务名称
'
,
align
:
'
left
'
,
align
:
'
left
'
,
type
:
'
click
'
,
url
:
'
/
'
,
id
:
'
id
'
,
},
},
{
{
prop
:
'
time
'
,
prop
:
'
time
'
,
...
...
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