{"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\\DocumentEntry.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MeetingManagement\\DocumentEntry.vue","mtime":1716368601157},{"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/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//\nimport pagination from '@/components/pagination';\nimport OrgSelectDialog from '@/components/dialog/OrgSelectDialog.vue';\nimport DocumentEntryForm from \"./dialog/DocumentEntryForm.vue\";\nimport FileDetails from \"./dialog/FileDetails.vue\";\nimport { TableMixin } from '@/mixins/tableMixin';\nimport meet from '@/api/meeting';\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 DocumentEntryForm: DocumentEntryForm,\n FileDetails: FileDetails\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n markLoading: false,\n treeItem: null,\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 },\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n searchForm: {},\n // 顶部搜索对象\n deleteIds: '',\n // 是否选中列表解锁删除按钮\n activeCollapse1: ['1', '2'],\n fileList: [],\n // 文件上传\n dialog: {\n title: '添加',\n visible: false\n },\n unitIds: [],\n dialogForm: {},\n unitArray: [],\n disabled: false,\n // 是否禁止输入输入\n edit: false,\n // 是否是修改功能\n rules: {\n fileName: {\n required: true,\n message: '请输入文件名称',\n trigger: 'blur'\n },\n reviewTime: {\n required: true,\n message: '请选择审议时间',\n trigger: 'blur'\n },\n meetingName: {\n required: true,\n message: '请输入会议名称',\n trigger: 'blur'\n },\n feedbackTimeLimit: {\n required: true,\n message: '请选择反馈时限',\n trigger: 'blur'\n }\n }\n };\n },\n created: function created() {\n this.loadData(this.params);\n console.log(this.unitTreeData);\n },\n methods: {\n // 撤回\n revokeReview: function revokeReview(item) {\n var _this = this;\n\n this.$confirm('确认执行撤销操作吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'error'\n }).then(function () {\n _this.markLoading = true;\n var id = item.id;\n req.post(portal + '/fill/bizMeetingDocumentsPush/v1/revSendStatus?id=' + id).then(function (res) {\n if (res.data.state) {\n var data = {\n id: id,\n sendStatus: 0\n };\n meet.distributeById(data, function (res) {\n console.log(res);\n\n if (res.state) {\n _this.$message.success('撤销操作成功');\n\n _this.loadData(_this.params);\n }\n });\n }\n\n _this.markLoading = false;\n });\n });\n },\n handleLookDetiles: function handleLookDetiles(row) {\n this.$refs.FileDetails.open(row);\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 //获取数据\n loadData: function loadData(params) {\n var _this2 = this;\n\n this.tableLoading = true;\n req.post(portal + '/bizMeetingDocumentsConsidered/v1/queryPush', 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 flushed: function flushed() {\n this.loadData(this.params);\n },\n //添加\n handleAdd: function handleAdd() {\n this.$refs.DocumentEntryForm.isUpdate = false;\n this.$refs.DocumentEntryForm.openForm();\n },\n // 详情\n //修改\n handleDbClick: function handleDbClick(row) {\n this.$refs.DocumentEntryForm.isUpdate = true;\n this.$refs.DocumentEntryForm.openForm(row);\n },\n // 删除\n handleDelete: function handleDelete() {\n var _this3 = this;\n\n this.$confirm(this.$t('common.sureDelete'), this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'warning'\n }).then(function () {\n req.remove(portal + '/bizMeetingDocumentsConsidered/v1/?ids=' + _this3.deleteIds).then(function (res) {\n _this3.loadData(_this3.params);\n });\n });\n },\n // 分发\n handleAppear: function handleAppear(item) {\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: 'warning'\n }).then(function () {\n _this4.markLoading = true;\n var data = {\n id: item.id,\n sendStatus: 1\n };\n meet.distributeById(data, function (res) {\n if (res.state) {\n item.sendStatus = 1;\n\n _this4.$message.success('分发成功');\n\n _this4.markLoading = false;\n } else {\n _this4.$message.success('分发失败');\n\n _this4.markLoading = false;\n }\n });\n });\n },\n // 顶部搜索\n handleSearch: function handleSearch() {\n var obj = 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 == 'FILE_NAME_' || i == '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.loadData(this.params);\n },\n // 弹层关闭\n handleDialogClose: function handleDialogClose() {\n this.dialog.visible = false;\n },\n //表格选中\n handleSelectionChange: function handleSelectionChange(currentData) {\n if (currentData.length === 0) return this.deleteIds = '';\n var ids = [];\n currentData.forEach(function (item) {\n ids.push(item.id);\n }); // this.$message.error(`【${item.demandTopic}】已上报待审核不能删除!`)\n\n this.deleteIds = ids.join(',');\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n page: page\n });\n this.handleSearch();\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n pageSize: pageSize\n });\n this.handleSearch();\n }\n }\n};",null]}