{"remainingRequest":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\damDance-fvue\\src\\components\\dialog\\placesDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\damDance-fvue\\src\\components\\dialog\\placesDialog.vue","mtime":1697190651909},{"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\r\nimport pagination from '@/components/pagination'\r\nimport plazaLocation from '@/api/basicConfiguration/PlazaLocation'\r\nexport default {\r\n name: 'placesDialog',\r\n components: {\r\n pagination,\r\n },\r\n data() {\r\n return {\r\n visible: false,\r\n loading: false,\r\n reqData: {\r\n querys: [\r\n {\r\n group: 'main',\r\n operation: 'LIKE',\r\n parentGroup: '',\r\n property: 'searchIn',\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 tableData: [],\r\n currentRow: null,\r\n }\r\n },\r\n methods: {\r\n open() {\r\n this.visible = true\r\n this.getData()\r\n },\r\n handleClose() {\r\n this.visible = false\r\n },\r\n handleSubmit() {\r\n this.$emit('changePlaces', {\r\n squareLocationName: this.currentRow.squareLocationName,\r\n id: this.currentRow.id,\r\n areaCode: this.currentRow.areaCode,\r\n areaFullCode: this.currentRow.areaFullCode,\r\n })\r\n this.visible = false\r\n this.currentRow = null\r\n this.tableData = []\r\n },\r\n currentChange(currentRow, oldCurrentRow) {\r\n this.currentRow = currentRow\r\n },\r\n getData(page) {\r\n this.loading = true\r\n page ? (this.reqData.pageBean.page = page) : null\r\n plazaLocation.dataQuery(this.reqData, (res) => {\r\n this.reqData.pageBean.total = res.total\r\n this.loading = false\r\n this.tableData = res.rows\r\n })\r\n },\r\n handleSizeChange(pageSize) {\r\n this.reqData.pageBean.pageSize = pageSize\r\n this.getData(1)\r\n },\r\n handleCurrentChange(page) {\r\n this.reqData.pageBean.page = page\r\n this.getData()\r\n },\r\n },\r\n}\r\n",null]}