|
|
@@ -37,12 +37,12 @@
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<div style="text-align: right; margin: 0">
|
|
|
- <el-button style="background-color: #00bc70;border:1px solid #00bc70;" type="primary" size="mini" @click="levelVisible = false">确定</el-button>
|
|
|
- <el-button size="mini" type="text" style="color: #00bc70;" @click="levelVisible = false">取消</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="levelVisible = false">确定</el-button>
|
|
|
+ <el-button size="mini" type="text" @click="levelVisible = false">取消</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <el-button slot="reference" size="small" type="primary" icon="fa fa-plus" style="background-color: #00bc70;border:1px solid #00bc70;"> 添加</el-button>
|
|
|
+ <el-button slot="reference" size="small" type="primary" icon="fa fa-plus" v-permission="'sys:agentLevel:add'"> 添加</el-button>
|
|
|
</el-popover>
|
|
|
</div>
|
|
|
|
|
|
@@ -82,12 +82,12 @@
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<div style="text-align: right; margin: 0">
|
|
|
- <el-button style="background-color: #00bc70;border:1px solid #00bc70;" type="primary" size="mini" @click="popoverEditHandleClose(positionTypeItem.id)">确定</el-button>
|
|
|
- <el-button size="mini" type="text" style="color: #00bc70;" @click="popoverEditHandleClose(positionTypeItem.id)">取消</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="popoverEditHandleClose(positionTypeItem.id)">确定</el-button>
|
|
|
+ <el-button size="mini" type="text" @click="popoverEditHandleClose(positionTypeItem.id)">取消</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <el-button slot="reference" type="text" style="color: #00bc70;margin-left: 20px;"> 编辑</el-button>
|
|
|
+ <el-button slot="reference" type="text" style="margin-left: 20px;display: inline-block;" v-permission="'sys:agentLevel:edit'" > 编辑</el-button>
|
|
|
</el-popover>
|
|
|
<el-popover
|
|
|
placement="bottom"
|
|
|
@@ -95,10 +95,10 @@
|
|
|
:ref="`popoverdelpositiontype-${positionTypeItem.id}`">
|
|
|
<p>确定删除当前职级类型及其全部职级信息?</p>
|
|
|
<div style="text-align: right; margin: 0">
|
|
|
- <el-button style="background-color: #00bc70;border:1px solid #00bc70;" type="primary" size="mini" @click="popoverDelHandleClose">确定</el-button>
|
|
|
- <el-button size="mini" type="text" style="color: #00bc70;" @click="popoverDelHandleClose">取消</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="popoverDelHandleClose">确定</el-button>
|
|
|
+ <el-button size="mini" type="text" @click="popoverDelHandleClose">取消</el-button>
|
|
|
</div>
|
|
|
- <el-button slot="reference" type="text" style="color: #00bc70;margin-left: 20px;"> 删除</el-button>
|
|
|
+ <el-button slot="reference" type="text" style="display: block;" v-permission="'sys:agentLevel:delete'"> 删除</el-button>
|
|
|
</el-popover>
|
|
|
</div>
|
|
|
<div class="edit-table-wrap" row-key="true">
|
|
|
@@ -108,13 +108,13 @@
|
|
|
<el-table-column prop="supervisorPositionId" label="上级职级"></el-table-column>
|
|
|
<el-table-column fixed="right" label="操作" width="220">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button @click="addDrawer = true" type="text" class="textFontColor" size="small">编辑</el-button>
|
|
|
- <el-button type="text" size="small" class="textFontColor">删除</el-button>
|
|
|
+ <el-button @click="addDrawer = true" type="text" size="small" >编辑</el-button>
|
|
|
+ <el-button type="text" size="small" >删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
- <el-button slot="reference" size="small" type="text" icon="fa fa-plus" @click="addAgentPosition(positionTypeIndex)" style="color: #00bc70;"> 添加</el-button>
|
|
|
+ <el-button slot="reference" size="small" type="text" icon="fa fa-plus" @click="addAgentPosition(positionTypeIndex)"> 添加</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -281,8 +281,6 @@
|
|
|
font-size: 16px;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
- .textFontColor{
|
|
|
- color:#00bc70!important;
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
</style>
|