From d583ee91ff627890ce0a2a1055dcdc394d2391e2 Mon Sep 17 00:00:00 2001 From: xuefei <564615061@qq.cm> Date: 星期四, 04 五月 2023 09:55:18 +0800 Subject: [PATCH] 登录密码验证base64加密 --- src/views/sys/user-manage/userManage.vue | 189 +++++++++++++++++++++++----------------------- 1 files changed, 95 insertions(+), 94 deletions(-) diff --git a/src/views/sys/user-manage/userManage.vue b/src/views/sys/user-manage/userManage.vue index ca4a755..d04ccc2 100644 --- a/src/views/sys/user-manage/userManage.vue +++ b/src/views/sys/user-manage/userManage.vue @@ -101,10 +101,10 @@ <DropdownItem name="reset">閲嶇疆鐢ㄦ埛瀵嗙爜</DropdownItem> <DropdownItem name="exportData">瀵煎嚭鎵�閫夋暟鎹�</DropdownItem> <DropdownItem name="exportAll">瀵煎嚭鍏ㄩ儴鏁版嵁</DropdownItem> - <DropdownItem name="importData">瀵煎叆鏁版嵁(浠樿垂)</DropdownItem> + <!--<DropdownItem name="importData">瀵煎叆鏁版嵁(浠樿垂)</DropdownItem>--> </DropdownMenu> </Dropdown> - <Button type="dashed" @click="openSearch = !openSearch">{{ + <Button typ e="dashed" @click="openSearch = !openSearch">{{ openSearch ? "鍏抽棴鎼滅储" : "寮�鍚悳绱�" }}</Button> <Button type="dashed" @click="openTip = !openTip">{{ @@ -255,6 +255,7 @@ import excel from "@/libs/excel"; import addEdit from "./addEdit.vue"; import dict from "@/views/my-components/xboot/dict"; +import {getSessionStore} from "../../../libs/storage"; export default { name: "user-manage", components: { @@ -367,18 +368,18 @@ minWidth: 125, sortable: true, }, - { - title: "閭", - key: "email", - minWidth: 180, - sortable: true, - }, - { - title: "鎬у埆", - key: "sex", - width: 70, - align: "center", - }, + // { + // title: "閭", + // key: "email", + // minWidth: 180, + // sortable: true, + // }, + // { + // title: "鎬у埆", + // key: "sex", + // width: 70, + // align: "center", + // }, { title: "绫诲瀷", key: "type", @@ -427,60 +428,60 @@ this.getDataList(); }, }, - { - title: "鐘舵��", - key: "status", - align: "center", - width: 100, - render: (h, params) => { - if (params.row.status == 0) { - return h("div", [ - h("Badge", { - props: { - status: "success", - text: "鍚敤", - }, - }), - ]); - } else if (params.row.status == -1) { - return h("div", [ - h("Badge", { - props: { - status: "error", - text: "绂佺敤", - }, - }), - ]); - } - }, - filters: [ - { - label: "鍚敤", - value: 0, - }, - { - label: "绂佺敤", - value: -1, - }, - ], - filterMultiple: false, - filterRemote: (e) => { - let v = ""; - if (e.length > 0) { - v = e[0]; - } - this.searchForm.status = v; - this.searchForm.pageNumber = 1; - this.getDataList(); - }, - }, - { - title: "鍒涘缓鏃堕棿", - key: "createTime", - sortable: true, - sortType: "desc", - width: 180, - }, + // { + // title: "鐘舵��", + // key: "status", + // align: "center", + // width: 100, + // render: (h, params) => { + // if (params.row.status == 0) { + // return h("div", [ + // h("Badge", { + // props: { + // status: "success", + // text: "鍚敤", + // }, + // }), + // ]); + // } else if (params.row.status == -1) { + // return h("div", [ + // h("Badge", { + // props: { + // status: "error", + // text: "绂佺敤", + // }, + // }), + // ]); + // } + // }, + // filters: [ + // { + // label: "鍚敤", + // value: 0, + // }, + // { + // label: "绂佺敤", + // value: -1, + // }, + // ], + // filterMultiple: false, + // filterRemote: (e) => { + // let v = ""; + // if (e.length > 0) { + // v = e[0]; + // } + // this.searchForm.status = v; + // this.searchForm.pageNumber = 1; + // this.getDataList(); + // }, + // }, + // { + // title: "鍒涘缓鏃堕棿", + // key: "createTime", + // sortable: true, + // sortType: "desc", + // width: 180, + // }, { title: "鎿嶄綔", key: "action", @@ -489,31 +490,31 @@ fixed: "right", render: (h, params) => { let enableOrDisable = ""; - if (params.row.status == 0) { - enableOrDisable = h( - "a", - { - on: { - click: () => { - this.disable(params.row); - }, - }, - }, - "绂佺敤" - ); - } else { - enableOrDisable = h( - "a", - { - on: { - click: () => { - this.enable(params.row); - }, - }, - }, - "鍚敤" - ); - } + // if (params.row.status == 0) { + // enableOrDisable = h( + // "a", + // { + // on: { + // click: () => { + // this.disable(params.row); + // }, + // }, + // }, + // "绂佺敤" + // ); + // } else { + // enableOrDisable = h( + // "a", + // { + // on: { + // click: () => { + // this.enable(params.row); + // }, + // }, + // }, + // "鍚敤" + // ); + // } return h("div", [ h( "a", @@ -939,4 +940,4 @@ this.init(); }, }; -</script> \ No newline at end of file +</script> -- Gitblit v1.9.1