{"remainingRequest":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xypm-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xypm-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xypm-web\\src\\components\\home\\homeNewsParticulars.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xypm-web\\src\\components\\home\\homeNewsParticulars.vue","mtime":1675214577417},{"path":"D:\\jenkins\\workspace\\xypm-web\\babel.config.js","mtime":1675214572901},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.regexp.split\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 EipAttachment from \"@/components/eipControl/EipAttachment.vue\";\nimport req from \"@/request.js\";\nexport default {\n  components: {\n    EipAttachment: EipAttachment\n  },\n  props: [\"id\"],\n  data: function data() {\n    return {\n      dialogVisible: false,\n      data: {},\n      config: {\n        initialFrameHeight: 240,\n        UEDITOR_HOME_URL: window.location.origin + '/' + window.location.pathname.split('/')[1] + '/static/ueditor/',\n        toolbars: [],\n        elementPathEnabled: false,\n        //是否启用元素路径，默认是true显示　\n        wordCount: false,\n        //是否开启字数统计\n        // 初始容器宽度\n        initialFrameWidth: \"100%\",\n        zIndex: 9999,\n        enableAutoSave: false,\n        readonly: true\n      }\n    };\n  },\n  watch: {\n    id: function id(val) {\n      this.init(val);\n    }\n  },\n  created: function created() {},\n  methods: {\n    downloadFile: function downloadFile(item) {\n      req.download(\"${portal}/system/file/v1/downloadFile?fileId=\" + item.id);\n    },\n    openDialog: function openDialog() {\n      this.dialogVisible = true;\n    },\n    init: function init(id) {\n      var _this = this;\n\n      req.get(window.context.portal + \"/portalNewsNotice/v1/getNewsById?id=\" + id).then(function (response) {\n        //  if(response.data.file){\n        //    let file=JSON.parse(response.data.file);\n        //    let newFile=[];\n        //    for(let x=0;x<file.length;x++){\n        //      newFile.push({fileId:file[x].id,fileName:file[x].name,size:file[x].size});\n        //    }\n        //    response.data.file=JSON.stringify(newFile);\n        //  }\n        if (response.data.rotatingDisplayPictures && response.data.type == 1) {\n          response.data.imgUrl = window.context.portal + \"/system/file/v1/downloadFile?fileId=\" + response.data.rotatingDisplayPictures;\n        }\n\n        _this.data = response.data;\n      });\n    }\n  }\n};",null]}