38.21059180e88fc58dc458.js 2.7 KB

1
  1. webpackJsonp([38],{"6wUE":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});a("OWWB");var s=a("1fWZ"),n=(a("i0mo"),a("Hkar")),i=a("7+uW"),r=a("l9V+");i.a.use(s.a).use(n.a);var o={name:"about",data:function(){return{info:{},app_ver:"7.0",app_name:"功道云-绩效版",copyright_cn:"功道云 版权所有",copyright_en:"Copyright ©2015-2020 Kung Dao Cloud All Rights Reserved."}},created:function(){var t=this;window.plus&&plus.runtime.getProperty(plus.runtime.appid,function(e){t.app_ver=e.version})},methods:{get_ver:function(){this.$toast.loading({message:"正在检查...",forbidClick:!0});var t=this;if(!window.plus)return t.$toast.clear(),t.$toast.success({message:"当前已经是最新版本!",duration:1e3}),!1;plus.runtime.getProperty(plus.runtime.appid,function(e){wgtVer=e.version,Object(r.a)({url:"/api/version/check",data:{version:wgtVer.toString()},method:"post"}).then(function(e){t.info=e.data.data,t.$toast.clear(),1==e.data.code?e.data.data.status?t.$toast.success({message:"当前已经是最新版本!",duration:1e3}):t.$dialog.confirm({title:"发现新版本"+e.data.data.new_version.version,message:"确定要更新吗?"}).then(function(){downWgt(e.data.data.new_version.app_path)}).catch(function(){}):t.$toast.success({message:"当前已经是最新版本!",duration:1e3})})})}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("van-nav-bar",{attrs:{title:"关于","left-text":"返回","left-arrow":""},on:{"click-left":t.$route_back}}),t._v(" "),a("div",{staticClass:"body_com has_header"},[a("div",{staticClass:"version_box"},[a("img",{staticStyle:{width:"1.5rem",height:"1.5rem","border-radius":"1rem"},attrs:{src:"static/images/logo.png"}}),t._v(" "),a("div",{staticClass:"app_name"},[t._v(t._s(t.app_name))]),t._v(" "),a("div",{staticClass:"app_version"},[t._v(t._s(t.app_ver))])]),t._v(" "),a("div",{staticStyle:{padding:"0.32rem"}},[a("van-cell-group",[a("van-cell",{attrs:{title:"更新日志","is-link":"",to:"/version"}}),t._v(" "),a("van-cell",{attrs:{title:"检测更新","is-link":""},on:{click:t.get_ver}})],1)],1)]),t._v(" "),a("div",{staticClass:"copy-right"},[a("p",[a("a",{on:{click:function(e){return t.$router.push({name:"user_agreement"})}}},[t._v("《软件许可及服务协议》")]),t._v("和"),a("a",{on:{click:function(e){return t.$router.push({name:"privacy_agreement"})}}},[t._v("《隐私保护指引》")])]),t._v(" "),a("p",{staticClass:"text"},[t._v(t._s(t.copyright_cn))]),t._v(" "),a("p",{staticClass:"text"},[t._v(t._s(t.copyright_en))])])],1)},staticRenderFns:[]};var u=a("VU/8")(o,c,!1,function(t){a("PInP")},"data-v-e58a9f80",null);e.default=u.exports},PInP:function(t,e){}});