{"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\\BigScreen\\components\\subComponents\\institutionalRule.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\subComponents\\institutionalRule.vue","mtime":1745595352102},{"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.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nimport \"core-js/modules/es6.array.find\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 Docx from '@/components/docx';\nexport default {\n name: 'institutionalRule',\n components: {\n Docx: Docx\n },\n data: function data() {\n return {\n title: '',\n fileUrl: '',\n dialogVisible: false,\n explain: [{\n label: '有关说明',\n value: './files/docx/有关说明.docx',\n year: [2023]\n }, // {\n // label: '有关说明(2024)',\n // value: './files/docx/有关说明(2024).docx',\n // year: [2024],\n // },\n {\n label: '有关说明(202405)',\n value: './files/docx/有关说明(202405).docx',\n year: [2024]\n }, {\n label: '202412版指标细则',\n value: './files/docx/202412版指标细则.docx',\n year: [2025]\n }],\n audit: [{\n label: '区县改革报表系统数据录入审核有关规范(3.0版)',\n value: './files/docx/区县改革报表系统数据录入审核有关规范(3.0版).docx',\n year: [2023]\n }, // {\n // label: '区县改革报表系统数据录入审核有关规范(4.0版)',\n // value: './files/docx/区县改革报表系统数据录入审核有关规范(4.0版).docx',\n // year: [2024],\n // },\n {\n label: '区县改革报表系统数据录入审核有关规范(5.0版)',\n value: './files/docx/区县改革报表系统数据录入审核有关规范(5.0版).docx',\n year: [2024]\n }],\n actions: [{\n label: '区县改革报表填报系统操作说明及规范(3.0版)',\n value: './files/docx/区县改革报表填报系统操作说明及规范(3.0版).docx',\n year: [2023]\n }, // {\n // label: '区县改革报表填报系统操作说明及规范(4.0版)',\n // value: './files/docx/区县改革报表填报系统操作说明及规范(4.0版).docx',\n // year: [2024],\n // },\n {\n label: '区县改革报表填报系统操作说明及规范(5.0版)',\n value: './files/docx/区县改革报表填报系统操作说明及规范(5.0版).docx',\n year: [2024]\n }],\n formula: [{\n label: '办结率和驳回率计算公式',\n value: './files/docx/办结率和驳回率计算公式.docx',\n year: [2023, 2024]\n }],\n options: [],\n show: true,\n isHide: true\n };\n },\n methods: {\n setOptions: function setOptions() {\n this.options = [];\n\n var _JSON$parse = JSON.parse(sessionStorage.getItem('searchDate')),\n year = _JSON$parse.year;\n\n if (year === 2025) {\n this.isHide = false;\n }\n\n var fileItem = this.explain.find(function (item) {\n return item.year.includes(year);\n });\n this.title = fileItem.label;\n this.fileUrl = fileItem.value;\n this.options.push(fileItem);\n this.options.push(this.audit.find(function (item) {\n return item.year.includes(year);\n }));\n this.options.push(this.actions.find(function (item) {\n return item.year.includes(year);\n }));\n this.options.push(this.formula.find(function (item) {\n return item.year.includes(year);\n }));\n this.options = this.options.filter(function (item) {\n return item !== undefined;\n });\n console.log(this.options, 'this.options');\n },\n open: function open() {\n this.dialogVisible = true;\n this.setOptions();\n },\n fileChange: function fileChange(item) {\n var _this = this;\n\n if (item.label !== this.title) {\n this.show = false;\n this.fileUrl = item.value;\n this.title = item.label;\n setTimeout(function () {\n _this.show = true;\n }, 500);\n }\n },\n frontDownload: function frontDownload(item) {\n var a = document.createElement('a'); // 创建一个标签\n\n a.href = item.value;\n a.download = item.label + '.docx'; // 设置下载文件文件名\n\n a.style.display = 'none'; // 隐藏a标签\n\n document.body.appendChild(a); // 将a标签追加到文档对象中\n\n a.click(); // 模拟点击了a标签,会触发a标签的href的读取,浏览器就会自动下载了\n\n a.remove(); // 一次性的,用完就删除a标签\n }\n }\n};",null]}