소스 검색

统一鉴权删除一些非必要的注释内容

Bella 2 년 전
부모
커밋
97e356165d
3개의 변경된 파일5개의 추가작업 그리고 90개의 파일을 삭제
  1. 4 9
      src/components/auth/authAction.vue
  2. 1 4
      src/components/auth/authRole.vue
  3. 0 77
      src/components/auth/authView.vue

+ 4 - 9
src/components/auth/authAction.vue

@@ -399,7 +399,6 @@ export default {
               });
             }
           });
-          // console.log(currentSystemObj, "当前选中的系统数据按楼层区分");
 
           this.addedSystemMap.set(currentKey, currentSystemObj);
         }
@@ -485,15 +484,12 @@ export default {
     // 打开新建权限行为组对话框
     createActionDialog() {
       this.visible.actionGroup = true;
-      console.log("添加角色权限组");
     },
     // 打开添加用户对话框
     createUserDialog() {
       this.visible.user = true;
-      console.log("添加用户事件");
     },
     addActionGroupEvent() {
-      console.log("保存新建的行为权限组");
       this.visible.actionGroup = false;
     },
     addUserEvent() {
@@ -514,7 +510,6 @@ export default {
     },
 
     onCheckAllChange(e) {
-      console.log(e);
       let currentDevice = [];
       if (this.deviceData.length > 0) {
         this.deviceData.forEach((v) => {
@@ -535,13 +530,13 @@ export default {
     cancelEvent() {
       this.checkedObj.groupChecked = "";
       this.checkedObj.systemChecked = "";
-      this.checkedDeviceList = []
-      this.addedSystemMap.clear()
-      this.addedSystemArr=[]
+      this.checkedDeviceList = [];
+      this.addedSystemMap.clear();
+      this.addedSystemArr = [];
     },
     confirmEvent() {
       this.$message.success("信息保存成功!");
-      this.cancelEvent()
+      this.cancelEvent();
     },
     deleteLabel(data) {
       this.treeValue = this.treeValue.filter((v) => {

+ 1 - 4
src/components/auth/authRole.vue

@@ -370,15 +370,12 @@ export default {
     // 打开新建角色权限组对话框
     createRoleDialog() {
       this.visible.roleGroup = true;
-      console.log("添加角色权限组");
     },
     // 打开添加用户对话框
     createUserDialog() {
       this.visible.user = true;
-      console.log("添加用户事件");
     },
     addRoleGroupEvent() {
-      console.log("保存新建的角色权限组");
       this.visible.roleGroup = false;
     },
     addUserEvent() {
@@ -396,7 +393,7 @@ export default {
     },
     confirmEvent() {
       this.$message.success("信息保存成功!");
-      this.cancelEvent()
+      this.cancelEvent();
     },
     deleteLabel(data) {
       this.treeValue = this.treeValue.filter((v) => {

+ 0 - 77
src/components/auth/authView.vue

@@ -226,7 +226,6 @@ export default {
   methods: {
     requireImg,
     viewPeopleEvent(data) {
-      console.log(data, "查看成员的数据");
       this.peopleTableData = [];
       if (data.length > 0) {
         this.visible.viewPeopleInfo = true;
@@ -247,7 +246,6 @@ export default {
       }
     },
     displaySystemInfo(data) {
-      console.log(data, "需要显示的数据");
       this.systemTableData = [];
       if (data.length > 0) {
         this.visible.viewSystemInfo = true;
@@ -398,7 +396,6 @@ export default {
     .section {
       width: 100%;
       height: 300px;
-      // background: burlywood;
       margin-bottom: 10px;
       &-top {
         width: 100%;
@@ -465,8 +462,6 @@ export default {
             .icon-img {
               width: 30px;
               height: 30px;
-              // margin-left: 10px;
-              // margin-right: 10px;
             }
             &-name {
               width: 60%;
@@ -490,77 +485,5 @@ export default {
       }
     }
   }
-  // &-input-outer {
-  //   width: 100%;
-  //   height: 100px;
-  //   display: flex;
-  //   align-items: center;
-  //   justify-content: center;
-  //   .input-box {
-  //     width: 89%;
-  //     height: 50%;
-  //     display: flex;
-  //     align-items: center;
-  //   }
-  //   .search-box {
-  //     width: 8%;
-  //     height: 50%;
-  //     display: flex;
-  //     align-items: center;
-  //     justify-content: center;
-  //     .search-btn {
-  //       width: 70px;
-  //       height: 30px;
-  //       background: #2ea8e6;
-  //       border-radius: 5px;
-  //       font-size: 14px;
-  //       color: #fff;
-  //       text-align: center;
-  //       line-height: 30px;
-  //     }
-  //   }
-  // }
-  // &-toggle {
-  //   width: 100%;
-  //   height: 60px;
-  //   display: flex;
-  //   align-items: center;
-  //   .toggle-box {
-  //     width: 140px;
-  //     height: 35px;
-  //     display: flex;
-  //     align-items: top;
-  //     justify-content: center;
-  //     &-btn {
-  //       width: 100px;
-  //       height: 27px;
-  //       background: #fff;
-  //       border: 1px solid #f0f1f2;
-  //       color: #b3b3b3;
-  //       font-size: 14px;
-  //       border-radius: 15px;
-  //       display: flex;
-  //       align-items: center;
-  //       justify-content: center;
-  //       cursor: pointer;
-  //       &.active {
-  //         background: #2ea8e6;
-  //         color: #fff;
-  //       }
-  //     }
-  //   }
-  // }
-  // &-bottom {
-  //   width: 100%;
-  //   height: calc(100% - 160px);
-  //   display: flex;
-  //   align-items: center;
-  //   justify-content: center;
-  //   &-inner {
-  //     width: calc(99% - 13px);
-  //     height: calc(99% - 15px);
-  //     background: burlywood;
-  //   }
-  // }
 }
 </style>