Commit ea7b7598 by 胡悦

修改样式

1 parent 74c3c37e
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
:min-width="item.minWidth" :min-width="item.minWidth"
:align="item.align||'center'" :align="item.align||'center'"
:sortable="item.sortable" :sortable="item.sortable"
:show-overflow-tooltip="true"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<slot <slot
......
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
.search-form { .search-form {
padding: 20px 20px 0; padding: 18px 18px 0;
.el-form-item { .el-form-item {
display: inline-block; display: inline-block;
......
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
} }
.system-container { .system-container {
padding: 0 0 0 10px; // padding: 0 0 0 10px;
margin: 20px 24px; // margin: 20px 24px;
background-color: #ffffff; background-color: #ffffff;
overflow: hidden; overflow: hidden;
...@@ -36,6 +36,10 @@ ...@@ -36,6 +36,10 @@
width: 200px; width: 200px;
overflow-x: auto; overflow-x: auto;
.el-tree {
font-size: 14px;
}
.user-tree-top { .user-tree-top {
height: 30px; height: 30px;
} }
...@@ -51,7 +55,7 @@ ...@@ -51,7 +55,7 @@
// float: left; // float: left;
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
width: calc(100% - 260px); width: calc(100% - 200px);
} }
} }
......
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
} }
], ],
tableOption: { tableOption: {
width: 200, width: 140,
btnList: [ btnList: [
{ {
name: '编辑', name: '编辑',
......
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
} }
], ],
tableOption: { tableOption: {
width: 250, width: 150,
btnList: [ btnList: [
{ {
name: '列表', name: '列表',
......
...@@ -170,7 +170,7 @@ export default { ...@@ -170,7 +170,7 @@ export default {
}, { }, {
label: '登录名称', label: '登录名称',
prop: 'account', prop: 'account',
width: 120 width: 150
}, { }, {
label: '用户名称', label: '用户名称',
prop: 'username', prop: 'username',
...@@ -194,6 +194,7 @@ export default { ...@@ -194,6 +194,7 @@ export default {
} }
], ],
tableOption: { tableOption: {
width: 100,
btnList: [ btnList: [
{ {
name: '编辑', name: '编辑',
...@@ -303,6 +304,7 @@ export default { ...@@ -303,6 +304,7 @@ export default {
if (params.id) api = editUser if (params.id) api = editUser
api(params).then(res => { api(params).then(res => {
if (res.code == '200') { if (res.code == '200') {
this.getTreeOrg()
this.$refs.userTable.refreshTable() this.$refs.userTable.refreshTable()
this.handleClose() this.handleClose()
this.$message({ this.$message({
......
...@@ -70,7 +70,8 @@ export default { ...@@ -70,7 +70,8 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '日志编号', label: '日志编号',
prop: 'id' prop: 'id',
width: 200
}, { }, {
label: '系统菜单', label: '系统菜单',
prop: 'module' prop: 'module'
...@@ -92,7 +93,8 @@ export default { ...@@ -92,7 +93,8 @@ export default {
// addHtml: 'status' // addHtml: 'status'
}, { }, {
label: '创建时间', label: '创建时间',
prop: 'createdDate' prop: 'createdDate',
width: 150
} }
] ]
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!