Commit a645ed84 authored by 徐一鸣's avatar 徐一鸣

Merge branch 'xym' into dev

parents db9f9cfa fd2cc8ab
......@@ -575,7 +575,7 @@ width: 620px!important;
color: #830f53;
}
.apass_table .row_action .btn.disabled {
color: #dde4ff;
color: #999;
cursor: not-allowed;
}
.apass_table .row_action .interval_line {
......
......@@ -12,12 +12,20 @@
<template slot-scope="scope">
<div v-if="item.type === 'buttons'" class="row_action">
<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
v-else
class="btn"
:class="{ warn: v.label === '删除' }"
:class="v.class || ''"
:key="'btn_' + index + '_' + i"
@click="v.callback && v.callback(scope.row)"
v-text="v.label"
v-text="v.getLabel ? v.getLabel(scope.row) : v.label"
>
</a>
<span
......@@ -35,7 +43,12 @@
@click="item.callback && item.callback(scope.row)"
></a>
</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>
</el-table-column>
</el-table>
......
......@@ -21,7 +21,7 @@
<a
:class="{ current: isCurrentFilter(item.prop, v) }"
@click.prevent="selectFilter(item.prop, v)"
v-text="v"
v-text="v.name"
></a>
</li>
......
This diff is collapsed.
......@@ -7,9 +7,9 @@ const store = new Vuex.Store({
role: 2, // 0:普通用户,1:组织管理员,2:超级管理员
serviceShopMenu: "/shop/data_service_list", // 服务超市侧边栏
fwglNav: [
["注册发布的服务", "申请的服务", "云资源服务"], // 普通用户
["组织服务管理", "服务审批管理", "云资源管理"], // 组织管理员
["平台服务管理", "服务审批管理", "云资源管理"], // 超级管理员
["注册发布的服务", "申请的服务" /* , "云资源服务" */], // 普通用户
["组织服务管理", "服务审批管理" /* , "云资源管理" */], // 组织管理员
["平台服务管理", "服务审批管理" /* , "云资源管理" */], // 超级管理员
], // 服务管理列表,onlyRead
yyglNav: [
["应用仓库", "我部署的应用", "申请的应用", "审批的应用"], // 普通用户
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment