{"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\\DistrictProjectAudit.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\ReformPilotManage\\DistrictProjectAudit.vue","mtime":1703742494153},{"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//\nimport _ from 'lodash';\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport detailDialog from \"./components/detailDialog\";\nimport pilotprojects from '@/api/pilotprojects';\nimport utils from '@/utils.js';\nexport default {\n name: 'DistrictProjectAudit',\n components: {\n pagination: pagination,\n detailDialog: detailDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n markLoading: false,\n auditStatus: false,\n districtData: [],\n parameter: {\n pilotLevel: 1,\n statusList: [1],\n //1 待审核\n size: 20,\n page: 1\n },\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: [1]\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'PILOT_LEVEL_',\n relation: 'AND',\n value: 1\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 // let userDetails = JSON.parse(\n // sessionStorage.getItem('currentUserDetail')\n // )\n // this.userOrgId = userDetails.org[0].orgId\n // this.parameter.createOrgId = this.userOrgId\n this.getData(this.parameter);\n this.setStatusOptions('ggsdshzt', 1);\n },\n methods: {\n slefClearMethods: function slefClearMethods() {\n this.parameter.page = 1;\n this.parameter.size = 20;\n this.parameter.pilotLevel = 1;\n this.parameter.projectName = '';\n this.parameter.docNo = '';\n this.parameter.status = '';\n this.parameter.isDele = '';\n },\n getTableData: function getTableData(val) {\n if (!val) delete this.parameter.status;\n\n if (this.auditStatus != val) {\n this.auditStatus = val;\n this.getStatusList();\n }\n },\n getStatusList: _.debounce(function () {\n // let data = JSON.parse(JSON.stringify(this.reqData))\n // let querys = [\n // {\n // group: 'main',\n // operation: 'IN',\n // parentGroup: '',\n // property: 'STATUS_',\n // relation: 'AND',\n // value: this.auditStatus ? [2, 4, 3, 5] : [1]\n // }\n // ]\n // data.querys = querys\n this.parameter.page = 1;\n this.handleSearch(1);\n }, 500),\n //获取数据\n getData: function getData(data) {\n var _this = this;\n\n this.tableLoading = true;\n pilotprojects.ReformPilotQuery(false, data, function (res) {\n _this.pageResult.total = res.value.total;\n _this.tableLoading = false;\n _this.tableData = res.value.rows;\n _this.pageResult.page = res.value.page;\n });\n },\n // 过滤\n filterHandler: function filterHandler(value, row, column) {\n return row.pilotLevel == value;\n },\n // 审核\n handleSh: function handleSh(item) {\n this.$refs.detailDialog.title = '审核';\n this.$refs.detailDialog.reqLoading = true;\n this.$refs.detailDialog.actionBtn = true;\n this.$refs.detailDialog.openDialog(item);\n },\n // 顶部搜索\n handleSearch: function handleSearch(page) {\n this.tableLoading = true;\n this.parameter.page = page; // 待审核【1】 已审核 【2,3,4,5】\n\n if (this.auditStatus && this.parameter.status) {\n this.parameter.statusList = [this.parameter.status];\n } else if (!this.auditStatus) {\n this.parameter.statusList = [1];\n } else {\n this.parameter.statusList = [2, 3, 4, 5];\n }\n\n for (var key in this.parameter) {\n if (!this.parameter[key]) {\n delete this.parameter[key];\n }\n }\n\n this.getData(this.parameter);\n },\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 getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n //删除\n handleDelete: function handleDelete() {\n var _this2 = 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(_this2.deleteIds, function (res) {\n if (res.state) {\n _this2.getData(_this2.reqData);\n\n _this2.$message.success('删除成功');\n }\n });\n });\n },\n // 分页\n handleCurrentChange: function handleCurrentChange(page) {\n this.parameter.page = page;\n this.handleSearch(page);\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.parameter.size = pageSize;\n this.handleSearch(1);\n },\n callData: function callData() {\n this.handleSearch(this.parameter.page);\n }\n }\n};",null]}