|
@@ -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)
|
|
|
})
|