{"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\\EventManage.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\RegistrationManage\\EventManage.vue","mtime":1704772733859},{"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//\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 EventManage from '@/api/RegistrationManage/EventManage';\nimport EventManageDialog from \"./components/EventManageDialog\";\nimport utils from '@/utils.js';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nexport default {\n name: 'EventManage',\n components: {\n pagination: pagination,\n EventManageDialog: EventManageDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n markLoading: false,\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: 'event_code_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'event_level_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'event_type_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'device_code_',\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 rejectObj: {\n res: ''\n },\n rejectVisible: false,\n fljbList: [],\n sjflList: [],\n rowIndex: null\n };\n },\n created: function created() {\n this.fljbList = dictUtils.getDictItemsFromCache('gjdj');\n this.sjflList = dictUtils.getDictItemsFromCache('sjfl');\n this.getData();\n },\n methods: {\n handleCancel: function handleCancel() {\n this.rejectVisible = false;\n },\n handleReject: function handleReject(row) {\n var _this = this;\n\n console.log(this.$refs);\n this.$refs.ruleForm.validate(function (valid) {\n if (valid) {\n EventManage.abolish({\n id: row.id,\n processResult: _this.rejectObj.res\n }, function (res) {\n if (res.state) {\n _this.$notify({\n type: 'success',\n message: '驳回成功',\n duration: 2000\n });\n\n _this.getData();\n }\n });\n _this.rejectVisible = false;\n } else {\n return false;\n }\n });\n },\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 _this2 = this;\n\n if (page) {\n this.reqData.pageBean.page = page;\n }\n\n this.tableLoading = true;\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 EventManage.dataQuery(this.reqData, function (res) {\n _this2.pageResult.total = res.total;\n _this2.tableLoading = false;\n _this2.tableData = res.rows;\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 handelDel: function handelDel(index) {\n this.rowIndex = index;\n this.rejectVisible = true;\n }\n }\n};",null]}