{"remainingRequest":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\RegistrationManage\\components\\LocationAnalysis.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\RegistrationManage\\components\\LocationAnalysis.vue","mtime":1704339787581},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\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//\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//\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//\n//\n//\n//\n//\n//\n//\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport LocationAnalysis from '@/api/FeedbackArchiving/LocationAnalysis.js';\nimport utils from '@/utils.js';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nexport default {\n name: 'LocationAnalysis',\n components: {\n pagination: pagination\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n markLoading: false,\n tableMaxHeight: 400,\n tableData: [],\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n querys: [{\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'eventCode',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'eventName',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'squareLocationName',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'eventType',\n relation: 'AND',\n value: ''\n }],\n reqData: {\n querys: [],\n pageBean: {\n page: 1,\n pageSize: 20,\n showTotal: true\n }\n },\n tableLoading: false,\n deleteIds: '',\n parameter: {\n size: 20,\n page: 1\n },\n sjflList: [] // 事件分类 下拉\n\n };\n },\n created: function created() {\n this.sjflList = dictUtils.getDictItemsFromCache('sjfx-sjfl');\n this.getData();\n },\n methods: {\n selectable: function selectable(row) {\n if (row.isDele === '1') {\n return false;\n } else {\n return true;\n }\n },\n //获取数据\n getData: function getData(page) {\n var _this = this;\n\n if (page) {\n this.reqData.pageBean.page = page;\n }\n\n this.reqData.querys = [];\n\n if (this.querys[0].value) {\n this.reqData.querys.push(this.querys[0]);\n }\n\n if (this.querys[1].value) {\n this.reqData.querys.push(this.querys[1]);\n }\n\n if (this.querys[2].value) {\n this.reqData.querys.push(this.querys[2]);\n }\n\n if (this.querys[3].value) {\n this.reqData.querys.push(this.querys[3]);\n }\n\n this.tableLoading = true;\n LocationAnalysis.dataQuery(this.reqData, function (res) {\n _this.pageResult.total = res.total;\n _this.tableLoading = false;\n _this.tableData = res.rows; // this.tableData.forEach(e => {\n // this.fljbList.forEach(f => {\n // if (e.level == f.value) {\n // e.levelName = f.name\n // }\n // })\n // })\n });\n },\n //获取删除数据id集合\n handleSelectionChange: function handleSelectionChange(val) {\n var arr = val.map(function (item) {\n return item.id;\n });\n this.deleteIds = arr.join(',');\n console.log(this.deleteIds);\n },\n //删除\n handleDelete: function handleDelete(type, val) {\n var _this2 = this;\n\n console.log(val);\n this.$confirm('确认删除吗?', this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'warning'\n }).then(function () {\n _this2.markLoading = true;\n\n if (type === 'delete') {\n LocationAnalysis.blackListDetele([val.id], function (res) {\n if (res.state) {\n _this2.getData();\n\n _this2.$message.success('删除成功');\n\n _this2.markLoading = false;\n } else {\n _this2.markLoading = false;\n }\n });\n } else {\n LocationAnalysis.blackListDetele(_this2.deleteIds, function (res) {\n if (res.state) {\n _this2.getData();\n\n _this2.$message.success('删除成功');\n\n _this2.markLoading = false;\n } else {\n _this2.markLoading = false;\n }\n });\n }\n });\n },\n handleSizeChange: function handleSizeChange(val) {\n this.reqData.pageBean.pageSize = val;\n this.getData();\n },\n handleCurrentChange: function handleCurrentChange(val) {\n this.reqData.pageBean.page = val;\n this.getData();\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n }\n }\n};",null]}