| 1 |
- (function(){"use strict";var e={1219:function(e,t,n){var a=n(144),o=n(9669),s=n.n(o),r=n(4720),i=n.n(r),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},l=[],u=n(1001),m={},p=(0,u.Z)(m,c,l,!1,null,null,null),d=p.exports,h=n(8345);a["default"].use(h.Z);const f=[{path:"/",name:"login",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,1682))},{path:"/accounts",name:"accounts",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,6840))},{path:"/main",name:"main",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,8825)),redirect:"/home",children:[{path:"/appregister",name:"appregister",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,2418))},{path:"/apps",name:"apps",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,3508))},{path:"/dataimportmain",name:"dataimportmain",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,6344))},{path:"/option",name:"option",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,3988))},{path:"/role",name:"role",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,6770))},{path:"/account",name:"account",meta:{title:"账号管理"},component:e=>Promise.all([n.e(495),n.e(527)]).then(function(){var t=[n(4527)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/site",name:"site",meta:{title:"站点管理"},component:e=>n.e(486).then(function(){var t=[n(486)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/service",name:"service",meta:{title:"自动任务注册"},component:e=>n.e(368).then(function(){var t=[n(6368)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/table_setting",name:"table_setting",meta:{title:"表格设置"},component:e=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(217)]).then(function(){var t=[n(7053)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/database",name:"database",meta:{title:"数据库管理"},component:e=>Promise.all([n.e(474),n.e(645)]).then(function(){var t=[n(6645)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/dataquery",name:"dataquery",meta:{title:"数据查询"},component:e=>n.e(188).then(function(){var t=[n(188)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/code_update",name:"code_update",meta:{title:"代码更新"},component:e=>n.e(2).then(function(){var t=[n(4002)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/apianalysis",name:"apianalysis",meta:{title:"接口清单"},component:e=>n.e(476).then(function(){var t=[n(5476)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/appapi",name:"appapi",meta:{title:"应用查询"},component:e=>Promise.all([n.e(474),n.e(733),n.e(676)]).then(function(){var t=[n(2676)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/datalog",name:"datalog",meta:{title:"数据日志"},component:e=>n.e(775).then(function(){var t=[n(5775)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/yoslog",name:"yoslog",meta:{title:"YOSLog"},component:e=>n.e(901).then(function(){var t=[n(5901)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/yosmsg",name:"yosmsg",meta:{title:"内存监控"},component:e=>n.e(52).then(function(){var t=[n(8971)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/home",name:"home",meta:{title:"首页"},component:e=>n.e(358).then(function(){var t=[n(7358)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/formRegisterList",name:"formRegisterList",meta:{title:"注册表单列表"},component:e=>n.e(382).then(function(){var t=[n(5382)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/formRegister",name:"formRegister",meta:{title:"表单设计器"},component:e=>n.e(400).then(function(){var t=[n(1400)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/wechatregister",name:"wechatregister",meta:{title:"微信应用注册"},component:e=>n.e(564).then(function(){var t=[n(8564)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/listsortscheme",name:"listsortscheme",meta:{title:"列表排序注册"},component:e=>n.e(149).then(function(){var t=[n(9149)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/updatewebproject",name:"updatewebproject",meta:{title:"web端更新"},component:e=>n.e(26).then(function(){var t=[n(26)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/report",name:"report",meta:{title:"报表开发"},component:e=>n.e(258).then(function(){var t=[n(7258)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/dataimport",name:"dataimport",meta:{title:"数据导入"},component:e=>Promise.all([n.e(474),n.e(21)]).then(function(){var t=[n(21)];e.apply(null,t)}.bind(this))["catch"](n.oe)},{path:"/coderule",name:"coderule",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,5373))},{path:"/remindconfig",name:"remindconfig",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,2342))},{path:"/advertise",name:"advertise",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,6237))},{path:"/custom_tag",name:"custom_tag",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,7780))},{path:"/sysparameter",name:"sysparameter",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,2706))},{path:"/attlinkdatashow",name:"attlinkdatashow",component:()=>Promise.all([n.e(474),n.e(733),n.e(53),n.e(495),n.e(443)]).then(n.bind(n,6555))}]}],g=new h.Z({base:"",routes:f});var b=g,y=n(615);function v(){var e=window.location.href,t=e.indexOf("/"),n=0;while(-1!==t)if(n++,t=e.indexOf("/",t+1),3===n++)return e.slice(0,t)}const w=s().create({baseURL:v(),timeout:3e5});let k="";w.interceptors.request.use((e=>{k=r.Loading.service({fullscreen:!0});const t=sessionStorage.getItem("active_account")?JSON.parse(sessionStorage.getItem("active_account")).token:"";return e.data["accesstoken"]=t,e.data=JSON.stringify(e.data),e.headers||(e.headers={}),e.headers["Content-Type"]||(e.headers["Content-Type"]="application/json;charset=UTF-8"),e}),(e=>{Promise.reject(e)})),w.interceptors.response.use((e=>(k.close(),-1===e.data.code?(b.push({path:"/"}),r.Message.error("登陆状态已过期,请重新登陆!")):e.data)),(e=>{if(console.log(e),e&&e.response)switch(e.response.status){case 400:e.message="错误请求";break;case 401:e.message="未授权,请重新登录";break;case 403:e.message="拒绝访问";break;case 404:e.message="请求错误,未找到该资源";break;case 405:e.message="请求方法未允许";break;case 408:e.message="请求超时";break;case 500:e.message="服务器端出错";break;case 501:e.message="网络未实现";break;case 502:e.message="网络错误";break;case 503:e.message="服务不可用";break;case 504:e.message="网络超时";break;case 505:e.message="http版本不支持该请求";break;default:e.message=`连接错误${e.response.status}`}else JSON.stringify(e).includes("timeout")&&r.Message.error("服务器响应超时,请刷新当前页"),e.message="连接服务器失败";return r.Message.error(e.message),Promise.resolve(e.response)}));var _=w;const P=s().create({baseURL:{NODE_ENV:"production",BASE_URL:""}.BASE_API,timeout:36e5,withCredentials:!1,validateStatus:function(e){return e>=200},maxRedirects:0,responseType:"text",onUploadProgress:function(e){}});var O={hw_upload(e,t,n){return P.put(e,t,n)}};const S={get(e,t){const n={method:"get",url:e};return t&&(n.params=t),_(n)},post(e,t){const n={method:"post",url:e};return t&&(n.data=t),_(n)},put(e,t){const n={method:"put",url:e};return t&&(n.data=t),_(n)},delete(e,t){const n={method:"delete",url:e};return t&&(n.params=t),_(n)},upload(e,t,n,a){const o={headers:{"Content-Type":n},transformRequest:[function(e){return e}],onUploadProgress:e=>{let t=e.loaded/e.total*100|0;a(t)}};return O(e,t,o)}};var x=S;let C="";var j={loginbyaccount(e){return x.post(`${C}/yos/rest/index/loginbyaccount`,e)},loginCode(e){return x.post(`${C}/yos/rest/index/getpassword`,e)},login(e){return x.post(`${C}/yos/rest/index/login`,e)},requested(e){return x.post(`${C}/yos/rest/index`,e)},yoslog(e){return x.get(`${C}/yos/rest/index/syslog`,e)},yosmsg(e){return x.get(`${C}/yos/rest/index/sysmsg`,e)},localuploadurl(){return`${C}/yos/servlet/index`}};a["default"].prototype.$upload=O,a["default"].prototype.$api=j,a["default"].prototype.$axios=s(),a["default"].config.productionTip=!1,a["default"].use(i()),new a["default"]({router:b,store:y.Z,render:e=>e(d)}).$mount("#app")},615:function(e,t,n){var a=n(144),o=n(629);a["default"].use(o.ZP),t["Z"]=new o.ZP.Store({state:{loading:!1,websocketmessage:{system:{remind:{},data:{onlineusercount:0,requestcount_today:{},ram_data:[]}},imdialog:{}}},getters:{websocketmessage_system_data_onlineusercount:e=>e.websocketmessage.system.data.onlineusercount,websocketmessage_system_data_requestcount_today:e=>e.websocketmessage.system.data.requestcount_today,websocketmessage_system_data_ram_data:e=>e.websocketmessage.system.data.ram_data},mutations:{websocketmessageSet(e,t){"system"===t.msgtype&&("remind"===t.message.class?e.websocketmessage.system.remind=t.message:"data"===t.message.class&&("onlineusercount"===t.message.type?e.websocketmessage.system.data.onlineusercount=t.message.data:"requestcount_today"===t.message.type?e.websocketmessage.system.data.requestcount_today=t.message.data:"ram_monitor"===t.message.type&&(e.websocketmessage.system.data.ram_data=t.message.data)))}},actions:{websocketmessageSet({commit:e},t){e("websocketmessageSet",JSON.parse(t))}},modules:{}})}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var s=t[a]={exports:{}};return e[a].call(s.exports,s,s.exports,n),s.exports}n.m=e,function(){n.amdO={}}(),function(){var e=[];n.O=function(t,a,o,s){if(!a){var r=1/0;for(u=0;u<e.length;u++){a=e[u][0],o=e[u][1],s=e[u][2];for(var i=!0,c=0;c<a.length;c++)(!1&s||r>=s)&&Object.keys(n.O).every((function(e){return n.O[e](a[c])}))?a.splice(c--,1):(i=!1,s<r&&(r=s));if(i){e.splice(u--,1);var l=o();void 0!==l&&(t=l)}}return t}s=s||0;for(var u=e.length;u>0&&e[u-1][2]>s;u--)e[u]=e[u-1];e[u]=[a,o,s]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,a){return n.f[a](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+(443===e?"about":e)+"."+{2:"dd803a12",18:"54a19591",21:"976cc61c",26:"52acc662",52:"adbf30d7",53:"826c7655",149:"92886f88",162:"fe7b3955",188:"b4a9893e",217:"703c3923",258:"c865e0d1",358:"01e422f3",368:"b47de874",382:"1dc40eea",400:"9f0b395e",443:"980a1de0",474:"b807772d",476:"e0485f39",486:"6e835b11",495:"2e8ee323",527:"ca0a0c1c",564:"1fb16d70",645:"695baabb",676:"2782ad40",733:"e140b41d",775:"e81813c3",791:"6d3f0082",901:"12420ee9"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+(443===e?"about":e)+"."+{2:"ab820098",21:"a414bb9a",26:"9516169e",188:"1fca60b3",217:"f2b1004b",358:"f33d7f34",400:"f18c82ed",443:"649a6f2a",476:"7a8d36f4",486:"3a206672",527:"9e1f828f",645:"660ed1bf",775:"a0c1a004"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="yos_manage:";n.l=function(a,o,s,r){if(e[a])e[a].push(o);else{var i,c;if(void 0!==s)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var m=l[u];if(m.getAttribute("src")==a||m.getAttribute("data-webpack")==t+s){i=m;break}}i||(c=!0,i=document.createElement("script"),i.charset="utf-8",i.timeout=120,n.nc&&i.setAttribute("nonce",n.nc),i.setAttribute("data-webpack",t+s),i.src=a),e[a]=[o];var p=function(t,n){i.onerror=i.onload=null,clearTimeout(d);var o=e[a];if(delete e[a],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((function(e){return e(n)})),t)return t(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.p=""}(),function(){var e=function(e,t,n,a){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css";var s=function(s){if(o.onerror=o.onload=null,"load"===s.type)n();else{var r=s&&("load"===s.type?"missing":s.type),i=s&&s.target&&s.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+i+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=r,c.request=i,o.parentNode.removeChild(o),a(c)}};return o.onerror=o.onload=s,o.href=t,document.head.appendChild(o),o},t=function(e,t){for(var n=document.getElementsByTagName("link"),a=0;a<n.length;a++){var o=n[a],s=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(s===e||s===t))return o}var r=document.getElementsByTagName("style");for(a=0;a<r.length;a++){o=r[a],s=o.getAttribute("data-href");if(s===e||s===t)return o}},a=function(a){return new Promise((function(o,s){var r=n.miniCssF(a),i=n.p+r;if(t(r,i))return o();e(a,i,o,s)}))},o={143:0};n.f.miniCss=function(e,t){var n={2:1,21:1,26:1,188:1,217:1,358:1,400:1,443:1,476:1,486:1,527:1,645:1,775:1};o[e]?t.push(o[e]):0!==o[e]&&n[e]&&t.push(o[e]=a(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))}}(),function(){var e={143:0};n.f.j=function(t,a){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)a.push(o[2]);else if(217!=t){var s=new Promise((function(n,a){o=e[t]=[n,a]}));a.push(o[2]=s);var r=n.p+n.u(t),i=new Error,c=function(a){if(n.o(e,t)&&(o=e[t],0!==o&&(e[t]=void 0),o)){var s=a&&("load"===a.type?"missing":a.type),r=a&&a.target&&a.target.src;i.message="Loading chunk "+t+" failed.\n("+s+": "+r+")",i.name="ChunkLoadError",i.type=s,i.request=r,o[1](i)}};n.l(r,c,"chunk-"+t,t)}else e[t]=0},n.O.j=function(t){return 0===e[t]};var t=function(t,a){var o,s,r=a[0],i=a[1],c=a[2],l=0;if(r.some((function(t){return 0!==e[t]}))){for(o in i)n.o(i,o)&&(n.m[o]=i[o]);if(c)var u=c(n)}for(t&&t(a);l<r.length;l++)s=r[l],n.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return n.O(u)},a=self["webpackChunkyos_manage"]=self["webpackChunkyos_manage"]||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))}();var a=n.O(void 0,[998],(function(){return n(1219)}));a=n.O(a)})();
|