|
@@ -117,6 +117,12 @@ export default {
|
|
|
this.setAuthData()
|
|
|
},
|
|
|
methods: {
|
|
|
+ restDataRow () {
|
|
|
+ this.ischeck = true
|
|
|
+ this.checkDatas = []
|
|
|
+ this.$refs.tree.setCheckedKeys([])
|
|
|
+ this.queryTreeData(6, this.queryItem, '用户组')
|
|
|
+ },
|
|
|
//高级查询-提交
|
|
|
advancedTable (refName) {
|
|
|
this.$refs[refName].advancedQueryHandler()
|
|
@@ -127,6 +133,7 @@ export default {
|
|
|
this.rowData.userpermissionsid = nitem[0].userpermissionsid
|
|
|
this.rowData.selectcolumnlist = JSON.stringify(dataRules)
|
|
|
this.sendCheckData('edit', [this.rowData], 'userpermissionsid')
|
|
|
+ this.restDataRow()
|
|
|
this.advancedDrawer = false
|
|
|
},
|
|
|
formatRowAuth (nstr, arr) {
|
|
@@ -301,10 +308,10 @@ export default {
|
|
|
}
|
|
|
type == 'add' ? querys.push(newData(params)) : type == 'edit' ? querys.push(modifyData(params)) : querys.push(moveData(params))
|
|
|
})
|
|
|
- this.getAnscyData(querys)
|
|
|
+ this.getAnscyData(querys, type)
|
|
|
},
|
|
|
//获取异步数据
|
|
|
- async getAnscyData (allResult) {
|
|
|
+ async getAnscyData (allResult, type) {
|
|
|
if (!allResult.length) return
|
|
|
this.loading = true
|
|
|
const results = await Promise.allSettled(allResult)
|