{"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\\dialog\\FileDetails.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MeetingManagement\\dialog\\FileDetails.vue","mtime":1682243281796},{"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/es6.regexp.split\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.string.iterator\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 FileList from '@/components/uploadFile/FileList.vue';\nimport RejectInfoDialog from '@/components/dialog/RejectInfoDialog.vue';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport meet from '@/api/meeting';\nexport default {\n name: 'BrandDisplayDetails',\n components: {\n FileList: FileList,\n RejectInfoDialog: RejectInfoDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n btnShow: false,\n DetailsVisible: false,\n reqLoading: false,\n markLoading: false,\n dialogVisible: false,\n fileList: [],\n fileInfo: {},\n activeCollapse: ['1', '2', '3'],\n histroyData: null,\n approvalComments: '',\n unitNames: [],\n newData: {},\n bhData: {}\n };\n },\n methods: {\n //\n open: function open(item) {\n var _this = this;\n\n this.bhData = item;\n this.reqLoading = true;\n this.DetailsVisible = true;\n var arr = item.unitId ? [this.getEntryById(item.id), this.getHistroyDetail({\n id: item.id,\n unitId: item.unitId\n })] : item.id ? [this.getEntryById(item.id)] : [];\n Promise.all(arr).then(function () {\n _this.reqLoading = false;\n });\n },\n // 根据id查询录入详情\n getEntryById: function getEntryById(id) {\n var _this2 = this;\n\n return new Promise(function (resolve) {\n meet.getEntryById(id, function (res) {\n console.log(res);\n _this2.fileInfo = res.value;\n var invs = res.value.invs;\n _this2.unitNames = invs && invs.length ? invs.map(function (item) {\n return item.unitName;\n }) : [];\n resolve();\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.markLoading = true;\n var data = JSON.parse(JSON.stringify(_this3.bhData));\n data.status = _this3.$route.name == 'AdvanceAudits' ? 5 : 3;\n meet.updateStatus(data, function (res) {\n if (res.state) {\n _this3.$message.success('审核通过成功');\n\n _this3.$emit('flushed');\n\n _this3.handleClose();\n } else {\n _this3.$message.success('审核通过失败');\n }\n\n _this3.markLoading = false;\n });\n });\n },\n openInputVisible: function openInputVisible() {\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();\n });\n },\n sendRejectInfo: function sendRejectInfo(approvalComments) {\n var _this5 = this;\n\n this.markLoading = true;\n var data = JSON.parse(JSON.stringify(this.bhData));\n data.status = this.$route.name == 'AdvanceAudits' ? 4 : 2;\n data.approvalComments = approvalComments;\n meet.updateStatus(data, function (res) {\n if (res.state) {\n _this5.$message.success('审核驳回成功');\n\n _this5.$emit('flushed');\n\n _this5.handleClose();\n } else {\n _this5.$message.success('审核驳回失败');\n }\n\n _this5.markLoading = false;\n });\n },\n getHistroyDetail: function getHistroyDetail(data) {\n var _this6 = this;\n\n return new Promise(function (resolve) {\n meet.getHistroyDetail(data, function (res) {\n // if (res.value[0].status == 3) {\n // this.histroyData = res.value[0]\n // resolve()\n // } else {\n _this6.newData = res.value[0];\n _this6.newData.approvalComments = res.value[0] && res.value[0].approvalComments ? res.value[0].approvalComments.split('$_$') : [];\n\n if (res.value[1]) {\n _this6.histroyData = res.value[1];\n _this6.histroyData.approvalComments = res.value[1] && res.value[1].approvalComments ? res.value[1].approvalComments.split('$_$') : [];\n }\n\n resolve(); // }\n });\n });\n },\n // 文件相关\n openUploade: function openUploade() {\n this.$refs.uploadFile.open('ProjectBrand');\n },\n // ------------\n handleClose: function handleClose() {\n this.DetailsVisible = false;\n this.activeCollapse = ['1', '3'];\n this.histroyData = null;\n }\n }\n};",null]}