Commit ab832d42 by 前端

菜单修改

1 parent 43f1e5ae
<template> <template>
<div class="role-home-page"> <div class="role-home-page">
<div class="add-btn"> <div class="add-btn">
<!-- <GLButton :size="size" fn="创建角色" icon="el-icon-plus" type="primary" @click="toCreatePage" mode="el-button">创建角色</GLButton> --> <GLButton :size="size" fn="新增活动记录" type="primary" @click="toCreatePage(1)" mode="el-button">新增活动记录</GLButton>
<el-button size="small" icon="el-icon-plus" type="primary" @click="toCreatePage(1)">新增活动记录</el-button> <!-- <el-button size="small" icon="el-icon-plus" type="primary" @click="toCreatePage(1)">新增活动记录</el-button> -->
</div> </div>
<div class="table_widget"> <div class="table_widget">
<div> <div>
...@@ -23,10 +23,10 @@ ...@@ -23,10 +23,10 @@
{{ recordStatus[scope.scope.status] }} {{ recordStatus[scope.scope.status] }}
</div> </div>
<template slot="auth-button" slot-scope="scope" :data="scope.scope"> <template slot="auth-button" slot-scope="scope" :data="scope.scope">
<!-- <GLTableButton :buttonList="buttonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton> --> <GLTableButton :buttonList="buttonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<el-button type="text" @click="toLookPage(scope.scope)">查看</el-button> <!-- <el-button type="text" @click="toLookPage(scope.scope)">查看</el-button>
<el-button type="text" @click="toCreatePage(2, scope.scope)">编辑</el-button> <el-button type="text" @click="toCreatePage(2, scope.scope)">编辑</el-button>
<el-button type="text" @click="todelete(scope.scope)">删除</el-button> <el-button type="text" @click="todelete(scope.scope)">删除</el-button> -->
</template> </template>
</GLTable> </GLTable>
</div> </div>
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
} }
}, },
{ {
type: 'el-button', type: 'GLButton',
name: '删除', name: '删除',
attrs: { attrs: {
type: 'text', type: 'text',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!