mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-15 04:52:50 +00:00
1 line
27 KiB
JavaScript
1 line
27 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-36e18642"],{"05ea7":function(t,e,r){"use strict";r.r(e),r("a4d3"),r("e01a"),r("d28b"),r("b636"),r("944a"),r("0c47"),r("23dc"),r("3410"),r("d9e2"),r("159b"),r("b0c0"),r("131a"),r("fb6a");var n=r("0122"),a=r("d0ff"),o=r("c964"),i=(r("99af"),r("7db0"),r("d3b7"),r("d81d"),r("ac1f"),r("5319"),r("3ca3"),r("ddb0"),r("2b3d"),r("9861"),r("8593")),s=r("bc3a"),c=r.n(s),u=r("5723"),d=r("c276"),l=r("d708");function f(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */f=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(e){u=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var o,i,s,c;e=e&&e.prototype instanceof g?e:g,e=Object.create(e.prototype),n=new w(n||[]);return a(e,"_invoke",{value:(o=t,i=r,s=n,c="suspendedStart",function(t,e){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw e;return k()}for(s.method=t,s.arg=e;;){var r=s.delegate;if(r&&(r=function t(e,r){var n=r.method,a=e.iterator[n];return void 0===a?(r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p):(n=l(a,e.iterator,r.arg),"throw"===n.type?(r.method="throw",r.arg=n.arg,r.delegate=null,p):(a=n.arg,a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)))}(r,s),r)){if(r===p)continue;return r}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===c)throw c="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);if(c="executing",r=l(o,i,s),"normal"===r.type){if(c=s.done?"completed":"suspendedYield",r.arg===p)continue;return{value:r.arg,done:s.done}}"throw"===r.type&&(c="completed",s.method="throw",s.arg=r.arg)}})}),e}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var p={};function g(){}function h(){}function m(){}o={};var b=(u(o,i,(function(){return this})),Object.getPrototypeOf),v=(b=b&&b(b(L([]))),b&&b!==e&&r.call(b,i)&&(o=b),m.prototype=g.prototype=Object.create(o));function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function y(t,e){var o;a(this,"_invoke",{value:function(a,i){function s(){return new e((function(o,s){!function a(o,i,s,c){var u;o=l(t[o],t,i);if("throw"!==o.type)return(i=(u=o.arg).value)&&"object"==Object(n.a)(i)&&r.call(i,"__await")?e.resolve(i.__await).then((function(t){a("next",t,s,c)}),(function(t){a("throw",t,s,c)})):e.resolve(i).then((function(t){u.value=t,s(u)}),(function(t){return a("throw",t,s,c)}));c(o.arg)}(a,i,o,s)}))}return o=o?o.then(s,s):s()}})}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function w(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function L(t){if(t){var e,n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(n=function n(){for(;++e<t.length;)if(r.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=void 0,n.done=!0,n}).next=n}return{next:k}}function k(){return{value:void 0,done:!0}}return a(v,"constructor",{value:h.prototype=m,configurable:!0}),a(m,"constructor",{value:h,configurable:!0}),h.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},_(y.prototype),u(y.prototype,s,(function(){return this})),t.AsyncIterator=y,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new y(d(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},_(v),u(v,c,"Generator"),u(v,i,(function(){return this})),u(v,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},t.values=L,w.prototype={constructor:w,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var a=this.tryEntries.length-1;0<=a;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,a=this.tryEntries[e];if(a.tryLoc===t)return"throw"===(r=a.completion).type&&(n=r.arg,j(a)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}s={name:"systemUpgradeclient",data:function(){return{Panel:"1",currentTab:"1",declaration:!1,updateModal:!1,modal_loading:!1,percent:0,params:[],arr:[],dynamic:!1,status:!1,version:"",forceVersion:"",headerList:[{label:"系统升级",value:1},{label:"升级记录",value:2}],upgradeList:[],upgradeLogList:[],upgradeableList:[],upgradeProgress:{speed:0},upgradeAgreement:[],upgradeStatus:{},downloadStatus:null,page:1,limit:15,timer:null,params_key:void 0,newKey:null,servionStatus:!1,count:0}},created:function(){},mounted:function(){var t=this;return Object(o.a)(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.getUpgradeStatus(),e.next=3,t.getUpgradeList();case 3:return e.next=5,t.getupgradeableList();case 5:t.$store.state.upgrade.toggleStatus&&(t.servionStatus=!0,t.getUpgradeAgreement());case 6:case"end":return e.stop()}}),e)})))()},watch:{"upgradeProgress.speed":{handler:function(t,e){"100.0"===t&&clearInterval(this.timer)}}},methods:{handleReachBottom:function(){this.count===this.upgradeLogList.length?this.$message.warning("暂无更多升级记录"):this.getUpgradeLogList()},handleClick:function(){(this.page=1)==this.currentTab?this.getupgradeableList():(this.upgradeLogList=[],this.getUpgradeLogList())},getUpgradeList:function(){var t=this;return Object(o.a)(f().mark((function e(){var r;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={page:t.page,limit:t.limit},e.next=3,Object(i.lb)(r);case 3:r=e.sent,t.upgradeList=r.data.list,t.upgradeList=r.data.list;case 6:case"end":return e.stop()}}),e)})))()},getUpgradeLogList:function(){var t=this,e={page:this.page,limit:this.limit};Object(i.mb)(e).then((function(e){t.upgradeLogList=[].concat(Object(a.a)(t.upgradeLogList),Object(a.a)(e.data.list)),t.count=e.data.count,t.upgradeLogList.length<t.count&&t.page++,t.count===t.upgradeLogList.length?t.$message.warning("暂无更多升级记录"):t.getUpgradeLogList()})).catch((function(e){t.$message.error(e.msg)}))},getupgradeableList:function(){var t=this;return Object(o.a)(f().mark((function e(){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(i.pb)();case 2:n=e.sent,t.upgradeableList=n.data,r=n.data[0],t.$store.state.upgrade.toggleStatus||t.upgradeStatus.force_reminder?(n=n.data.find((function(t){return 1===t.force_reminder})),t.newKey=n.package_key,t.forceVersion=n.first_version+"."+n.second_version+"."+n.third_version+"."+n.fourth_version):(t.params_key=t.upgradeableList[0].package_key,t.forceVersion=r.first_version+"."+r.second_version+"."+r.third_version+"."+r.fourth_version);case 6:case"end":return e.stop()}}),e)})))()},getdownload:function(){var t=this;(this.$store.state.upgrade.toggleStatus||this.upgradeStatus.force_reminder)&&(this.params_key=this.newKey),Object(i.r)(this.params_key).then((function(e){200==e.status?"100.0"!==t.upgradeProgress.speed?t.timer=setInterval((function(){setTimeout((function(){t.getUpgradeProgress()}),0)}),5e3):(clearInterval(t.timer),t.updateModal=!1):t.updateModal=!1})).catch((function(e){clearInterval(t.timer),t.$message.error("下载终止"),t.updateModal=!1}))},downloadFile:function(t){window.open(t,"_blank")},getUpgradeProgress:function(){var t=this;Object(i.nb)().then((function(e){t.upgradeProgress=e.data,t.downloadStatus=e.status})).catch((function(e){clearInterval(t.timer),t.$message.error(e.msg)}))},getUpgradeAgreement:function(){var t=this;Object(i.kb)().then((function(e){t.upgradeAgreement=e.data,t.declaration=!0})).catch((function(e){t.$message.error(e.msg)}))},getUpgradeStatus:function(){var t=this;Object(i.ob)().then((function(e){t.upgradeStatus=e.data,e.data.force_reminder&&(t.declaration=!0,t.getUpgradeAgreement())})).catch((function(e){t.$message.error(e.msg)}))},update:function(t){this.declaration=!0,t&&0==this.$store.state.upgrade.toggleStatus&&(this.params_key=t.params_key),this.getUpgradeAgreement()},compare:function(){var t=this;this.upgradeList.map((function(e,r){t.$set(t.upgradeList[r],"mn",e.first_version+e.second_version+e.third_version+e.fourth_version),t.upgradeableList.map((function(e,r){t.$set(t.upgradeableList[r],"mn",e.first_version+e.second_version+e.third_version+e.fourth_version)})),t.upgradeList[r].mn==t.upgradeableList[r].mn&&(t.$set(t.upgradeList[r],"indexn",!0),t.$set(t.upgradeList[r],"params_key",t.upgradeableList[r].package_key),t.$set(t.upgradeableList[r],"indexn",!0))}))},agree:function(){this.declaration=!1,this.updateModal=!0,this.getdownload(),this.$store.commit("upgrade/TOGGLE_STATUS",!1)},reject:function(){this.declaration=!1,this.$store.commit("upgrade/TOGGLE_STATUS",!1)},back:function(){var t=this;this.updateModal=!1,clearInterval(this.timer),Object(u.b)().then((function(e){t.$message.success("您已成功退出"),t.$router.replace(t.$routeProStr+"/login"),localStorage.clear(),Object(d.l)("token"),Object(d.l)("expires_time"),Object(d.l)("uuid")})).catch((function(t){}))},backSure:function(){this.updateModal=!1,clearInterval(this.timer)},cancel:function(){this.updateModal=!1,clearInterval(this.timer)},exports:function(t){var e=t.title+"v"+t.first_version+"."+t.second_version+"."+t.third_version+"."+t.fourth_version+"."+t.upgrade_time;t=l.a.apiBaseURL+"/system/upgrade_export/".concat(t.id,"/file");c()({method:"get",url:t,responseType:"blob",headers:{"Authori-zation":"Bearer "+Object(d.c)("token")}}).then((function(t){t=new Blob([t.data],{type:"application/octet-stream;charset=UTF-8"});var r=document.createElement("a");r.download="".concat(e,".zip"),r.href=window.URL.createObjectURL(t),r.click(),document.body.appendChild(r),document.body.removeChild(r),window.URL.revokeObjectURL(r.href)}))},handleDownload:function(t){var e=t.title+"v"+t.first_version+"."+t.second_version+"."+t.third_version+"."+t.fourth_version+"."+t.upgrade_time;t=l.a.apiBaseURL+"/system/upgrade_export/".concat(t.id,"/data");c()({method:"get",url:t,responseType:"blob",headers:{"Authori-zation":"Bearer "+Object(d.c)("token")}}).then((function(t){t=new Blob([t.data],{type:"application/octet-stream;charset=UTF-8"});var r=document.createElement("a");r.download="".concat(e,".gz"),r.href=window.URL.createObjectURL(t),r.click(),document.body.appendChild(r),document.body.removeChild(r),window.URL.revokeObjectURL(r.href)}))},quearyEvear:function(t,e){this.dynamic=e}},destroyed:function(){clearInterval(this.timer)}},r("7388"),r=r("2877"),r=Object(r.a)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"upgrade"},[r("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never"}},[r("div",{staticClass:"header"},[r("div",[t._v("当前版本"),r("span",{staticClass:"v"}),r("span",{staticClass:"num"},[t._v(t._s(t.$store.state.userInfo.version))])]),r("div",{staticClass:"info title"},[t._v("\n 更新说明:\n "),1!=t.upgradeStatus.status?r("span",[t._v("已升级至最新版本,无需更新")]):t._e(),1==t.upgradeStatus.status?r("ul",[r("li",[t._v(t._s(t.upgradeStatus.title))])]):t._e()]),1==t.currentTab&&1==t.upgradeStatus.status?r("el-button",{staticClass:"primary btn update",attrs:{type:"primary"},on:{click:function(e){return t.update()}}},[t._v("立即更新")]):t._e()],1)]),r("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never"}},[r("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.currentTab,callback:function(e){t.currentTab=e},expression:"currentTab"}},t._l(t.headerList,(function(t){return r("el-tab-pane",{key:t.id,attrs:{label:t.label,name:t.value.toString()}})})),1),1==t.currentTab?r("div",{staticClass:"contentTime"},t._l(t.upgradeList,(function(e,n){return r("div",{key:n,staticClass:"acea-row row-top on",class:{active:n==t.dynamic},on:{mouseenter:function(r){return t.quearyEvear(e.id,n)}}},[r("div",{staticClass:"time"},[t._v(t._s(e.release_time))]),r("el-timeline",{staticClass:"list"},[r("el-timeline-item",[r("el-collapse",[r("el-collapse-item",[r("template",{slot:"title"},[t._v("\n "+t._s(e.title)+" v"+t._s(e.first_version)+"."+t._s(e.second_version)+"."+t._s(e.third_version)+"."+t._s(e.fourth_version)),r("i",{staticClass:"el-icon-arrow-down"})]),r("p",{staticClass:"info"},[r("ul",{staticStyle:{"white-space":"pre-wrap"}},[r("li",{domProps:{innerHTML:t._s(e.content)}})])])],2)],1)],1),e.client_package_link?r("el-button",{staticClass:"primary btn",attrs:{type:"success"},on:{click:function(r){return t.downloadFile(e.client_package_link)}}},[t._v("移动端源码")]):t._e(),e.pc_package_link?r("el-button",{staticClass:"primary btn1",attrs:{type:"primary"},on:{click:function(r){return t.downloadFile(e.pc_package_link)}}},[t._v("PC端源码")]):t._e()],1)],1)})),0):t._e(),2==t.currentTab?r("div",{attrs:{height:"550"}},[r("div",{staticClass:"contentTime"},t._l(t.upgradeLogList,(function(e,n){return r("div",{key:n,staticClass:"acea-row row-top off",class:{active:n==t.dynamic},on:{mouseenter:function(r){return t.quearyEvear(e.id,n)}}},[r("div",{staticClass:"time"},[0==n?r("div",[t._v("最近更新")]):t._e(),r("div",[t._v(t._s(e.upgrade_time))])]),r("el-timeline",{staticClass:"list"},[r("el-timeline-item",[r("Icon",{attrs:{slot:"dot",type:0==n?"md-radio-button-on":"md-radio-button-off"},slot:"dot"}),r("el-collapse",[r("el-collapse-item",[r("template",{slot:"title"},[t._v("\n "+t._s(e.title)+" v"+t._s(e.first_version)+"."+t._s(e.second_version)+"."+t._s(e.third_version)+"."+t._s(e.fourth_version)),r("i",{attrs:{type:"el-icon-arrow-down"}})]),r("p",{staticClass:"info"},[r("ul",{staticStyle:{"white-space":"pre-wrap"}},[r("li",{domProps:{innerHTML:t._s(e.content)}})])])],2)],1)],1)],1)],1)})),0)]):t._e()],1),r("el-dialog",{attrs:{visible:t.declaration,width:"470px","custom-clas":"vertical-center-modal","show-close":!0,"close-on-click-modal":!1},on:{"update:visible":function(e){t.declaration=e}}},[r("p",{staticClass:"header-modal",attrs:{slot:"header"},slot:"header"},[r("span",[t._v(t._s(t.upgradeAgreement.title))])]),r("div",{staticClass:"describe"},[r("p",{domProps:{innerHTML:t._s(t.upgradeAgreement.content)}})]),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:t.reject}},[t._v("拒 绝")]),r("el-button",{attrs:{type:"primary"},on:{click:t.agree}},[t._v("同 意")])],1)]),r("el-dialog",{attrs:{width:"470px","custom-clas":"vertical-center-modal","show-close":!0,"close-on-click-modal":!1},model:{value:t.updateModal,callback:function(e){t.updateModal=e},expression:"updateModal"}},[r("p",{staticClass:"header-modal2",attrs:{slot:"header"},slot:"header"},[r("span",[t._v("升级至v"+t._s(t.forceVersion))])]),"100.0"!=t.upgradeProgress.speed||"200"!=this.downloadStatus?r("div",{staticClass:"describe"},[r("i-circle",{attrs:{size:140,"trail-width":4,"stroke-width":5,percent:Number(t.upgradeProgress.speed),"stroke-linecap":"square","stroke-color":"#43a3fb"}},[r("div",{staticClass:"demo-i-circle-custom"},[r("p",[t._v(t._s(t.upgradeProgress.tip||"升级中"))])])]),r("div",{staticClass:"proportion"},[t._v(t._s(t.upgradeProgress.speed?t.upgradeProgress.speed+"%":""))]),r("div",{staticClass:"wait"},[t._v("正在更新,请耐心等候~")])],1):t._e(),r("div",{attrs:{slot:"footer"},slot:"footer"}),"100.0"==t.upgradeProgress.speed?r("div",{staticClass:"describe"},[r("el-progress",{attrs:{type:"circle",percentage:100,status:"success"}}),r("div",{staticClass:"success"},[t._v("升级成功")])],1):t._e(),"100.0"==t.upgradeProgress.speed?r("div",{staticClass:"footer2",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{staticClass:"confirm",attrs:{type:"primary",shape:"circle"},on:{click:function(e){return t.back()}}},[t._v("确认")])],1):t._e(),"100.0"==t.upgradeProgress.speed?r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:t.cancel}},[t._v("取 消")]),r("el-button",{attrs:{type:"primary"},on:{click:t.back}},[t._v("确 认")])],1):t._e()])],1)}),[],!1,null,"186a9f2b",null),e.default=r.exports},"540f":function(t,e,r){},7388:function(t,e,r){"use strict";var n=r("540f");r.n(n).a},8593:function(t,e,r){"use strict";r.d(e,"i",(function(){return a})),r.d(e,"g",(function(){return o})),r.d(e,"h",(function(){return i})),r.d(e,"db",(function(){return s})),r.d(e,"m",(function(){return c})),r.d(e,"k",(function(){return u})),r.d(e,"l",(function(){return d})),r.d(e,"j",(function(){return l})),r.d(e,"L",(function(){return f})),r.d(e,"D",(function(){return p})),r.d(e,"K",(function(){return g})),r.d(e,"I",(function(){return h})),r.d(e,"F",(function(){return m})),r.d(e,"G",(function(){return b})),r.d(e,"H",(function(){return v})),r.d(e,"J",(function(){return _})),r.d(e,"Z",(function(){return y})),r.d(e,"fb",(function(){return O})),r.d(e,"s",(function(){return j})),r.d(e,"c",(function(){return w})),r.d(e,"e",(function(){return L})),r.d(e,"b",(function(){return k})),r.d(e,"d",(function(){return T})),r.d(e,"f",(function(){return x})),r.d(e,"w",(function(){return E})),r.d(e,"u",(function(){return S})),r.d(e,"v",(function(){return C})),r.d(e,"Q",(function(){return P})),r.d(e,"P",(function(){return U})),r.d(e,"R",(function(){return G})),r.d(e,"Y",(function(){return $})),r.d(e,"o",(function(){return A})),r.d(e,"n",(function(){return I})),r.d(e,"U",(function(){return M})),r.d(e,"q",(function(){return F})),r.d(e,"t",(function(){return R})),r.d(e,"V",(function(){return N})),r.d(e,"a",(function(){return B})),r.d(e,"A",(function(){return z})),r.d(e,"cb",(function(){return q})),r.d(e,"E",(function(){return V})),r.d(e,"rb",(function(){return H})),r.d(e,"qb",(function(){return K})),r.d(e,"M",(function(){return J})),r.d(e,"O",(function(){return Y})),r.d(e,"B",(function(){return D})),r.d(e,"S",(function(){return Q})),r.d(e,"T",(function(){return W})),r.d(e,"x",(function(){return X})),r.d(e,"ab",(function(){return Z})),r.d(e,"y",(function(){return tt})),r.d(e,"bb",(function(){return et})),r.d(e,"p",(function(){return rt})),r.d(e,"C",(function(){return nt})),r.d(e,"z",(function(){return at})),r.d(e,"W",(function(){return ot})),r.d(e,"lb",(function(){return it})),r.d(e,"nb",(function(){return st})),r.d(e,"kb",(function(){return ct})),r.d(e,"ob",(function(){return ut})),r.d(e,"mb",(function(){return dt})),r.d(e,"r",(function(){return lt})),r.d(e,"pb",(function(){return ft})),r.d(e,"gb",(function(){return pt})),r.d(e,"eb",(function(){return gt})),r.d(e,"hb",(function(){return ht})),r.d(e,"X",(function(){return mt})),r.d(e,"jb",(function(){return bt})),r.d(e,"N",(function(){return vt})),r.d(e,"ib",(function(){return _t})),r("99af");var n=r("6b6c");function a(t){return Object(n.a)({url:"setting/config_class",method:"get",params:t})}function o(t){return Object(n.a)({url:"setting/config_class/create",method:"get"})}function i(t){return Object(n.a)({url:"setting/config_class/".concat(t,"/edit"),method:"get"})}function s(t){return Object(n.a)({url:"setting/config_class/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function c(t){return Object(n.a)({url:"setting/config",method:"get",params:t})}function u(t){return Object(n.a)({url:"setting/config/create",method:"get",params:t})}function d(t){return Object(n.a)({url:"/setting/config/".concat(t,"/edit"),method:"get"})}function l(t,e){return Object(n.a)({url:"setting/config/set_status/".concat(t,"/").concat(e),method:"PUT"})}function f(t){return Object(n.a)({url:"setting/group",method:"get",params:t})}function p(t){return Object(n.a)({url:t.url,method:t.method,data:t.datas})}function g(t){return Object(n.a)({url:"setting/group/".concat(t),method:"get"})}function h(t,e){return Object(n.a)({url:e,method:"get",params:t})}function m(t,e){return Object(n.a)({url:e,method:"get",params:t})}function b(t,e){return Object(n.a)({url:e,method:"get",params:t})}function v(t,e){return Object(n.a)({url:e,method:"get",params:t})}function _(t){return Object(n.a)({url:t,method:"PUT"})}function y(t){return Object(n.a)({url:"system/log/search_admin",method:"GET"})}function O(t){return Object(n.a)({url:"system/log",method:"GET",params:t})}function j(){return Object(n.a)({url:"system/file",method:"GET"})}function w(){return Object(n.a)({url:"system/backup",method:"GET"})}function L(t){return Object(n.a)({url:"system/backup/read",method:"GET",params:t})}function k(t){return Object(n.a)({url:"system/backup/backup",method:"put",data:t})}function T(t){return Object(n.a)({url:"system/backup/optimize",method:"put",data:t})}function x(t){return Object(n.a)({url:"system/backup/repair",method:"put",data:t})}function E(t){return Object(n.a)({url:"system/backup/file_list",method:"GET"})}function S(t){return Object(n.a)({url:"backup/download",method:"get",params:t})}function C(t){return Object(n.a)({url:"system/backup/import",method:"POST",data:t})}function P(t){return Object(n.a)({url:"system/file/login",method:"POST",data:t})}function U(t){return Object(n.a)({url:"system/file/opendir",method:"GET",params:t,file_edit:!0})}function G(t){return Object(n.a)({url:"system/file/openfile",method:"GET",params:t,file_edit:!0})}function $(t){return Object(n.a)({url:"system/file/savefile?fileToken=".concat(t.fileToken),method:"post",data:t,file_edit:!0})}function A(t){return Object(n.a)({url:"system/file/createFolder",method:"GET",params:t,file_edit:!0})}function I(t){return Object(n.a)({url:"system/file/createFile",method:"GET",params:t,file_edit:!0})}function M(t){return Object(n.a)({url:"system/file/rename",method:"GET",params:t,file_edit:!0})}function F(t){return Object(n.a)({url:"system/file/delFolder",method:"GET",params:t,file_edit:!0})}function R(t){return Object(n.a)({url:"system/file/mark",method:"get",params:t,file_edit:!0})}function N(t){return Object(n.a)({url:"system/replace_site_url",method:"post",data:t})}function B(){return Object(n.a)({url:"auth",method:"get"})}function z(){return Object(n.a)({url:"setting/get_kf_adv",method:"get"})}function q(t){return Object(n.a)({url:"setting/set_kf_adv",method:"post",data:t})}function V(){return Object(n.a)({url:"setting/group_all",method:"get"})}function H(t){return Object(n.a)({url:"system/version_list",method:"get",params:t})}function K(t){return Object(n.a)({url:"system/version_crate/".concat(t),method:"get"})}function J(t){return Object(n.a)({url:"setting/group_data/save_all",method:"POST",data:t})}function Y(t){return Object(n.a)({url:"diy/open_adv/add",method:"POST",data:t})}function D(){return Object(n.a)({url:"diy/open_adv/info",method:"get"})}function Q(t){return Object(n.a)({url:"setting/config/get_system/".concat(t),method:"get"})}function W(t){return Object(n.a)({url:"setting/config/save_basics",method:"POST",data:t})}function X(){return Object(n.a)({url:"setting/get_user_agreement",method:"get"})}function Z(t){return Object(n.a)({url:"setting/set_user_agreement",method:"post",data:t})}function tt(t){return Object(n.a)({url:"setting/get_agreement/".concat(t),method:"get"})}function et(t,e){return Object(n.a)({url:"setting/save_agreement",method:"post",data:t})}function rt(t){return Object(n.a)({url:"crmeb_product",method:"get",params:t})}function nt(){return Object(n.a)({url:"setting/get_version",method:"get"})}function at(){return Object(n.a)({url:"copyright",method:"get"})}function ot(t){return Object(n.a)({url:"copyright",method:"post",data:t})}function it(t){return Object(n.a)({url:"/system/upgrade/list",method:"get",params:t})}function st(){return Object(n.a)({url:"/system/upgrade_progress",method:"get"})}function ct(){return Object(n.a)({url:"/system/upgrade/agreement",method:"get"})}function ut(){return Object(n.a)({url:"/system/upgrade_status",method:"get"})}function dt(t){return Object(n.a)({url:"/system/upgrade_log/list",method:"get",params:t})}function lt(t){return Object(n.a)({url:"/system/upgrade_download/"+t,method:"POST"})}function ft(t){return Object(n.a)({url:"/system/upgradeable/list",method:"get",params:t})}function pt(t){return Object(n.a)({url:"system/crontab/list",params:t})}function gt(t,e){return Object(n.a)({url:"system/crontab/set_open/".concat(t,"/").concat(e)})}function ht(t){return Object(n.a)({url:"system/crontab/info/".concat(t)})}function mt(t){return Object(n.a)({url:"system/crontab/save",method:"post",data:t})}function bt(t){return Object(n.a)({url:"system/database/update_mark",method:"post",data:t})}function vt(t,e){return Object(n.a)({url:"system/file/mark/save?fileToken=".concat(t),method:"post",data:e})}function _t(){return Object(n.a)({url:"system/crontab/mark"})}}}]); |