From ab131b44c9e07519971e6606575bcb34ea7438c8 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期日, 08 十月 2023 15:31:38 +0800
Subject: [PATCH] 分类授权-确认授权Bug

---
 Source/UBCS-WEB/src/views/integration/systemInfo.vue |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/integration/systemInfo.vue b/Source/UBCS-WEB/src/views/integration/systemInfo.vue
index 8f9c663..aea7794 100644
--- a/Source/UBCS-WEB/src/views/integration/systemInfo.vue
+++ b/Source/UBCS-WEB/src/views/integration/systemInfo.vue
@@ -142,16 +142,17 @@
   methods: {
     empower() {
       batchAddSave(this.checkAll.oid, this.checkAll.id, this.ParentList).then(res => {
-        console.log(res)
-        if(res.data.data.code === 200){
-          this.$message.success(res.data.data.msg)
+        // console.log(res.data)
+        if(res.data.code === 200){
+          this.$message.success(res.data.msg)
           this.dialogVisible=false;
         }
       })
     },
     //鍒嗙被鎺堟潈澶氶�夊洖璋�
     checkChange(row, checked) {
-      console.log('row',row)
+      // this.ParentList=[]
+      // console.log('row',row)
       if (checked) {
         if (!row.parentId) {
           const parentRecord = {
@@ -219,7 +220,7 @@
           }
         }
       }
-      console.log(this.ParentList);
+      console.log('this.ParentList',this.ParentList);
     },
     //鍒嗙被鎺堟潈
     classifyHandler(row) {
@@ -273,7 +274,7 @@
         for (let item of res.data) {
           traverse(item, null);
         }
-        console.log('list', List);
+        // console.log('list', List);
         this.TreeData = List;
         // this.ModifyProperties(this.TreeData, 'text', 'label');
         // 鏍规嵁this.TreeData鐨勯暱搴﹁绠楀欢杩熸椂闂�
@@ -305,7 +306,6 @@
     },
     async getDataList() {
       this.loading = true;
-      console.log(this.search);
       const {pageSize, currentPage} = this.page;
       const conditions = {};
       if (Object.keys(this.search).length > 0) {
@@ -317,7 +317,7 @@
       }
       const response = await getSysInfoList(pageSize, currentPage, conditions);
       if (response.status === 200) {
-        console.log(response);
+        // console.log(response);
         this.loading = false;
         const data = response.data.data;
         this.data = data.records;
@@ -386,7 +386,7 @@
       }).then(async () => {
         const response = await sysInfoDel(param)
         if (response.status === 200) {
-          console.log(response)
+          // console.log(response)
           this.$message({
             type: 'success',
             message: '鍒犻櫎鎴愬姛!'

--
Gitblit v1.9.3