{"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\\ReformPilotVerify.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\ReformPilotManage\\ReformPilotVerify.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":["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\";\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 pilotprojects from '@/api/pilotprojects';\nimport detailDialog from \"./components/detailDialog\";\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 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: [3]\n }],\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n }\n },\n tableLoading: false,\n deleteIds: '',\n treeData: []\n };\n },\n created: function created() {\n this.getData(this.reqData);\n this.treeData = JSON.parse(sessionStorage.getItem('responsibilityTree'));\n this.setStatusOptions('ggsdshzt', 2);\n },\n methods: {\n // 是否可撤销操作\n isRevokeReview: function isRevokeReview(row) {\n var _this = this;\n\n if (row.status == 4) {\n this.revokeReview(1, {\n id: row.id,\n status: 3\n });\n } else {\n this.markLoading = true;\n pilotprojects.isQuash(row.id, function (res) {\n if (res.state) {\n _this.markLoading = false;\n\n _this.revokeReview(1, {\n id: row.id,\n status: 3\n });\n } else {\n _this.markLoading = false;\n }\n });\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 var data = JSON.parse(JSON.stringify(this.reqData));\n var querys = [{\n group: 'main',\n operation: 'IN',\n parentGroup: '',\n property: 'STATUS_',\n relation: 'AND',\n value: this.auditStatus ? [4, 5] : [3]\n }];\n data.querys = querys;\n this.reqData.pageBean.page = 1;\n this.handleSearch(1);\n }, 500),\n //获取数据\n getData: function getData(data) {\n var _this2 = this;\n\n this.tableLoading = true;\n pilotprojects.getAuthorities(data, function (res) {\n _this2.pageResult.total = res.value.total;\n _this2.tableLoading = false;\n _this2.tableData = res.value.rows;\n });\n },\n // 审核\n handleSh: function handleSh(item) {\n this.$refs.reformPilotManageDialog.title = '审核';\n this.$refs.reformPilotManageDialog.reqLoading = true;\n this.$refs.reformPilotManageDialog.unitValue = this.$refs.reformPilotManageDialog.getParentsById(this.treeData, item.unitId);\n this.$refs.reformPilotManageDialog.getIds(item.id);\n this.$refs.reformPilotManageDialog.add(item);\n this.$refs.reformPilotManageDialog.isUpdate = true;\n this.$refs.reformPilotManageDialog.actionBtn = false;\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 rpvDelete: function rpvDelete(item) {\n var _this3 = this;\n\n this.$confirm('确认删除这条数据吗?', '提示', {\n confirmButtonText: '删除',\n cancelButtonText: '取消',\n type: 'error'\n }).then(function () {\n _this3.markLoading = true;\n pilotprojects.rpvDeleteById(item.id, function (res) {\n if (res.state) {\n _this3.markLoading = false;\n\n _this3.$message.success('删除成功');\n\n _this3.handleSearch(_this3.pageResult.page);\n }\n });\n });\n },\n // 过滤\n filterHandler: function filterHandler(value, row, column) {\n return row.pilotLevel == value;\n },\n handleSearch: function handleSearch(page) {\n var _this4 = 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 group: 'main',\n operation: 'IN',\n parentGroup: '',\n property: 'STATUS_',\n relation: 'AND',\n value: this.auditStatus ? [4, 5] : [3]\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 == 'DOC_NO_' ? '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.getAuthorities(data, function (res) {\n _this4.tableData = res.value.rows;\n _this4.pageResult.total = res.value.total;\n _this4.tableLoading = false;\n });\n } else {\n this.getData(this.reqData);\n }\n },\n // getDictName(code, value) {\n // return utils.getDictName(code, value)\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(_this5.reqData);\n\n _this5.$message.success('删除成功');\n }\n });\n });\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 callData: function callData() {\n this.handleSearch(this.pageResult.page);\n }\n }\n};",null]}