{"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\\MunicipalPilotValidation.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\ReformPilotManage\\MunicipalPilotValidation.vue","mtime":1719387867236},{"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":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/toConsumableArray\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 MunicipalPilotDialog from \"./components/MunicipalPilotDialog.vue\";\nimport detailDialog from \"./components/detailDialog\";\nimport pilot from '@/api/pilotprojects';\nimport utils from '@/utils.js';\nexport default {\n name: 'MunicipalPilotAudit',\n components: {\n pagination: pagination,\n MunicipalPilotDialog: MunicipalPilotDialog,\n detailDialog: detailDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n markLoading: false,\n searchForm: {},\n tableMaxHeight: 400,\n tableData: [],\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n reqData: {\n pageBean: {\n page: 1,\n pageSize: 20,\n showTotal: true\n },\n querys: [{\n group: 'main',\n operation: 'IN',\n parentGroup: '',\n property: 'r.STATUS_',\n relation: 'AND',\n value: [3]\n }]\n },\n tableLoading: false,\n deleteIds: '',\n treeData: [],\n auditStatus: false,\n groupList: []\n };\n },\n created: function created() {\n this.getData(this.reqData);\n this.treeData = JSON.parse(sessionStorage.getItem('responsibilityTree'));\n this.groupList = utils.getDictItemsFromCache('zxxz').slice(0, -1);\n this.setPilotLevelList();\n },\n methods: {\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.reqData.pageBean.page = 1;\n this.reqData.querys[0].value = this.auditStatus ? [4, 5, 6, 7] : [3];\n this.handleSearch(1);\n }, 500),\n //获取数据\n getData: function getData(data) {\n var _this = this;\n\n this.tableLoading = true;\n pilot.groupTableData(data, function (res) {\n _this.pageResult.total = res.total;\n _this.tableLoading = false;\n _this.tableData = res.rows;\n });\n },\n // 查看详情 编辑 添加\n openDialog: function openDialog(item, title) {\n this.$refs.municipalPilotDialog.add(item, title);\n },\n callData: function callData() {\n this.handleSearch(this.pageResult.page);\n },\n // 过滤\n filterHandler: function filterHandler(value, row, column) {\n return row.pilotLevel == value;\n },\n // 撤回\n revocation: function revocation(item) {\n var _this2 = this;\n\n var data = {\n status: 3,\n id: item.recId\n };\n this.$confirm('确认执行撤销操作吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'error'\n }).then(function () {\n _this2.markLoading = true;\n data.approvalResults = 2;\n pilot.updateMunStatus(data, function (res) {\n if (res.state) {\n _this2.$message.success('撤销操作成功');\n\n _this2.handleSearch(1);\n }\n\n _this2.markLoading = false;\n });\n });\n },\n //获取删除数据id集合\n handleSelectionChange: function handleSelectionChange(val) {\n var arr = val.map(function (item) {\n return item.id;\n });\n this.deleteIds = arr.join(',');\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 var querys = [];\n\n for (var i in obj) {\n if (obj[i]) {\n querys.push({\n group: 'main',\n operation: i == 'PILOT_PROJECT_NAME_' || i == 'DOC_NO_' ? 'LIKE' : 'EQUAL',\n parentGroup: '',\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n }\n }\n\n data.querys = [].concat(_toConsumableArray(data.querys), querys);\n data.pageBean.page = page;\n this.pageResult.page = page;\n pilot.groupTableData(data, function (res) {\n _this3.pageResult.total = res.total;\n _this3.tableLoading = false;\n _this3.tableData = res.rows;\n });\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.reqData.pageBean = _objectSpread(_objectSpread({}, this.reqData.pageBean), {}, {\n page: page\n });\n this.handleSearch(page);\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.reqData.pageBean = _objectSpread(_objectSpread({}, this.reqData.pageBean), {}, {\n pageSize: pageSize\n });\n this.handleSearch(1);\n }\n }\n};",null]}