{"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\\reformDemandAnalysis\\RequirementsReview.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\reformDemandAnalysis\\RequirementsReview.vue","mtime":1682514745564},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 req from '@/request.js';\nimport utils from '@/utils.js';\nvar portal = window.context.portal;\nimport RejectInfoDialog from '@/components/dialog/RejectInfoDialog.vue';\nexport default {\n name: 'RequirementsReview',\n components: {\n pagination: pagination,\n RejectInfoDialog: RejectInfoDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n tableMaxHeight: 400,\n loading: false,\n tableLoading: false,\n tableData: [],\n multipleSelection: [],\n params: {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n property: 'status',\n relation: 'AND',\n value: 1\n }]\n },\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n searchForm: {},\n // 顶部搜索对象\n activeCollapse1: ['1', '2'],\n fileList: [],\n // 文件上传\n dialog: {\n title: '审核',\n visible: false\n },\n dialogForm: {},\n disabled: false,\n // 是否禁止输入输入\n isShowBtn: false,\n // 是否显示底部按钮\n rules: {}\n };\n },\n created: function created() {\n this.loadData(this.params);\n },\n methods: {\n // 撤回\n handleAppear: function handleAppear(data) {\n var _this = this;\n\n this.$confirm(\"\\u786E\\u8BA4\\u64A4\\u56DE\\u5417\\uFF1F\", this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'error'\n }).then(function () {\n data.approvalResults = 2;\n data.status = 1;\n _this.tableLoading = true;\n req.post(portal + '/bizReformDemandAnalysisLibrary/v1/updateAuditStatus', data).then(function (res) {\n if (res.data.state) {\n _this.$message.success(\"\\u64A4\\u56DE\\u6210\\u529F\");\n } else {\n _this.$message.error(\"\\u64A4\\u56DE\\u5931\\u8D25\");\n }\n\n _this.loadData(_this.params);\n });\n });\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n //获取数据\n loadData: function loadData(params) {\n var _this2 = this;\n\n this.tableLoading = true;\n req.post(portal + '/bizReformDemandAnalysisLibrary/v1/getList?isAffirm=false', params).then(function (res) {\n _this2.tableLoading = false;\n var data = res && res.data || {};\n _this2.tableData = data.rows || [];\n _this2.pageResult = {\n page: data.page,\n pageSize: data.pageSize,\n total: data.total\n };\n });\n },\n // 审核通过\n handleVerify: function handleVerify() {\n var _this3 = this;\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 _this3.dialogForm.status = 3;\n _this3.loading = true;\n req.post(portal + '/bizReformDemandAnalysisLibrary/v1/updateAuditStatus', _this3.dialogForm).then(function (res) {\n if (res.data.state) {\n _this3.$message.success('通过成功');\n } else {\n _this3.$message.error('通过失败');\n }\n\n _this3.loading = false;\n _this3.dialog.visible = false;\n\n _this3.loadData(_this3.params);\n });\n });\n },\n // 审核驳回\n handleReject: function handleReject() {\n var _this4 = this;\n\n this.$confirm('确认驳回吗?', this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'error'\n }).then(function () {\n _this4.$refs.rejectInfoDialog.open('/bizReformDemandAnalysisLibrary/v1/updateAuditStatus', 2); // this.dialogForm.status = 2\n // this.loading = true\n // req\n // .post(\n // portal + '/bizReformDemandAnalysisLibrary/v1/updateAuditStatus',\n // this.dialogForm\n // )\n // .then(res => {\n // if (res.data.state) {\n // this.$message.success('驳回成功')\n // } else {\n // this.$message.error('驳回失败')\n // }\n // this.loading = false\n // this.dialog.visible = false\n // this.loadData(this.params)\n // })\n\n });\n },\n //修改\n handleDbClick: function handleDbClick(data) {\n this.isShowBtn = true;\n this.disabled = true;\n this.dialogForm = data;\n this.dialog.title = '审核';\n this.dialog.visible = true;\n },\n // 详情\n handleDetils: function handleDetils(data) {\n this.isShowBtn = false;\n this.disabled = true;\n this.dialogForm = data;\n this.dialog.title = '详情';\n this.dialog.visible = true;\n },\n // 顶部搜索\n handleSearch: function handleSearch() {\n var obj = this.searchForm;\n\n if (!obj.status) {\n obj.status = 1;\n this.operation = 'EQUAL';\n }\n\n var querys = [];\n\n for (var i in obj) {\n if (obj[i]) {\n if (i == 'status') {\n querys.push({\n group: 'main',\n operation: this.operation,\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n } else {\n querys.push({\n group: 'main',\n operation: i == 'demandTopic' ? 'LIKE' : 'EQUAL',\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n }\n }\n }\n\n this.params.querys = querys;\n this.loadData(this.params);\n },\n // 页面中swatch回调事件\n handleSwitch: function handleSwitch(bol) {\n this.switchStatus = bol;\n\n if (bol) {\n // 已办\n this.operation = 'IN';\n this.searchForm.status = [2, 3, 4, 5];\n } else {\n // 代办\n this.operation = 'EQUAL';\n this.searchForm.status = 1;\n }\n\n this.handleSearch();\n },\n // 弹层关闭\n handleDialogClose: function handleDialogClose() {\n this.dialog.visible = false;\n },\n handleSelectionChange: function handleSelectionChange() {},\n handleCurrentChange: function handleCurrentChange(page) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n page: page\n });\n this.loadData(this.params);\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n pageSize: pageSize\n });\n this.loadData(this.params);\n }\n }\n};",null]}