{"remainingRequest":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\RegistrationManage\\EventRegistration.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\RegistrationManage\\EventRegistration.vue","mtime":1704772733859},{"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\r\nimport pagination from '@/components/pagination'\r\nimport {TableMixin} from '@/mixins/tableMixin'\r\nimport RegistrationManage from '@/api/RegistrationManage/RegistrationManage.js'\r\nimport EventRegistrationDialog from './components/EventRegistrationDialog'\r\nimport utils from '@/utils.js'\r\nexport default {\r\n name: 'EventRegistration',\r\n components: {\r\n pagination,\r\n EventRegistrationDialog,\r\n },\r\n mixins: [TableMixin],\r\n data() {\r\n return {\r\n markLoading: false,\r\n tableLoading: false,\r\n tableData: [],\r\n pageResult: {\r\n page: 1,\r\n pageSize: 20,\r\n total: 0,\r\n },\r\n reqData: {\r\n querys: [\r\n {\r\n group: 'main',\r\n operation: 'LIKE',\r\n parentGroup: '',\r\n property: 'eventCode',\r\n relation: 'AND',\r\n value: '',\r\n },\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'eventUrgency',\r\n relation: 'AND',\r\n value: '',\r\n },\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'eventType',\r\n relation: 'AND',\r\n value: '',\r\n },\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'eventSource',\r\n relation: 'AND',\r\n value: '',\r\n },\r\n ],\r\n pageBean: {\r\n page: 1,\r\n pageSize: 20,\r\n total: 0,\r\n showTotal: true,\r\n },\r\n },\r\n rejectObj: {\r\n res: '',\r\n },\r\n rejectVisible: false,\r\n }\r\n },\r\n\r\n created() {\r\n this.getData(1)\r\n },\r\n methods: {\r\n //获取数据\r\n getData(page) {\r\n page ? (this.reqData.pageBean.page = page) : null\r\n RegistrationManage.queryEventsList(this.reqData).then((res) => {\r\n this.reqData.pageBean.total = res.total\r\n this.tableLoading = false\r\n this.tableData = res.rows\r\n })\r\n },\r\n handleDelete(row) {\r\n this.$confirm('确认删除数据吗?', this.$t('common.tips'), {\r\n confirmButtonText: this.$t('common.confirm'),\r\n cancelButtonText: this.$t('common.cancel'),\r\n type: 'warning',\r\n }).then(() => {\r\n let ids = row ? row.id : this.deleteIds\r\n RegistrationManage.batchDelete(ids).then((res) => {\r\n if (res.state) {\r\n this.$notify({\r\n type: 'success',\r\n message: '删除成功',\r\n duration: 2000,\r\n })\r\n this.getData(1)\r\n } else {\r\n this.$message.warning(response.message)\r\n }\r\n })\r\n })\r\n },\r\n handleSubmit(row) {\r\n this.$confirm('确认提交到三级城运中心?', this.$t('common.tips'), {\r\n confirmButtonText: this.$t('common.confirm'),\r\n cancelButtonText: this.$t('common.cancel'),\r\n type: 'warning',\r\n }).then(() => {\r\n let ids = row && row.id ? row.id : this.deleteIds\r\n RegistrationManage.batchSubmit(ids).then((res) => {\r\n if (res.state) {\r\n this.$notify({\r\n type: 'success',\r\n message: '提交成功',\r\n duration: 2000,\r\n })\r\n this.getData(1)\r\n } else {\r\n this.$message.warning(response.message)\r\n }\r\n })\r\n })\r\n },\r\n },\r\n}\r\n",null]}