zhaoke 2 yıl önce
ebeveyn
işleme
a3adfeaf52
1 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. 5 5
      src/views/newRole/index.vue

+ 5 - 5
src/views/newRole/index.vue

@@ -459,8 +459,8 @@ export default {
           })
           const newMsgs = _.cloneDeep(addRes)
           newMsgs.forEach(item => {
-            const { auth_id, auth_type, queryTemplateColumnSetID, row_auth, user_group_id, user_id } = item
-            const newObj = { auth_id, auth_type, queryTemplateColumnSetID, row_auth, user_group_id, user_id }
+            const { auth_id, queryTemplateColumnSetID, row_auth, user_group_id, user_id } = item
+            const newObj = { auth_id, user_group_id, user_id }
             newDatas.push(newObj)
           })
           let msgId = null
@@ -508,12 +508,12 @@ export default {
       })
       const newMsgs = _.cloneDeep(addRes)
       newMsgs.forEach(item => {
-        const { auth_id, auth_type, queryTemplateColumnSetID, row_auth, user_group_id, user_id } = item
+        const { auth_id, queryTemplateColumnSetID, row_auth, user_group_id, user_id } = item
         let newObj = null
         if (newItem.hasOwnProperty('user_id')) {
-          newObj = { auth_id, auth_type, queryTemplateColumnSetID, row_auth, user_id }
+          newObj = { auth_id, user_id }
         } else {
-          newObj = { auth_id, auth_type, queryTemplateColumnSetID, row_auth, user_group_id }
+          newObj = { auth_id, user_group_id }
         }
         newDatas.push(newObj)
       })