{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\imMange\\module\\mangeQgroupPersons.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\imMange\\module\\mangeQgroupPersons.vue","mtime":1675071992975},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport uc from '@/api/instantMessag.js'\nimport { mapState } from \"vuex\";\n\nexport default {\n    name: \"mangeQgroupPersons\",\n    props: [ 'currentRow' ],\n    data() {\n        return {\n            dialogVisible: false,\n            data: []\n        }\n    },\n    computed: {\n        ...mapState({\n            currentUser: state => state.login.currentUser\n        })\n    },\n    methods: {\n        kickout(row) {\n            this.$confirm('是否将' + row.userName + '踢出群？', '提示', {\n                confirmButtonText: '踢出群',\n                cancelButtonText: '取消',\n                type: 'warning'\n            }).then(() => {\n                const { id, userName} = row\n                let param = new URLSearchParams();\n                param.append('qGroutId', this.currentRow.id)\n                param.append('userName', userName)\n                uc.kickoutPer(param).then(res => {\n                    if(res.state) {\n                        this.loadData();\n                        this.$message.success('已将' + userName + '踢出群')\n                    }\n                })\n            }).catch(() => {\n\n            });\n        },\n        addQgroup() {},\n        loadData() {\n            let param = new URLSearchParams();\n            param.append('groupId',this.currentRow.id)\n            uc.queryQgroupPer(param)\n                .then((res) => {\n                    this.data = res.filter(o => o.userName != this.currentUser.account)\n                })\n                .finally(() => cb())\n        }\n    }\n}\n",null]}