1 line
6.0 KiB
JavaScript
1 line
6.0 KiB
JavaScript
|
"use strict";(self["webpackChunkRaingad_IM"]=self["webpackChunkRaingad_IM"]||[]).push([[142],{3142:function(t,a,s){s.r(a),s.d(a,{default:function(){return d}});var e=function(){var t=this,a=t._self._c;return a("div",{staticClass:"pd-20"},[a("el-row",{attrs:{gutter:20}},[t.globalConfig&&t.globalConfig.demon_mode?a("el-col",{attrs:{span:10}},[a("el-card",{staticClass:"mb-20",attrs:{shadow:"hover",header:"欢迎"}},[a("div",{staticClass:"welcome"},[a("div",{staticClass:"logo"},[a("img",{attrs:{src:s(5080)}}),a("h2",[t._v("欢迎体验 "+t._s(t.$packageData.name))])]),a("div",{staticClass:"tips"},t._l(t.$packageData.funcList,(function(s){return a("div",{key:s.icon,staticClass:"tips-item"},[a("div",{staticClass:"tips-item-icon"},[a("i",{class:s.icon})]),a("div",{staticClass:"tips-item-message",domProps:{textContent:t._s(s.text)}})])})),0),a("div",{staticClass:"actions"},[a("router-link",{attrs:{to:"/chat"}},[a("el-button",{attrs:{type:"primary",icon:"el-icon-s-promotion",size:"large"}},[t._v("去聊天")])],1)],1)])])],1):t._e(),t.globalConfig&&t.globalConfig.demon_mode?a("el-col",{attrs:{span:8}},[a("el-card",{staticClass:"item-background mb-20",attrs:{shadow:"hover",header:"关于项目"}},[a("p",[t._v(t._s(t.$packageData.name)+"是一个"),a("b",{staticClass:"c-red"},[t._v("开源的即时通信demo,主要用于学习交流,为大家提供即时通讯的开发思路")]),t._v(",许多功能需要自行开发,开发的初衷旨在快速建立企业内部通讯系统、内网交流、社区交流。不建议用于商业用途,如确有需要商用,请联系作者授权,自行开发代码量必须要高于原代码量的30%以上,并注明相关的版权问题。")]),a("div",{staticClass:"mt-15 ml-15 mb-15"},[t._v(" 前端地址:"),a("a",{attrs:{href:t.$packageData.frontUrl,target:"_blank"}},[a("el-image",{attrs:{src:t.$packageData.frontUrl+"/badge/star.svg?theme=white",alt:"star"}})],1)]),a("div",{staticClass:"ml-15 mb-15"},[t._v(" 后端地址:"),a("a",{attrs:{href:t.$packageData.backstageUrl,target:"_blank"}},[a("el-image",{attrs:{src:t.$packageData.backstageUrl+"/badge/star.svg?theme=dark",alt:"star"}})],1)])])],1):t._e(),t.globalConfig&&t.globalConfig.demon_mode?a("el-col",{attrs:{span:6}},[a("el-card",{staticClass:"mb-20",attrs:{shadow:"hover",header:"数据概览"}},[a("div",{staticClass:"mb-15"},[t._v("用户总数:xxxx")]),a("div",{staticClass:"mb-15"},[t._v("群聊总数:xxxx")]),a("div",{staticClass:"mb-15"},[t._v("文件总数:xxxx")])])],1):t._e(),a("el-col",{attrs:{span:14}},[a("el-card",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"task task-item mb-20",attrs:{shadow:"hover"}},[a("div",{attrs:{slot:"header"},slot:"header"},[a("span",[t._v("系统服务")]),a("span",{staticClass:"handler",staticStyle:{float:"right","margin-top":"-3px"}},[a("i",{staticClass:"f-24 c-999 cur-handle",class:t.taskStatus?"el-icon-video-pause stop-task":"el-icon-video-play start-task",staticStyle:{padding:"3px"},attrs:{type:"primary"},on:{click:t.startService}})])]),a("el-alert",{attrs:{type:"warning",title:"系统服务使用要求运行的PHP的版本必须是默认的,并且可以直接执行PHP命令。如果启动失败可能是某些函数被禁用或者runtime的目录没有写入权限,可以在终端中运行 ‘php think task start’ 来调试程序的错误。","show-icon":"",closable:!1}}),t._l(t.taskList,(function(s,e){return a("div",{key:e,staticClass:"lz-flex lz-space-between mt-10 mb-10 lz-align-items-center"},[a("div",{staticClass:"task-name el-icon-timer"},[t._v(" "+t._s(s.remark)+" ")]),a("div",{staticClass:"el-icon-alarm-clock"},[t._v(" "+t._s(s.started)+" ")]),"active"==s.status?a("div",{staticClass:"c-green"},[t._v("运行中")]):a("div",{staticClass:"c-red"},[t._v("未启动")]),a("el-button",{staticClass:"ml-10",attrs:{size:"mini",type:"text"},on:{click:function(a){return t.showLog(s.name)}}},[t._v("日志")])],1)})),a("el-dialog",{attrs:{width:"900px",title:"运行日志",visible:t.dialogTableVisible},on:{"update:visible":func
|