Commit 96e74a8e by xue_wengang

用户管理

parent fe1bd88e
......@@ -2683,7 +2683,7 @@
:default-sort="{ prop: 'date', order: 'descending' }"
@sort-change="sortChange"
@row-click="rowClick"
indent="20"
indent=20
>
<el-table-column
type="selection"
......
src/views/index/img/daohang.png

75.3 KB | W: | H:

src/views/index/img/daohang.png

75.6 KB | W: | H:

src/views/index/img/daohang.png
src/views/index/img/daohang.png
src/views/index/img/daohang.png
src/views/index/img/daohang.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -26,14 +26,22 @@
</div>
<div style="position: absolute; right: 40px; top: 35px; color: #9fbcda">
<span
style="padding-right: 20px; font-family: 'DIN'; font-size: 18px"
>{{ dateTime }}</span
@click="toIndex"
style="cursor: pointer; font-size: 15px; color: #e0d117"
>
<span style="padding-right: 20px; font-size: 18px">|</span>
<span @click="toIndex" style="cursor: pointer; font-size: 15px">
<i style="padding-right: 10px" class="el-icon-s-home"></i>
<span style="font-size: 16px">系统首页</span>
<span style="font-size: 17px; padding-right: 20px">系统首页</span>
</span>
<span style="padding-right: 20px; font-size: 18px">|</span>
<span style="font-family: 'DIN'; font-size: 18px">{{
dateTime
}}</span>
<i
style="padding-left: 10px; font-size: 25px"
class="el-icon-switch-button"
title="注销"
@click="loginOut"
></i>
</div>
</div>
<div v-if="istabShow == 1" class="daping_box_content">
......@@ -1181,6 +1189,12 @@ export default {
},
},
methods: {
loginOut() {
sessionStorage.setItem("token", "");
sessionStorage.setItem("userInfo", "");
this.$store.commit("user/SET_ROLES", []);
window.location.href = 'http://zhyy.xzxt.an:8080/index'
},
/* 电诈start */
//电诈案件涉案金额
dxzpsajeInit() {
......@@ -4124,9 +4138,10 @@ export default {
*/
toIndex() {
let Base64 = require("js-base64").Base64;
let path = `http://zhyy.xzxt.an:8080/toGzzmYanshou?jumpDa=${Base64.encode(
JSON.parse(window.sessionStorage.getItem("userInfo")).identitycard
)}`;
// let path = `http://zhyy.xzxt.an:8080/toGzzmYanshou?jumpDa=${Base64.encode(
// JSON.parse(window.sessionStorage.getItem("userInfo")).identitycard
// )}`;
let path = `http://zhyy.xzxt.an:8080/toHomePage`;
// toHomePageVue
//let path = `http://192.168.1.124:9090/toHomePage?jumpDa=${Base64.encode(JSON.parse(window.sessionStorage.getItem("userInfo")).identitycard)}`;
window.open(path, "_blank");
......@@ -5400,7 +5415,7 @@ export default {
bottom: 260px;
right: 13%;
}
.disClick{
.disClick {
cursor: not-allowed;
}
</style>
......
......@@ -222,9 +222,10 @@ export default {
editMenu() {
if (this.selectedId.length > 0) {
this.dialogVisible = true;
let arr = new Set([...this.parentArr])
this.selec = new Set(this.selectedId[0].menuListId.filter(x => !arr.has(x)));
console.log(difference);
let arr = new Set([...this.parentArr]);
this.selec = new Set(
this.selectedId[0].menuListId.filter((x) => !arr.has(x))
);
//this.selec = this.selectedId[0].menuListId;
} else {
this.$message.error("请选择角色");
......@@ -328,9 +329,14 @@ export default {
},
//全选
handleCheckAllChange(val) {
debugger;
if (this.checkAll) {
this.treeData.forEach((item) => {
if (item.hasChildren) {
this.handleChildren(item.children);
} else {
this.selectedTree.push(item.id);
}
});
this.$refs.tree.setCheckedNodes(this.treeData);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment