zqyy-yl/dist1/assets/js/chunk-546fbb5b.6e06ddfc.js

1 line
28 KiB
JavaScript
Raw Normal View History

2023-09-08 11:34:27 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-546fbb5b"],{"0c6d":function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return o}));var i=n("2b0e"),a=n("bc3a"),r=n.n(a),c=n("5c96");r.a.defaults.withCredentials=!0,r.a.defaults.crossDomain=!0;var s=r.a.create({baseURL:"http://51.31.219.42:6896",timeout:12e4});s.interceptors.request.use((function(t){return t}),(function(t){return Promise.reject(t)})),s.interceptors.response.use((function(t){if(t.data.body){if(t.data&&t.data.body&&"0000"===t.data.body.rtnCode)return t.data.body.dataSet;if(!t.data)return t;var e={code:t.data.body.rtnCode,message:t.data.body.rtnMessage};return Promise.reject(e)}return t.data}),(function(t){if(t&&t.response)switch(t.response.status){case 400:c["Message"].error("错误请求");break;case 401:window.location.href=i["default"].prototype.$loginURL;break;case 403:c["Message"].error("拒绝访问");break;case 404:c["Message"].error("请求错误,未找到该资源");break;case 405:c["Message"].error("请求方法未允许");break;case 408:c["Message"].error("请求超时");break;case 500:c["Message"].error("服务器端出错");break;case 501:c["Message"].error("网络未实现");break;case 502:c["Message"].error("网络错误");break;case 503:c["Message"].error("服务不可用");break;case 504:c["Message"].error("网络超时");break;case 505:c["Message"].error("http版本不支持该请求");break;default:c["Message"].error("连接错误".concat(t.response.status))}else JSON.stringify(t).includes("timeout")&&c["Message"].error("服务器响应超时,请刷新当前页"),c["Message"].error("连接服务器失败")}));function o(t,e){return s({url:t,method:"post",data:e})}function u(t,e){return s({url:t,method:"post",data:e})}},"45a3":function(t,e,n){t.exports=n.p+"assets/img/index5.3d64f9b5.png"},"4ec3":function(t,e,n){"use strict";n.d(e,"t",(function(){return s})),n.d(e,"u",(function(){return o})),n.d(e,"a",(function(){return u})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return b})),n.d(e,"g",(function(){return f})),n.d(e,"h",(function(){return A})),n.d(e,"K",(function(){return y})),n.d(e,"H",(function(){return h})),n.d(e,"I",(function(){return p})),n.d(e,"J",(function(){return g})),n.d(e,"n",(function(){return m})),n.d(e,"k",(function(){return O})),n.d(e,"m",(function(){return j})),n.d(e,"l",(function(){return M})),n.d(e,"s",(function(){return I})),n.d(e,"o",(function(){return R})),n.d(e,"q",(function(){return E})),n.d(e,"p",(function(){return N})),n.d(e,"r",(function(){return S})),n.d(e,"v",(function(){return v})),n.d(e,"w",(function(){return D})),n.d(e,"x",(function(){return C})),n.d(e,"A",(function(){return Y})),n.d(e,"C",(function(){return G})),n.d(e,"B",(function(){return Z})),n.d(e,"M",(function(){return w})),n.d(e,"N",(function(){return U})),n.d(e,"y",(function(){return V})),n.d(e,"G",(function(){return W})),n.d(e,"E",(function(){return T})),n.d(e,"F",(function(){return L})),n.d(e,"z",(function(){return k})),n.d(e,"O",(function(){return z})),n.d(e,"P",(function(){return B})),n.d(e,"i",(function(){return F})),n.d(e,"L",(function(){return c})),n.d(e,"b",(function(){return x})),n.d(e,"D",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"j",(function(){return J}));var i=n("0c6d"),a=function(t){return Object(i["b"])("/bd/rest/ap-system/loginUser",t)},r=function(t){return Object(i["a"])("/bd/ap-system/casLoginOut",t)},c=function(t){return Object(i["a"])("/bd/rest/society/secuIndex/1",t)},s=function(t){return Object(i["a"])("/bd/rest/society/getNumLeftOne/1",t)},o=function(t){return Object(i["a"])("/bd/rest/society/getNumRightTwo/1",t)},u=function(t){return Object(i["a"])("/bd/rest/society/GetNumRightOne/1",t)},l=function(t){return Object(i["a"])("/bd/rest/society/communityPreventableCaseFil/1",t)},d=function(t){return Object(i["a"])("/bd/rest/society/communityPreventableCaseType/1",t)},b=function(t){return Object(i["a"])("/bd/rest/society/communityPreventableCaseTypee/1",t)},f=function(t){return Object(i["a"])("/bd/rest/society/co