{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\views\\ReformPilotManage\\ReformOfficeManagement.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\ReformPilotManage\\ReformOfficeManagement.vue","mtime":1687662350100},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 pilotprojects from '@/api/pilotprojects';\nimport detailDialog from \"./components/detailDialog\"; // import updateAll from './components/updateAll.vue'\n\nimport ReformPilotManageDialog from \"./components/ReformPilotManageDialog.vue\";\nimport req from '@/request.js';\nimport utils from '@/utils.js';\nvar portal = window.context.portal;\nexport default {\n name: 'ReformOfficeManagement',\n components: {\n pagination: pagination,\n detailDialog: detailDialog,\n // updateAll,\n ReformPilotManageDialog: ReformPilotManageDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n markLoading: false,\n auditStatus: false,\n districtData: [],\n searchForm: {},\n tableMaxHeight: 400,\n tableData: [],\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n reqData: {\n querys: [{\n group: 'main',\n operation: 'IN',\n parentGroup: '',\n property: 'STATUS_',\n relation: 'AND',\n value: [5]\n }],\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n }\n },\n tableLoading: false,\n deleteIds: ''\n };\n },\n created: function created() {\n this.getData();\n this.setPilotLevelList();\n },\n methods: {\n // handleCommand(command) {\n // this.searchForm['m.PILOT_LEVEL_'] = command != 0 ? command : ''\n // this.handleSearch(1)\n // },\n exportExcel: function exportExcel() {\n var data = this.searchForm;\n data.page = -1;\n data.size = -1;\n req.downloadPostCopy(portal + '/biz/bizReformPilotManagement/v1/pilotExport', data).then(function (res) {\n console.log(res);\n });\n },\n getTableData: function getTableData(val) {\n if (this.auditStatus != val) {\n this.auditStatus = val;\n this.getStatusList();\n }\n },\n getStatusList: _.debounce(function () {\n this.handleSearch(1);\n }, 500),\n //获取数据\n getData: function getData() {\n var _this = this;\n\n this.tableLoading = true;\n pilotprojects.getromList(this.reqData, function (res) {\n console.log(res);\n _this.pageResult.total = res.value.total;\n _this.tableLoading = false;\n _this.tableData = res.value.rows;\n });\n },\n // 过滤\n filterHandler: function filterHandler(value, row, column) {\n return row.pilotLevel == value;\n },\n romDelete: function romDelete(item) {\n var _this2 = this;\n\n this.$confirm('确认删除这条数据吗?', '提示', {\n confirmButtonText: '删除',\n cancelButtonText: '取消',\n type: 'error'\n }).then(function () {\n _this2.markLoading = true;\n pilotprojects.rpvDeleteById(item.id, function (res) {\n if (res.state) {\n _this2.markLoading = false;\n\n _this2.$message.success('删除成功');\n\n _this2.handleSearch(_this2.pageResult.page);\n }\n });\n });\n },\n // 详情\n // handleDetils(item) {\n // this.$refs.detailDialog.reqLoading = true\n // this.$refs.detailDialog.listShow = true\n // this.$refs.detailDialog.openDialog(item)\n // },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n handleSearch: function handleSearch(page) {\n var _this3 = this;\n\n this.tableLoading = true;\n var data = JSON.parse(JSON.stringify(this.reqData));\n var obj = JSON.parse(JSON.stringify(this.searchForm));\n console.log(obj);\n var querys = [{\n group: 'main',\n operation: 'IN',\n parentGroup: '',\n property: 'STATUS_',\n relation: 'AND',\n value: [5]\n }];\n\n for (var i in obj) {\n if (obj[i]) {\n querys.push({\n group: 'main',\n operation: i == 'PILOT_PROJECT_NAME_' || i == 'i.UNIT_NAME_' || i == 'm.UNIT_NAME_' ? 'LIKE' : 'EQUAL',\n parentGroup: '',\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n }\n }\n\n data.querys = querys;\n data.pageBean.page = page;\n this.pageResult.page = page;\n\n if (querys.length) {\n pilotprojects.getromList(data, function (res) {\n _this3.tableData = res.value.rows;\n _this3.pageResult.total = res.value.total;\n _this3.tableLoading = false;\n });\n } else {\n this.getData(this.reqData);\n }\n },\n // 修改\n // handleUpdate(item) {\n // this.$refs.updateAll.reqLoading = true\n // this.$refs.updateAll.isUpdate = true\n // this.$refs.updateAll.add(item)\n // },\n // 编辑\n handleEdit: function handleEdit(item) {\n this.$refs.reformPilotManageDialog.title = '编辑';\n this.$refs.reformPilotManageDialog.reqLoading = true;\n this.$refs.reformPilotManageDialog.isUpdate = true;\n this.$refs.reformPilotManageDialog.actionBtn = true;\n this.$refs.reformPilotManageDialog.add(item);\n },\n handleDetils: function handleDetils(item) {\n this.$refs.detailDialog.reqLoading = true;\n this.$refs.detailDialog.actionBtn = false;\n this.$refs.detailDialog.openDialog(item);\n },\n // 分页\n handleCurrentChange: function handleCurrentChange(page) {\n this.pageResult.page = page;\n this.handleSearch(page);\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.pageResult.pageSize = pageSize;\n this.handleSearch(1);\n },\n callData: function callData() {\n this.getData();\n }\n }\n};",null]}