切换导航条
此项目
正在载入...
登录
朱兆平
/
vue_cli
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
小范
about a year ago
提交
6e0cf321b8d89bb93f947e999db24b6de4696be3
1 个父辈
c3063d52
界面优化
显示空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
14 行增加
和
14 行删除
src/views/nav1/perm.vue
src/views/nav1/role.vue
src/views/nav1/perm.vue
查看文件 @
6e0cf32
...
...
@@ -21,7 +21,7 @@
<!--列表-->
<el-table :data="tableList" highlight-current-row v-loading="listLoading" @selection-change="selsChange"
tooltip-effect="dark"
style="border-radius: 10px 10px 0px 0px;line-height: 25px
;
"
style="border-radius: 10px 10px 0px 0px;line-height: 25px"
height="600px"
:header-cell-style="{background:'#6F8294',color:'#FFFFFF'}" size="small"
row-key="permissionId"
...
...
@@ -45,10 +45,10 @@
</el-table-column>
<el-table-column prop="permissionOrder" label="排序" width="100" sortable>
</el-table-column>
<el-table-column label="操作"
min-width="15
0" fixed="right">
<el-table-column label="操作"
align="center" width="23
0" fixed="right">
<template slot-scope="scope">
<el-button size="mini" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
<el-button type="success" @click="handleEdit(scope.$index, scope.row)">白名单</el-button>
<el-button type="success" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
<el-button type="warning" @click="handleEdit(scope.$index, scope.row)">白名单</el-button>
<el-button type="danger" @click="handleDel(scope.$index, scope.row)">删除</el-button>
</template>
</el-table-column>
...
...
src/views/nav1/role.vue
查看文件 @
6e0cf32
...
...
@@ -53,7 +53,7 @@
row-key="roleId"
border
tooltip-effect="dark"
style="border-radius: 10px 10px 0px 0px;line-height: 25px
;min-height: 500px
"
style="border-radius: 10px 10px 0px 0px;line-height: 25px"
:header-cell-style="{background:'#6F8294',color:'#FFFFFF'}" size="small"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}">
<el-table-column type="selection" width="55">
...
...
@@ -62,28 +62,28 @@
<!--</el-table-column>-->
<el-table-column prop="roleId" label="ID" width="120">
</el-table-column>
<el-table-column prop="roleName" label="岗位/角色名称" min-width="
20
0" sortable>
<el-table-column prop="roleName" label="岗位/角色名称" min-width="
13
0" sortable>
</el-table-column>
<!--<el-table-column prop="departmentName" label="部门名称" min-width="200" sortable>-->
<!--</el-table-column>-->
<el-table-column prop="description" label="描述" min-width="
16
0" >
<el-table-column prop="description" label="描述" min-width="
8
0" >
</el-table-column>
<el-table-column prop="type" label="类型" min-width="80" sortable>
</el-table-column>
<el-table-column prop="businessLicense" label="工商代码" min-width="
1
80" >
<el-table-column prop="businessLicense" label="工商代码" min-width="80" >
</el-table-column>
<el-table-column prop="orgtype" label="业务类型" min-width="
15
0" :formatter="formatState">
<el-table-column prop="orgtype" label="业务类型" min-width="
8
0" :formatter="formatState">
</el-table-column>
<el-table-column prop="departmentid" label="简码" min-width="
15
0" >
<el-table-column prop="departmentid" label="简码" min-width="
8
0" >
</el-table-column>
<el-table-column label="操作"
min-width="26
0" fixed="right">
<el-table-column label="操作"
align="center" width="20
0" fixed="right">
<template slot-scope="scope">
<el-row>
<el-button type="success" @click="handleAdd(scope.$index, scope.row)">新增下级</el-button>
<el-button @click="setPerm(scope.$index, scope.row)">设置权限</el-button>
<el-button type="warning" @click="handleAdd(scope.$index, scope.row)">新增下级</el-button>
<el-button type="info" @click="setPerm(scope.$index, scope.row)">设置权限</el-button>
</el-row>
<el-row>
<el-button @click="handleEdit(scope.$index, scope.row)">编  辑</el-button>
<el-button
type="success"
@click="handleEdit(scope.$index, scope.row)">编  辑</el-button>
<el-button type="danger" @click="handleDel(scope.$index, scope.row)">删  除</el-button>
</el-row>
</template>
...
...
请
注册
或
登录
后发表评论