From 67b9fbbe935fb47c3b3c7434a1be7b25e72d00fb Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期四, 27 一月 2022 17:55:28 +0800
Subject: [PATCH] 增加身份证校验
---
src/pages/systemSettings/index/App.vue | 35 ++++++++++++++++++-----------------
1 files changed, 18 insertions(+), 17 deletions(-)
diff --git a/src/pages/systemSettings/index/App.vue b/src/pages/systemSettings/index/App.vue
index 8a8d3e9..d2ecf07 100644
--- a/src/pages/systemSettings/index/App.vue
+++ b/src/pages/systemSettings/index/App.vue
@@ -8,16 +8,17 @@
import BasicSetting from "../components/BasicSetting";
export default {
- name: 'settings',
+ name: "settings",
components: {
- BasicSetting
+ BasicSetting,
},
data() {
return {
activeName: "basic",
buttonAuthority: sessionStorage.getItem("buttonAuthoritys") || [],
- loginName: JSON.parse(sessionStorage.getItem("userInfo")).username || "鐢ㄦ埛鍚�"
- }
+ loginName:
+ JSON.parse(sessionStorage.getItem("userInfo")).username || "鐢ㄦ埛鍚�",
+ };
},
computed: {
isAdmin() {
@@ -29,7 +30,7 @@
return loginName === "superadmin" || loginName === "basic";
}
return false;
- }
+ },
},
methods: {
isShow(authority) {
@@ -43,18 +44,18 @@
},
},
created() {
- if (this.isShow('videoSystem:base')) {
- this.activeName = "basic"
- } else if (this.isShow('videoSystem:permission')) {
- this.activeName = "user"
- } else if (this.isShow('videoSystem:broadcast')) {
- this.activeName = "radio"
- } else if (this.isShow('videoSystem:eventPush')) {
- this.activeName = "event"
- } else if (this.isShow('videoSystem:logManage')) {
- this.activeName = "log"
- } else if (this.isShow('videoSystem:sysManage')) {
- this.activeName = "system"
+ if (this.isShow("videoSystem:base")) {
+ this.activeName = "basic";
+ } else if (this.isShow("videoSystem:permission")) {
+ this.activeName = "user";
+ } else if (this.isShow("videoSystem:broadcast")) {
+ this.activeName = "radio";
+ } else if (this.isShow("videoSystem:eventPush")) {
+ this.activeName = "event";
+ } else if (this.isShow("videoSystem:logManage")) {
+ this.activeName = "log";
+ } else if (this.isShow("videoSystem:sysManage")) {
+ this.activeName = "system";
}
},
};
--
Gitblit v1.8.0