{"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\\mangeHismsg.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\imMange\\module\\mangeHismsg.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//\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: \"mangeHismsg\",\n props: [ 'currentRow' ],\n data() {\n return {\n dialogVisible: false,\n data: [],\n params: {\n \"pageBean\": {\n \"page\": 1,\n \"pageSize\": 10,\n \"showTotal\": true\n },\n \"params\": {}\n }\n }\n },\n computed: {\n ...mapState({\n currentUser: state => state.login.currentUser\n })\n },\n methods: {\n handleSizeChange(val) {\n this.params.pageBean.pageSize = 1;\n this.loadData();\n },\n handleCurrentChange(val) {\n this.params.pageBean.page = 1;\n this.loadData();\n },\n deleteRow(row) {\n this.$confirm('是否删除这条记录?', '提示', {\n confirmButtonText: '删除',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n const { id } = row\n let param = new URLSearchParams();\n param.append('id', id)\n uc.deleteHismsg(param).then(res => {\n if(res.state) {\n this.loadData();\n this.$message.success('记录已删除')\n }\n })\n }).catch(() => {\n\n });\n },\n addQgroup() {},\n loadData() {\n uc.hismsgList(this.params)\n .then((res) => {\n this.data = res.filter(o => o.userName != this.currentUser.account)\n })\n .finally(() => cb())\n }\n }\n}\n",null]}