{"remainingRequest":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/RT/RTContainerNews.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/RT/RTContainerNews.vue","mtime":1739760944311},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/babel.config.js","mtime":1739760943855},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"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 _defineProperty from \"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nexport default {\n data: function data() {\n return {\n titleArr: [{\n name: \"信息化动态\",\n type: 1\n }, {\n name: \"信息化工作思路\",\n type: 2\n }],\n inx: 0,\n params: {\n //搜索条件\n pageIndex: 1,\n pageSize: 8,\n total: 0\n },\n type: 1,\n tableDataNewsList: [],\n tableData: [],\n tableData2: [],\n tableData3: [],\n DialogVisible: false,\n detailContent: {}\n };\n },\n mounted: function mounted() {\n this.newsCate();\n },\n methods: {\n newsCate: function newsCate() {\n var _this = this;\n this.$api.newsCateApi(this.params, {\n onSucess: function onSucess(response) {\n var newsData = response.data.data.filter(function (item) {\n return item.item_workbench == \"是\";\n });\n _this.titleArr = newsData;\n // console.log(this.titleArr)\n var item = _this.titleArr[0]; //默认取第一个分类的列表\n _this.newslist(item);\n }\n });\n },\n titleClick: function titleClick(item, index) {\n this.inx = index;\n this.type = item.type;\n this.newslist(item);\n },\n newslist: function newslist(item) {\n var _this2 = this;\n var jsonData = _objectSpread({\n classificationid: item.classificationid\n }, this.params);\n this.$api.newslistApi(jsonData, {\n onSucess: function onSucess(response) {\n _this2.tableDataNewsList = response.data.data;\n _this2.tableDataNewsList && _this2.tableDataNewsList.forEach(function (item) {\n if (item.item_image) {\n var path = JSON.parse(item.item_image)[0].path;\n if (path.indexOf(\"http\") > -1) {\n _this2.$set(item, \"imgpath\", path);\n } else {\n _this2.$set(item, \"imgpath\", \"/obpm\" + path);\n }\n }\n });\n }\n });\n },\n newsdetailli: function newsdetailli(item) {\n var _this3 = this;\n var jsonData = _objectSpread({\n articleid: item.articleid\n }, this.params);\n this.$api.newsdetailliApi(jsonData, {\n onSucess: function onSucess(response) {\n _this3.detailContent = response.data.data[0];\n if (_this3.detailContent.item_enclosure) {\n _this3.detailContent.fjArr = JSON.parse(_this3.detailContent.item_enclosure);\n }\n }\n });\n this.$api.newsdetailReadingApi(jsonData, {\n onSucess: function onSucess(response) {}\n });\n },\n fjclick: function fjclick(item) {\n if (item.path.indexOf(\"http\") > -1) {\n window.open(item.path);\n } else {\n window.open(\"/obpm\" + item.path);\n }\n },\n more: function more(inx) {\n var title = this.titleArr[inx].item_classify_name;\n var url = \"/static/signon/news/index.html?v=\".concat(Date.now(), \"#/DynamicPage\").concat(this.titleArr[inx].item_orderby, \"?id=\").concat(this.titleArr[inx].classificationid);\n this.$parent.$parent.$parent.$parent.navtopmenuclick(6, \"news\", url, title);\n // if(this.type==1){\n // let appId='__Hab04s0VNDPrjFZ3Xlo'\n // let name='挂图作战'\n // let flag=1\n // this.$store.dispatch(\"loadMenus\", {appId, name,flag});\n // }else if(this.type==2){\n // let appId='__l8yB8fdHv3OmXOrHfyF'\n // let name='进度滞后预警'\n // let flag=1\n // this.$store.dispatch(\"loadMenus\", {appId, name,flag});\n // }else if(this.type==3){\n // let appId='__u1xGyTCVhsSaWrgdBed'\n // let name='联合专班日报'\n // let flag=1\n // this.$store.dispatch(\"loadMenus\", {appId, name,flag});\n // }\n }\n }\n};",null]}