d8d01b45 by 任超

style:字典修改

1 parent 580eb1db
...@@ -2,13 +2,12 @@ ...@@ -2,13 +2,12 @@
2 <div class="navbar-con"> 2 <div class="navbar-con">
3 <div class="navbar"> 3 <div class="navbar">
4 <div class="title"> 4 <div class="title">
5 {{ dicData["sysCode"] && dicData["sysCode"][0].DNAME }} 5 {{ logoName[0].DNAME }}
6 </div> 6 </div>
7 <div class="user"> 7 <div class="user">
8 欢迎进入系统 {{ userInfo.name }} 8 欢迎进入系统 {{ userInfo.name }}
9 <span @click="onCancel"> 9 <span @click="onCancel">
10 <svg-icon icon-class="close" class="closeStyle" />退出系统</span 10 <svg-icon icon-class="close" class="closeStyle" />退出系统</span>
11 >
12 </div> 11 </div>
13 <div class="sidebarLeft"> 12 <div class="sidebarLeft">
14 <sidebarLeft /> 13 <sidebarLeft />
...@@ -17,7 +16,7 @@ ...@@ -17,7 +16,7 @@
17 <sidebarRight /> 16 <sidebarRight />
18 </div> 17 </div>
19 </div> 18 </div>
20 </div> 19 </div>
21 </template> 20 </template>
22 <script> 21 <script>
23 import sidebarLeft from "./Sidebar/sidebarLeft"; 22 import sidebarLeft from "./Sidebar/sidebarLeft";
...@@ -31,9 +30,14 @@ export default { ...@@ -31,9 +30,14 @@ export default {
31 }, 30 },
32 computed: { 31 computed: {
33 ...mapGetters(["sidebar", "dicData", "userInfo"]), 32 ...mapGetters(["sidebar", "dicData", "userInfo"]),
33 logoName: function () {
34 return this.dicData['sysCode'] && this.dicData['sysCode'].filter(item =>
35 item.DCODE == "systemTitle"
36 )
37 }
34 }, 38 },
35 methods: { 39 methods: {
36 onCancel() { 40 onCancel () {
37 logout() 41 logout()
38 .then((res) => { 42 .then((res) => {
39 sessionStorage.removeItem("token"); 43 sessionStorage.removeItem("token");
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 <div class="editDialogBox-box "> 5 <div class="editDialogBox-box ">
6 <el-form :model="ruleForm" ref="ruleForm" label-width="100px"> 6 <el-form :model="ruleForm" ref="ruleForm" label-width="100px">
7 <el-row :gutter="20"> 7 <el-row :gutter="20">
8 <el-col :span="4"> 8 <el-col :span="5">
9 <el-form-item label="字典类型编码"> 9 <el-form-item label="字典类型编码">
10 {{ ruleForm.DCODE }} 10 {{ ruleForm.DCODE }}
11 </el-form-item> 11 </el-form-item>
......