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
e515b59c
Commit
e515b59c
authored
Jun 04, 2020
by
张俊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of cloud.wodcloud.com:apaas/apaas-v3-ui into dev
parents
f4edde82
f3fbbb84
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
466 additions
and
106 deletions
+466
-106
src/assets/css/index.css
src/assets/css/index.css
+1
-1
src/components/apass-table.vue
src/components/apass-table.vue
+16
-3
src/components/table-filter.vue
src/components/table-filter.vue
+1
-1
src/pages/workbench/fwgl/fwglList.vue
src/pages/workbench/fwgl/fwglList.vue
+445
-98
src/store/index.js
src/store/index.js
+3
-3
No files found.
src/assets/css/index.css
View file @
e515b59c
...
@@ -575,7 +575,7 @@ width: 620px!important;
...
@@ -575,7 +575,7 @@ width: 620px!important;
color
:
#830f53
;
color
:
#830f53
;
}
}
.apass_table
.row_action
.btn.disabled
{
.apass_table
.row_action
.btn.disabled
{
color
:
#
dde4ff
;
color
:
#
999
;
cursor
:
not-allowed
;
cursor
:
not-allowed
;
}
}
.apass_table
.row_action
.interval_line
{
.apass_table
.row_action
.interval_line
{
...
...
src/components/apass-table.vue
View file @
e515b59c
...
@@ -12,12 +12,20 @@
...
@@ -12,12 +12,20 @@
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
v-if=
"item.type === 'buttons'"
class=
"row_action"
>
<div
v-if=
"item.type === 'buttons'"
class=
"row_action"
>
<template
v-for=
"(v, i) in item.actionList"
>
<template
v-for=
"(v, i) in item.actionList"
>
<span
v-if=
"v.disabledRule && v.disabledRule(scope.row)"
class=
"btn disabled"
:key=
"'btn_' + index + '_' + i"
v-text=
"v.label"
>
</span>
<a
<a
v-else
class=
"btn"
class=
"btn"
:class=
"
{ warn: v.label === '删除' }
"
:class=
"
v.class || ''
"
:key=
"'btn_' + index + '_' + i"
:key=
"'btn_' + index + '_' + i"
@
click=
"v.callback && v.callback(scope.row)"
@
click=
"v.callback && v.callback(scope.row)"
v-text="v.label"
v-text=
"v.
getLabel ? v.getLabel(scope.row) : v.
label"
>
>
</a>
</a>
<span
<span
...
@@ -35,7 +43,12 @@
...
@@ -35,7 +43,12 @@
@
click=
"item.callback && item.callback(scope.row)"
@
click=
"item.callback && item.callback(scope.row)"
></a>
></a>
</div>
</div>
<span
v-else
v-text=
"scope.row[item.prop]"
></span>
<span
v-else
v-text=
"
item.getText ? item.getText(scope.row) : scope.row[item.prop]
"
></span>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/components/table-filter.vue
View file @
e515b59c
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<a
<a
:class=
"
{ current: isCurrentFilter(item.prop, v) }"
:class=
"
{ current: isCurrentFilter(item.prop, v) }"
@click.prevent="selectFilter(item.prop, v)"
@click.prevent="selectFilter(item.prop, v)"
v-text="v"
v-text="v
.name
"
>
</a>
>
</a>
</li>
</li>
...
...
src/pages/workbench/fwgl/fwglList.vue
View file @
e515b59c
This diff is collapsed.
Click to expand it.
src/store/index.js
View file @
e515b59c
...
@@ -7,9 +7,9 @@ const store = new Vuex.Store({
...
@@ -7,9 +7,9 @@ const store = new Vuex.Store({
role
:
2
,
// 0:普通用户,1:组织管理员,2:超级管理员
role
:
2
,
// 0:普通用户,1:组织管理员,2:超级管理员
serviceShopMenu
:
"
/shop/data_service_list
"
,
// 服务超市侧边栏
serviceShopMenu
:
"
/shop/data_service_list
"
,
// 服务超市侧边栏
fwglNav
:
[
fwglNav
:
[
[
"
注册发布的服务
"
,
"
申请的服务
"
,
"
云资源服务
"
],
// 普通用户
[
"
注册发布的服务
"
,
"
申请的服务
"
/* , "云资源服务" */
],
// 普通用户
[
"
组织服务管理
"
,
"
服务审批管理
"
,
"
云资源管理
"
],
// 组织管理员
[
"
组织服务管理
"
,
"
服务审批管理
"
/* , "云资源管理" */
],
// 组织管理员
[
"
平台服务管理
"
,
"
服务审批管理
"
,
"
云资源管理
"
],
// 超级管理员
[
"
平台服务管理
"
,
"
服务审批管理
"
/* , "云资源管理" */
],
// 超级管理员
],
// 服务管理列表,onlyRead
],
// 服务管理列表,onlyRead
yyglNav
:
[
yyglNav
:
[
[
"
应用仓库
"
,
"
我部署的应用
"
,
"
申请的应用
"
,
"
审批的应用
"
],
// 普通用户
[
"
应用仓库
"
,
"
我部署的应用
"
,
"
申请的应用
"
,
"
审批的应用
"
],
// 普通用户
...
...
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