{"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\\DistrictPromotioneEntry.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\ReformPilotManage\\DistrictPromotioneEntry.vue","mtime":1687933939321},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport ReformPilotManageDialog from \"./components/ReformPilotManageDialog.vue\";\nimport detailDialog from \"./components/detailDialog\";\nimport pilotprojects from '@/api/pilotprojects';\nimport utils from '@/utils.js';\nexport default {\n name: 'InternationalSubject',\n components: {\n pagination: pagination,\n ReformPilotManageDialog: ReformPilotManageDialog,\n detailDialog: detailDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n districtData: [],\n searchForm: {},\n tableMaxHeight: 400,\n tableData: [],\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n tableLoading: false,\n deleteIds: '',\n markLoading: false // userId: ''\n\n };\n },\n created: function created() {\n this.getData();\n this.setPilotLevelList();\n },\n computed: {\n userId: function userId() {\n return this.$store.state.user.currentUserDetail ? this.$store.state.user.currentUserDetail.user.userId : '';\n }\n },\n methods: {\n //获取数据\n getData: function getData() {\n var _this = this;\n\n this.tableLoading = true;\n var data = {\n page: this.pageResult.page,\n size: this.pageResult.pageSize\n };\n pilotprojects.getDistrictInputList(data, false, function (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 // 上报\n handleVerify: function handleVerify(item) {\n var _this2 = this;\n\n var data = {\n status: 6,\n id: item.recId\n };\n this.$confirm('确认上报吗?', this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'success'\n }).then(function () {\n _this2.markLoading = true;\n pilotprojects.districtAuditsById(data, function (res) {\n if (res.state) {\n item.recordsStatus = 6;\n _this2.markLoading = false;\n\n _this2.$message.success('上报成功');\n }\n });\n });\n },\n // 录入更新\n handleEdit: function handleEdit(item) {\n this.$refs.reformPilotManageDialog.title = '更新';\n this.$refs.reformPilotManageDialog.reqLoading = true;\n this.$refs.reformPilotManageDialog.isUpdate = false;\n this.$refs.reformPilotManageDialog.add(item);\n },\n // 修改\n handleUpdate: function handleUpdate(item) {\n this.$refs.reformPilotManageDialog.title = '编辑';\n this.$refs.reformPilotManageDialog.editOrUpdate = true;\n this.$refs.reformPilotManageDialog.historyShow = true;\n this.$refs.reformPilotManageDialog.reqLoading = true;\n this.$refs.reformPilotManageDialog.isUpdate = true;\n this.$refs.reformPilotManageDialog.add(item);\n },\n // 查看详情\n handleDetils: function handleDetils(item) {\n this.$refs.detailDialog.title = '详情';\n this.$refs.detailDialog.reqLoading = true;\n this.$refs.detailDialog.listShow = true;\n this.$refs.detailDialog.openDialog(item);\n },\n // 更新\n handleHistroy: function handleHistroy(item) {\n var _this3 = this;\n\n this.markLoading = true;\n pilotprojects.doneOrNot(item.id, function (res) {\n if (res) {\n _this3.$refs.reformPilotManageDialog.reqLoading = true;\n _this3.$refs.reformPilotManageDialog.isUpdate = false; // this.$refs.reformPilotManageDialog.isUpdate =\n // item.recordsStatus === 12 ? false : true\n\n _this3.$refs.reformPilotManageDialog.editOrUpdate = false;\n _this3.$refs.reformPilotManageDialog.title = '更新';\n _this3.$refs.reformPilotManageDialog.historyShow = true;\n _this3.markLoading = false;\n\n _this3.$refs.reformPilotManageDialog.add(item);\n } else {\n _this3.markLoading = false;\n\n _this3.$confirm('存在未审核数据,请等待审核之后再更新!', '提示', {\n cancelButtonText: '关闭',\n iconClass: 'el-icon-info',\n showConfirmButton: false\n }).then(function () {}).catch(function () {});\n }\n });\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n handleSearch: function handleSearch(page) {\n var _this4 = this;\n\n this.tableLoading = true;\n var data = JSON.parse(JSON.stringify(this.searchForm)); // if (data.status == 5) {\n // data.status = -1\n // }\n\n data.page = page;\n this.pageResult.page = page;\n data.size = this.pageResult.pageSize;\n pilotprojects.getDistrictInputList(data, false, function (res) {\n _this4.tableData = res.value.rows;\n _this4.pageResult.total = res.value.total;\n _this4.tableLoading = false;\n });\n },\n //删除\n handleDelete: function handleDelete() {\n var _this5 = this;\n\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 pilotprojects.deletePilotProject(_this5.deleteIds, function (res) {\n if (res.state) {\n _this5.getData();\n\n _this5.$message.success('删除成功');\n }\n });\n });\n },\n //表格选中\n handleSelectionChange: function handleSelectionChange(val) {\n var arr = val.map(function (item) {\n return item.id;\n });\n this.deleteIds = arr.join(',');\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 this.handleSearch(this.pageResult.page);\n }\n }\n};",null]}