mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 12:02:51 +00:00
1 line
11 KiB
JavaScript
Vendored
1 line
11 KiB
JavaScript
Vendored
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[736],{3736:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});function a(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function i(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?a(Object(s),!0).forEach((function(e){n(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):a(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function n(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={data:function(){return{needStartHome:!1,homeFooter:""}},computed:i(i({},(0,s(20629).rn)(["userId","windowWidth","themeMode","themeIsDark","themeList"])),{},{currentLanguage:function(){return this.languageList[this.languageType]||"Language"},appTitle:function(){return window.systemInfo.title||"DooTask"}}),mounted:function(){this.getNeedStartHome()},methods:{setTheme:function(t){this.$store.dispatch("setTheme",t)},login:function(){this.goForward({name:"login"})},register:function(){this.goForward({name:"login",query:{type:"reg"}})},getNeedStartHome:function(){var t=this;if(this.$Electron)return this.needStartHome=!1,void(this.userId>0?this.goForward({name:"manage-dashboard"},!0):this.goForward({name:"login"},!0));this.$store.dispatch("call",{url:"system/get/starthome"}).then((function(e){var s=e.data;t.homeFooter=s.home_footer,t.userId>0?t.goForward({name:"manage-dashboard"},!0):(t.needStartHome=!!s.need_start,!1===t.needStartHome&&t.goForward({name:"login"},!0))})).catch((function(e){t.needStartHome=!1,t.goForward({name:"login"},!0)}))}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.needStartHome?s("div",{staticClass:"page-index"},[s("div",{staticClass:"page-warp"},[s("div",{staticClass:"page-header"},[s("div",{staticClass:"header-nav"},[t._m(0),t._v(" "),t.windowWidth>780?s("div",{staticClass:"header-nav-box header-nav-boxs"},[s("div",{staticClass:"header-right-one"},[s("Dropdown",{attrs:{trigger:"click"},on:{"on-click":t.setLanguage}},[s("a",{staticClass:"header-right-one-dropdown",attrs:{href:"javascript:void(0)"}},[t._v("\n "+t._s(t.currentLanguage)+"\n "),s("Icon",{attrs:{type:"ios-arrow-down"}})],1),t._v(" "),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.languageList,(function(e,a){return s("DropdownItem",{key:a,attrs:{name:a,selected:t.getLanguage()===a}},[t._v(t._s(e))])})),1)],1)],1),t._v(" "),s("div",{staticClass:"header-right-four"},[s("Dropdown",{attrs:{trigger:"click"},on:{"on-click":t.setTheme}},[s("a",{staticClass:"header-right-one-dropdown",attrs:{href:"javascript:void(0)"}},[t._v("\n "+t._s(t.$L("主题皮肤"))+"\n "),s("Icon",{attrs:{type:"ios-arrow-down"}})],1),t._v(" "),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.themeList,(function(e,a){return s("DropdownItem",{key:a,attrs:{name:e.value,selected:t.themeMode===e.value}},[t._v(t._s(t.$L(e.name)))])})),1)],1)],1),t._v(" "),s("div",{staticClass:"header-right-two",on:{click:t.register}},[t._v(t._s(t.$L("注册账号")))]),t._v(" "),s("div",{staticClass:"header-right-three no-dark-mode",on:{click:t.login}},[t._v(t._s(t.$L("登录")))])]):s("div",{staticClass:"header-nav-box header-nav-boxs"},[s("Dropdown",{attrs:{trigger:"click"}},[s("a",{attrs:{href:"javascript:void(0)"}},[s("Icon",{staticClass:"header-nav-more",attrs:{type:"md-menu"}})],1),t._v(" "),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[s("DropdownItem",{nativeOn:{click:function(e){return t.login.apply(null,arguments)}}},[t._v(t._s(t.$L("登录")))]),t._v(" "),s("DropdownItem",{nativeOn:{click:function(e){return t.register.apply(null,arguments)}}},[t._v(t._s(t.$L("注册账号")))]),t._v(" "),s("Dropdown",{attrs:{placement:"right-start"},on:{"on-click":t.setLanguage}},[s("DropdownItem",[s("Icon",{staticClass:"header-right-one-language no-dark-mode",attrs:{type:"md-globe"}}),t._v(" "),s("a",{staticClass:"header-right-one-dropdown",attrs:{href:"javascript:void(0)"}},[t._v(t._s(t.currentLanguage))])],1),t._v(" "),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.languageList,(function(e,a){return s("DropdownItem",{key:a,attrs:{name:a,selected:t.getLanguage()===a}},[t._v(t._s(e))])})),1)],1),t._v(" "),s("Dropdown",{attrs:{trigger:"click",placement:"right-end"},on:{"on-click":t.setTheme}},[s("DropdownItem",[s("div",{staticClass:"login-setting-item"},[t._v("\n "+t._s(t.$L("主题皮肤"))+"\n "),s("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.themeList,(function(e,a){return s("DropdownItem",{key:a,attrs:{name:e.value,selected:t.themeMode===e.value}},[t._v(t._s(t.$L(e.name)))])})),1)],1)],1)],1)],1)]),t._v(" "),s("div",{staticClass:"header-content"},[s("div",{staticClass:"header-title header-title-one"},[t._v(t._s(t.appTitle))]),t._v(" "),s("div",{staticClass:"header-title"},[t._v("\n "+t._s(t.$L("轻量级任务管理工具"))+"\n ")]),t._v(" "),s("div",{staticClass:"header-tips"},[t._v("\n "+t._s(t.$L(t.appTitle+"是一款轻量级的开源在线项目任务管理工具,提供各类文档协作工具、在线思维导图、在线流程图、项目管理、任务分发、即时IM,文件管理等工具。"))+"\n ")]),t._v(" "),s("div",{staticClass:"login-buttom no-dark-mode",on:{click:t.login}},[t._v("\n "+t._s(t.$L("登录"))+"\n ")])])]),t._v(" "),s("div",{staticClass:"page-header-bottom"},[s("div",{staticClass:"page-header-bottoms"},[s("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/1.png":"images/index/light/1.png"}})],1)]),t._v(" "),s("div",{staticClass:"page-main"},[s("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[s("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[s("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/2.png":"images/index/light/2.png"}})],1),t._v(" "),t.windowWidth>1200?s("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[s("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(" "),s("h3",[t._v(t._s(t.$L("高效便捷的团队沟通工具")))]),t._v(" "),s("p",[t._v(t._s(t.$L("针对项目和任务建立群组,工作问题可及时沟通,促进团队快速协作,提高团队工作效率。")))])],1):s("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[s("h3",[s("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("高效便捷的团队沟通工具")))],1),t._v(" "),s("p",[t._v(t._s(t.$L("针对项目和任务建立群组,工作问题可及时沟通,促进团队快速协作,提高团队工作效率。")))])])],1),t._v(" "),s("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[t.windowWidth>1200?s("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[s("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(" "),s("h3",[t._v(t._s(t.$L("强大易用的协同创作云文档")))]),t._v(" "),s("p",[t._v(t._s(t.$L("汇集文档、电子表格、思维笔记等多种在线工具,汇聚企业知识资源于一处,支持多人实时协同编辑,让团队协作更便捷。")))])],1):t._e(),t._v(" "),s("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[s("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/3.png":"images/index/light/3.png"}})],1),t._v(" "),t.windowWidth<=1200?s("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[s("h3",[s("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("强大易用的协同创作云文档")))],1),t._v(" "),s("p",[t._v(t._s(t.$L("汇集文档、电子表格、思维笔记等多种在线工具,汇聚企业知识资源于一处,支持多人实时协同编辑,让团队协作更便捷。")))])]):t._e()],1),t._v(" "),s("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[s("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[s("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/4.png":"images/index/light/4.png"}})],1),t._v(" "),t.windowWidth>1200?s("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[s("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(" "),s("h3",[t._v(t._s(t.$L("便捷易用的项目管理模板")))]),t._v(" "),s("p",[t._v(t._s(t.$L("模版满足多种团队协作场景,同时支持自定义模版,满足团队个性化场景管理需求,可直观的查看项目的进展情况,团队协作更方便。")))])],1):s("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[s("h3",[s("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("便捷易用的项目管理模板")))],1),t._v(" "),s("p",[t._v(t._s(t.$L("模版满足多种团队协作场景,同时支持自定义模版,满足团队个性化场景管理需求,可直观的查看项目的进展情况,团队协作更方便。")))])])],1),t._v(" "),s("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[t.windowWidth>1200?s("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[s("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(" "),s("h3",[t._v(t._s(t.$L("清晰直观的任务日历")))]),t._v(" "),s("p",[t._v(t._s(t.$L("通过灵活的任务日历,轻松安排每一天的日程,把任务拆解到每天,让工作目标更清晰,时间分配更合理。")))])],1):t._e(),t._v(" "),s("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[s("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/5.png":"images/index/light/5.png"}})],1),t._v(" "),t.windowWidth<=1200?s("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[s("h3",[s("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("清晰直观的任务日历")))],1),t._v(" "),s("p",[t._v(t._s(t.$L("通过灵活的任务日历,轻松安排每一天的日程,把任务拆解到每天,让工作目标更清晰,时间分配更合理。")))])]):t._e()],1)],1),t._v(" "),s("div",{staticClass:"page-footer"},[s("div",{staticClass:"footer-service no-dark-mode"},[s("div",{staticClass:"footer-bg-box"},[s("div",{staticClass:"box-title"},[t._v(t._s(t.$L("开启您的 "+t.appTitle+" 团队协作")))]),t._v(" "),s("div",{staticClass:"buttom-box"},[s("div",{staticClass:"login-btn",on:{click:t.login}},[t._v(t._s(t.$L("立即登录")))]),t._v(" "),s("div",{staticClass:"reg-btn",on:{click:t.register}},[t._v(t._s(t.$L("注册")))])])])]),t._v(" "),this.homeFooter?s("div",{staticClass:"footer-copyright",domProps:{innerHTML:t._s(this.homeFooter)}}):t._e()])])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"header-nav-box"},[e("div",{staticClass:"logo no-dark-mode"})])}],!1,null,null,null).exports}}]); |