diff --git a/README.md b/README.md index f1253566..61a80b7e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ zyplayer-doc是一款在线文档工具,现有swagger 文档、dubbo文档、 体验地址:[http://doc.zyplayer.com](http://doc.zyplayer.com/zyplayer-doc-manage/) 需登录 账号:zyplayer 密码:123456 (未运行dubbo服务,不能体验dubbo文档调试) 各模块的详细使用文档地址,部署必看: -[http://doc.zyplayer.com/zyplayer-doc-manage/open-wiki.html?pageId=1&space=23f3f59a60824d21af9f7c3bbc9bc3cb](http://doc.zyplayer.com/zyplayer-doc-manage/open-wiki.html?pageId=1&space=23f3f59a60824d21af9f7c3bbc9bc3cb) +[http://doc.zyplayer.com/zyplayer-doc-manage/doc-wiki#/page/share/view?pageId=1&space=23f3f59a60824d21af9f7c3bbc9bc3cb](http://doc.zyplayer.com/zyplayer-doc-manage/doc-wiki#/page/share/view?pageId=1&space=23f3f59a60824d21af9f7c3bbc9bc3cb) #### 模块介绍 @@ -48,7 +48,7 @@ zyplayer-doc是一款在线文档工具,现有swagger 文档、dubbo文档、 3. 启动zyplayer-doc-manage项目,访问地址:http://127.0.0.1:8083/zyplayer-doc-manage/ -更多详细的使用部署文档:http://doc.zyplayer.com/zyplayer-doc-manage/open-wiki.html?pageId=1&space=23f3f59a60824d21af9f7c3bbc9bc3cb +更多详细的使用部署文档:http://doc.zyplayer.com/zyplayer-doc-manage/doc-wiki#/page/share/view?pageId=1&space=23f3f59a60824d21af9f7c3bbc9bc3cb #### 界面展示 ![主页面](https://images.gitee.com/uploads/images/2020/0516/125840_d6284954_596905.png "主页面.png") diff --git a/zyplayer-doc-core/README.md b/zyplayer-doc-core/README.md index 5b011c42..54e11ee8 100644 --- a/zyplayer-doc-core/README.md +++ b/zyplayer-doc-core/README.md @@ -5,5 +5,5 @@ 模块的详细使用文档地址,部署必看: -http://doc.zyplayer.com/zyplayer-doc-manage/open-wiki.html?pageId=1&space=23f3f59a60824d21af9f7c3bbc9bc3cb +http://doc.zyplayer.com/zyplayer-doc-manage/doc-wiki#/page/share/view?pageId=1&space=23f3f59a60824d21af9f7c3bbc9bc3cb diff --git a/zyplayer-doc-data/README.md b/zyplayer-doc-data/README.md index fa0f6c29..e7fd4432 100644 --- a/zyplayer-doc-data/README.md +++ b/zyplayer-doc-data/README.md @@ -5,5 +5,5 @@ 模块的详细使用文档地址,部署必看: -http://doc.zyplayer.com/zyplayer-doc-manage/open-wiki.html?pageId=1&space=23f3f59a60824d21af9f7c3bbc9bc3cb +http://doc.zyplayer.com/zyplayer-doc-manage/doc-wiki#/page/share/view?pageId=1&space=23f3f59a60824d21af9f7c3bbc9bc3cb diff --git a/zyplayer-doc-grpc/README.md b/zyplayer-doc-grpc/README.md index 5453857f..aca49d49 100644 --- a/zyplayer-doc-grpc/README.md +++ b/zyplayer-doc-grpc/README.md @@ -5,5 +5,5 @@ grpc文档 模块的详细使用文档地址,部署必看: -http://doc.zyplayer.com/zyplayer-doc-manage/open-wiki.html?pageId=28&space=23f3f59a60824d21af9f7c3bbc9bc3cb +http://doc.zyplayer.com/zyplayer-doc-manage/doc-wiki#/page/share/view?pageId=28&space=23f3f59a60824d21af9f7c3bbc9bc3cb diff --git a/zyplayer-doc-manage/README.md b/zyplayer-doc-manage/README.md index 41a1061b..208960d7 100644 --- a/zyplayer-doc-manage/README.md +++ b/zyplayer-doc-manage/README.md @@ -5,5 +5,5 @@ 各模块的详细使用文档地址,部署必看: -http://doc.zyplayer.com/zyplayer-doc-manage/open-wiki.html?pageId=31&space=23f3f59a60824d21af9f7c3bbc9bc3cb +http://doc.zyplayer.com/zyplayer-doc-manage/doc-wiki#/page/share/view?pageId=31&space=23f3f59a60824d21af9f7c3bbc9bc3cb diff --git a/zyplayer-doc-manage/src/main/java/com/zyplayer/doc/manage/web/manage/DocSystemController.java b/zyplayer-doc-manage/src/main/java/com/zyplayer/doc/manage/web/manage/DocSystemController.java index e13732c0..208937c8 100644 --- a/zyplayer-doc-manage/src/main/java/com/zyplayer/doc/manage/web/manage/DocSystemController.java +++ b/zyplayer-doc-manage/src/main/java/com/zyplayer/doc/manage/web/manage/DocSystemController.java @@ -16,7 +16,6 @@ public class DocSystemController { return new ModelAndView("/doc-console.html"); } - @AuthMan @GetMapping("/doc-wiki") public ModelAndView wiki() { return new ModelAndView("/doc-wiki.html"); diff --git a/zyplayer-doc-manage/src/main/resources/application.yml b/zyplayer-doc-manage/src/main/resources/application.yml index d9868a74..a50da131 100644 --- a/zyplayer-doc-manage/src/main/resources/application.yml +++ b/zyplayer-doc-manage/src/main/resources/application.yml @@ -39,10 +39,12 @@ zyplayer: url: jdbc:mysql://127.0.0.1:3306/zyplayer_doc_manage?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false username: root password: root - # ------wiki文档相关------ + # ------WIKI文档相关------ wiki: - # wiki文档的文件上传后的存储目录 - upload-path: e:/tmp/wikiFiles + # WIKI文档的文件上传后的存储目录,!!截图或文件还是很重要的,建议您还要定期备份此目录的文件呢!! + upload-path: e:/zyplayerDoc/wikiFiles + # 是否检查目录有被系统定期清理的风险,强烈建议开启 + upload-path-check: true # ------swagger相关配置------ swagger: proxy-request: diff --git a/zyplayer-doc-ui/README.md b/zyplayer-doc-ui/README.md index a5867301..7bde5eed 100644 --- a/zyplayer-doc-ui/README.md +++ b/zyplayer-doc-ui/README.md @@ -5,5 +5,5 @@ 模块的详细使用文档地址,部署必看: -http://doc.zyplayer.com/zyplayer-doc-manage/open-wiki.html?pageId=28&space=23f3f59a60824d21af9f7c3bbc9bc3cb +http://doc.zyplayer.com/zyplayer-doc-manage/doc-wiki#/page/share/view?pageId=28&space=23f3f59a60824d21af9f7c3bbc9bc3cb diff --git a/zyplayer-doc-ui/console-ui/src/views/home/Home.vue b/zyplayer-doc-ui/console-ui/src/views/home/Home.vue index c8eaf3f3..80fdefc4 100644 --- a/zyplayer-doc-ui/console-ui/src/views/home/Home.vue +++ b/zyplayer-doc-ui/console-ui/src/views/home/Home.vue @@ -41,7 +41,7 @@
二方库-集成代理版 - +
diff --git a/zyplayer-doc-ui/db-ui/src/views/data/Export.vue b/zyplayer-doc-ui/db-ui/src/views/data/Export.vue index ab753183..88c986f9 100644 --- a/zyplayer-doc-ui/db-ui/src/views/data/Export.vue +++ b/zyplayer-doc-ui/db-ui/src/views/data/Export.vue @@ -16,7 +16,7 @@ Excel格式 导出选中的表 - +
diff --git a/zyplayer-doc-ui/db-ui/src/views/data/TransferData.vue b/zyplayer-doc-ui/db-ui/src/views/data/TransferData.vue index 9e52ca51..c838ae30 100644 --- a/zyplayer-doc-ui/db-ui/src/views/data/TransferData.vue +++ b/zyplayer-doc-ui/db-ui/src/views/data/TransferData.vue @@ -4,7 +4,7 @@
数据互导工具 - +
新建 diff --git a/zyplayer-doc-ui/wiki-ui/src/views/home/Home.vue b/zyplayer-doc-ui/wiki-ui/src/views/home/Home.vue index aab3a794..17cf4c36 100644 --- a/zyplayer-doc-ui/wiki-ui/src/views/home/Home.vue +++ b/zyplayer-doc-ui/wiki-ui/src/views/home/Home.vue @@ -80,7 +80,7 @@ this.getSpacePageNews(); }, showPageDetail(row) { - this.nowClickPath = {spaceId: row.spaceId, pageId: row.pageId}; + this.nowClickPath = {pageId: row.pageId}; this.$router.push({path: '/page/show', query: this.nowClickPath}); }, handleCurrentChange(val) { diff --git a/zyplayer-doc-ui/wiki-ui/src/views/page/Search.vue b/zyplayer-doc-ui/wiki-ui/src/views/page/Search.vue index bdd55226..0ba2bf7f 100644 --- a/zyplayer-doc-ui/wiki-ui/src/views/page/Search.vue +++ b/zyplayer-doc-ui/wiki-ui/src/views/page/Search.vue @@ -78,7 +78,7 @@ this.getSpacePageNews(); }, showPageDetail(row) { - window.open('#/page/show?spaceId=' + row.spaceId + "&pageId=" + row.pageId); + window.open('#/page/show?pageId=' + row.pageId); }, handleCurrentChange(val) { this.searchParam.pageNum = val; diff --git a/zyplayer-doc-wiki/README.md b/zyplayer-doc-wiki/README.md index 9de31ef3..2397c0d7 100644 --- a/zyplayer-doc-wiki/README.md +++ b/zyplayer-doc-wiki/README.md @@ -5,5 +5,5 @@ WIKI文档模块,定位为企业内部使用的WIKI文档 模块的详细使用文档地址,部署必看: -http://doc.zyplayer.com/zyplayer-doc-manage/open-wiki.html?pageId=25&space=23f3f59a60824d21af9f7c3bbc9bc3cb +http://doc.zyplayer.com/zyplayer-doc-manage/doc-wiki#/page/share/view?pageId=25&space=23f3f59a60824d21af9f7c3bbc9bc3cb diff --git a/zyplayer-doc-wiki/src/main/java/com/zyplayer/doc/wiki/framework/config/CheckWikiFileSavePath.java b/zyplayer-doc-wiki/src/main/java/com/zyplayer/doc/wiki/framework/config/CheckWikiFileSavePath.java new file mode 100644 index 00000000..a09277e7 --- /dev/null +++ b/zyplayer-doc-wiki/src/main/java/com/zyplayer/doc/wiki/framework/config/CheckWikiFileSavePath.java @@ -0,0 +1,40 @@ +package com.zyplayer.doc.wiki.framework.config; + +import org.apache.commons.lang.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Component; + +import javax.annotation.PostConstruct; + +/** + * 检测文件存放目录是否有被清理的风险 + * + * @author 暮光:城中城 + * @since 2020年6月14日 + */ +@Component +public class CheckWikiFileSavePath { + private static Logger logger = LoggerFactory.getLogger(CheckWikiFileSavePath.class); + + @Value("${zyplayer.doc.wiki.upload-path:}") + private String uploadPath; + @Value("${zyplayer.doc.wiki.upload-path-check:true}") + private Boolean uploadPathCheck; + + @PostConstruct + public void postConstruct() { + if (StringUtils.isBlank(uploadPath) || !uploadPathCheck) { + return; + } + // 我就有这么笨,存在/tmp目录下文件被删了、、、特此搞个检测功能,提醒广大用户 + if (uploadPath.startsWith("/tmp") || uploadPath.startsWith("/var/tmp")) { + logger.error("Linux系统中如果文件存放至/tmp或/var/tmp目录下,文件有被系统定期删除的风险。" + + "如果确定没有问题,可修改配置文件的:zyplayer.doc.wiki.upload-path-check 项的值关闭此检查。" + + "但我们还是建议您不要存放至此目录!"); + throw new RuntimeException("WIKI文件存放目录有被清理的风险"); + } + } + +} diff --git a/zyplayer-doc-wiki/src/main/resources/doc-wiki.html b/zyplayer-doc-wiki/src/main/resources/doc-wiki.html index 8c03213e..a99b617c 100644 --- a/zyplayer-doc-wiki/src/main/resources/doc-wiki.html +++ b/zyplayer-doc-wiki/src/main/resources/doc-wiki.html @@ -1 +1 @@ -WIKI文档管理系统
\ No newline at end of file +WIKI文档管理系统
\ No newline at end of file diff --git a/zyplayer-doc-wiki/src/main/resources/js/app.11449e0c.js b/zyplayer-doc-wiki/src/main/resources/js/app.88daa0b4.js similarity index 99% rename from zyplayer-doc-wiki/src/main/resources/js/app.11449e0c.js rename to zyplayer-doc-wiki/src/main/resources/js/app.88daa0b4.js index a8827b9c..b9f0e558 100644 --- a/zyplayer-doc-wiki/src/main/resources/js/app.11449e0c.js +++ b/zyplayer-doc-wiki/src/main/resources/js/app.88daa0b4.js @@ -1 +1 @@ -(function(e){function t(t){for(var n,o,c=t[0],l=t[1],s=t[2],p=0,d=[];p0?a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onNewSpaceSubmit("newSpaceForm")}}},[e._v("保存修改")]):a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onNewSpaceSubmit("newSpaceForm")}}},[e._v("立即创建")]),a("el-button",{on:{click:e.onNewSpaceCancel}},[e._v("取消")])],1)],1)],1),a("el-dialog",{attrs:{title:"管理空间",visible:e.manageSpaceDialogVisible,"close-on-click-modal":!1,width:"80%"},on:{"update:visible":function(t){e.manageSpaceDialogVisible=t}}},[a("el-table",{staticStyle:{width:"100%","margin-bottom":"5px"},attrs:{data:e.spaceList,border:"","max-height":"500"}},[a("el-table-column",{attrs:{prop:"id",label:"ID",width:"60"}}),a("el-table-column",{attrs:{prop:"name",label:"名字"}}),a("el-table-column",{attrs:{prop:"spaceExplain",label:"说明"}}),a("el-table-column",{attrs:{label:"开放地址"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.openDoc?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.showOpenSpace(t.row.uuid)}}},[e._v(e._s(t.row.name))]):a("span",[e._v("暂未开放")])]}}])}),a("el-table-column",{attrs:{prop:"createUserName",label:"创建人"}}),a("el-table-column",{attrs:{prop:"createTime",label:"创建时间"}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(a){return e.editSpaceInfo(t.row)}}},[e._v("编辑")]),a("el-button",{attrs:{size:"small",type:"danger"},on:{click:function(a){return e.deleteSpaceInfo(t.row)}}},[e._v("删除")])]}}])})],1)],1),a("el-dialog",{attrs:{title:"关于zyplayer-doc-wiki",visible:e.aboutDialogVisible,width:"600px"},on:{"update:visible":function(t){e.aboutDialogVisible=t}}},[a("el-form",[a("el-form-item",{attrs:{label:"项目地址:"}},[a("a",{attrs:{target:"_blank",href:"https://gitee.com/zyplayer/zyplayer-doc"}},[e._v("zyplayer-doc")])]),a("el-form-item",{attrs:{label:"开发人员:"}},[a("a",{attrs:{target:"_blank",href:"http://zyplayer.com"}},[e._v("暮光:城中城")])]),e.upgradeInfo.lastVersion?[a("el-form-item",{attrs:{label:"当前版本:"}},[e._v(e._s(e.upgradeInfo.nowVersion))]),a("el-form-item",{attrs:{label:"最新版本:"}},[e._v(e._s(e.upgradeInfo.lastVersion))]),a("el-form-item",{attrs:{label:"升级地址:"}},[a("a",{attrs:{target:"_blank",href:e.upgradeInfo.upgradeUrl}},[e._v(e._s(e.upgradeInfo.upgradeUrl))])]),a("el-form-item",{attrs:{label:"升级内容:"}},[e._v(e._s(e.upgradeInfo.upgradeContent))])]:e._e(),a("el-form-item",{attrs:{label:""}},[e._v(" 欢迎加群讨论,QQ群号:466363173,欢迎提交需求,欢迎使用和加入开发! ")])],2)],1)],1)}),g=[],m=(a("4de4"),a("c975"),a("4ec9"),a("e25e"),a("3ca3"),a("ddb0"),a("9f03")),y=a("0a79"),b={data:function(){return{leftCollapse:!0,aboutDialogVisible:!1,rightContentLoading:!1,pathIndex:[],defaultProps:{children:"children",label:"name"},spaceOptions:[],spaceList:[],choiceSpace:"",nowSpaceShow:{},newSpaceDialogVisible:!1,manageSpaceDialogVisible:!1,newSpaceForm:{id:"",name:"",spaceExplain:"",treeLazyLoad:0,openDoc:0,uuid:"",type:1},newSpaceFormRules:{name:[{required:!0,message:"请输入空间名",trigger:"blur"},{min:2,max:25,message:"长度在 2 到 25 个字符",trigger:"blur"}]},nowPageId:"",treePathDataMap:new Map,searchKeywords:"",wikiPageList:[],wikiPage:{},wikiPageExpandedKeys:[],upgradeInfo:{}}},computed:{},mounted:function(){this.loadSpaceList(),this.checkSystemUpgrade()},methods:{loadPageList:function(e){e=e||{},this.doGetPageList(e.parentId,e.node)},createWiki:function(){this.choiceSpace>0?this.$router.push({path:"/page/edit",query:{parentId:this.nowPageId}}):this.$message.warning("请先选择或创建空间")},changeWikiPageExpandedKeys:function(e){this.wikiPageExpandedKeys=[e]},searchByKeywords:function(){this.$refs.wikiPageTree.filter(this.searchKeywords)},searchByKeywordsNewPage:function(){var e=this.$router.resolve({path:"/page/search",query:{keywords:this.searchKeywords}});window.open(e.href,"_blank")},handleNodeClick:function(e){console.log("点击节点:",e),this.nowPageId=e.id,this.$router.push({path:"/page/show",query:{pageId:e.id}})},handleNodeExpand:function(e){e.children.length>0&&e.children[0].needLoad&&(console.log("加载节点:",e),this.doGetPageList(e.id,e))},handlePageDrop:function(e,t,a,n){var o=this;console.log("tree drop: ",e.data,t.data,a);var i={id:e.data.id,parentId:t.data.parentId};"inner"==a?i.parentId=t.data.id:"before"==a?i.beforeSeq=t.data.seqNo:"after"==a&&(i.afterSeq=t.data.seqNo),y["a"].pageChangeParent(i).then((function(e){o.doGetPageList(null)}))},filterPageNode:function(e,t){return!e||-1!==t.name.indexOf(e)},showOpenSpace:function(e){var t=this.$router.resolve({path:"/page/share/home",query:{space:e}});window.open(t.href,"_blank")},editSpaceInfo:function(e){this.newSpaceForm={id:e.id,name:e.name,spaceExplain:e.spaceExplain,treeLazyLoad:e.treeLazyLoad,openDoc:e.openDoc,type:e.type},this.newSpaceDialogVisible=!0},deleteSpaceInfo:function(e){var t=this;this.$confirm("确定要删除此空间及下面的所有文档吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var a={id:e.id,delFlag:1};y["a"].updateSpace(a).then((function(){t.loadSpaceList()}))}))},spaceChangeEvents:function(e){if(0==e)this.newSpaceForm={id:"",name:"",spaceExplain:"",treeLazyLoad:0,openDoc:0,uuid:"",type:1},this.newSpaceDialogVisible=!0;else if(-1==e)this.manageSpaceDialogVisible=!0;else{this.choiceSpace=e;for(var t=0;t0){var o=e.spaceList[0].id;e.nowSpaceShow=e.spaceList[0],e.choiceSpace=o,e.nowPageId="",e.doGetPageList(null);try{"/home"==e.$router.app._route.path&&e.$router.push({path:"/home",query:{spaceId:o}})}catch(i){console.log(i)}}}))},doGetPageList:function(e,t){var a=this,n={spaceId:this.choiceSpace,parentId:e||0};0==this.nowSpaceShow.treeLazyLoad&&(n.parentId=null),y["a"].pageList(n).then((function(n){var o=n.data||[],i=[];if(0==a.nowSpaceShow.treeLazyLoad)i=o;else for(var r=0;r0?t.children=i:a.wikiPageList=i}))},userSettingDropdown:function(e){console.log("command:"+e),"userSignOut"==e?this.userSignOut():"aboutDoc"==e?this.aboutDialogVisible=!0:"myInfo"==e?this.$router.push({path:"/user/myInfo"}):"console"==e?window.location="./":this.$message.warning("暂未开放")},userSignOut:function(){m["a"].userLogout().then((function(){location.reload()}))},onNewSpaceSubmit:function(e){var t=this;this.$refs[e].validate((function(e){if(e){var a={id:t.newSpaceForm.id,name:t.newSpaceForm.name,type:t.newSpaceForm.type,openDoc:t.newSpaceForm.openDoc,spaceExplain:t.newSpaceForm.spaceExplain,treeLazyLoad:t.newSpaceForm.treeLazyLoad};y["a"].updateSpace(a).then((function(e){a.id>0?t.loadSpaceList():(t.spaceList.push(e.data),t.spaceOptions.push({label:e.data.name,value:e.data.id}),t.nowSpaceShow=e.data,t.choiceSpace=e.data.id,t.doGetPageList(null)),t.newSpaceForm={id:"",name:"",spaceExplain:"",treeLazyLoad:0,openDoc:0,uuid:"",type:1},t.newSpaceDialogVisible=!1}))}}))},onNewSpaceCancel:function(){this.newSpaceDialogVisible=!1},checkSystemUpgrade:function(){var e=this;m["a"].systemUpgradeInfo({}).then((function(t){t.data&&(e.upgradeInfo=t.data,console.log("zyplayer-doc发现新版本:\n升级地址:"+t.data.upgradeUrl+"\n当前版本:"+t.data.nowVersion+"\n最新版本:"+t.data.lastVersion+"\n升级内容:"+t.data.upgradeContent))}))},switchSpacePage:function(e){e=parseInt(e),this.choiceSpace!=e&&(this.choiceSpace=e,this.doGetPageList(null))}}},w=b,k=(a("149b"),Object(p["a"])(w,h,g,!1,null,null,null)),v=k.exports,S=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{height:"100%"}},[a("el-container",[a("el-aside",{directives:[{name:"show",rawName:"v-show",value:e.leftCollapse,expression:"leftCollapse"}],staticStyle:{"background-color":"#fafafa"},attrs:{width:"300px"}},[a("div",{staticClass:"logo"},[e._v(e._s(e.nowSpaceShow.name))]),a("div",{staticStyle:{padding:"10px","box-sizing":"border-box",background:"#fafafa"}},[a("el-input",{staticStyle:{margin:"10px 0"},attrs:{placeholder:"搜索文档"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchByKeywords(t)}},model:{value:e.searchKeywords,callback:function(t){e.searchKeywords=t},expression:"searchKeywords"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchByKeywords},slot:"append"})],1),a("el-tree",{ref:"wikiPageTree",staticStyle:{"background-color":"#fafafa","padding-bottom":"30px"},attrs:{props:e.defaultProps,data:e.wikiPageList,"filter-node-method":e.filterPageNode,"highlight-current":"","expand-on-click-node":!1,"default-expanded-keys":e.wikiPageExpandedKeys,"node-key":"id"},on:{"node-click":e.handleNodeClick}}),a("div",{staticClass:"build-info"},[e._v("本文档使用"),a("span",{on:{click:function(t){e.aboutDialogVisible=!0}}},[e._v("zyplayer-doc")]),e._v("构建")])],1)]),a("el-container",[a("el-main",{staticClass:"doc-body-box"},[a("router-view")],1)],1)],1),a("el-dialog",{attrs:{title:"关于zyplayer-doc-wiki",visible:e.aboutDialogVisible,width:"600px"},on:{"update:visible":function(t){e.aboutDialogVisible=t}}},[a("el-form",[a("el-form-item",{attrs:{label:"项目地址:"}},[a("a",{attrs:{target:"_blank",href:"https://gitee.com/zyplayer/zyplayer-doc"}},[e._v("zyplayer-doc")])]),a("el-form-item",{attrs:{label:"开发人员:"}},[a("a",{attrs:{target:"_blank",href:"http://zyplayer.com"}},[e._v("暮光:城中城")])]),a("el-form-item",{attrs:{label:""}},[e._v(" 欢迎加群讨论,QQ群号:466363173,欢迎提交需求,欢迎使用和加入开发! ")])],1)],1)],1)},x=[],P={data:function(){return{leftCollapse:!0,aboutDialogVisible:!1,defaultProps:{children:"children",label:"name"},spaceUuid:"",nowPageId:"",nowSpaceShow:{},searchKeywords:"",wikiPageList:[],wikiPageExpandedKeys:[]}},mounted:function(){this.spaceUuid=this.$route.query.space||"",this.getSpaceInfo(),this.doGetPageList(null)},methods:{filterPageNode:function(e,t){return!e||-1!==t.name.indexOf(e)},handleNodeClick:function(e){this.nowPageId!=e.id&&(console.log("点击节点:",e),this.nowPageId=e.id,this.$router.push({path:"/page/share/view",query:{pageId:e.id,space:this.spaceUuid}}))},searchByKeywords:function(){this.$refs.wikiPageTree.filter(this.searchKeywords)},doGetPageList:function(){var e=this;y["a"].openPageList({space:this.spaceUuid}).then((function(t){e.wikiPageList=t.data||[],e.nowPageId=""}))},getSpaceInfo:function(){var e=this;y["a"].openSpaceInfo({space:this.spaceUuid}).then((function(t){e.nowSpaceShow=t.data}))}}},L=P,I=(a("e1ab"),Object(p["a"])(L,S,x,!1,null,"3799a29f",null)),_=I.exports,O=[{path:"/",redirect:"/home"},{path:"/user/login",name:"WIKI-系统登录",component:function(){return a.e("chunk-0741282a").then(a.bind(null,"ac2a"))}},{path:"/page/search",name:"WIKI-全局搜索",component:function(){return a.e("chunk-34407190").then(a.bind(null,"f890"))}},{path:"/common/noAuth",name:"WIKI-没有权限",component:function(){return a.e("chunk-2d207ece").then(a.bind(null,"a339"))}},{path:"/page/editorTest",name:"编辑内容",component:function(){return a.e("chunk-b30fa2e0").then(a.bind(null,"ed40"))}},{path:"/",name:"页面管理",component:v,children:[{path:"/home",name:"WIKI文档管理",component:function(){return a.e("chunk-578eb6fe").then(a.bind(null,"b3d7"))}},{path:"/user/myInfo",name:"WIKI-我的信息",component:function(){return a.e("chunk-32cc5643").then(a.bind(null,"408e"))}},{path:"/page/show",name:"WIKI-内容展示",component:function(){return a.e("chunk-27da65ce").then(a.bind(null,"fb9f"))}},{path:"/page/edit",name:"WIKI-编辑内容",component:function(){return a.e("chunk-2e5083a6").then(a.bind(null,"73f0"))}}]},{path:"/",name:"页面管理",component:_,children:[{path:"/page/share/home",name:"WIKI-开放文档",component:function(){return a.e("chunk-5dc97978").then(a.bind(null,"6d37"))}},{path:"/page/share/view",name:"WIKI-内容展示",component:function(){return a.e("chunk-009efa60").then(a.bind(null,"f33f"))}}]}],z=O,j=a("2f62"),C={namespaced:!0,state:{pageTabNameMap:{}},getters:{getPageTabNameMap:function(e){return e.pageTabNameMap}},mutations:{addTableName:function(e,t){var a=Object.assign({},e.pageTabNameMap);a[t.key]=t.val,e.pageTabNameMap=a}}};n["default"].use(j["a"]);var D=new j["a"].Store({modules:{global:C}}),E=a("bc3a"),K=a.n(E),F=a("a7fe"),N=a.n(F);n["default"].use(i.a),n["default"].use(f["a"]),n["default"].use(N.a,K.a),n["default"].prototype.$store=D;var $=new f["a"]({routes:z});$.beforeEach((function(e,t,a){e.name&&(document.title=e.name),a()}));var V=new n["default"]({el:"#app",router:$,render:function(e){return e(u)}});t["default"]=V},"85ec":function(e,t,a){},"9f03":function(e,t,a){"use strict";var n=a("4328"),o=a.n(n),i=a("d978");t["a"]={systemUpgradeInfo:function(e){return Object(i["a"])({url:"/system/info/upgrade",method:"post",data:o.a.stringify(e)})},userLogin:function(e){return Object(i["a"])({url:"/login",method:"post",data:o.a.stringify(e)})},userLogout:function(){return Object(i["a"])({url:"/logout",method:"post",data:o.a.stringify({})})},getSelfUserInfo:function(){return Object(i["a"])({url:"/user/info/selfInfo",method:"post",data:o.a.stringify({})})},getUserBaseInfo:function(e){return Object(i["a"])({url:"/zyplayer-doc-wiki/common/user/base",method:"post",data:o.a.stringify(e)})}}},d978:function(e,t,a){"use strict";a("d3b7");var n=a("bc3a"),o=a.n(n),i=a("56d7"),r=o.a.create({baseURL:"./",timeout:1e4,headers:{"Content-type":"application/x-www-form-urlencoded"},withCredentials:!0}),c={"/zyplayer-doc-db/executor/execute":!0};r.interceptors.request.use((function(e){return e.needValidateResult=!0,c[e.url]&&(e.needValidateResult=!1),e}),(function(e){return console.log(e),Promise.reject(e)})),r.interceptors.response.use((function(e){if(e.message)i["default"].$message.error("请求错误:"+e.message);else{if(!e.config.needValidateResult||200==e.data.errCode)return e.data;if(400==e.data.errCode){i["default"].$message.error("请先登录");var t=encodeURIComponent(window.location.href);window.location="./#/user/login?redirect="+t}else 402==e.data.errCode?i["default"].$router.push("/common/noAuth"):200!==e.data.errCode&&i["default"].$message.error(e.data.errMsg||"未知错误")}return Promise.reject("请求错误")}),(function(e){return console.log("err"+e),i["default"].$message.info("请求错误:"+e.message),Promise.reject(e)})),t["a"]=r},e1ab:function(e,t,a){"use strict";var n=a("0eff"),o=a.n(n);o.a}}); \ No newline at end of file +(function(e){function t(t){for(var n,o,c=t[0],l=t[1],s=t[2],p=0,d=[];p0?a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onNewSpaceSubmit("newSpaceForm")}}},[e._v("保存修改")]):a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onNewSpaceSubmit("newSpaceForm")}}},[e._v("立即创建")]),a("el-button",{on:{click:e.onNewSpaceCancel}},[e._v("取消")])],1)],1)],1),a("el-dialog",{attrs:{title:"管理空间",visible:e.manageSpaceDialogVisible,"close-on-click-modal":!1,width:"80%"},on:{"update:visible":function(t){e.manageSpaceDialogVisible=t}}},[a("el-table",{staticStyle:{width:"100%","margin-bottom":"5px"},attrs:{data:e.spaceList,border:"","max-height":"500"}},[a("el-table-column",{attrs:{prop:"id",label:"ID",width:"60"}}),a("el-table-column",{attrs:{prop:"name",label:"名字"}}),a("el-table-column",{attrs:{prop:"spaceExplain",label:"说明"}}),a("el-table-column",{attrs:{label:"开放地址"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.openDoc?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.showOpenSpace(t.row.uuid)}}},[e._v(e._s(t.row.name))]):a("span",[e._v("暂未开放")])]}}])}),a("el-table-column",{attrs:{prop:"createUserName",label:"创建人"}}),a("el-table-column",{attrs:{prop:"createTime",label:"创建时间"}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(a){return e.editSpaceInfo(t.row)}}},[e._v("编辑")]),a("el-button",{attrs:{size:"small",type:"danger"},on:{click:function(a){return e.deleteSpaceInfo(t.row)}}},[e._v("删除")])]}}])})],1)],1),a("el-dialog",{attrs:{title:"关于zyplayer-doc-wiki",visible:e.aboutDialogVisible,width:"600px"},on:{"update:visible":function(t){e.aboutDialogVisible=t}}},[a("el-form",[a("el-form-item",{attrs:{label:"项目地址:"}},[a("a",{attrs:{target:"_blank",href:"https://gitee.com/zyplayer/zyplayer-doc"}},[e._v("zyplayer-doc")])]),a("el-form-item",{attrs:{label:"开发人员:"}},[a("a",{attrs:{target:"_blank",href:"http://zyplayer.com"}},[e._v("暮光:城中城")])]),e.upgradeInfo.lastVersion?[a("el-form-item",{attrs:{label:"当前版本:"}},[e._v(e._s(e.upgradeInfo.nowVersion))]),a("el-form-item",{attrs:{label:"最新版本:"}},[e._v(e._s(e.upgradeInfo.lastVersion))]),a("el-form-item",{attrs:{label:"升级地址:"}},[a("a",{attrs:{target:"_blank",href:e.upgradeInfo.upgradeUrl}},[e._v(e._s(e.upgradeInfo.upgradeUrl))])]),a("el-form-item",{attrs:{label:"升级内容:"}},[e._v(e._s(e.upgradeInfo.upgradeContent))])]:e._e(),a("el-form-item",{attrs:{label:""}},[e._v(" 欢迎加群讨论,QQ群号:466363173,欢迎提交需求,欢迎使用和加入开发! ")])],2)],1)],1)}),g=[],m=(a("4de4"),a("c975"),a("4ec9"),a("e25e"),a("3ca3"),a("ddb0"),a("9f03")),y=a("0a79"),b={data:function(){return{leftCollapse:!0,aboutDialogVisible:!1,rightContentLoading:!1,pathIndex:[],defaultProps:{children:"children",label:"name"},spaceOptions:[],spaceList:[],choiceSpace:"",nowSpaceShow:{},newSpaceDialogVisible:!1,manageSpaceDialogVisible:!1,newSpaceForm:{id:"",name:"",spaceExplain:"",treeLazyLoad:0,openDoc:0,uuid:"",type:1},newSpaceFormRules:{name:[{required:!0,message:"请输入空间名",trigger:"blur"},{min:2,max:25,message:"长度在 2 到 25 个字符",trigger:"blur"}]},nowPageId:"",treePathDataMap:new Map,searchKeywords:"",wikiPageList:[],wikiPage:{},wikiPageExpandedKeys:[],upgradeInfo:{}}},computed:{},mounted:function(){this.loadSpaceList(),this.checkSystemUpgrade()},methods:{loadPageList:function(e){e=e||{},this.doGetPageList(e.parentId,e.node)},createWiki:function(){this.choiceSpace>0?this.$router.push({path:"/page/edit",query:{parentId:this.nowPageId}}):this.$message.warning("请先选择或创建空间")},changeWikiPageExpandedKeys:function(e){this.wikiPageExpandedKeys=[e]},searchByKeywords:function(){this.$refs.wikiPageTree.filter(this.searchKeywords)},searchByKeywordsNewPage:function(){var e=this.$router.resolve({path:"/page/search",query:{keywords:this.searchKeywords}});window.open(e.href,"_blank")},handleNodeClick:function(e){console.log("点击节点:",e),this.nowPageId=e.id,this.$router.push({path:"/page/show",query:{pageId:e.id}})},handleNodeExpand:function(e){e.children.length>0&&e.children[0].needLoad&&(console.log("加载节点:",e),this.doGetPageList(e.id,e))},handlePageDrop:function(e,t,a,n){var o=this;console.log("tree drop: ",e.data,t.data,a);var i={id:e.data.id,parentId:t.data.parentId};"inner"==a?i.parentId=t.data.id:"before"==a?i.beforeSeq=t.data.seqNo:"after"==a&&(i.afterSeq=t.data.seqNo),y["a"].pageChangeParent(i).then((function(e){o.doGetPageList(null)}))},filterPageNode:function(e,t){return!e||-1!==t.name.indexOf(e)},showOpenSpace:function(e){var t=this.$router.resolve({path:"/page/share/home",query:{space:e}});window.open(t.href,"_blank")},editSpaceInfo:function(e){this.newSpaceForm={id:e.id,name:e.name,spaceExplain:e.spaceExplain,treeLazyLoad:e.treeLazyLoad,openDoc:e.openDoc,type:e.type},this.newSpaceDialogVisible=!0},deleteSpaceInfo:function(e){var t=this;this.$confirm("确定要删除此空间及下面的所有文档吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var a={id:e.id,delFlag:1};y["a"].updateSpace(a).then((function(){t.loadSpaceList()}))}))},spaceChangeEvents:function(e){if(0==e)this.newSpaceForm={id:"",name:"",spaceExplain:"",treeLazyLoad:0,openDoc:0,uuid:"",type:1},this.newSpaceDialogVisible=!0;else if(-1==e)this.manageSpaceDialogVisible=!0;else{this.choiceSpace=e;for(var t=0;t0){var o=e.spaceList[0].id;e.nowSpaceShow=e.spaceList[0],e.choiceSpace=o,e.nowPageId="",e.doGetPageList(null);try{"/home"==e.$router.app._route.path&&e.$router.push({path:"/home",query:{spaceId:o}})}catch(i){console.log(i)}}}))},doGetPageList:function(e,t){var a=this,n={spaceId:this.choiceSpace,parentId:e||0};0==this.nowSpaceShow.treeLazyLoad&&(n.parentId=null),y["a"].pageList(n).then((function(n){var o=n.data||[],i=[];if(0==a.nowSpaceShow.treeLazyLoad)i=o;else for(var r=0;r0?t.children=i:a.wikiPageList=i}))},userSettingDropdown:function(e){console.log("command:"+e),"userSignOut"==e?this.userSignOut():"aboutDoc"==e?this.aboutDialogVisible=!0:"myInfo"==e?this.$router.push({path:"/user/myInfo"}):"console"==e?window.location="./":this.$message.warning("暂未开放")},userSignOut:function(){m["a"].userLogout().then((function(){location.reload()}))},onNewSpaceSubmit:function(e){var t=this;this.$refs[e].validate((function(e){if(e){var a={id:t.newSpaceForm.id,name:t.newSpaceForm.name,type:t.newSpaceForm.type,openDoc:t.newSpaceForm.openDoc,spaceExplain:t.newSpaceForm.spaceExplain,treeLazyLoad:t.newSpaceForm.treeLazyLoad};y["a"].updateSpace(a).then((function(e){a.id>0?t.loadSpaceList():(t.spaceList.push(e.data),t.spaceOptions.push({label:e.data.name,value:e.data.id}),t.nowSpaceShow=e.data,t.choiceSpace=e.data.id,t.doGetPageList(null)),t.newSpaceForm={id:"",name:"",spaceExplain:"",treeLazyLoad:0,openDoc:0,uuid:"",type:1},t.newSpaceDialogVisible=!1}))}}))},onNewSpaceCancel:function(){this.newSpaceDialogVisible=!1},checkSystemUpgrade:function(){var e=this;m["a"].systemUpgradeInfo({}).then((function(t){t.data&&(e.upgradeInfo=t.data,console.log("zyplayer-doc发现新版本:\n升级地址:"+t.data.upgradeUrl+"\n当前版本:"+t.data.nowVersion+"\n最新版本:"+t.data.lastVersion+"\n升级内容:"+t.data.upgradeContent))}))},switchSpacePage:function(e){e=parseInt(e),this.choiceSpace!=e&&(this.choiceSpace=e,this.doGetPageList(null))}}},w=b,k=(a("149b"),Object(p["a"])(w,h,g,!1,null,null,null)),v=k.exports,S=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{height:"100%"}},[a("el-container",[a("el-aside",{directives:[{name:"show",rawName:"v-show",value:e.leftCollapse,expression:"leftCollapse"}],staticStyle:{"background-color":"#fafafa"},attrs:{width:"300px"}},[a("div",{staticClass:"logo"},[e._v(e._s(e.nowSpaceShow.name))]),a("div",{staticStyle:{padding:"10px","box-sizing":"border-box",background:"#fafafa"}},[a("el-input",{staticStyle:{margin:"10px 0"},attrs:{placeholder:"搜索文档"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchByKeywords(t)}},model:{value:e.searchKeywords,callback:function(t){e.searchKeywords=t},expression:"searchKeywords"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchByKeywords},slot:"append"})],1),a("el-tree",{ref:"wikiPageTree",staticStyle:{"background-color":"#fafafa","padding-bottom":"30px"},attrs:{props:e.defaultProps,data:e.wikiPageList,"filter-node-method":e.filterPageNode,"highlight-current":"","expand-on-click-node":!1,"default-expanded-keys":e.wikiPageExpandedKeys,"node-key":"id"},on:{"node-click":e.handleNodeClick}}),a("div",{staticClass:"build-info"},[e._v("本文档使用"),a("span",{on:{click:function(t){e.aboutDialogVisible=!0}}},[e._v("zyplayer-doc")]),e._v("构建")])],1)]),a("el-container",[a("el-main",{staticClass:"doc-body-box"},[a("router-view")],1)],1)],1),a("el-dialog",{attrs:{title:"关于zyplayer-doc-wiki",visible:e.aboutDialogVisible,width:"600px"},on:{"update:visible":function(t){e.aboutDialogVisible=t}}},[a("el-form",[a("el-form-item",{attrs:{label:"项目地址:"}},[a("a",{attrs:{target:"_blank",href:"https://gitee.com/zyplayer/zyplayer-doc"}},[e._v("zyplayer-doc")])]),a("el-form-item",{attrs:{label:"开发人员:"}},[a("a",{attrs:{target:"_blank",href:"http://zyplayer.com"}},[e._v("暮光:城中城")])]),a("el-form-item",{attrs:{label:""}},[e._v(" 欢迎加群讨论,QQ群号:466363173,欢迎提交需求,欢迎使用和加入开发! ")])],1)],1)],1)},x=[],P={data:function(){return{leftCollapse:!0,aboutDialogVisible:!1,defaultProps:{children:"children",label:"name"},spaceUuid:"",nowPageId:"",nowSpaceShow:{},searchKeywords:"",wikiPageList:[],wikiPageExpandedKeys:[]}},mounted:function(){this.spaceUuid=this.$route.query.space||"",this.getSpaceInfo(),this.doGetPageList(null)},methods:{filterPageNode:function(e,t){return!e||-1!==t.name.indexOf(e)},handleNodeClick:function(e){this.nowPageId!=e.id&&(console.log("点击节点:",e),this.nowPageId=e.id,this.$router.push({path:"/page/share/view",query:{pageId:e.id,space:this.spaceUuid}}))},searchByKeywords:function(){this.$refs.wikiPageTree.filter(this.searchKeywords)},doGetPageList:function(){var e=this;y["a"].openPageList({space:this.spaceUuid}).then((function(t){e.wikiPageList=t.data||[],e.nowPageId=""}))},getSpaceInfo:function(){var e=this;y["a"].openSpaceInfo({space:this.spaceUuid}).then((function(t){e.nowSpaceShow=t.data}))}}},L=P,I=(a("e1ab"),Object(p["a"])(L,S,x,!1,null,"3799a29f",null)),_=I.exports,O=[{path:"/",redirect:"/home"},{path:"/user/login",name:"WIKI-系统登录",component:function(){return a.e("chunk-0741282a").then(a.bind(null,"ac2a"))}},{path:"/page/search",name:"WIKI-全局搜索",component:function(){return a.e("chunk-34407190").then(a.bind(null,"f890"))}},{path:"/common/noAuth",name:"WIKI-没有权限",component:function(){return a.e("chunk-2d207ece").then(a.bind(null,"a339"))}},{path:"/page/editorTest",name:"编辑内容",component:function(){return a.e("chunk-b30fa2e0").then(a.bind(null,"ed40"))}},{path:"/",name:"页面管理",component:v,children:[{path:"/home",name:"WIKI文档管理",component:function(){return a.e("chunk-578eb6fe").then(a.bind(null,"b3d7"))}},{path:"/user/myInfo",name:"WIKI-我的信息",component:function(){return a.e("chunk-32cc5643").then(a.bind(null,"408e"))}},{path:"/page/show",name:"WIKI-内容展示",component:function(){return a.e("chunk-27da65ce").then(a.bind(null,"fb9f"))}},{path:"/page/edit",name:"WIKI-编辑内容",component:function(){return a.e("chunk-2e5083a6").then(a.bind(null,"73f0"))}}]},{path:"/",name:"页面管理",component:_,children:[{path:"/page/share/home",name:"WIKI-开放文档",component:function(){return a.e("chunk-5dc97978").then(a.bind(null,"6d37"))}},{path:"/page/share/view",name:"WIKI-内容展示",component:function(){return a.e("chunk-009efa60").then(a.bind(null,"f33f"))}}]}],z=O,j=a("2f62"),C={namespaced:!0,state:{pageTabNameMap:{}},getters:{getPageTabNameMap:function(e){return e.pageTabNameMap}},mutations:{addTableName:function(e,t){var a=Object.assign({},e.pageTabNameMap);a[t.key]=t.val,e.pageTabNameMap=a}}};n["default"].use(j["a"]);var D=new j["a"].Store({modules:{global:C}}),E=a("bc3a"),K=a.n(E),F=a("a7fe"),N=a.n(F);n["default"].use(i.a),n["default"].use(f["a"]),n["default"].use(N.a,K.a),n["default"].prototype.$store=D;var $=new f["a"]({routes:z});$.beforeEach((function(e,t,a){e.name&&(document.title=e.name),a()}));var V=new n["default"]({el:"#app",router:$,render:function(e){return e(u)}});t["default"]=V},"85ec":function(e,t,a){},"9f03":function(e,t,a){"use strict";var n=a("4328"),o=a.n(n),i=a("d978");t["a"]={systemUpgradeInfo:function(e){return Object(i["a"])({url:"/system/info/upgrade",method:"post",data:o.a.stringify(e)})},userLogin:function(e){return Object(i["a"])({url:"/login",method:"post",data:o.a.stringify(e)})},userLogout:function(){return Object(i["a"])({url:"/logout",method:"post",data:o.a.stringify({})})},getSelfUserInfo:function(){return Object(i["a"])({url:"/user/info/selfInfo",method:"post",data:o.a.stringify({})})},getUserBaseInfo:function(e){return Object(i["a"])({url:"/zyplayer-doc-wiki/common/user/base",method:"post",data:o.a.stringify(e)})}}},d978:function(e,t,a){"use strict";a("d3b7");var n=a("bc3a"),o=a.n(n),i=a("56d7"),r=o.a.create({baseURL:"./",timeout:1e4,headers:{"Content-type":"application/x-www-form-urlencoded"},withCredentials:!0}),c={"/zyplayer-doc-db/executor/execute":!0};r.interceptors.request.use((function(e){return e.needValidateResult=!0,c[e.url]&&(e.needValidateResult=!1),e}),(function(e){return console.log(e),Promise.reject(e)})),r.interceptors.response.use((function(e){if(e.message)i["default"].$message.error("请求错误:"+e.message);else{if(!e.config.needValidateResult||200==e.data.errCode)return e.data;if(400==e.data.errCode){i["default"].$message.error("请先登录");var t=encodeURIComponent(window.location.href);window.location="./#/user/login?redirect="+t}else 402==e.data.errCode?i["default"].$router.push("/common/noAuth"):200!==e.data.errCode&&i["default"].$message.error(e.data.errMsg||"未知错误")}return Promise.reject("请求错误")}),(function(e){return console.log("err"+e),i["default"].$message.info("请求错误:"+e.message),Promise.reject(e)})),t["a"]=r},e1ab:function(e,t,a){"use strict";var n=a("0eff"),o=a.n(n);o.a}}); \ No newline at end of file diff --git a/zyplayer-doc-wiki/src/main/resources/js/chunk-34407190.43641165.js b/zyplayer-doc-wiki/src/main/resources/js/chunk-34407190.64791881.js similarity index 52% rename from zyplayer-doc-wiki/src/main/resources/js/chunk-34407190.43641165.js rename to zyplayer-doc-wiki/src/main/resources/js/chunk-34407190.64791881.js index 307b9fb5..f0ce409f 100644 --- a/zyplayer-doc-wiki/src/main/resources/js/chunk-34407190.43641165.js +++ b/zyplayer-doc-wiki/src/main/resources/js/chunk-34407190.64791881.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-34407190"],{"5d0c":function(e,a,t){"use strict";var s=t("8b6f"),n=t.n(s);n.a},"6c9a":function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAqFBMVEX///9wcHBwcHBwcHBwcHB8fHxwcHB6enpwcHCDg4NwcHB8fHx6enqSkpJ8fHxycnJwcHDp6el2dnZwcHD////39/f19fXz8/Pw8PDr6+vn5+fj4+PZ2dnX19fHx8fExMS9vb20tLSrq6uhoaGenp6MjIyKioqDg4N8fHx6enp4eHh0dHRycnKZmZmOjo6KioqDg4OAgIB/f396enp4eHh2dnZycnJwcHDyRjyJAAAALXRSTlMAETNEVWZmd3eIiJmqu7u7u93d3e7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u6OCyV0AAAAi0lEQVQYGXXBRwKCMBAF0B9Q7Io6RJGo2LAEu8zc/2YuyCILfQ/4R8k5gK+zy0v4TilZeAZb2rTCSMHp3bV+jeJpDEDFIvagSRtNJAro2vHjSo4owOYzNlTTAoDnGZNjLABOFkzOagigWiecUW3fBNB/L5+33GgiSksFQE1YPkUlciwuETxhox3ghy8Wng9K1E9YIwAAAABJRU5ErkJggg=="},"8b6f":function(e,a,t){},f890:function(e,a,t){"use strict";t.r(a);var s=function(){var e=this,a=e.$createElement,s=e._self._c||a;return s("div",{staticClass:"page-search-vue",staticStyle:{background:"#f1f1f1","min-height":"100%"}},[s("div",{staticStyle:{"max-width":"1200px",margin:"0 auto",background:"#fff",padding:"20px","min-height":"100%","box-sizing":"border-box"}},[s("div",{staticStyle:{"margin-bottom":"20px"}},[s("el-row",{staticStyle:{"max-width":"700px",margin:"0 auto"},attrs:{gutter:20}},[s("el-col",{attrs:{span:20}},[s("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:""},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.getSpacePageNews(a)}},model:{value:e.searchParam.keywords,callback:function(a){e.$set(e.searchParam,"keywords",a)},expression:"searchParam.keywords"}})],1),s("el-col",{attrs:{span:4}},[s("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.getSpacePageNews}},[e._v("搜索一下")])],1)],1)],1),e.spacePageNews.length<=0?s("div",{staticClass:"empty-news"},[e._v("暂无数据")]):e._l(e.spacePageNews,(function(a){return s("div",{staticClass:"line-box"},[s("div",{staticClass:"line-title"},[s("span",{staticClass:"text-link"},[e._v(e._s(a.createUserName))]),e._v(" 发布于 "),s("span",{staticClass:"text-link"},[e._v(e._s(a.spaceName))])]),s("div",{staticClass:"page-preview-box"},[s("div",{staticClass:"page-preview-title",domProps:{innerHTML:e._s(a.pageTitle)},on:{click:function(t){return e.showPageDetail(a)}}}),s("div",{staticClass:"page-preview-content",domProps:{innerHTML:e._s(a.previewContent)}}),s("div",[s("span",[s("img",{staticClass:"zan-img",attrs:{src:t("6c9a")}}),e._v(" "+e._s(a.zanNum)+" ")]),s("span",[s("i",{staticClass:"el-icon-view view-img"}),e._v(" "+e._s(a.viewNum)+" ")]),s("span",[e._v(e._s(a.updateTime||a.createTime))])])])])})),s("div",{staticClass:"page-info-box"},[s("el-pagination",{attrs:{"page-sizes":[20,50,100],"page-size":20,"current-page":e.searchParam.pageNum,layout:"prev, pager, next, jumper, sizes, total",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],2)])},n=[],i=t("0a79"),c={data:function(){return{totalCount:0,searchParam:{spaceId:"",keywords:"",newsType:1,pageNum:1,pageSize:20},spacePageNews:[]}},beforeRouteUpdate:function(e,a,t){this.initQueryParam(e),t()},mounted:function(){this.initQueryParam(this.$route)},methods:{getSpacePageNews:function(){var e=this;i["a"].pageSearchByEs(this.searchParam).then((function(a){e.spacePageNews=a.data||[],e.totalCount=a.total}))},handleSizeChange:function(e){this.searchParam.pageSize=e,this.getSpacePageNews()},showPageDetail:function(e){window.open("#/page/show?spaceId="+e.spaceId+"&pageId="+e.pageId)},handleCurrentChange:function(e){this.searchParam.pageNum=e,this.getSpacePageNews()},initQueryParam:function(e){this.searchParam={keywords:e.query.keywords,spaceId:e.query.spaceId,newsType:1,pageNum:1,pageSize:20},this.getSpacePageNews()}}},r=c,o=(t("5d0c"),t("2877")),u=Object(o["a"])(r,s,n,!1,null,null,null);a["default"]=u.exports}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-34407190"],{"5d0c":function(e,a,t){"use strict";var n=t("8b6f"),s=t.n(n);s.a},"6c9a":function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAqFBMVEX///9wcHBwcHBwcHBwcHB8fHxwcHB6enpwcHCDg4NwcHB8fHx6enqSkpJ8fHxycnJwcHDp6el2dnZwcHD////39/f19fXz8/Pw8PDr6+vn5+fj4+PZ2dnX19fHx8fExMS9vb20tLSrq6uhoaGenp6MjIyKioqDg4N8fHx6enp4eHh0dHRycnKZmZmOjo6KioqDg4OAgIB/f396enp4eHh2dnZycnJwcHDyRjyJAAAALXRSTlMAETNEVWZmd3eIiJmqu7u7u93d3e7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u6OCyV0AAAAi0lEQVQYGXXBRwKCMBAF0B9Q7Io6RJGo2LAEu8zc/2YuyCILfQ/4R8k5gK+zy0v4TilZeAZb2rTCSMHp3bV+jeJpDEDFIvagSRtNJAro2vHjSo4owOYzNlTTAoDnGZNjLABOFkzOagigWiecUW3fBNB/L5+33GgiSksFQE1YPkUlciwuETxhox3ghy8Wng9K1E9YIwAAAABJRU5ErkJggg=="},"8b6f":function(e,a,t){},f890:function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"page-search-vue",staticStyle:{background:"#f1f1f1","min-height":"100%"}},[n("div",{staticStyle:{"max-width":"1200px",margin:"0 auto",background:"#fff",padding:"20px","min-height":"100%","box-sizing":"border-box"}},[n("div",{staticStyle:{"margin-bottom":"20px"}},[n("el-row",{staticStyle:{"max-width":"700px",margin:"0 auto"},attrs:{gutter:20}},[n("el-col",{attrs:{span:20}},[n("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:""},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.getSpacePageNews(a)}},model:{value:e.searchParam.keywords,callback:function(a){e.$set(e.searchParam,"keywords",a)},expression:"searchParam.keywords"}})],1),n("el-col",{attrs:{span:4}},[n("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.getSpacePageNews}},[e._v("搜索一下")])],1)],1)],1),e.spacePageNews.length<=0?n("div",{staticClass:"empty-news"},[e._v("暂无数据")]):e._l(e.spacePageNews,(function(a){return n("div",{staticClass:"line-box"},[n("div",{staticClass:"line-title"},[n("span",{staticClass:"text-link"},[e._v(e._s(a.createUserName))]),e._v(" 发布于 "),n("span",{staticClass:"text-link"},[e._v(e._s(a.spaceName))])]),n("div",{staticClass:"page-preview-box"},[n("div",{staticClass:"page-preview-title",domProps:{innerHTML:e._s(a.pageTitle)},on:{click:function(t){return e.showPageDetail(a)}}}),n("div",{staticClass:"page-preview-content",domProps:{innerHTML:e._s(a.previewContent)}}),n("div",[n("span",[n("img",{staticClass:"zan-img",attrs:{src:t("6c9a")}}),e._v(" "+e._s(a.zanNum)+" ")]),n("span",[n("i",{staticClass:"el-icon-view view-img"}),e._v(" "+e._s(a.viewNum)+" ")]),n("span",[e._v(e._s(a.updateTime||a.createTime))])])])])})),n("div",{staticClass:"page-info-box"},[n("el-pagination",{attrs:{"page-sizes":[20,50,100],"page-size":20,"current-page":e.searchParam.pageNum,layout:"prev, pager, next, jumper, sizes, total",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],2)])},s=[],i=t("0a79"),c={data:function(){return{totalCount:0,searchParam:{spaceId:"",keywords:"",newsType:1,pageNum:1,pageSize:20},spacePageNews:[]}},beforeRouteUpdate:function(e,a,t){this.initQueryParam(e),t()},mounted:function(){this.initQueryParam(this.$route)},methods:{getSpacePageNews:function(){var e=this;i["a"].pageSearchByEs(this.searchParam).then((function(a){e.spacePageNews=a.data||[],e.totalCount=a.total}))},handleSizeChange:function(e){this.searchParam.pageSize=e,this.getSpacePageNews()},showPageDetail:function(e){window.open("#/page/show?pageId="+e.pageId)},handleCurrentChange:function(e){this.searchParam.pageNum=e,this.getSpacePageNews()},initQueryParam:function(e){this.searchParam={keywords:e.query.keywords,spaceId:e.query.spaceId,newsType:1,pageNum:1,pageSize:20},this.getSpacePageNews()}}},r=c,o=(t("5d0c"),t("2877")),u=Object(o["a"])(r,n,s,!1,null,null,null);a["default"]=u.exports}}]); \ No newline at end of file diff --git a/zyplayer-doc-wiki/src/main/resources/js/chunk-578eb6fe.66e91fc4.js b/zyplayer-doc-wiki/src/main/resources/js/chunk-578eb6fe.71e085f7.js similarity index 86% rename from zyplayer-doc-wiki/src/main/resources/js/chunk-578eb6fe.66e91fc4.js rename to zyplayer-doc-wiki/src/main/resources/js/chunk-578eb6fe.71e085f7.js index 38a03d73..a54923c5 100644 --- a/zyplayer-doc-wiki/src/main/resources/js/chunk-578eb6fe.66e91fc4.js +++ b/zyplayer-doc-wiki/src/main/resources/js/chunk-578eb6fe.71e085f7.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-578eb6fe"],{"159b":function(e,a,t){var s=t("da84"),n=t("fdbc"),i=t("17c2"),r=t("9112");for(var c in n){var o=s[c],p=o&&o.prototype;if(p&&p.forEach!==i)try{r(p,"forEach",i)}catch(u){p.forEach=i}}},"17c2":function(e,a,t){"use strict";var s=t("b727").forEach,n=t("b301");e.exports=n("forEach")?function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},2629:function(e,a,t){"use strict";var s=t("d7846"),n=t.n(s);n.a},4160:function(e,a,t){"use strict";var s=t("23e7"),n=t("17c2");s({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})},"6c9a":function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAqFBMVEX///9wcHBwcHBwcHBwcHB8fHxwcHB6enpwcHCDg4NwcHB8fHx6enqSkpJ8fHxycnJwcHDp6el2dnZwcHD////39/f19fXz8/Pw8PDr6+vn5+fj4+PZ2dnX19fHx8fExMS9vb20tLSrq6uhoaGenp6MjIyKioqDg4N8fHx6enp4eHh0dHRycnKZmZmOjo6KioqDg4OAgIB/f396enp4eHh2dnZycnJwcHDyRjyJAAAALXRSTlMAETNEVWZmd3eIiJmqu7u7u93d3e7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u6OCyV0AAAAi0lEQVQYGXXBRwKCMBAF0B9Q7Io6RJGo2LAEu8zc/2YuyCILfQ/4R8k5gK+zy0v4TilZeAZb2rTCSMHp3bV+jeJpDEDFIvagSRtNJAro2vHjSo4owOYzNlTTAoDnGZNjLABOFkzOagigWiecUW3fBNB/L5+33GgiSksFQE1YPkUlciwuETxhox3ghy8Wng9K1E9YIwAAAABJRU5ErkJggg=="},b3d7:function(e,a,t){"use strict";t.r(a);var s=function(){var e=this,a=e.$createElement,s=e._self._c||a;return s("div",{staticClass:"home-vue",staticStyle:{padding:"10px"}},[s("div",{staticStyle:{"max-width":"800px",margin:"0 auto"}},[s("el-select",{staticStyle:{float:"right","z-index":"1"},attrs:{placeholder:"请选择查看方式"},on:{change:e.getSpacePageNews},model:{value:e.searchParam.newsType,callback:function(a){e.$set(e.searchParam,"newsType",a)},expression:"searchParam.newsType"}},e._l(e.newsTypesArr,(function(e){return s("el-option",{key:e.key,attrs:{label:e.val,value:e.key}})})),1),s("el-tabs",{attrs:{value:"first"}},[s("el-tab-pane",{attrs:{label:e.newsTypesMap[e.searchParam.newsType],name:"first"}},[e.spacePageNews.length<=0?s("div",{staticClass:"empty-news"},[e._v("暂无数据")]):e._l(e.spacePageNews,(function(a){return s("div",{staticClass:"line-box"},[s("div",{staticClass:"line-title"},[s("span",{staticClass:"text-link"},[e._v(e._s(a.createUserName))]),e._v(" 发布于 "),s("span",{staticClass:"text-link"},[e._v(e._s(a.spaceName))])]),s("div",{staticClass:"page-preview-box"},[s("div",{staticClass:"page-preview-title",domProps:{innerHTML:e._s(a.pageTitle)},on:{click:function(t){return e.showPageDetail(a)}}}),s("div",{staticClass:"page-preview-content",domProps:{innerHTML:e._s(a.previewContent)}}),s("div",[s("span",[s("img",{staticClass:"zan-img",attrs:{src:t("6c9a")}}),e._v(" "+e._s(a.zanNum)+" ")]),s("span",[s("i",{staticClass:"el-icon-view view-img"}),e._v(" "+e._s(a.viewNum)+" ")]),s("span",[e._v(e._s(a.updateTime||a.createTime))])])])])}))],2)],1),s("div",{staticClass:"page-info-box"},[s("el-pagination",{attrs:{"page-sizes":[20,50,100],"page-size":20,"current-page":e.searchParam.pageNum,layout:"prev, pager, next, jumper, sizes, total",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)])},n=[],i=(t("4160"),t("159b"),t("0a79")),r={data:function(){return{totalCount:0,searchParam:{spaceId:"",newsType:1,pageNum:1,pageSize:20},spacePageNews:[],newsTypesArr:[{key:1,val:"最近更新"},{key:2,val:"最新创建"},{key:3,val:"查看最多"},{key:4,val:"点赞最多"},{key:5,val:"查看+点赞最多"}],newsTypesMap:{}}},beforeRouteUpdate:function(e,a,t){this.initQueryParam(e),t()},mounted:function(){this.initQueryParam(this.$route)},methods:{getSpacePageNews:function(){var e=this;i["a"].pageNews(this.searchParam).then((function(a){e.spacePageNews=a.data||[],e.totalCount=a.total}))},handleSizeChange:function(e){this.searchParam.pageSize=e,this.getSpacePageNews()},showPageDetail:function(e){this.nowClickPath={spaceId:e.spaceId,pageId:e.pageId},this.$router.push({path:"/page/show",query:this.nowClickPath})},handleCurrentChange:function(e){this.searchParam.pageNum=e,this.getSpacePageNews()},initQueryParam:function(e){var a=this;this.searchParam={spaceId:e.query.spaceId,newsType:1,pageNum:1,pageSize:20},this.searchParam.spaceId&&this.getSpacePageNews(),this.newsTypesMap={},this.newsTypesArr.forEach((function(e){return a.newsTypesMap[e.key]=e.val}))}}},c=r,o=(t("2629"),t("2877")),p=Object(o["a"])(c,s,n,!1,null,null,null);a["default"]=p.exports},d7846:function(e,a,t){}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-578eb6fe"],{"159b":function(e,a,t){var s=t("da84"),n=t("fdbc"),i=t("17c2"),r=t("9112");for(var c in n){var o=s[c],p=o&&o.prototype;if(p&&p.forEach!==i)try{r(p,"forEach",i)}catch(u){p.forEach=i}}},"17c2":function(e,a,t){"use strict";var s=t("b727").forEach,n=t("b301");e.exports=n("forEach")?function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},2629:function(e,a,t){"use strict";var s=t("d7846"),n=t.n(s);n.a},4160:function(e,a,t){"use strict";var s=t("23e7"),n=t("17c2");s({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})},"6c9a":function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAqFBMVEX///9wcHBwcHBwcHBwcHB8fHxwcHB6enpwcHCDg4NwcHB8fHx6enqSkpJ8fHxycnJwcHDp6el2dnZwcHD////39/f19fXz8/Pw8PDr6+vn5+fj4+PZ2dnX19fHx8fExMS9vb20tLSrq6uhoaGenp6MjIyKioqDg4N8fHx6enp4eHh0dHRycnKZmZmOjo6KioqDg4OAgIB/f396enp4eHh2dnZycnJwcHDyRjyJAAAALXRSTlMAETNEVWZmd3eIiJmqu7u7u93d3e7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u6OCyV0AAAAi0lEQVQYGXXBRwKCMBAF0B9Q7Io6RJGo2LAEu8zc/2YuyCILfQ/4R8k5gK+zy0v4TilZeAZb2rTCSMHp3bV+jeJpDEDFIvagSRtNJAro2vHjSo4owOYzNlTTAoDnGZNjLABOFkzOagigWiecUW3fBNB/L5+33GgiSksFQE1YPkUlciwuETxhox3ghy8Wng9K1E9YIwAAAABJRU5ErkJggg=="},b3d7:function(e,a,t){"use strict";t.r(a);var s=function(){var e=this,a=e.$createElement,s=e._self._c||a;return s("div",{staticClass:"home-vue",staticStyle:{padding:"10px"}},[s("div",{staticStyle:{"max-width":"800px",margin:"0 auto"}},[s("el-select",{staticStyle:{float:"right","z-index":"1"},attrs:{placeholder:"请选择查看方式"},on:{change:e.getSpacePageNews},model:{value:e.searchParam.newsType,callback:function(a){e.$set(e.searchParam,"newsType",a)},expression:"searchParam.newsType"}},e._l(e.newsTypesArr,(function(e){return s("el-option",{key:e.key,attrs:{label:e.val,value:e.key}})})),1),s("el-tabs",{attrs:{value:"first"}},[s("el-tab-pane",{attrs:{label:e.newsTypesMap[e.searchParam.newsType],name:"first"}},[e.spacePageNews.length<=0?s("div",{staticClass:"empty-news"},[e._v("暂无数据")]):e._l(e.spacePageNews,(function(a){return s("div",{staticClass:"line-box"},[s("div",{staticClass:"line-title"},[s("span",{staticClass:"text-link"},[e._v(e._s(a.createUserName))]),e._v(" 发布于 "),s("span",{staticClass:"text-link"},[e._v(e._s(a.spaceName))])]),s("div",{staticClass:"page-preview-box"},[s("div",{staticClass:"page-preview-title",domProps:{innerHTML:e._s(a.pageTitle)},on:{click:function(t){return e.showPageDetail(a)}}}),s("div",{staticClass:"page-preview-content",domProps:{innerHTML:e._s(a.previewContent)}}),s("div",[s("span",[s("img",{staticClass:"zan-img",attrs:{src:t("6c9a")}}),e._v(" "+e._s(a.zanNum)+" ")]),s("span",[s("i",{staticClass:"el-icon-view view-img"}),e._v(" "+e._s(a.viewNum)+" ")]),s("span",[e._v(e._s(a.updateTime||a.createTime))])])])])}))],2)],1),s("div",{staticClass:"page-info-box"},[s("el-pagination",{attrs:{"page-sizes":[20,50,100],"page-size":20,"current-page":e.searchParam.pageNum,layout:"prev, pager, next, jumper, sizes, total",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)])},n=[],i=(t("4160"),t("159b"),t("0a79")),r={data:function(){return{totalCount:0,searchParam:{spaceId:"",newsType:1,pageNum:1,pageSize:20},spacePageNews:[],newsTypesArr:[{key:1,val:"最近更新"},{key:2,val:"最新创建"},{key:3,val:"查看最多"},{key:4,val:"点赞最多"},{key:5,val:"查看+点赞最多"}],newsTypesMap:{}}},beforeRouteUpdate:function(e,a,t){this.initQueryParam(e),t()},mounted:function(){this.initQueryParam(this.$route)},methods:{getSpacePageNews:function(){var e=this;i["a"].pageNews(this.searchParam).then((function(a){e.spacePageNews=a.data||[],e.totalCount=a.total}))},handleSizeChange:function(e){this.searchParam.pageSize=e,this.getSpacePageNews()},showPageDetail:function(e){this.nowClickPath={pageId:e.pageId},this.$router.push({path:"/page/show",query:this.nowClickPath})},handleCurrentChange:function(e){this.searchParam.pageNum=e,this.getSpacePageNews()},initQueryParam:function(e){var a=this;this.searchParam={spaceId:e.query.spaceId,newsType:1,pageNum:1,pageSize:20},this.searchParam.spaceId&&this.getSpacePageNews(),this.newsTypesMap={},this.newsTypesArr.forEach((function(e){return a.newsTypesMap[e.key]=e.val}))}}},c=r,o=(t("2629"),t("2877")),p=Object(o["a"])(c,s,n,!1,null,null,null);a["default"]=p.exports},d7846:function(e,a,t){}}]); \ No newline at end of file