Commit bff48e75 by 胡悦

修改样式

1 parent 7e2b8c21
......@@ -102,8 +102,8 @@ img {
}
.scrm-box-f {
background: #FFFFFF;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.10);
background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
}
.scrm-flex {
......@@ -139,7 +139,7 @@ img {
::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 4px;
background-color: rgba(144, 147, 153, .3);
background-color: rgba(144, 147, 153, 0.3);
}
.el-message--info {
......@@ -186,19 +186,19 @@ img {
}
.normal {
background-color: #2CCA74;
background-color: #2cca74;
}
.draft {
background-color: #FDB757;
background-color: #fdb757;
}
.dot1 {
background-color: #FDB757;
background-color: #fdb757;
}
.dot2 {
background-color: #2CCA74;
background-color: #2cca74;
}
.dot3 {
......@@ -206,14 +206,24 @@ img {
}
.dot4 {
background-color: #EB4E4E;
background-color: #eb4e4e;
}
.dot5 {
background-color: #FDB757;
background-color: #fdb757;
}
}
.m-r-md {
margin-right: 20px;
}
// 顶部按钮
.top_widget {
padding-bottom: 16px;
.el-button {
span {
margin-left: 10px;
}
}
}
<!-- 员工管理 -->
<template>
<div class="config-employee employee-list">
<div style="margin-bottom: 10px">
<GLButton @click="handleEdit(1)" :size="size" class="el-icon-plus" fn="创建员工" type="primary" mode="el-button">创建员工</GLButton>
<div class="top_widget">
<GLButton @click="handleEdit(1)" :size="size" icon="el-icon-plus" fn="创建员工" type="primary" mode="el-button">创建员工</GLButton>
<!-- <el-button :size="size" type="primary" class="el-icon-plus" >创建员工</el-button> -->
</div>
<div class="container">
......@@ -555,7 +555,8 @@ export default {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
})
.then(() => {
const list = selectArr.map(item => {
return {
staffId: item.id,
......@@ -566,23 +567,23 @@ export default {
list
}
this.$apis.employee.updateStatusBatch(param).then(res => {
if(res) {
if (res) {
this.$message.success('操作成功')
this.$refs.employeeRef.refreshTable(false)
} else {
this.$message.error('操作失败')
}
})
}).catch(() => {
})
.catch(() => {
console.log('点击了取消')
})
}
}
},
// 批量分配角色,确定按钮
handleAssign() {
this.$refs.roleForm.validate((valid) => {
this.$refs.roleForm.validate(valid => {
if (valid) {
const { roleId } = this.roleForm
let staffIds = this.$refs.employeeRef.mutiSelectArr[this.tableParams1.mutiSelectName]
......
<template>
<div class="role-home-page">
<div class="top_widget">
<GLButton size="small" fn="创建角色" icon="el-icon-plus" type="primary" @click="toCreatePage">创建角色</GLButton>
<GLButton :size="size" fn="创建角色" icon="el-icon-plus" type="primary" @click="toCreatePage" mode="el-button">创建角色</GLButton>
<!-- <el-button size="small" icon="el-icon-plus" type="primary" @click="toCreatePage">创建角色</el-button> -->
</div>
<div class="table_widget">
......@@ -318,13 +318,7 @@ export default {
flex-direction: column;
height: 100%;
}
.top_widget {
width: 100%;
display: flex;
align-items: center;
box-sizing: border-box;
padding: 0 20px 10px 0;
}
.table_widget {
width: 100%;
// height: calc(100% - 138px);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!