{"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\\MeetingManagement\\ReviewMatters.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MeetingManagement\\ReviewMatters.vue","mtime":1731655212289},{"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/es6.object.keys\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es7.object.values\";\nimport \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es6.function.name\";\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 RecordPopover from '@/components/dialog/RecordPopover.vue';\nimport pagination from '@/components/pagination';\nimport RejectInfoBlockDialog from '@/components/dialog/RejectInfoBlockDialog.vue';\nimport OrgSelectDialog from '@/components/dialog/OrgSelectDialog.vue';\nimport filePreview from '@/components/FilePreview/filePreview.vue';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport FileList from '@/components/uploadFile/FileList.vue';\nimport UploadFile from '@/components/uploadFile/index.vue';\nimport req from '@/request.js';\nimport utils from '@/utils.js';\nvar portal = window.context.portal;\nexport default {\n name: 'DemandEntry',\n components: {\n pagination: pagination,\n OrgSelectDialog: OrgSelectDialog,\n filePreview: filePreview,\n RejectInfoBlockDialog: RejectInfoBlockDialog,\n FileList: FileList,\n UploadFile: UploadFile,\n RecordPopover: RecordPopover\n },\n mixins: [TableMixin],\n data: function data() {\n var _ref;\n\n return _ref = {\n saveValueData: {},\n groupName: [],\n markLoading: false,\n auditStatus: false,\n unitNameArr: [],\n tableMaxHeight: 400,\n loading: false,\n tableLoading: false,\n verifyling: false,\n rejecting: false,\n tableData: [],\n showDetails: false,\n reqLoading: false,\n formVisible: false\n }, _defineProperty(_ref, \"formVisible\", false), _defineProperty(_ref, \"multipleSelection\", []), _defineProperty(_ref, \"params\", {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n property: 'p.STATUS_',\n relation: 'AND',\n value: '1'\n }]\n }), _defineProperty(_ref, \"pageResult\", {\n page: 1,\n pageSize: 20,\n total: 0\n }), _defineProperty(_ref, \"hisData\", []), _defineProperty(_ref, \"projectInfo\", {\n files: []\n }), _defineProperty(_ref, \"searchForm\", {}), _defineProperty(_ref, \"activeCollapse\", ['1', '2', '3']), _defineProperty(_ref, \"dialog\", {\n title: '添加',\n visible: false\n }), _defineProperty(_ref, \"dialogForm\", {}), _defineProperty(_ref, \"historyData\", null), _defineProperty(_ref, \"disabled\", false), _defineProperty(_ref, \"edit\", false), _defineProperty(_ref, \"isShowBtn\", false), _defineProperty(_ref, \"options\", [{\n value: 0,\n label: '已完成对接'\n }, {\n value: 1,\n label: '未完成对接'\n }]), _defineProperty(_ref, \"rules\", {}), _defineProperty(_ref, \"abutmentStatusList\", []), _defineProperty(_ref, \"classified\", 0), _ref;\n },\n created: function created() {\n this.loadData(this.params);\n this.setStatusOptions('hy_shzt', 0);\n this.abutmentStatusList = utils.getDictItemsFromCache('xqzt');\n },\n methods: {\n setAipher: function setAipher(val) {\n // this.tableData.classified = '文件涉密,已通过内网邮件上传。'\n this.classified = 1;\n this.cipher = val;\n this.projectInfo.classified = 1;\n },\n // 撤回\n revokeReview: function revokeReview(data) {\n var _this = this;\n\n this.$confirm('确认执行撤销操作吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'error'\n }).then(function () {\n _this.markLoading = true;\n req.post(portal + '/bizMeetingEventPush/v1/modifyStatus?id=' + data.pushId + '&projectId=' + data.id + '&status=1&approvalResults=2').then(function (res) {\n if (res.status == 200) {\n _this.$message.success('撤销操作成功');\n\n _this.markLoading = false;\n\n _this.loadData(_this.params);\n }\n });\n });\n },\n // 责任单位选择\n handleSelectOrg: function handleSelectOrg() {\n this.$refs.orgSeleect.open();\n },\n handleOrgSelect: function handleOrgSelect(row) {\n this.dialogForm = _objectSpread(_objectSpread({}, this.dialogForm), {}, {\n unitId: row[0].id,\n unitName: row[0].name,\n unitCode: row[0].code,\n unitGrade: row[0].grade\n });\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n openUploade: function openUploade() {\n this.$refs.uploadFile.open('ProjectExperience');\n },\n setFileList: function setFileList(file) {\n // this.projectInfo.files = []\n var data = JSON.parse(JSON.stringify(this.projectInfo));\n data.files.push(file);\n data.files.map(function (item) {\n if (item.response) {\n item.id = item.response.fileId;\n }\n\n return item;\n });\n this.projectInfo = data;\n var url = '/bizMeetingEventPush/v1/saveOrUpdateEntity';\n var value = JSON.parse(JSON.stringify(this.saveValueData));\n value.files = data.files;\n this.projectInfo.classified = 0;\n },\n changeFileList: function changeFileList(data, index) {\n this.projectInfo.files = data;\n },\n //获取数据\n loadData: function loadData(params) {\n var _this2 = this;\n\n this.tableLoading = true;\n req.post(portal + \"/bizMeetingEventDetails/v1/queryByPage?isAffirm=\".concat(false), params).then(function (res) {\n _this2.tableLoading = false;\n var data = res && res.data && res.data.value || {};\n _this2.tableData = data.rows || [];\n _this2.pageResult = {\n page: data.page,\n pageSize: data.pageSize,\n total: data.total\n };\n });\n },\n getTableData: function getTableData(bol) {\n this.auditStatus = bol;\n this.handleSearch();\n },\n // 审核\n handleDbClick: function handleDbClick(data) {\n var _this3 = this;\n\n this.reqLoading = true;\n this.dialog.title = '审核';\n this.isShowBtn = true;\n this.disabled = true;\n this.dialogForm = data;\n this.unitNameArr = data.cooperativeUnitName.split(',');\n\n if (data.groupName) {\n this.groupName = JSON.parse(data.groupName).map(function (item) {\n return item.groupName;\n });\n }\n\n var list = [];\n var param = {\n querys: [],\n pageBean: {\n pageSize: 2\n },\n sorter: [{\n direction: 'DESC',\n property: 'LAST_TIME_'\n }]\n };\n param.querys.push({\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'DETAILS_ID_',\n relation: 'AND',\n value: data.id\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'UNIT_ID_',\n relation: 'AND',\n value: data.unitId\n });\n req.post(portal + '/bizMeetingEventPush/v1/queryHistory', param).then(function (res) {\n if (res.data.state) {\n _this3.reqLoading = false;\n list = res.data.value;\n _this3.projectInfo = list[0];\n _this3.projectInfo.abutmentStatus = list[0].abutmentStatus + '';\n _this3.projectInfo.approvalCommentsList = list[0] && list[0].approvalComments ? _this3.projectInfo.approvalComments.split('$_$') : [];\n _this3.classified = _this3.projectInfo.classified;\n\n if (list[1]) {\n _this3.historyData = list[1] || null;\n _this3.historyData.approvalCommentsList = list[1] && list[1].approvalComments ? list[1].approvalComments.split('$_$') : [];\n _this3.hisData = Object.values(_this3.historyData);\n } else {\n _this3.historyData = null;\n }\n\n if (_this3.historyData && _this3.historyData.abutmentStatus) {\n _this3.abutmentStatusList.forEach(function (item) {\n if (_this3.historyData.status == 7 && item.value - 0 < _this3.historyData.abutmentStatus - 0) {\n item.disabled = true;\n }\n });\n }\n } // console.log(res, 'res')\n // if (res.data.state) {\n // this.reqLoading = false\n // list = res.data.value\n // list.forEach(item => {\n // if (item.status == 3 && list.length <= 1) {\n // this.projectInfo = list[0]\n // this.historyData = {\n // files: []\n // }\n // } else if (item.status == 3 && list.length > 1) {\n // this.projectInfo = list[0]\n // this.historyData = list[1]\n // } else if (\n // (item.status == 2 || item.status == 1) &&\n // list.length > 1\n // ) {\n // this.projectInfo = list[0]\n // this.historyData = list[1]\n // } else if (\n // (item.status == 2 || item.status == 1) &&\n // list.length <= 1\n // ) {\n // this.projectInfo = list[0]\n // this.historyData = {\n // files: []\n // }\n // }\n // })\n // this.projectInfo.approvalCommentsList = this.projectInfo\n // .approvalComments\n // ? this.projectInfo.approvalComments.split('$_$')\n // : []\n // this.historyData.approvalCommentsList = this.historyData\n // .approvalComments\n // ? this.historyData.approvalComments.split('$_$')\n // : []\n // this.hisData = Object.values(this.historyData)\n // }\n\n });\n this.formVisible = true;\n },\n // 详情\n handleDetils: function handleDetils(data) {\n var _this4 = this;\n\n this.isShowBtn = false;\n this.disabled = true;\n this.formVisible = true;\n this.dialog.title = '编辑'; // this.dialog.title = '详情'\n\n this.reqLoading = true;\n this.dialogForm = data;\n this.unitNameArr = data.cooperativeUnitName.split(',');\n\n if (data.groupName) {\n this.groupName = JSON.parse(data.groupName).map(function (item) {\n return item.groupName;\n });\n }\n\n var list = [];\n var param = {\n querys: [],\n pageBean: {\n pageSize: 2\n },\n sorter: [{\n direction: 'DESC',\n property: 'LAST_TIME_'\n }]\n };\n param.querys.push({\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'DETAILS_ID_',\n relation: 'AND',\n value: data.id\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'UNIT_ID_',\n relation: 'AND',\n value: data.unitId\n });\n req.post(portal + '/bizMeetingEventPush/v1/queryHistory', param).then(function (res) {\n if (res.data.state) {\n _this4.reqLoading = false;\n list = res.data.value;\n _this4.projectInfo = list[0];\n _this4.projectInfo.abutmentStatus = list[0].abutmentStatus + '';\n _this4.projectInfo.approvalCommentsList = list[0] && list[0].approvalComments ? _this4.projectInfo.approvalComments.split('$_$') : [];\n\n if (list[1]) {\n _this4.historyData = list[1];\n _this4.historyData.approvalCommentsList = list[1] && list[1].approvalComments ? list[1].approvalComments.split('$_$') : [];\n }\n\n if (_this4.historyData && _this4.historyData.abutmentStatus) {\n _this4.abutmentStatusList.forEach(function (item) {\n if (_this4.historyData.status == 7 && item.value - 0 < _this4.historyData.abutmentStatus - 0) {\n item.disabled = true;\n }\n });\n }\n }\n });\n },\n // 保存\n handleSave: function handleSave() {\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: 'success'\n }).then(function () {\n _this5.markLoading = true;\n _this5.verifyling = true;\n _this5.loading = true;\n _this5.projectInfo.classified = _this5.classified;\n req.post(portal + '/bizMeetingEventPush/v1/saveOrUpdateEntity', _this5.projectInfo).then(function (res) {\n if (res.data.state) {\n _this5.$message.success('保存成功');\n\n _this5.verifyling = false;\n } else {\n _this5.$message.error('保存失败');\n\n _this5.verifyling = false;\n }\n\n _this5.loading = false;\n _this5.formVisible = false;\n _this5.markLoading = false;\n\n _this5.loadData(_this5.params);\n });\n });\n },\n // 审核通过\n handleVerify: function handleVerify() {\n var _this6 = 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 _this6.markLoading = true;\n _this6.verifyling = true;\n _this6.projectInfo.status = _this6.dialogForm.meetingType - 0 > 19 && _this6.dialogForm.meetingType != 30 || _this6.groupName.length > 1 ? 5 : 3;\n _this6.projectInfo.classified = _this6.classified;\n _this6.loading = true;\n req.post(portal + '/bizMeetingEventPush/v1/examineAndVerify', _this6.projectInfo).then(function (res) {\n if (res.data.state) {\n _this6.$message.success('通过成功');\n\n _this6.verifyling = false;\n } else {\n _this6.$message.error('通过失败');\n\n _this6.verifyling = false;\n }\n\n _this6.loading = false;\n _this6.formVisible = false;\n _this6.markLoading = false;\n\n _this6.loadData(_this6.params);\n });\n });\n },\n // 审核驳回\n handleReject: function handleReject() {\n var _this7 = 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 _this7.$refs.RejectInfoBlockDialog.open();\n });\n },\n sendRejectInfo: function sendRejectInfo(approvalComments) {\n var _this8 = this;\n\n // this.reqLoading = true\n this.markLoading = true;\n this.projectInfo.classified = this.classified;\n var data = this.projectInfo;\n data.status = 2;\n data.approvalComments = approvalComments;\n console.log(data, 'data');\n req.post(portal + '/bizMeetingEventPush/v1/examineAndVerify', data).then(function (res) {\n if (res.data.state) {\n _this8.$message.success('驳回成功');\n\n _this8.handleClose();\n\n _this8.loadData(_this8.params);\n } else {\n _this8.$message.success('驳回失败');\n } // this.reqLoading = false\n\n\n _this8.markLoading = false;\n });\n },\n // 顶部搜索\n handleSearch: function handleSearch() {\n var obj = JSON.parse(JSON.stringify(this.searchForm));\n var querys = [{\n group: 'main',\n operation: 'IN',\n property: 'P.STATUS_',\n relation: 'AND',\n value: this.auditStatus ? [2, 3, 4, 5, 6, 7] : [1]\n }];\n\n for (var i in obj) {\n if (obj[i]) {\n querys.push({\n group: 'main',\n operation: i == 'u.UNIT_NAME_' || i == 'd.MEETING_TASK_' || i == 'e.MEETING_NAME_' ? 'LIKE' : 'EQUAL',\n parentGroup: '',\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n }\n }\n\n this.params.querys = querys;\n this.params.pageBean.page = 1;\n this.loadData(this.params);\n },\n // 页面中swatch回调事件\n handleSwitch: function handleSwitch(bol) {\n if (bol == true) {\n // 已办\n var searchForm = {\n 'p.STATUS_': [2, 3, 4, 5, 6, 7]\n };\n this.operation = 'IN';\n this.searchForm['p.STATUS_'] = searchForm['p.STATUS_'];\n } else {\n // 代办\n var _searchForm = {\n 'p.STATUS_': 1\n };\n this.operation = 'EQUAL';\n this.searchForm['p.STATUS_'] = _searchForm['p.STATUS_'];\n }\n\n this.handleSearch();\n },\n // 弹层关闭\n handleClose: function handleClose() {\n this.abutmentStatusList.forEach(function (item) {\n item.disabled = false;\n });\n this.classified = 0;\n this.formVisible = false;\n this.historyData = null;\n },\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]}