Commit 5cbdd282 by cocomilk2012

update

parent f0ce414a
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title></title><link href=/css/chunk-1649fdd8.6bbb1e35.css rel=prefetch><link href=/css/chunk-19e87806.f544a705.css rel=prefetch><link href=/css/chunk-218ef753.f9dedfe6.css rel=prefetch><link href=/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/css/chunk-6db83a58.911b12a6.css rel=prefetch><link href=/css/chunk-70204596.2509e660.css rel=prefetch><link href=/css/chunk-79c85055.82976e65.css rel=prefetch><link href=/css/chunk-80379f08.0035f549.css rel=prefetch><link href=/css/chunk-a26cb696.37783c9d.css rel=prefetch><link href=/css/chunk-d3bf1764.b8dc6c91.css rel=prefetch><link href=/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/css/chunk-f59847e6.dc9f4765.css rel=prefetch><link href=/js/chunk-0cb1789e.5116890e.js rel=prefetch><link href=/js/chunk-1649fdd8.04a382d3.js rel=prefetch><link href=/js/chunk-19e87806.22a91e6e.js rel=prefetch><link href=/js/chunk-218ef753.a41e8f41.js rel=prefetch><link href=/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/js/chunk-3f4d721c.592a5462.js rel=prefetch><link href=/js/chunk-4635e66c.44ffb30b.js rel=prefetch><link href=/js/chunk-6db83a58.77ef5520.js rel=prefetch><link href=/js/chunk-70204596.c8e34564.js rel=prefetch><link href=/js/chunk-7052aa18.701e060a.js rel=prefetch><link href=/js/chunk-79c85055.3fcf6d5b.js rel=prefetch><link href=/js/chunk-80379f08.3c040b3f.js rel=prefetch><link href=/js/chunk-a26cb696.540453bb.js rel=prefetch><link href=/js/chunk-d3bf1764.c71cdd8d.js rel=prefetch><link href=/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/js/chunk-f59847e6.58a1d28a.js rel=prefetch><link href=/css/app.1c666bb8.css rel=preload as=style><link href=/js/app.a9602079.js rel=preload as=script><link href=/js/chunk-vendors.d7070df8.js rel=preload as=script><link rel="shortcut icon" href=/favicon.ico><link href=/css/app.1c666bb8.css rel=stylesheet></head><body><noscript><strong>We're sorry but typescript doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.d7070df8.js></script><script src=/js/app.a9602079.js></script></body></html> <!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title></title><link href=/css/chunk-1649fdd8.6bbb1e35.css rel=prefetch><link href=/css/chunk-19e87806.f544a705.css rel=prefetch><link href=/css/chunk-218ef753.f9dedfe6.css rel=prefetch><link href=/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/css/chunk-6db83a58.911b12a6.css rel=prefetch><link href=/css/chunk-70204596.2509e660.css rel=prefetch><link href=/css/chunk-79c85055.82976e65.css rel=prefetch><link href=/css/chunk-80379f08.0035f549.css rel=prefetch><link href=/css/chunk-a26cb696.37783c9d.css rel=prefetch><link href=/css/chunk-d3bf1764.b8dc6c91.css rel=prefetch><link href=/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/css/chunk-f59847e6.dc9f4765.css rel=prefetch><link href=/js/chunk-0cb1789e.5116890e.js rel=prefetch><link href=/js/chunk-1649fdd8.04a382d3.js rel=prefetch><link href=/js/chunk-19e87806.22a91e6e.js rel=prefetch><link href=/js/chunk-218ef753.a41e8f41.js rel=prefetch><link href=/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/js/chunk-3f4d721c.592a5462.js rel=prefetch><link href=/js/chunk-4635e66c.44ffb30b.js rel=prefetch><link href=/js/chunk-6db83a58.77ef5520.js rel=prefetch><link href=/js/chunk-70204596.c8e34564.js rel=prefetch><link href=/js/chunk-7052aa18.701e060a.js rel=prefetch><link href=/js/chunk-79c85055.3fcf6d5b.js rel=prefetch><link href=/js/chunk-80379f08.3c040b3f.js rel=prefetch><link href=/js/chunk-a26cb696.540453bb.js rel=prefetch><link href=/js/chunk-d3bf1764.c71cdd8d.js rel=prefetch><link href=/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/js/chunk-f59847e6.58a1d28a.js rel=prefetch><link href=/css/app.1c666bb8.css rel=preload as=style><link href=/js/app.a0016640.js rel=preload as=script><link href=/js/chunk-vendors.b3e164be.js rel=preload as=script><link rel="shortcut icon" href=/favicon.ico><link href=/css/app.1c666bb8.css rel=stylesheet></head><body><noscript><strong>We're sorry but typescript doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.b3e164be.js></script><script src=/js/app.a0016640.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function n(n){for(var r,o,c=n[0],u=n[1],s=n[2],d=0,l=[];d<c.length;d++)o=c[d],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&l.push(i[o][0]),i[o]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);f&&f(n);while(l.length)l.shift()();return a.push.apply(a,s||[]),t()}function t(){for(var e,n=0;n<a.length;n++){for(var t=a[n],r=!0,o=1;o<t.length;o++){var c=t[o];0!==i[c]&&(r=!1)}r&&(a.splice(n--,1),e=u(u.s=t[0]))}return e}var r={},o={app:0},i={app:0},a=[];function c(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-19e87806":"22a91e6e","chunk-35f92c0e":"e9f3b3b1","chunk-3f4d721c":"592a5462","chunk-1649fdd8":"04a382d3","chunk-4635e66c":"44ffb30b","chunk-6db83a58":"77ef5520","chunk-70204596":"c8e34564","chunk-7052aa18":"701e060a","chunk-0cb1789e":"5116890e","chunk-218ef753":"a41e8f41","chunk-f59847e6":"58a1d28a","chunk-80379f08":"3c040b3f","chunk-a26cb696":"540453bb","chunk-d3bf1764":"c71cdd8d","chunk-d9bcf6b6":"6290ee53","chunk-79c85055":"3fcf6d5b"}[e]+".js"}function u(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.e=function(e){var n=[],t={"chunk-19e87806":1,"chunk-35f92c0e":1,"chunk-1649fdd8":1,"chunk-6db83a58":1,"chunk-70204596":1,"chunk-218ef753":1,"chunk-f59847e6":1,"chunk-80379f08":1,"chunk-a26cb696":1,"chunk-d3bf1764":1,"chunk-d9bcf6b6":1,"chunk-79c85055":1};o[e]?n.push(o[e]):0!==o[e]&&t[e]&&n.push(o[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-19e87806":"f544a705","chunk-35f92c0e":"82976e65","chunk-3f4d721c":"31d6cfe0","chunk-1649fdd8":"6bbb1e35","chunk-4635e66c":"31d6cfe0","chunk-6db83a58":"911b12a6","chunk-70204596":"2509e660","chunk-7052aa18":"31d6cfe0","chunk-0cb1789e":"31d6cfe0","chunk-218ef753":"f9dedfe6","chunk-f59847e6":"dc9f4765","chunk-80379f08":"0035f549","chunk-a26cb696":"37783c9d","chunk-d3bf1764":"b8dc6c91","chunk-d9bcf6b6":"08db6415","chunk-79c85055":"82976e65"}[e]+".css",i=u.p+r,a=document.getElementsByTagName("link"),c=0;c<a.length;c++){var s=a[c],d=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===r||d===i))return n()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){s=l[c],d=s.getAttribute("data-href");if(d===r||d===i)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.onerror=function(n){var r=n&&n.target&&n.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=r,delete o[e],f.parentNode.removeChild(f),t(a)},f.href=i;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){o[e]=0})));var r=i[e];if(0!==r)if(r)n.push(r[2]);else{var a=new Promise((function(n,t){r=i[e]=[n,t]}));n.push(r[2]=a);var s,d=document.createElement("script");d.charset="utf-8",d.timeout=120,u.nc&&d.setAttribute("nonce",u.nc),d.src=c(e);var l=new Error;s=function(n){d.onerror=d.onload=null,clearTimeout(f);var t=i[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",l.name="ChunkLoadError",l.type=r,l.request=o,t[1](l)}i[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:d})}),12e4);d.onerror=d.onload=s,document.head.appendChild(d)}return Promise.all(n)},u.m=e,u.c=r,u.d=function(e,n,t){u.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,n){if(1&n&&(e=u(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)u.d(t,r,function(n){return e[n]}.bind(null,r));return t},u.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(n,"a",n),n},u.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},u.p="/",u.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],d=s.push.bind(s);s.push=n,s=s.slice();for(var l=0;l<s.length;l++)n(s[l]);var f=d;a.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("cd49")},"522b":function(e,n,t){},cd49:function(e,n,t){"use strict";t.r(n);var r={};t.r(r),t.d(r,"subDate",(function(){return z})),t.d(r,"money",(function(){return K})),t.d(r,"format",(function(){return Y})),t.d(r,"isEmpty",(function(){return Z})),t.d(r,"get_thousand_num",(function(){return ee}));t("456d"),t("ac6a"),t("14c6"),t("08c1"),t("4842"),t("d9fc");var o=t("2b0e"),i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",[t("router-view")],1)},a=[],c=t("2877"),u={},s=Object(c["a"])(u,i,a,!1,null,null,null),d=s.exports,l=t("2909"),f=t("8c4f"),p=[{path:"/",name:"SelectIdentity",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-6db83a58")]).then(t.bind(null,"5eb9"))},meta:{title:"身份选择",requiresAuth:!0}},{path:"/flex_employee",name:"FlexEmployee",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-d3bf1764")]).then(t.bind(null,"52ca"))},meta:{title:"灵活用工",requiresAuth:!1}},{path:"/flex_employee_detial",name:"FlexEmployeeDetial",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-80379f08")]).then(t.bind(null,"f1cb"))},meta:{title:"任务详情",requiresAuth:!1}},{path:"/company_employee_details",name:"CompanyEmployeeDetails",component:function(){return t.e("chunk-19e87806").then(t.bind(null,"1c0d"))},meta:{title:"企业员工",requiresAuth:!1}},{path:"/archives",name:"Archives",meta:{title:"档案查看",requiresAuth:!1},component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-7052aa18"),t.e("chunk-218ef753")]).then(t.bind(null,"a128"))}},{path:"/chooseCompany",name:"ChooseCompany",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-a26cb696")]).then(t.bind(null,"1594"))},meta:{title:"选择派遣公司",requiresAuth:!1}},{path:"/index",name:"Index",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-70204596")]).then(t.bind(null,"d504"))},meta:{title:"劳务派遣",requiresAuth:!1}},{path:"/information",name:"Information",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-7052aa18"),t.e("chunk-f59847e6")]).then(t.bind(null,"5798"))},meta:{title:"我上传的资料",requiresAuth:!1}},{path:"/informationEdit",name:"InformationEdit",component:function(){return t.e("chunk-79c85055").then(t.bind(null,"0987"))},meta:{title:"我上传的资料",requiresAuth:!1}},{path:"/informationPreview",name:"InformationPreview",component:function(){return t.e("chunk-35f92c0e").then(t.bind(null,"e04e"))},meta:{title:"我上传的资料",requiresAuth:!1}},{path:"/paySlips",name:"PaySlips",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-d9bcf6b6")]).then(t.bind(null,"8e9f"))},meta:{title:"我的工资条",requiresAuth:!1}},{path:"/paySlipsMonth",name:"PaySlipsMonth",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-1649fdd8")]).then(t.bind(null,"8ef4"))},meta:{title:"我的工资条",requiresAuth:!1}},{path:"/test",name:"test",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-4635e66c")]).then(t.bind(null,"2762"))},meta:{title:"测试页面"}},{path:"/cityTest",name:"cityTest",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-7052aa18"),t.e("chunk-0cb1789e")]).then(t.bind(null,"1f14"))},meta:{title:"测试城市列表"}}],h=t("4328"),m=t.n(h),v=t("bc3a"),y=t.n(v);t("7f7f"),t("4917"),t("a481"),t("6b54");function g(e){var n,t,r,o="";for(e+="",n=0,t=e.length;n<t;n++)r=e.charCodeAt(n).toString(16),o+=r.length<2?"0"+r:r;return o}function k(){var e=document.createElement("canvas"),n=e.getContext("2d");n.fillStyle="#f60",n.fillRect(125,1,62,20);var t=e.toDataURL().replace("data:image/png;base64,",""),r=atob(t),o=g(r.slice(-16,-12));return o}function w(){var e=navigator.userAgent.toLowerCase(),n="Unknown",t="Unknown";e.indexOf("win")>-1?(n="Windows",t=e.indexOf("windows nt 5.0")>-1?"Windows 2000":e.indexOf("windows nt 5.1")>-1||e.indexOf("windows nt 5.2")>-1?"Windows XP":e.indexOf("windows nt 6.0")>-1?"Windows Vista":e.indexOf("windows nt 6.1")>-1||e.indexOf("windows 7")>-1?"Windows 7":e.indexOf("windows nt 6.2")>-1||e.indexOf("windows 8")>-1?"Windows 8":e.indexOf("windows nt 6.3")>-1?"Windows 8.1":e.indexOf("windows nt 6.2")>-1||e.indexOf("windows nt 10.0")>-1?"Windows 10":"Unknown"):n=e.indexOf("iphone")>-1?"Iphone":e.indexOf("mac")>-1?"Mac":e.indexOf("x11")>-1||e.indexOf("unix")>-1||e.indexOf("sunname")>-1||e.indexOf("bsd")>-1?"Unix":e.indexOf("linux")>-1?e.indexOf("android")>-1?"Android":"Linux":"Unknown";var r=new Object;return r.name=n,r.version=t,r}function b(){var e=e||function(e){var n=e.document,t=e.navigator,r=t.userAgent.toLowerCase(),o=n.documentMode,i=e.chrome||!1,a={agent:r,isIE:/trident/.test(r),isGecko:r.indexOf("gecko")>0&&r.indexOf("like gecko")<0,isWebkit:r.indexOf("webkit")>0,isStrict:"CSS1Compat"===n.compatMode,supportSubTitle:function(){return"track"in n.createElement("track")},supportScope:function(){return"scoped"in n.createElement("style")},ieVersion:function(){var n=/(msie\s|trident.*rv:)([\w.]+)/,t=e.navigator.userAgent.toLowerCase(),r=n.exec(t);try{return r[2]}catch(i){return o}},operaVersion:function(){try{if(e.opera)return r.match(/opera.([\d.]+)/)[1];if(r.indexOf("opr")>0)return r.match(/opr\/([\d.]+)/)[1]}catch(n){return 0}}};try{a.type=a.isIE?"IE":e.opera||r.indexOf("opr")>0?"Opera":r.indexOf("chrome")>0?"Chrome":e.openDatabase?"Safari":r.indexOf("firefox")>0?"Firefox":"unknow",a.version="IE"===a.type?a.ieVersion():"Firefox"===a.type?r.match(/firefox\/([\d.]+)/)[1]:"Chrome"===a.type?r.match(/chrome\/([\d.]+)/)[1]:"Opera"===a.type?a.operaVersion():"Safari"===a.type?r.match(/version\/([\d.]+)/)[1]:"0",a.shell=function(){if(r.indexOf("edge")>0)return a.version=r.match(/edge\/([\d.]+)/)[1]||a.version,"edge浏览器";if(r.indexOf("maxthon")>0)return a.version=r.match(/maxthon\/([\d.]+)/)[1]||a.version,"傲游浏览器";if(r.indexOf("qqbrowser")>0)return a.version=r.match(/qqbrowser\/([\d.]+)/)[1]||a.version,"QQ浏览器";if(r.indexOf("se 2.x")>0)return"搜狗浏览器";if(i&&"Opera"!==a.type){var n=e.external,t=e.clientInformation,o=t.languages;if(n&&"LiebaoGetVersion"in n)return"猎豹浏览器";if(r.indexOf("bidubrowser")>0)return a.version=r.match(/bidubrowser\/([\d.]+)/)[1]||r.match(/chrome\/([\d.]+)/)[1],"百度浏览器";if(a.supportSubTitle()&&"undefined"===typeof o){var c=Object.keys(i.webstore).length;return c>1?"360极速浏览器":"360安全浏览器"}return"Chrome"}return a.type},a.name=a.shell()}catch(c){}return{client:a}}(window);return void 0==e.client.name||""==e.client.name?(e.client.name="Unknown",e.client.version="Unknown"):void 0==e.client.version&&(e.client.version="Unknown"),e}function x(){var e="1.0.1",n=k(),t=w().version,r=b(),o=r.client.name,i=r.client.version,a=(new Date).getTime(),c="v=".concat(e,"&&did=").concat(n,"&&dh=").concat(t,"&&db=").concat(o,"&&dv=").concat(i,"&&dm=&&lat=&&lng=&&t=").concat(a);return c}o["a"].use(f["a"]);var O=JSON.parse('{ "authority": "https://passport.teammix.com", "client_id": "qqxb-self-service-web-mobile", "client_secret": "qqxb#teammix#2019", "redirect_uri": "https://qqxb-self-service.qinqinxiaobao.com/callback.html", "response_type": "id_token token", "scope": "workapps.client api.workapps.user api.workapps.org api.workapps.open openid","post_logout_redirect_uri":"https://qqxb-self-service.qinqinxiaobao.com", "silent_redirect_uri": "https://qqxb-self-service.qinqinxiaobao.com/silent-renew-oidc.html", "automaticSilentRenew": true,"accessTokenExpiringNotificationTime":60,"filterProtocolClaims":true,"loadUserInfo":true }'),I=new f["a"]({mode:"history",base:"/",routes:Object(l["a"])(p)});function U(e){return console.log("authcode=",e),new Promise((function(n,t){var r=x(),o="".concat(O.authority,"/connect/token?").concat(r),i={client_id:O.client_id,client_secret:O.client_secret,grant_type:"auth_code",scope:"openid workapps.client api.workapps.user api.workapps.org api.workapps.open",code:e};y.a.post(o,m.a.stringify(i)).then((function(e){if(e&&e.status){var r=e.data.access_token;n(r)}else t(e)}))}))}function E(e,n){var t=e.path||"/";for(var r in e.query)r=r.toLowerCase(),console.log("key=",r),r!=n&&(t+=t.indexOf("?")>-1?"&":"?",t+="".concat(r,"=").concat(e.query[r]));return t=t.indexOf("?")>-1?t+"&t="+(new Date).valueOf():t+"?t="+(new Date).valueOf(),t}I.beforeEach((function(e,n,t){e.matched.some((function(e){return e.meta.requiresAuth}));e.meta.title&&(document.title=e.meta.title);var r=e.query.authCode||e.query.authcode;r?U(r).then((function(n){var t=E(e,"authcode"),r=n;localStorage.setItem("token",r),window.location.href=t})).catch((function(e){console.log("err=",e)})):(console.log("to.path=",e.path),t())}));var S=I,q=t("2f62"),C=(t("96cf"),t("1da1")),A=function(){return{userInfo:{},accessToken:"",anymouseAccessToken:"",companyAccessToken:""}},P={state:A(),mutations:{},actions:{},getters:{getAccessToken:function(){var e=Object(C["a"])(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return""===n.accessToken&&(n.accessToken=localStorage.getItem("token")),e.abrupt("return",n.accessToken);case 2:case"end":return e.stop()}}),e)})));function n(n){return e.apply(this,arguments)}return n}(),getAnymouseAccessToken:function(){var e=Object(C["a"])(regeneratorRuntime.mark((function e(n){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return""===n.anymouseAccessToken&&(t=localStorage.getItem("aat"),t&&(n.anymouseAccessToken=t)),e.abrupt("return",n.anymouseAccessToken);case 2:case"end":return e.stop()}}),e)})));function n(n){return e.apply(this,arguments)}return n}()}},_=P;o["a"].use(q["a"]);var j,W=new q["a"].Store({modules:{employee:_}}),T=W,L=(t("5cfb"),t("d4ec")),V=t("bee2"),B=t("d399");j=y.a.create({timeout:6e4}),j.interceptors.request.use((function(e){return e}),(function(e){Promise.reject(e)})),j.interceptors.response.use((function(e){if(200===e.status){var n=e.data;return n.status?n.status?n.data:(Object(B["a"])(n.message),Promise.reject(new Error(e.data.errcode||"Error"))):n}}),(function(e){return Promise.reject(e)}));var D=j,M=t("e665"),R=function(){function e(){Object(L["a"])(this,e)}return Object(V["a"])(e,[{key:"get",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return new Promise((function(o,i){o(D.get("".concat(e,"?").concat(Object(M["a"])(r)),{params:n,headers:t}))}))}},{key:"post",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return new Promise((function(o,i){o(D.post("".concat(e,"?").concat(Object(M["a"])(r)),n,{headers:t}))}))}},{key:"put",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(r,o){r(D.put("".concat(e,"?").concat(Object(M["a"])()),n,{headers:t}))}))}},{key:"delete",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(r,o){r(D.delete("".concat(e,"?").concat(Object(M["a"])()),{params:n,headers:t}))}))}}]),e}(),F=new R,N=function e(){Object(L["a"])(this,e),this.employeeUrl="https://org-team.hrs100.com",this.userInfoUrl="https://apiplus.qinqinxiaobao.com/v1/qqxb/user/api",this.salaryUrl="https://api-salary.qinqinxiaobao.com"},H=new N,J=function(){function e(){var n=this;Object(L["a"])(this,e),T.getters.getAccessToken.then((function(e){n.header={Authorization:"Bearer ".concat(e)},n.headerUp={Authorization:"Bearer ".concat(e),"Content-Type":"multipart/form-data;charset=UTF-8"}})),this.version="v1"}return Object(V["a"])(e,[{key:"getUserInfo",value:function(){var e=Object(C["a"])(regeneratorRuntime.mark((function e(n){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=H.userInfoUrl+"/userAuthDetails",e.abrupt("return",F.post(t,n,this.header,!0));case 2:case"end":return e.stop()}}),e,this)})));function n(n){return e.apply(this,arguments)}return n}()},{key:"getDispatchList",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.idNo,"/dispatch/companies");return F.get(n,e,this.header)}},{key:"getDispatchInfo",value:function(e){var n=H.employeeUrl+"/api/user/dispatch/companies/".concat(e.spId,"/employee/").concat(e.idNo,"/info");return F.get(n,e,this.header)}},{key:"getWorkInfoList",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/work");return F.get(n,e,this.header)}},{key:"getWorkInfoDetail",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/work/detail");return F.get(n,e,this.header)}},{key:"updateWorkInfo",value:function(e){var n=H.employeeUrl+"/api/user/employee/work/info";return F.put(n,e,this.header)}},{key:"addWorkInfo",value:function(e){var n=H.employeeUrl+"/api/user/employee/work/info";return F.post(n,e,this.header)}},{key:"deleteWorkInfo",value:function(e){var n=H.employeeUrl+"/api/user/employee/work/".concat(e.edId,"/info");return F.delete(n,e,this.header)}},{key:"getPersonInfo",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/info");return F.get(n,e,this.header)}},{key:"savePersonInfo",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.id,"/info");return F.post(n,e,this.header)}},{key:"getContactInfo",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/contact/info");return F.get(n,e,this.header)}},{key:"saveContactInfo",value:function(e){var n=H.employeeUrl+"/api/user/contact/".concat(e.id,"/info");return F.post(n,e,this.header)}},{key:"getSocialInfo",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/unit/relation");return F.get(n,e,this.header)}},{key:"saveSocialInfo",value:function(e){var n=H.employeeUrl+"/api/user/employee/unit/relation/save";return F.post(n,e,this.header)}},{key:"getWageCardInfo",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/salary/card/info");return F.get(n,e,this.header)}},{key:"saveWageCardInfo",value:function(e){var n=H.employeeUrl+"/api/user/employee/salary/card/save";return F.post(n,e,this.header)}},{key:"getEduExperience",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/education");return F.get(n,e,this.header)}},{key:"getEduExperienceDetial",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/education/detial");return F.get(n,e,this.header)}},{key:"addEduExperience",value:function(e){var n=H.employeeUrl+"/api/user/employee/edu/info";return F.post(n,e,this.header)}},{key:"updateEduExperience",value:function(e){var n=H.employeeUrl+"/api/user/employee/edu/info";return F.put(n,e,this.header)}},{key:"deleteEduExperience",value:function(e){var n=H.employeeUrl+"/api/user/employee/edu/".concat(e.eduId,"/info");return F.delete(n,e,this.header)}},{key:"getTechnologyExperience",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/expertise/info");return F.get(n,e,this.header)}},{key:"updateTechnologyExperience",value:function(e){var n=H.employeeUrl+"/api/user/employee/expertise/info";return F.put(n,e,this.header)}},{key:"getCityList",value:function(e){var n=H.employeeUrl+"/api/user/dispatch/cities";return F.get(n,e,this.header)}},{key:"getSalaryInfo",value:function(e){var n=H.employeeUrl+"/api/user/dispatch/companies/".concat(e.spId,"/employee/").concat(e.idNo,"/payroll");return F.get(n,{},this.header,!1)}},{key:"getSalaryInfoDetail",value:function(e){var n="".concat(H.employeeUrl,"/api/user/employee/salary/").concat(e.id,"/detail");return F.get(n,{},this.header,!1)}},{key:"getFiles",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/files");return F.get(n,e,this.header)}},{key:"setFiles",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/file");return F.put(n,e.req,this.header)}},{key:"delFiles",value:function(e){var n=H.employeeUrl+"/api/user/files/".concat(e.fileId);return F.delete(n,e,this.header)}},{key:"tranFiles",value:function(e){var n=H.salaryUrl+"/general/person/upload";return F.post(n,e,this.headerUp)}},{key:"putFiles",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/commit/file");return F.put(n,e,this.header)}},{key:"getAgileWorker",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.idNo,"/bill/item");return F.get(n,{},this.header)}},{key:"updateBaseInfo",value:function(e){var n=H.employeeUrl+"/api/user/employee/".concat(e.edId,"/base/info");return F.post(n,e,this.header)}}]),e}(),$=new J,G={EmployeeService:$},Q=function(){Object.defineProperties(o["a"].prototype,{$server:{get:function(){return G}}})},X=Q,z=(t("522b"),function(e,n,t){return null==e?null:e.substring(n,t)}),K=function(e,n,t){Object(M["d"])(e,n,t)},Y=function(e,n){return e.replace(/\d{2}:\d{2}:\d{2}/i,"")},Z=function(e){Object(M["c"])(e)},ee=function(e){return e.toString().replace(/\d+/,(function(e){return e.replace(/(\d)(?=(\d{3})+$)/g,(function(e){return e+","}))}))},ne=navigator.userAgent,te=ne.indexOf("Android")>-1||ne.indexOf("Adr")>-1,re=!!ne.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);function oe(e){if(te)return console.log("isAndroid==="),void(window.WebViewJavascriptBridge?e(window.WebViewJavascriptBridge):document.addEventListener("WebViewJavascriptBridgeReady",(function(){e(window.WebViewJavascriptBridge)}),!1));if(re){if(console.log("ios==="),window.WebViewJavascriptBridge)return e(window.WebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(e);window.WVJBCallbacks=[e];var n=document.createElement("iframe");n.style.display="none",n.src="wvjbscheme://__bridge_loaded__",document.documentElement.appendChild(n),setTimeout((function(){document.documentElement.removeChild(n)}),0)}}oe((function(e){te&&e.init((function(e,n){var t={"Javascript Responds":"Wee!"};n(t)}))}));var ie={callHandler:function(e,n,t){oe((function(r){r.callHandler(e,n,t)}))},registerHandler:function(e,n){oe((function(t){t.registerHandler(e,(function(e,t){n(e,t)}))}))}},ae=function(){function e(){Object(L["a"])(this,e)}return Object(V["a"])(e,[{key:"setBarColor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.log("setBarColor"),new Promise((function(n,t){try{ie.callHandler("setBarColor",e,(function(e){n(e)}))}catch(r){t(r)}}))}},{key:"getBarHeight",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.log("getBarHeight"),new Promise((function(n,t){try{ie.callHandler("getBarHeight",e,(function(e){n(e)}))}catch(r){t(r)}}))}},{key:"setPageNavState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.log("setPageNavState"),new Promise((function(n,t){try{ie.callHandler("setPageNavState",e,(function(e){n(e)}))}catch(r){t(r)}}))}},{key:"closeWebView",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(n,t){try{ie.callHandler("closeWebView",e,(function(e){n(e)}))}catch(r){t(r)}}))}}]),e}(),ce=new ae;o["a"].config.productionTip=!1,Object.keys(r).forEach((function(e){o["a"].filter(e,r[e])})),o["a"].use(X),o["a"].prototype.$bridge=ce,new o["a"]({router:S,store:T,render:function(e){return e(d)}}).$mount("#app")},e665:function(e,n,t){"use strict";t.d(n,"a",(function(){return c})),t.d(n,"b",(function(){return s})),t.d(n,"c",(function(){return d})),t.d(n,"d",(function(){return l}));t("28a5"),t("3b2b"),t("7f7f"),t("ac6a"),t("456d"),t("4917"),t("a481"),t("6b54");function r(e){var n,t,r,o="";for(e+="",n=0,t=e.length;n<t;n++)r=e.charCodeAt(n).toString(16),o+=r.length<2?"0"+r:r;return o}function o(){var e=document.createElement("canvas"),n=e.getContext("2d");n.fillStyle="#f60",n.fillRect(125,1,62,20);var t=e.toDataURL().replace("data:image/png;base64,",""),o=atob(t),i=r(o.slice(-16,-12));return i}function i(){var e=navigator.userAgent.toLowerCase(),n="Unknown";return e.indexOf("win")>-1?("Windows",n=e.indexOf("windows nt 5.0")>-1?"Windows 2000":e.indexOf("windows nt 5.1")>-1||e.indexOf("windows nt 5.2")>-1?"Windows XP":e.indexOf("windows nt 6.0")>-1?"Windows Vista":e.indexOf("windows nt 6.1")>-1||e.indexOf("windows 7")>-1?"Windows 7":e.indexOf("windows nt 6.2")>-1||e.indexOf("windows 8")>-1?"Windows 8":e.indexOf("windows nt 6.3")>-1?"Windows 8.1":e.indexOf("windows nt 6.2")>-1||e.indexOf("windows nt 10.0")>-1?"Windows 10":"Unknown"):e.indexOf("iphone")>-1?"Iphone":e.indexOf("mac")>-1?"Mac":e.indexOf("x11")>-1||e.indexOf("unix")>-1||e.indexOf("sunname")>-1||e.indexOf("bsd")>-1?"Unix":e.indexOf("linux")>-1?e.indexOf("android")>-1?"Android":"Linux":"Unknown",n}function a(){var e=e||function(e){var n=e.document,t=e.navigator,r=t.userAgent.toLowerCase(),o=n.documentMode,i=e.chrome||!1,a={agent:r,isIE:/trident/.test(r),isGecko:r.indexOf("gecko")>0&&r.indexOf("like gecko")<0,isWebkit:r.indexOf("webkit")>0,isStrict:"CSS1Compat"===n.compatMode,supportSubTitle:function(){return"track"in n.createElement("track")},supportScope:function(){return"scoped"in n.createElement("style")},ieVersion:function(){var n=/(msie\s|trident.*rv:)([\w.]+)/,t=e.navigator.userAgent.toLowerCase(),r=n.exec(t);try{return r[2]}catch(i){return o}},operaVersion:function(){try{if(e.opera)return r.match(/opera.([\d.]+)/)[1];if(r.indexOf("opr")>0)return r.match(/opr\/([\d.]+)/)[1]}catch(n){return 0}}};try{a.type=a.isIE?"IE":e.opera||r.indexOf("opr")>0?"Opera":r.indexOf("chrome")>0?"Chrome":e.openDatabase?"Safari":r.indexOf("firefox")>0?"Firefox":"unknow",a.version="IE"===a.type?a.ieVersion():"Firefox"===a.type?r.match(/firefox\/([\d.]+)/)[1]:"Chrome"===a.type?r.match(/chrome\/([\d.]+)/)[1]:"Opera"===a.type?a.operaVersion():"Safari"===a.type?r.match(/version\/([\d.]+)/)[1]:"0",a.shell=function(){if(r.indexOf("edge")>0)return a.version=r.match(/edge\/([\d.]+)/)[1]||a.version,"edge浏览器";if(r.indexOf("maxthon")>0)return a.version=r.match(/maxthon\/([\d.]+)/)[1]||a.version,"傲游浏览器";if(r.indexOf("qqbrowser")>0)return a.version=r.match(/qqbrowser\/([\d.]+)/)[1]||a.version,"QQ浏览器";if(r.indexOf("se 2.x")>0)return"搜狗浏览器";if(i&&"Opera"!==a.type){var n=e.external,t=e.clientInformation,o=t.languages;if(n&&"LiebaoGetVersion"in n)return"猎豹浏览器";if(r.indexOf("bidubrowser")>0)return a.version=r.match(/bidubrowser\/([\d.]+)/)[1]||r.match(/chrome\/([\d.]+)/)[1],"百度浏览器";if(a.supportSubTitle()&&"undefined"===typeof o){var c=Object.keys(i.webstore).length;return c>1?"360极速浏览器":"360安全浏览器"}return"Chrome"}return a.type},a.name=a.shell()}catch(c){}return{client:a}}(window);return void 0==e.client.name||""==e.client.name?(e.client.name="Unknown",e.client.version="Unknown"):void 0==e.client.version&&(e.client.version="Unknown"),e}function c(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n="1.0.1",t=o(),r=i(),c=a(),u=c.client.name,s=c.client.version;if(e){var d="v=".concat(n,"&&did=").concat(t,"&&dh=").concat(r,"&&db=").concat(u,"&&dv=").concat(s,"&&dm=&&lat=&&lng=&&t=");return d}var l=(new Date).getTime(),f="v=".concat(n,"&&did=").concat(t,"&&dh=").concat(r,"&&db=").concat(u,"&&dv=").concat(s,"&&dm=&&lat=&&lng=&&t=").concat(l);return f}function u(e){return("00"+e).substr(e.length)}function s(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd hh:mm:ss";if(!e)return"";"string"===typeof e&&(e=new Date(e)),/(y+)/.test(n)&&(n=n.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length)));var t={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds()};for(var r in t){var o=t[r]+"";new RegExp("(".concat(r,")")).test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?o:u(o)))}return n}function d(e){return e=null==e?"0":e}function l(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e){if(isNaN(e))return;return e="string"==typeof e?parseFloat(e):e,t&&(e/=100),e=e.toFixed(2),e=parseFloat(e),e=e.toLocaleString(),e=-1==e.indexOf(".")?"¥"+e+".00":e.split(".")[1].length<2?"¥"+e+"0":"¥"+e,n||(e=e.replace("¥","")),e}return 0}}});
//# sourceMappingURL=app.a0016640.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?2bf3","webpack:///./src/App.vue","webpack:///./src/router/employee/employee-router.ts","webpack:///./src/assets/js/CommonPms.js","webpack:///./src/router/index.ts","webpack:///./src/store/modules/employee.ts","webpack:///./src/store/index.ts","webpack:///./src/utils/http.ts","webpack:///./src/utils/method.ts","webpack:///./src/utils/urls.ts","webpack:///./src/servicesImpl/employee/employeeImpl.ts","webpack:///./src/services/install.ts","webpack:///./src/utils/filters.ts","webpack:///./src/utils/bridge/jsBridge.js","webpack:///./src/utils/bridge/birdge.js","webpack:///./src/main.ts","webpack:///./src/utils/public.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","staticRenderFns","component","path","meta","title","requiresAuth","bin2hex","charCodeAt","toString","getCanvas","canvas","ctx","getContext","fillStyle","fillRect","b64","toDataURL","replace","bin","atob","crc","getOsInfo","userAgent","navigator","toLowerCase","version","indexOf","os","getBrowerInfo","Browser","agent","IEMode","documentMode","chrome","System","isIE","test","isGecko","isWebkit","isStrict","compatMode","supportSubTitle","supportScope","ieVersion","rMsie","ma","match","exec","operaVersion","opera","openDatabase","shell","external","clientInfo","clientInformation","clientLanguage","languages","storeKeyLen","keys","webstore","client","GetCommonPms","v","did","dh","BrowerInfo","db","dv","Date","getTime","pms","use","oidc_config","JSON","parse","router","base","routes","employee_router","authcode","log","commonPms","url","authority","client_id","client_secret","grant_type","scope","a","post","stringify","res","status","accessToken","access_token","getPathByTo","to","authcode_key","toPath","query","valueOf","beforeEach","from","next","matched","some","record","authCode","redirectPath","localStorage","setItem","location","catch","initPageState","userInfo","anymouseAccessToken","companyAccessToken","user","state","mutations","actions","getters","getAccessToken","getItem","getAnymouseAccessToken","aToken","http","store","Store","employee","interceptors","config","response","errcode","params","headers","special","put","delete","employeeUrl","userInfoUrl","salaryUrl","header","Authorization","headerUp","urls","idNo","spId","edId","id","eduId","req","fileId","components","EmployeeService","defineProperties","$server","subDate","startNum","endNum","substring","isSymbol","isConvertPoint","format","pattern","get_thousand_num","num","$1","u","isAndroid","isIOS","setupWebViewJavascriptBridge","callback","WebViewJavascriptBridge","addEventListener","WVJBCallbacks","WVJBIframe","style","display","documentElement","bridge","init","responseCallback","callHandler","registerHandler","Bridge","args","jsBridge","productionTip","forEach","filter","$bridge","render","h","App","$mount","padLeftZero","str","substr","formatDate","date","fmt","RegExp","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","k","isNull","info","toMoney","isNaN","parseFloat","toFixed","toLocaleString","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t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-19e87806\":\"22a91e6e\",\"chunk-35f92c0e\":\"e9f3b3b1\",\"chunk-3f4d721c\":\"592a5462\",\"chunk-1649fdd8\":\"04a382d3\",\"chunk-4635e66c\":\"44ffb30b\",\"chunk-6db83a58\":\"77ef5520\",\"chunk-70204596\":\"c8e34564\",\"chunk-7052aa18\":\"701e060a\",\"chunk-0cb1789e\":\"5116890e\",\"chunk-218ef753\":\"a41e8f41\",\"chunk-f59847e6\":\"58a1d28a\",\"chunk-80379f08\":\"3c040b3f\",\"chunk-a26cb696\":\"540453bb\",\"chunk-d3bf1764\":\"c71cdd8d\",\"chunk-d9bcf6b6\":\"6290ee53\",\"chunk-79c85055\":\"3fcf6d5b\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-19e87806\":1,\"chunk-35f92c0e\":1,\"chunk-1649fdd8\":1,\"chunk-6db83a58\":1,\"chunk-70204596\":1,\"chunk-218ef753\":1,\"chunk-f59847e6\":1,\"chunk-80379f08\":1,\"chunk-a26cb696\":1,\"chunk-d3bf1764\":1,\"chunk-d9bcf6b6\":1,\"chunk-79c85055\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-19e87806\":\"f544a705\",\"chunk-35f92c0e\":\"82976e65\",\"chunk-3f4d721c\":\"31d6cfe0\",\"chunk-1649fdd8\":\"6bbb1e35\",\"chunk-4635e66c\":\"31d6cfe0\",\"chunk-6db83a58\":\"911b12a6\",\"chunk-70204596\":\"2509e660\",\"chunk-7052aa18\":\"31d6cfe0\",\"chunk-0cb1789e\":\"31d6cfe0\",\"chunk-218ef753\":\"f9dedfe6\",\"chunk-f59847e6\":\"dc9f4765\",\"chunk-80379f08\":\"0035f549\",\"chunk-a26cb696\":\"37783c9d\",\"chunk-d3bf1764\":\"b8dc6c91\",\"chunk-d9bcf6b6\":\"08db6415\",\"chunk-79c85055\":\"82976e65\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=f96907be&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\r\nexport default [\r\n // {\r\n // path: '/',\r\n // name: 'Home',\r\n // meta: {\r\n // title: '首页',\r\n // requiresAuth: true\r\n // },\r\n // component: () => import(\"@/views/Home.vue\")\r\n // },\r\n {\r\n // 身份选择\r\n path: '/',\r\n name: 'SelectIdentity',\r\n component: () => import(\"@/views/SelectIdentity.vue\"),\r\n meta: {\r\n title: '身份选择',\r\n requiresAuth: true\r\n }\r\n },\r\n {\r\n // 灵活用工\r\n path: '/flex_employee',\r\n name: 'FlexEmployee',\r\n component: () => import(\"@/views/FlexEmployee.vue\"),\r\n meta: {\r\n title: '灵活用工',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 灵活用工详情\r\n path: '/flex_employee_detial',\r\n name: 'FlexEmployeeDetial',\r\n component: () => import(\"@/views/FlexEmployeeDetial.vue\"),\r\n meta: {\r\n title: '任务详情',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 企业员工\r\n path: '/company_employee_details',\r\n name: 'CompanyEmployeeDetails',\r\n component: () => import(\"@/views/CompanyEmployeeDetails.vue\"),\r\n meta: {\r\n title: '企业员工',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 档案查看\r\n path: '/archives',\r\n name: 'Archives',\r\n meta: {\r\n title: '档案查看',\r\n requiresAuth: false\r\n },\r\n component: () => import(\"@/views/Archives.vue\")\r\n },\r\n {\r\n // 劳务派遣-选择派遣公司\r\n path: '/chooseCompany',\r\n name: 'ChooseCompany',\r\n component: () => import(\"@/views/ChooseCompany.vue\"),\r\n meta: {\r\n title: '选择派遣公司',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣个人首页\r\n path: '/index',\r\n name: 'Index',\r\n component: () => import(\"@/views/Index.vue\"),\r\n meta: {\r\n title: '劳务派遣',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣-我上传的资料\r\n path: '/information',\r\n name: 'Information',\r\n component: () => import(\"@/views/Information.vue\"),\r\n meta: {\r\n title: '我上传的资料',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣-我上传的资料\r\n path: '/informationEdit',\r\n name: 'InformationEdit',\r\n component: () => import(\"@/views/InformationEdit.vue\"),\r\n meta: {\r\n title: '我上传的资料',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣-我上传的资料预览\r\n path: '/informationPreview',\r\n name: 'InformationPreview',\r\n component: () => import(\"@/views/InformationPreview.vue\"),\r\n meta: {\r\n title: '我上传的资料',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣-我的工资条\r\n path: '/paySlips',\r\n name: 'PaySlips',\r\n component: () => import(\"@/views/PaySlips.vue\"),\r\n meta: {\r\n title: '我的工资条',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣-我的工资条\r\n path: '/paySlipsMonth',\r\n name: 'PaySlipsMonth',\r\n component: () => import(\"@/views/PaySlipsMonth.vue\"),\r\n meta: {\r\n title: '我的工资条',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 测试页面\r\n path: '/test',\r\n name: 'test',\r\n component: () => import(\"@/views/test.vue\"),\r\n meta: {\r\n title: '测试页面',\r\n }\r\n },\r\n {\r\n // 测试城市选择\r\n path: '/cityTest',\r\n name: 'cityTest',\r\n component: () => import(\"@/views/cityTest.vue\"),\r\n meta: {\r\n title: '测试城市列表',\r\n }\r\n }\r\n\r\n]","function bin2hex (s) {\r\n var i,\r\n l,\r\n o = \"\",\r\n n;\r\n s += \"\";\r\n for (i = 0, l = s.length; i < l; i++) {\r\n n = s.charCodeAt(i).toString(16)\r\n o += n.length < 2 ? \"0\" + n : n;\r\n }\r\n return o;\r\n}\r\n\r\nfunction getCanvas () {\r\n var canvas = document.createElement(\"canvas\");\r\n var ctx = canvas.getContext(\"2d\");\r\n ctx.fillStyle = \"#f60\";\r\n ctx.fillRect(125, 1, 62, 20);\r\n var b64 = canvas.toDataURL().replace(\"data:image/png;base64,\", \"\");\r\n var bin = atob(b64);\r\n var crc = bin2hex(bin.slice(-16, -12));\r\n return crc;\r\n}\r\n\r\nfunction getOsInfo () {\r\n var userAgent = navigator.userAgent.toLowerCase();\r\n var name = \"Unknown\";\r\n var version = \"Unknown\";\r\n if (userAgent.indexOf(\"win\") > -1) {\r\n name = \"Windows\";\r\n if (userAgent.indexOf(\"windows nt 5.0\") > -1) {\r\n version = \"Windows 2000\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 5.1\") > -1 ||\r\n userAgent.indexOf(\"windows nt 5.2\") > -1\r\n ) {\r\n version = \"Windows XP\";\r\n } else if (userAgent.indexOf(\"windows nt 6.0\") > -1) {\r\n version = \"Windows Vista\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.1\") > -1 ||\r\n userAgent.indexOf(\"windows 7\") > -1\r\n ) {\r\n version = \"Windows 7\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.2\") > -1 ||\r\n userAgent.indexOf(\"windows 8\") > -1\r\n ) {\r\n version = \"Windows 8\";\r\n } else if (userAgent.indexOf(\"windows nt 6.3\") > -1) {\r\n version = \"Windows 8.1\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.2\") > -1 ||\r\n userAgent.indexOf(\"windows nt 10.0\") > -1\r\n ) {\r\n version = \"Windows 10\";\r\n } else {\r\n version = \"Unknown\";\r\n }\r\n } else if (userAgent.indexOf(\"iphone\") > -1) {\r\n name = \"Iphone\";\r\n } else if (userAgent.indexOf(\"mac\") > -1) {\r\n name = \"Mac\";\r\n } else if (\r\n userAgent.indexOf(\"x11\") > -1 ||\r\n userAgent.indexOf(\"unix\") > -1 ||\r\n userAgent.indexOf(\"sunname\") > -1 ||\r\n userAgent.indexOf(\"bsd\") > -1\r\n ) {\r\n name = \"Unix\";\r\n } else if (userAgent.indexOf(\"linux\") > -1) {\r\n if (userAgent.indexOf(\"android\") > -1) {\r\n name = \"Android\"\r\n } else {\r\n name = \"Linux\";\r\n }\r\n } else {\r\n name = \"Unknown\";\r\n }\r\n var os = new Object();\r\n os.name = name;\r\n os.version = version;\r\n return os;\r\n //document.write(\"系统:\" + os.name + \"版本:\" + os.name)\r\n}\r\nfunction getBrowerInfo () {\r\n var Browser =\r\n Browser ||\r\n (function (window) {\r\n var document = window.document,\r\n navigator = window.navigator,\r\n agent = navigator.userAgent.toLowerCase(),\r\n //IE8+支持.返回浏览器渲染当前文档所用的模式\r\n //IE6,IE7:undefined.IE8:8(兼容模式返回7).IE9:9(兼容模式返回7||8)\r\n //IE10:10(兼容模式7||8||9)\r\n IEMode = document.documentMode,\r\n //chorme\r\n chrome = window.chrome || false,\r\n System = {\r\n //user-agent\r\n agent: agent,\r\n //是否为IE\r\n isIE: /trident/.test(agent),\r\n //Gecko内核\r\n isGecko: agent.indexOf(\"gecko\") > 0 && agent.indexOf(\"like gecko\") < 0,\r\n //webkit内核\r\n isWebkit: agent.indexOf(\"webkit\") > 0,\r\n //是否为标准模式\r\n isStrict: document.compatMode === \"CSS1Compat\",\r\n //是否支持subtitle\r\n supportSubTitle: function () {\r\n return \"track\" in document.createElement(\"track\");\r\n },\r\n //是否支持scoped\r\n supportScope: function () {\r\n return \"scoped\" in document.createElement(\"style\");\r\n },\r\n\r\n //获取IE的版本号\r\n ieVersion: function () {\r\n var rMsie = /(msie\\s|trident.*rv:)([\\w.]+)/;\r\n var ma = window.navigator.userAgent.toLowerCase()\r\n var match = rMsie.exec(ma);\r\n try {\r\n return match[2];\r\n } catch (e) {\r\n //\t\t\t\t\t\t\t\t\tconsole.log(\"error\");\r\n return IEMode;\r\n }\r\n },\r\n //Opera版本号\r\n operaVersion: function () {\r\n try {\r\n if (window.opera) {\r\n return agent.match(/opera.([\\d.]+)/)[1];\r\n } else if (agent.indexOf(\"opr\") > 0) {\r\n return agent.match(/opr\\/([\\d.]+)/)[1];\r\n }\r\n } catch (e) {\r\n return 0;\r\n }\r\n }\r\n };\r\n\r\n try {\r\n //浏览器类型(IE、Opera、Chrome、Safari、Firefox)\r\n System.type = System.isIE\r\n ? \"IE\"\r\n : window.opera || agent.indexOf(\"opr\") > 0\r\n ? \"Opera\"\r\n : agent.indexOf(\"chrome\") > 0\r\n ? \"Chrome\"\r\n : //safari也提供了专门的判定方式\r\n window.openDatabase\r\n ? \"Safari\"\r\n : agent.indexOf(\"firefox\") > 0\r\n ? \"Firefox\"\r\n : \"unknow\";\r\n //版本号\r\n System.version = (System.type === \"IE\") ? System.ieVersion() :\r\n (System.type === \"Firefox\") ? agent.match(/firefox\\/([\\d.]+)/)[1] :\r\n (System.type === \"Chrome\") ? agent.match(/chrome\\/([\\d.]+)/)[1] :\r\n (System.type === \"Opera\") ? System.operaVersion() :\r\n (System.type === \"Safari\") ? agent.match(/version\\/([\\d.]+)/)[1] :\r\n \"0\";\r\n\r\n //浏览器外壳\r\n System.shell = function () {\r\n\r\n if (agent.indexOf(\"edge\") > 0) {\r\n System.version = agent.match(/edge\\/([\\d.]+)/)[1] || System.version;\r\n return \"edge浏览器\";\r\n }\r\n //遨游浏览器\r\n if (agent.indexOf(\"maxthon\") > 0) {\r\n System.version = agent.match(/maxthon\\/([\\d.]+)/)[1] || System.version;\r\n return \"傲游浏览器\";\r\n }\r\n //QQ浏览器\r\n if (agent.indexOf(\"qqbrowser\") > 0) {\r\n System.version = agent.match(/qqbrowser\\/([\\d.]+)/)[1] || System.version;\r\n return \"QQ浏览器\";\r\n }\r\n\r\n //搜狗浏览器\r\n if (agent.indexOf(\"se 2.x\") > 0) {\r\n return '搜狗浏览器';\r\n }\r\n\r\n //Chrome:也可以使用window.chrome && window.chrome.webstore判断\r\n if (chrome && System.type !== \"Opera\") {\r\n var external = window.external,\r\n clientInfo = window.clientInformation,\r\n //客户端语言:zh-cn,zh.360下面会返回undefined\r\n clientLanguage = clientInfo.languages;\r\n\r\n //猎豹浏览器:或者agent.indexOf(\"lbbrowser\")>0\r\n if (external && 'LiebaoGetVersion' in external) {\r\n return '猎豹浏览器';\r\n }\r\n //百度浏览器\r\n if (agent.indexOf(\"bidubrowser\") > 0) {\r\n System.version = agent.match(/bidubrowser\\/([\\d.]+)/)[1] ||\r\n agent.match(/chrome\\/([\\d.]+)/)[1];\r\n return \"百度浏览器\";\r\n }\r\n //360极速浏览器和360安全浏览器\r\n if (System.supportSubTitle() && typeof clientLanguage === \"undefined\") {\r\n //object.key()返回一个数组.包含可枚举属性和方法名称\r\n var storeKeyLen = Object.keys(chrome.webstore).length,\r\n v8Locale = \"v8Locale\" in window;\r\n return storeKeyLen > 1 ? '360极速浏览器' : '360安全浏览器';\r\n }\r\n return \"Chrome\";\r\n }\r\n return System.type;\r\n };\r\n\r\n //浏览器名称(如果是壳浏览器,则返回壳名称)\r\n System.name = System.shell();\r\n //对版本号进行过滤过处理\r\n //\tSystem.version = System.versionFilter(System.version);\r\n\r\n } catch (e) {\r\n //\t\t\t\t\t\tconsole.log(e.message);\r\n }\r\n return {\r\n client: System\r\n };\r\n })(window);\r\n if (Browser.client.name == undefined || Browser.client.name == \"\") {\r\n Browser.client.name = \"Unknown\";\r\n Browser.client.version = \"Unknown\";\r\n } else if (Browser.client.version == undefined) {\r\n Browser.client.version = \"Unknown\";\r\n }\r\n //\t\t\t\tdocument.write(Browser.client.name + \" \" + Browser.client.version);\r\n return Browser;\r\n}\r\n\r\n\r\nfunction GetCommonPms () {\r\n const v = \"1.0.1\";\r\n const did = getCanvas();\r\n const dh = getOsInfo().version;\r\n const BrowerInfo = getBrowerInfo();\r\n const db = BrowerInfo.client.name;\r\n const dv = BrowerInfo.client.version;\r\n const t = new Date().getTime();\r\n const pms = `v=${v}&&did=${did}&&dh=${dh}&&db=${db}&&dv=${dv}&&dm=&&lat=&&lng=&&t=${t}`;\r\n return pms;\r\n}\r\n\r\nexport {\r\n GetCommonPms\r\n};\r\n","import Vue from 'vue';\r\nimport Router from 'vue-router';\r\n// import Mgr from '@/common/SecurityService';\r\nimport employee_router from './employee/employee-router';\r\nimport qs from 'qs';\r\nimport axios from 'axios';\r\n//@ts-ignore\r\nimport { GetCommonPms } from '../assets/js/CommonPms.js';\r\n\r\nVue.use(Router);\r\n\r\n// let mgr = new Mgr();\r\n\r\nconst oidc_config = JSON.parse(process.env.VUE_APP_OIDC_CONFIG);\r\nconst isOpenHttps = process.env.VUE_APP_OPEN_HTTPS;\r\n\r\n/**\r\n * 加载和设置路由\r\n */\r\nconst router = new Router({\r\n mode: 'history',\r\n\r\n base: process.env.BASE_URL, //'/',\r\n routes: [...employee_router],\r\n});\r\n\r\n/**\r\n * 使用授权码登录\r\n * @param authCode 授权码\r\n */\r\n// function loginByAuthcode(authCode: any) {\r\n// let loginArgs = { extraQueryParams: { authcode: authCode } };\r\n// mgr.signIn(loginArgs);\r\n// }\r\n\r\n/**\r\n * 自动登录\r\n * @param authcode 授权码\r\n */\r\n// function autoLogin(authcode: any) {\r\n// mgr.getUser().then((user) => {\r\n// if (user == null) {\r\n// loginByAuthcode(authcode);\r\n// } else {\r\n// //如果已经登录,则先退出\r\n// localStorage.setItem('authcode', authcode);\r\n// mgr.signOut();\r\n// }\r\n// });\r\n// }\r\n\r\n//@ts-ignore\r\nfunction getAccessToken(authcode) {\r\n console.log('authcode=', authcode);\r\n return new Promise((resolve, reject) => {\r\n let commonPms = GetCommonPms();\r\n //@ts-ignore\r\n let url = `${oidc_config.authority}/connect/token?${commonPms}`;\r\n let pms = {\r\n //@ts-ignore\r\n client_id: oidc_config.client_id,\r\n //@ts-ignore\r\n client_secret: oidc_config.client_secret,\r\n grant_type: 'auth_code',\r\n scope:\r\n 'openid workapps.client api.workapps.user api.workapps.org api.workapps.open',\r\n code: authcode,\r\n };\r\n axios.post(url, qs.stringify(pms)).then((res) => {\r\n if (res && res.status) {\r\n const accessToken = res.data.access_token;\r\n resolve(accessToken);\r\n } else {\r\n reject(res);\r\n }\r\n });\r\n });\r\n}\r\n\r\n//@ts-ignore\r\nfunction getPathByTo(to, authcode_key) {\r\n let toPath = to.path || '/';\r\n for (let key in to.query) {\r\n key = key.toLowerCase();\r\n console.log('key=', key);\r\n if (key == authcode_key) {\r\n continue;\r\n }\r\n toPath += toPath.indexOf('?') > -1 ? '&' : '?';\r\n toPath += `${key}=${to.query[key]}`;\r\n }\r\n toPath =\r\n toPath.indexOf('?') > -1\r\n ? toPath + '&t=' + new Date().valueOf()\r\n : toPath + '?t=' + new Date().valueOf();\r\n return toPath;\r\n}\r\n\r\nrouter.beforeEach((to, from, next) => {\r\n // if (isOpenHttps === 'true' && location.href.startsWith('http://')) {\r\n // location.href = location.href.replace('http://', 'https://');\r\n // }\r\n const requiresAuth = to.matched.some((record) => record.meta.requiresAuth);\r\n //更改标题\r\n if (to.meta.title) {\r\n document.title = to.meta.title;\r\n }\r\n\r\n const authcode = to.query.authCode || to.query.authcode;\r\n\r\n if (!!authcode) {\r\n getAccessToken(authcode)\r\n .then((res) => {\r\n const redirectPath = getPathByTo(to, 'authcode');\r\n //@ts-ignore\r\n const accessToken: string = res;\r\n localStorage.setItem('token', accessToken);\r\n window.location.href = redirectPath;\r\n })\r\n .catch((err) => {\r\n console.log('err=', err);\r\n });\r\n } else {\r\n console.log('to.path=', to.path);\r\n\r\n next();\r\n }\r\n});\r\n\r\n/**\r\n * 请求路由前 一些操作\r\n */\r\n// router.beforeEach((to, from, next) => {\r\n// // console.log(isOpenHttps);\r\n\r\n// if (isOpenHttps === \"true\" && location.href.startsWith(\"http://\")) {\r\n// location.href = location.href.replace(\"http://\", \"https://\");\r\n// }\r\n\r\n// const requiresAuth = to.matched.some(record => record.meta.requiresAuth);\r\n\r\n// localStorage.setItem(\"returnUrl\", to.path);\r\n\r\n// //更改标题\r\n// if (to.meta.title) {\r\n// document.title = to.meta.title;\r\n// }\r\n\r\n// let authcode = localStorage.getItem(\"authcode\")\r\n// if (authcode) {\r\n// localStorage.removeItem(\"authcode\");\r\n// loginByAuthcode(authcode)\r\n// } else {\r\n// let authcode = to.query.authcode;\r\n// if (authcode) {\r\n// autoLogin(authcode);\r\n// } else {\r\n// if (requiresAuth) {\r\n// mgr.getUser().then(user => {\r\n// if (user == null) {\r\n// mgr.signIn();\r\n// } else {\r\n// next();\r\n// }\r\n// });\r\n// }\r\n// else {\r\n// next();\r\n// }\r\n// }\r\n// }\r\n\r\n// });\r\n\r\nexport default router;\r\n","// import * as types from \"../types\";\r\n// import { isNullOrEmpty } from \"@/utils/public\";\r\n// import Mgr from '@/common/SecurityService';\r\n// import request from '@/utils/method';\r\n// import urls from '@/utils/urls';\r\n\r\n// let mgr = new Mgr();\r\n\r\nconst initPageState = () => {\r\n return {\r\n userInfo: {},\r\n accessToken: '',\r\n anymouseAccessToken: '',\r\n companyAccessToken: '',\r\n };\r\n};\r\n\r\nconst user = {\r\n state: initPageState(),\r\n mutations: {},\r\n actions: {},\r\n getters: {\r\n // async getUserInfo(state: Object | any) {\r\n // if (Object.keys(state.userInfo).length > 0) {\r\n // return state.userInfo;\r\n // }\r\n\r\n // let user = await mgr.getUser();\r\n // if (user) {\r\n // state.userInfo = user!.profile;\r\n // }\r\n\r\n // return state.userInfo;\r\n // },\r\n async getAccessToken(state: Object | any) {\r\n if (state.accessToken === '') {\r\n //let user = await mgr.getUser();\r\n // if (user) {\r\n // state.accessToken = user!.access_token;\r\n // }\r\n state.accessToken = localStorage.getItem('token');\r\n }\r\n return state.accessToken;\r\n },\r\n async getAnymouseAccessToken(state: Object | any) {\r\n if (state.anymouseAccessToken === '') {\r\n let aToken = localStorage.getItem('aat');\r\n if (!!aToken) {\r\n state.anymouseAccessToken = aToken;\r\n } else {\r\n // let url = `${urls.tokenUrl}/connect/token`;\r\n // await request.post(url,)\r\n }\r\n }\r\n\r\n return state.anymouseAccessToken;\r\n },\r\n },\r\n};\r\n\r\nexport default user;\r\n","import Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport employee from './modules/employee'\r\n\r\nVue.use(Vuex)\r\n\r\nconst store = new Vuex.Store({\r\n // strict: process.env.NOOE_ENV !== \"production\",\r\n modules: {\r\n employee\r\n }\r\n})\r\nexport default store;\r\n","import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';\r\nimport { Toast } from 'vant';\r\nimport { ResponseData } from '@/types/index';\r\n\r\nlet http: AxiosInstance | any;\r\nhttp = axios.create({\r\n timeout: 60000,\r\n});\r\n\r\n/**\r\n * 请求拦击器\r\n */\r\nhttp.interceptors.request.use(\r\n (config: AxiosRequestConfig) => {\r\n return config;\r\n },\r\n (error: any) => {\r\n Promise.reject(error);\r\n }\r\n);\r\n\r\n/**\r\n * 响应拦截器\r\n */\r\nhttp.interceptors.response.use(\r\n (response: AxiosResponse) => {\r\n if (response.status === 200) {\r\n const data: ResponseData = response.data;\r\n // 认证中心接口 响应\r\n if (!data.status) {\r\n // console.log(data);\r\n return data;\r\n }\r\n\r\n // 普通接口 响应\r\n if (data.status) {\r\n return data.data;\r\n } else {\r\n Toast(data.message);\r\n }\r\n return Promise.reject(new Error(response.data.errcode || \"Error\"));\r\n }\r\n },\r\n (error: any) => Promise.reject(error)\r\n);\r\n\r\nexport default http;\r\n","import http from './http';\r\nimport { GetCommonPms } from '@/utils/public';\r\n\r\nclass Request {\r\n /**\r\n * GET 请求\r\n * @param url 请求链接\r\n * @param params 请求参数\r\n * @param headers 请求头信息\r\n */\r\n public get(\r\n url: string,\r\n params: any = {},\r\n headers: any = {},\r\n special: boolean = false\r\n ): Promise<any> {\r\n return new Promise((resolve, reject) => {\r\n resolve(\r\n http.get(`${url}?${GetCommonPms(special)}`, {\r\n params: params,\r\n headers: headers,\r\n })\r\n );\r\n });\r\n }\r\n\r\n /**\r\n *\r\n * POST 请求\r\n * @param url 请求链接\r\n * @param params 请求参数\r\n * @param headers 请求头信息\r\n */\r\n public post(\r\n url: string,\r\n params: any = {},\r\n headers: any = {},\r\n special: boolean = false\r\n ) {\r\n return new Promise((resolve, reject) => {\r\n resolve(\r\n http.post(`${url}?${GetCommonPms(special)}`, params, {\r\n headers: headers,\r\n })\r\n );\r\n });\r\n }\r\n\r\n /**\r\n *\r\n * PUT 请求\r\n * @param url 请求链接\r\n * @param params 请求参数\r\n * @param headers 请求头信息\r\n */\r\n public put(url: string, params: any = {}, headers: any = {}) {\r\n return new Promise((resolve, reject) => {\r\n resolve(\r\n http.put(`${url}?${GetCommonPms()}`, params, { headers: headers })\r\n );\r\n });\r\n }\r\n\r\n /**\r\n *\r\n * DELETE 请求\r\n * @param url 请求链接\r\n * @param params 请求参数\r\n * @param headers 请求头信息\r\n */\r\n public delete(url: string, params: any = {}, headers: any = {}) {\r\n return new Promise((resolve, reject) => {\r\n resolve(\r\n http.delete(`${url}?${GetCommonPms()}`, {\r\n params: params,\r\n headers: headers,\r\n })\r\n );\r\n });\r\n }\r\n}\r\n\r\nexport default new Request();\r\n","/**\r\n * 服务基础链接\r\n */\r\nclass Urls {\r\n\r\n /**\r\n * 个人中心\r\n */\r\n employeeUrl: String = process.env.VUE_APP_BASE_URL;\r\n\r\n /**\r\n * \r\n * 获取用户信息\r\n */\r\n userInfoUrl: String = process.env.VUE_APP_USERINFO_URL;\r\n\r\n /**\r\n * 个人中心\r\n */\r\n salaryUrl: String = process.env.VUE_APP_SALARY_URL;\r\n\r\n}\r\n\r\nexport default new Urls();","import request from '@/utils/method';\r\nimport store from '@/store';\r\nimport { EmployeeInterface } from '@/services/employee/employeeService';\r\nimport urls from '@/utils/urls';\r\n\r\n/**\r\n * 员工服务类\r\n */\r\nclass EmployeeService implements EmployeeInterface {\r\n /**\r\n * 请求头信息\r\n */\r\n private header: any;\r\n private headerUp: any;\r\n /**\r\n * 当前版本\r\n */\r\n private version: String;\r\n\r\n /**\r\n * 当前登录用户ID\r\n */\r\n private sub: any;\r\n\r\n /**\r\n * 构造方法\r\n */\r\n public constructor() {\r\n // 获取登录token\r\n store.getters.getAccessToken.then((res: any) => {\r\n this.header = { Authorization: `Bearer ${res}` };\r\n this.headerUp ={ Authorization: `Bearer ${res}`,'Content-Type':'multipart/form-data;charset=UTF-8'}\r\n });\r\n // store.getters.getUserInfo.then((res: any) => {\r\n // // console.log(res);\r\n // this.sub = res.sub\r\n // })\r\n this.version = 'v1';\r\n }\r\n\r\n /**\r\n * 获取用户信息\r\n * @param params 请求参数\r\n */\r\n public async getUserInfo(params: any): Promise<any> {\r\n const url = urls.userInfoUrl + `/userAuthDetails`;\r\n return request.post(url, params, this.header, true);\r\n }\r\n\r\n /**\r\n * 获取派遣公司的列表\r\n * @param params\r\n */\r\n public getDispatchList(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.idNo}/dispatch/companies`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取劳务派遣首页数据\r\n * @param params\r\n */\r\n public getDispatchInfo(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl +\r\n `/api/user/dispatch/companies/${params.spId}/employee/${params.idNo}/info`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取工作信息列表\r\n * @param params 请求参数\r\n */\r\n public getWorkInfoList(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/work`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取工作信息详情\r\n * @param params 请求参数\r\n */\r\n\r\n public getWorkInfoDetail(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/work/detail`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 修改工作信息\r\n * @param params 请求参数\r\n */\r\n\r\n public updateWorkInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/work/info`;\r\n return request.put(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 新增工作信息\r\n * @param params 请求参数\r\n */\r\n\r\n public addWorkInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/work/info`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 删除工作信息\r\n * @param params 请求参数\r\n */\r\n\r\n public deleteWorkInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/work/${params.edId}/info`;\r\n return request.delete(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取个人信息\r\n * @param params 请求参数\r\n */\r\n public getPersonInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/info`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 保存个人信息\r\n * @param params 请求参数\r\n */\r\n public savePersonInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.id}/info`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取联系信息\r\n * @param params 请求参数\r\n */\r\n public getContactInfo(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/contact/info`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 保存联系信息\r\n * @param params 请求参数\r\n */\r\n public saveContactInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/contact/${params.id}/info`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取社保信息\r\n * @param params 请求参数\r\n */\r\n public getSocialInfo(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/unit/relation`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 保存社保信息\r\n * @param params 请求参数\r\n */\r\n public saveSocialInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/unit/relation/save`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取工资卡信息\r\n * @param params 请求参数\r\n */\r\n public getWageCardInfo(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/salary/card/info`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 保存工资卡信息\r\n * @params params\r\n */\r\n public saveWageCardInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/salary/card/save`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取教育经历\r\n * @param params 请求参数\r\n */\r\n public getEduExperience(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/education`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取教育信息详细\r\n * @param params\r\n */\r\n public getEduExperienceDetial(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/education/detial`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 新增教育信息\r\n * @param params\r\n */\r\n public addEduExperience(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/edu/info`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 修改教育信息\r\n * @param params\r\n */\r\n public updateEduExperience(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/edu/info`;\r\n return request.put(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 删除教育信息\r\n * @param params\r\n */\r\n public deleteEduExperience(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/edu/${params.eduId}/info`;\r\n return request.delete(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取技术特长\r\n * @param params\r\n */\r\n public getTechnologyExperience(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/expertise/info`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 修改技术特长\r\n * @param params\r\n */\r\n public updateTechnologyExperience(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/expertise/info`;\r\n return request.put(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取城市列表\r\n * @param params\r\n */\r\n public getCityList(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/dispatch/cities`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * 通过身份证号和派遣公司ID拿到派遣员工的工资条信息\r\n * @param params\r\n */\r\n public getSalaryInfo(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl +\r\n `/api/user/dispatch/companies/${params.spId}/employee/${params.idNo}/payroll`;\r\n return request.get(url, {}, this.header, false);\r\n }\r\n\r\n /**\r\n *\r\n * 通过id获取工资条详细\r\n * @param params\r\n */\r\n public getSalaryInfoDetail(params: any): Promise<any> {\r\n let url = `${urls.employeeUrl}/api/user/employee/salary/${params.id}/detail`;\r\n return request.get(url, {}, this.header, false);\r\n }\r\n\r\n /**\r\n *\r\n * 获取文件\r\n * @param params\r\n */\r\n public getFiles(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/files`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * 设置文件\r\n * @param params\r\n */\r\n public setFiles(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/file`;\r\n return request.put(url, params.req, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * 删除文件\r\n * @param params\r\n */\r\n public delFiles(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/files/${params.fileId}`;\r\n return request.delete(url, params, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * base64转短连接\r\n * @param params\r\n */\r\n public tranFiles(params: any): Promise<any> {\r\n let url = urls.salaryUrl + `/general/person/upload`;\r\n return request.post(url, params, this.headerUp);\r\n }\r\n\r\n /**\r\n *\r\n * 提交文件\r\n * @param params\r\n */\r\n public putFiles(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/commit/file`;\r\n return request.put(url, params, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * 灵活用工\r\n * @param params\r\n */\r\n public getAgileWorker(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.idNo}/bill/item`;\r\n return request.get(url, {}, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * 提交基本信息\r\n * @param params\r\n */\r\n public updateBaseInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/base/info`;\r\n return request.post(url, params, this.header);\r\n }\r\n}\r\n\r\nexport default new EmployeeService();\r\n","import Vue from 'vue';\r\nimport EmployeeService from \"@/servicesImpl/employee/employeeImpl\";\r\n\r\nconst components = {\r\n EmployeeService\r\n};\r\n\r\nconst install = function () {\r\n Object.defineProperties(Vue.prototype, {\r\n $server: {\r\n get() {\r\n return components;\r\n }\r\n }\r\n })\r\n}\r\n\r\nexport default install;","import { toMoney, formatDate, isNull } from '../utils/public';\r\n\r\n//格式化日期\r\nexport const subDate = (value: string, startNum: number, endNum: number) => {\r\n if (value == null) {\r\n return null;\r\n }\r\n return value.substring(startNum, endNum);\r\n // formatDate(value,'yyyy-MM')\r\n};\r\nexport const money = (\r\n value: String,\r\n isSymbol: boolean,\r\n isConvertPoint: boolean\r\n) => {\r\n toMoney(value, isSymbol, isConvertPoint);\r\n};\r\nexport const format = (value: String, pattern: String) => {\r\n return value.replace(/\\d{2}:\\d{2}:\\d{2}/i, '');\r\n};\r\nexport const isEmpty = (value: string) => {\r\n isNull(value);\r\n};\r\n\r\nexport const get_thousand_num = (num: number) => {\r\n return num.toString().replace(/\\d+/, function(n) {\r\n // 先提取整数部分\r\n return n.replace(/(\\d)(?=(\\d{3})+$)/g, function($1) {\r\n // 对整数部分添加分隔符\r\n return $1 + ',';\r\n });\r\n });\r\n};\r\n","let u = navigator.userAgent;\r\nlet isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端\r\nlet isIOS = !!u.match(/\\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端 \r\n\r\n// 执行回调函数\r\nfunction setupWebViewJavascriptBridge(callback) {\r\n if (isAndroid) {\r\n console.log('isAndroid===');\r\n // 如果该对象已存在则直接执行\r\n if (window.WebViewJavascriptBridge) {\r\n callback(window.WebViewJavascriptBridge)\r\n } else {\r\n // 否则添加事件监听在执行\r\n document.addEventListener(\r\n 'WebViewJavascriptBridgeReady',\r\n function () {\r\n callback(window.WebViewJavascriptBridge)\r\n },\r\n false\r\n )\r\n }\r\n return;\r\n }\r\n\r\n if (isIOS) {\r\n console.log('ios===');\r\n\r\n if (window.WebViewJavascriptBridge) {\r\n return callback(window.WebViewJavascriptBridge);\r\n }\r\n if (window.WVJBCallbacks) {\r\n return window.WVJBCallbacks.push(callback);\r\n }\r\n window.WVJBCallbacks = [callback];\r\n var WVJBIframe = document.createElement('iframe');\r\n WVJBIframe.style.display = 'none';\r\n WVJBIframe.src = 'wvjbscheme://__bridge_loaded__';\r\n document.documentElement.appendChild(WVJBIframe);\r\n setTimeout(function () {\r\n document.documentElement.removeChild(WVJBIframe)\r\n }, 0)\r\n }\r\n\r\n}\r\n\r\n// 注册回调函数\r\nsetupWebViewJavascriptBridge(function (bridge) {\r\n if (isAndroid) {\r\n //初始化\r\n bridge.init(function (message, responseCallback) {\r\n var data = {\r\n 'Javascript Responds': 'Wee!'\r\n };\r\n responseCallback(data);\r\n })\r\n\r\n }\r\n})\r\n\r\n// 暴露当前模块的方法\r\nexport default {\r\n // js调APP方法 (参数分别为:app提供的方法名 传给app的数据 回调)\r\n callHandler(name, data, callback) {\r\n setupWebViewJavascriptBridge(bridge => {\r\n bridge.callHandler(name, data, callback)\r\n })\r\n },\r\n // APP调js方法 (参数分别为:js提供的方法名 回调)\r\n registerHandler(name, callback) {\r\n setupWebViewJavascriptBridge(bridge => {\r\n bridge.registerHandler(name, (data, responseCallback) => {\r\n callback(data, responseCallback)\r\n })\r\n })\r\n }\r\n}","import jsBridge from './jsBridge';\r\n\r\n/**\r\n * H5与移动端桥接公共方法\r\n */\r\nclass Bridge {\r\n\r\n /**\r\n * 设置齐刘海头部颜色\r\n * \r\n * @param {Object=} args 请求数据 \r\n * @param {String} args.barColor 栏颜色 #0978e7\r\n */\r\n setBarColor(args = {}) {\r\n console.log('setBarColor');\r\n return new Promise((resolve, reject) => {\r\n try {\r\n jsBridge.callHandler('setBarColor', args, function (response) {\r\n resolve(response)\r\n });\r\n } catch (err) {\r\n reject(err)\r\n }\r\n })\r\n }\r\n\r\n /**\r\n * 获取头部栏高度\r\n * \r\n * @param {Object=} args 请求参数\r\n */\r\n getBarHeight(args = {}) {\r\n console.log('getBarHeight');\r\n\r\n return new Promise((resolve, reject) => {\r\n try {\r\n jsBridge.callHandler(\"getBarHeight\", args, function (response) {\r\n resolve(response);\r\n });\r\n } catch (err) {\r\n reject(err);\r\n }\r\n })\r\n }\r\n\r\n /**\r\n * 设置页面导肮栏状态\r\n * \r\n * @param {Object} args 请求参数 \r\n * @param {Boolean} args.isShowClose 是否显示关闭\r\n * @param {Boolean} args.isShowBack 是否显示返回\r\n * @param {Boolean} args.isCloseLeft 是否关闭左侧\r\n * @param {Boolean} args.isShowTitle 是否显示标题\r\n * @param {Boolean} args.isShowNav 是否显示导航栏\r\n * @param {Boolean} args.isCloseWebView 是否关闭WebView\r\n */\r\n setPageNavState(args = {}) {\r\n console.log('setPageNavState');\r\n return new Promise((resolve, reject) => {\r\n try {\r\n jsBridge.callHandler(\"setPageNavState\", args, function (response) {\r\n resolve(response);\r\n });\r\n } catch (err) {\r\n reject(err);\r\n }\r\n })\r\n\r\n }\r\n\r\n /**\r\n * 关闭WebView\r\n * \r\n * @param {Object=} args 请求对象\r\n */\r\n closeWebView(args = {}) {\r\n return new Promise((resolve, reject) => {\r\n try {\r\n jsBridge.callHandler(\"closeWebView\", args, function (response) {\r\n resolve(response);\r\n });\r\n } catch (err) {\r\n reject(err);\r\n }\r\n })\r\n }\r\n}\r\n\r\nexport default new Bridge();\r\n\r\n","import Vue from 'vue';\r\nimport App from './App.vue';\r\nimport router from './router';\r\nimport store from './store';\r\nimport 'amfe-flexible/index.js';\r\nimport server from '@/services/install';\r\n// import FastClick from 'fastclick'\r\nimport '@/assets/css/index.less';\r\nimport * as filters from '@/utils/filters';\r\n//@ts-ignore\r\nimport bridge from \"./utils/bridge/birdge.js\";\r\n\r\nVue.config.productionTip = false;\r\n// FastClick.attach(document.body);\r\nObject.keys(filters).forEach((key: string) => {\r\n Vue.filter(key, (filters as any)[key]);\r\n});\r\n\r\nVue.use(server);\r\n\r\n\r\nif (\r\n process.env.NODE_ENV === 'development' ||\r\n process.env.NODE_ENV === 'staging'\r\n) {\r\n const VConsole = require('vconsole');\r\n const my_console = new VConsole();\r\n}\r\n\r\nVue.prototype.$bridge = bridge;\r\n\r\nnew Vue({\r\n router,\r\n store,\r\n render: (h) => h(App),\r\n}).$mount('#app');\r\n","/**\r\n * 验证手机号\r\n * @param tel 手机号\r\n */\r\nexport function isTel(tel: string) {\r\n return /^1\\d{10}$/.test(tel);\r\n}\r\n\r\n/**\r\n * 验证邮箱\r\n * @param email 邮箱\r\n */\r\nexport function isEmail(email: string) {\r\n return /^([a-zA-Z]|[0-9])(\\w|\\-)+@[a-zA-Z0-9]+\\.([a-zA-Z]{2,4})$/.test(email);\r\n}\r\n\r\n/**\r\n * 验证密码格式(8-16位,数字和英文字母的组合)\r\n * @param password 密码\r\n */\r\nexport function isPassWord(password: string) {\r\n // console.log(password);\r\n return /^(?=.*?[0-9])(?=.*?[A-Za-z])[0-9A-Za-z]{8,16}$/.test(password);\r\n}\r\n\r\n/**\r\n * 验证银行卡号\r\n * @param banknum 银行卡号\r\n */\r\nexport function isBankNum(banknum: string) {\r\n return /^([1-9]{1})(\\d{15}|\\d{18})$/.test(banknum);\r\n}\r\n\r\n/**\r\n * 验证身份证号\r\n * @param id 身份证号\r\n */\r\nexport function isIdCard(id: string) {\r\n return /^\\d{6}(18|19|20)\\d{2}(0\\d|10|11|12)([0-2]\\d|30|31)\\d{3}(\\d|X|x)$/.test(id);\r\n}\r\n\r\n/**\r\n * 模糊手机号\r\n * @param mobile 手机号\r\n */\r\nexport function fuzzyMobile(mobile: string) {\r\n let mobileFront = mobile.slice(0, 3);\r\n let mobileEnd = mobile.slice(7);\r\n return mobileFront + '****' + mobileEnd;\r\n}\r\n\r\n/**\r\n * 模糊邮箱\r\n * @param email 邮箱\r\n */\r\nexport function fuzzyEmail(email: string) {\r\n let emailFront = email.slice(0, 1);\r\n let index = email.indexOf('@');\r\n let emailEnd = email.slice(index);\r\n return emailFront + '****' + emailEnd;\r\n}\r\n\r\n/**\r\n * 姓名格式化为‘'*' + 尾字’\r\n * @param name 姓名\r\n */\r\nexport function fuzzyName(name: string) {\r\n // console.log(name);\r\n return '*' + name.slice(-1);\r\n}\r\n\r\n/**\r\n * 身份证号格式化为‘首1+'******'+尾1’\r\n * @param idnum 身份证\r\n */\r\nexport function fuzzyIdNum(idnum: string) {\r\n if (idnum === \"\") {\r\n return \"\";\r\n }\r\n return (idnum || \"\").slice(0, 1) + '****************' + (idnum || \"\").slice(-1);\r\n}\r\n\r\n/**\r\n * 银行卡号格式化为‘首4+'******'+尾4’\r\n * @param banknunm 银行卡号\r\n */\r\nexport function fuzzyBankNum(banknunm: string) {\r\n if (banknunm === \"\") {\r\n return \"\";\r\n }\r\n return (banknunm || \"\").slice(0, 4) + '********' + (banknunm || \"\").slice(-4);\r\n}\r\n\r\n/**\r\n * 获取性别\r\n * @param sex 性别数字\r\n */\r\nexport function gender(sex: number) {\r\n let genderArr = ['', '男', '女'];\r\n if (sex > 0) {\r\n return genderArr[sex];\r\n } else {\r\n return '';\r\n }\r\n}\r\n\r\n/**\r\n * 获取认证方式\r\n * @param value 认证关键字\r\n */\r\nexport function authMethod(value: string) {\r\n let bankArray: { [key: string]: string } = {\r\n \"MANUAL\": \"手动认证\",\r\n \"TWO\": \"二要素认证\",\r\n \"BANK_FOUR\": \"四要素认证\",\r\n \"MOBILE_THREE\": \"三要素认证\"\r\n };\r\n\r\n for (let k in bankArray) {\r\n if (k === value) {\r\n return bankArray[k];\r\n }\r\n }\r\n return \"\";\r\n}\r\n\r\n/**\r\n * 检测字符串是否为空\r\n * @param value 字符串\r\n */\r\nexport function isNullOrEmpty(value: string) {\r\n if (value === null || value === undefined || value === \"\") {\r\n return false;\r\n }\r\n return true;\r\n}\r\n\r\n/**\r\n * 节流调用\r\n * @param this 当前调用对象\r\n * @param fn 是我们需要包装的事件回调\r\n * @param delay 是时间间隔的阈值\r\n */\r\nexport function throttle(this: any, fn: Function, delay: number) {\r\n // last为上一次触发回调的时间, timer是定时器\r\n let last = 0, timer: any = null;\r\n\r\n // 将throttle处理结果当作函数返回\r\n return () => {\r\n // 保留调用时的this上下文\r\n let context = this;\r\n // 保留调用时传入的参数\r\n let args = this.arguments;\r\n // 记录本次触发回调的时间\r\n let now = +new Date();\r\n\r\n // 判断上次触发的时间和本次触发的时间差是否小于时间间隔的阈值\r\n if (now - last < delay) {\r\n // 如果时间间隔小于我们设定的时间间隔阈值,则为本次触发操作设立一个新的定时器\r\n clearTimeout(timer);\r\n timer = setTimeout(function () {\r\n last = now;\r\n fn.apply(context, args);\r\n }, delay);\r\n } else {\r\n // 如果时间间隔超出了我们设定的时间间隔阈值,那就不等了,无论如何要反馈给用户一次响应\r\n last = now;\r\n fn.apply(context, args);\r\n }\r\n };\r\n}\r\n\r\n\r\n/**\r\n * 字符串转16进制\r\n * @param s 字符串\r\n */\r\nfunction bin2hex(s: string) {\r\n var i,\r\n l,\r\n o = \"\",\r\n n;\r\n s += \"\";\r\n for (i = 0, l = s.length; i < l; i++) {\r\n n = s.charCodeAt(i).toString(16)\r\n o += n.length < 2 ? \"0\" + n : n;\r\n }\r\n return o;\r\n}\r\n\r\n/**\r\n * 获取画布\r\n */\r\nfunction getCanvas() {\r\n var canvas = document.createElement(\"canvas\");\r\n var ctx = canvas.getContext(\"2d\");\r\n ctx!.fillStyle = \"#f60\";\r\n ctx!.fillRect(125, 1, 62, 20);\r\n var b64 = canvas.toDataURL().replace(\"data:image/png;base64,\", \"\");\r\n var bin = atob(b64);\r\n var crc = bin2hex(bin.slice(-16, -12));\r\n return crc;\r\n}\r\n\r\n/**\r\n * 获取系统信息\r\n */\r\nfunction getOsInfo() {\r\n var userAgent = navigator.userAgent.toLowerCase();\r\n var name = \"Unknown\";\r\n var version = \"Unknown\";\r\n if (userAgent.indexOf(\"win\") > -1) {\r\n name = \"Windows\";\r\n if (userAgent.indexOf(\"windows nt 5.0\") > -1) {\r\n version = \"Windows 2000\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 5.1\") > -1 ||\r\n userAgent.indexOf(\"windows nt 5.2\") > -1\r\n ) {\r\n version = \"Windows XP\";\r\n } else if (userAgent.indexOf(\"windows nt 6.0\") > -1) {\r\n version = \"Windows Vista\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.1\") > -1 ||\r\n userAgent.indexOf(\"windows 7\") > -1\r\n ) {\r\n version = \"Windows 7\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.2\") > -1 ||\r\n userAgent.indexOf(\"windows 8\") > -1\r\n ) {\r\n version = \"Windows 8\";\r\n } else if (userAgent.indexOf(\"windows nt 6.3\") > -1) {\r\n version = \"Windows 8.1\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.2\") > -1 ||\r\n userAgent.indexOf(\"windows nt 10.0\") > -1\r\n ) {\r\n version = \"Windows 10\";\r\n } else {\r\n version = \"Unknown\";\r\n }\r\n } else if (userAgent.indexOf(\"iphone\") > -1) {\r\n name = \"Iphone\";\r\n } else if (userAgent.indexOf(\"mac\") > -1) {\r\n name = \"Mac\";\r\n } else if (\r\n userAgent.indexOf(\"x11\") > -1 ||\r\n userAgent.indexOf(\"unix\") > -1 ||\r\n userAgent.indexOf(\"sunname\") > -1 ||\r\n userAgent.indexOf(\"bsd\") > -1\r\n ) {\r\n name = \"Unix\";\r\n } else if (userAgent.indexOf(\"linux\") > -1) {\r\n if (userAgent.indexOf(\"android\") > -1) {\r\n name = \"Android\"\r\n } else {\r\n name = \"Linux\";\r\n }\r\n } else {\r\n name = \"Unknown\";\r\n }\r\n // var os = new Object();\r\n // os.name = name;\r\n // os.version = version;\r\n return version;\r\n //document.write(\"系统:\" + os.name + \"版本:\" + os.name)\r\n}\r\n\r\n/**\r\n * 获取浏览器信息\r\n */\r\nfunction getBrowerInfo() {\r\n var Browser: any =\r\n Browser ||\r\n (function (window) {\r\n var document = window.document,\r\n navigator = window.navigator,\r\n agent = navigator.userAgent.toLowerCase(),\r\n //IE8+支持.返回浏览器渲染当前文档所用的模式\r\n //IE6,IE7:undefined.IE8:8(兼容模式返回7).IE9:9(兼容模式返回7||8)\r\n //IE10:10(兼容模式7||8||9)\r\n IEMode = (<any>document).documentMode,\r\n //chorme\r\n chrome = (<any>window).chrome || false,\r\n System = {\r\n //user-agent\r\n agent: agent,\r\n //是否为IE\r\n isIE: /trident/.test(agent),\r\n //Gecko内核\r\n isGecko: agent.indexOf(\"gecko\") > 0 && agent.indexOf(\"like gecko\") < 0,\r\n //webkit内核\r\n isWebkit: agent.indexOf(\"webkit\") > 0,\r\n //是否为标准模式\r\n isStrict: document.compatMode === \"CSS1Compat\",\r\n //是否支持subtitle\r\n supportSubTitle: function () {\r\n return \"track\" in document.createElement(\"track\");\r\n },\r\n //是否支持scoped\r\n supportScope: function () {\r\n return \"scoped\" in document.createElement(\"style\");\r\n },\r\n\r\n //获取IE的版本号\r\n ieVersion: function () {\r\n var rMsie = /(msie\\s|trident.*rv:)([\\w.]+)/;\r\n var ma = window.navigator.userAgent.toLowerCase()\r\n var match = rMsie.exec(ma);\r\n try {\r\n return match![2];\r\n } catch (e) {\r\n return IEMode;\r\n }\r\n },\r\n //Opera版本号\r\n operaVersion: function () {\r\n try {\r\n if ((<any>window).opera) {\r\n return agent.match(/opera.([\\d.]+)/)![1];\r\n } else if (agent.indexOf(\"opr\") > 0) {\r\n return agent.match(/opr\\/([\\d.]+)/)![1];\r\n }\r\n } catch (e) {\r\n return 0;\r\n }\r\n }\r\n };\r\n\r\n try {\r\n //浏览器类型(IE、Opera、Chrome、Safari、Firefox)\r\n (<any>System).type = System.isIE\r\n ? \"IE\"\r\n : (<any>window).opera || agent.indexOf(\"opr\") > 0\r\n ? \"Opera\"\r\n : agent.indexOf(\"chrome\") > 0\r\n ? \"Chrome\"\r\n : //safari也提供了专门的判定方式\r\n (<any>window).openDatabase\r\n ? \"Safari\"\r\n : agent.indexOf(\"firefox\") > 0\r\n ? \"Firefox\"\r\n : \"unknow\";\r\n //版本号\r\n (<any>System).version = ((<any>System).type === \"IE\") ? System.ieVersion() :\r\n ((<any>System).type === \"Firefox\") ? agent.match(/firefox\\/([\\d.]+)/)![1] :\r\n ((<any>System).type === \"Chrome\") ? agent.match(/chrome\\/([\\d.]+)/)![1] :\r\n ((<any>System).type === \"Opera\") ? System.operaVersion() :\r\n ((<any>System).type === \"Safari\") ? agent.match(/version\\/([\\d.]+)/)![1] :\r\n \"0\";\r\n\r\n //浏览器外壳\r\n (<any>System).shell = function () {\r\n\r\n if (agent.indexOf(\"edge\") > 0) {\r\n (<any>System).version = agent.match(/edge\\/([\\d.]+)/)![1] || (<any>System).version;\r\n return \"edge浏览器\";\r\n }\r\n //遨游浏览器\r\n if (agent.indexOf(\"maxthon\") > 0) {\r\n (<any>System).version = agent.match(/maxthon\\/([\\d.]+)/)![1] || (<any>System).version;\r\n return \"傲游浏览器\";\r\n }\r\n //QQ浏览器\r\n if (agent.indexOf(\"qqbrowser\") > 0) {\r\n (<any>System).version = agent.match(/qqbrowser\\/([\\d.]+)/)![1] || (<any>System).version;\r\n return \"QQ浏览器\";\r\n }\r\n\r\n //搜狗浏览器\r\n if (agent.indexOf(\"se 2.x\") > 0) {\r\n return '搜狗浏览器';\r\n }\r\n\r\n //Chrome:也可以使用window.chrome && window.chrome.webstore判断\r\n if (chrome && (<any>System).type !== \"Opera\") {\r\n var external = window.external,\r\n clientInfo = window.clientInformation,\r\n //客户端语言:zh-cn,zh.360下面会返回undefined\r\n clientLanguage = clientInfo.languages;\r\n\r\n //猎豹浏览器:或者agent.indexOf(\"lbbrowser\")>0\r\n if (external && 'LiebaoGetVersion' in external) {\r\n return '猎豹浏览器';\r\n }\r\n //百度浏览器\r\n if (agent.indexOf(\"bidubrowser\") > 0) {\r\n (<any>System).version = agent.match(/bidubrowser\\/([\\d.]+)/)![1] ||\r\n agent.match(/chrome\\/([\\d.]+)/)![1];\r\n return \"百度浏览器\";\r\n }\r\n //360极速浏览器和360安全浏览器\r\n if (System.supportSubTitle() && typeof clientLanguage === \"undefined\") {\r\n //object.key()返回一个数组.包含可枚举属性和方法名称\r\n var storeKeyLen = Object.keys(chrome.webstore).length,\r\n v8Locale = \"v8Locale\" in window;\r\n return storeKeyLen > 1 ? '360极速浏览器' : '360安全浏览器';\r\n }\r\n return \"Chrome\";\r\n }\r\n return (<any>System).type;\r\n };\r\n\r\n //浏览器名称(如果是壳浏览器,则返回壳名称)\r\n (<any>System).name = (<any>System).shell();\r\n //对版本号进行过滤过处理\r\n //\tSystem.version = System.versionFilter(System.version);\r\n\r\n } catch (e) { }\r\n return {\r\n client: System\r\n };\r\n })(window);\r\n if (Browser.client.name == undefined || Browser.client.name == \"\") {\r\n Browser.client.name = \"Unknown\";\r\n Browser.client.version = \"Unknown\";\r\n } else if (Browser.client.version == undefined) {\r\n Browser.client.version = \"Unknown\";\r\n }\r\n //\t\t\t\tdocument.write(Browser.client.name + \" \" + Browser.client.version);\r\n return Browser;\r\n}\r\n\r\n/**\r\n * 获取公共参数\r\n */\r\nexport function GetCommonPms(special: boolean = false) {\r\n const v = \"1.0.1\";\r\n const did = getCanvas();\r\n const dh = getOsInfo();\r\n const BrowerInfo = getBrowerInfo();\r\n const db = BrowerInfo.client.name;\r\n const dv = BrowerInfo.client.version;\r\n if (!special) {\r\n const t = new Date().getTime();\r\n const pms = `v=${v}&&did=${did}&&dh=${dh}&&db=${db}&&dv=${dv}&&dm=&&lat=&&lng=&&t=${t}`;\r\n return pms;\r\n } else {\r\n const pms = `v=${v}&&did=${did}&&dh=${dh}&&db=${db}&&dv=${dv}&&dm=&&lat=&&lng=&&t=`;\r\n return pms;\r\n }\r\n\r\n\r\n\r\n}\r\n\r\n/**\r\n * 判断是否是移动端\r\n */\r\nexport function isMobileBrowser() {\r\n if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {\r\n return true;\r\n }\r\n return false;\r\n}\r\n\r\nfunction padLeftZero(str: string) {\r\n return ('00' + str).substr(str.length)\r\n}\r\n\r\n/**\r\n * 时间转换成字符串\r\n * @param date 时间\r\n * @param fmt 转换格式\r\n */\r\nexport function formatDate(date: Date, fmt = 'yyyy-MM-dd hh:mm:ss') {\r\n if (!date) {\r\n return \"\";\r\n }\r\n if (typeof date === 'string') {\r\n date = new Date(date);\r\n }\r\n if (/(y+)/.test(fmt)) {\r\n fmt = fmt.replace(RegExp.$1, (date.getFullYear() + '').substr(4 - RegExp.$1.length));\r\n }\r\n let o: any = {\r\n 'M+': date.getMonth() + 1,\r\n 'd+': date.getDate(),\r\n 'h+': date.getHours(),\r\n 'm+': date.getMinutes(),\r\n 's+': date.getSeconds()\r\n }\r\n for (let k in o) {\r\n let str = o[k] + '';\r\n if (new RegExp(`(${k})`).test(fmt)) {\r\n fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? str : padLeftZero(str));\r\n }\r\n }\r\n return fmt;\r\n}\r\n\r\n/**\r\n * 获取当前所在系统\r\n */\r\nexport function CheckPlatform() {\r\n if (/Win/i.test(navigator.platform)) {\r\n return \"PC-WINDOWS\";\r\n } else if (/Mac/i.test(navigator.platform)) {\r\n return \"PC-MAC\";\r\n } else if (/android/.test(navigator.userAgent)) {\r\n return \"ANDROID\";\r\n } else if (/Linux/i.test(navigator.platform)) {\r\n return \"ANDROID\";\r\n } else if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.platform)) {\r\n return \"IOS\";\r\n } else {\r\n return \"\";\r\n }\r\n}\r\n\r\n/**\r\n * \r\n * 判断是否为空,为空默认为0\r\n * @param info 数据\r\n * \r\n */\r\nexport function isNull(info:any){ \r\n return info == null ? (info = \"0\") : (info = info); \r\n}\r\n\r\n/**\r\n * 金钱转换\r\n * @param num 要转换的金钱\r\n * @param isSymbol 是否显示金钱符号 默认:true\r\n * @param isConvertPoint 是否转换成分显示 默认:厘转分\r\n */\r\nexport function toMoney(num:any,isSymbol:boolean=true,isConvertPoint:any=false){\r\n if (num) {\r\n if (isNaN(num)) {\r\n return;\r\n } \r\n num = typeof num == \"string\" ? parseFloat(num) : num//判断是否是字符串如果是字符串转成数字\r\n if(isConvertPoint){\r\n num=num/100;\r\n }\r\n num = num.toFixed(2);//保留两位\r\n num = parseFloat(num);//转成数字\r\n num = num.toLocaleString();//转成金额显示模式\r\n //判断是否有小数\r\n if (num.indexOf(\".\") == -1) {\r\n num = \"¥\" + num + \".00\";\r\n } else {\r\n num = num.split(\".\")[1].length < 2 ? \"¥\" + num + \"0\" : \"¥\" + num;\r\n }\r\n if(!isSymbol){\r\n num=num.replace(\"¥\",\"\");\r\n }\r\n \r\n return num;//返回的是字符串23,245.12保留2位小数\r\n } else {\r\n return num = 0.00;\r\n }\r\n}\r\n\r\n\r\n"],"sourceRoot":""}
\ No newline at end of file
(function(e){function n(n){for(var r,o,c=n[0],u=n[1],s=n[2],l=0,d=[];l<c.length;l++)o=c[l],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&d.push(i[o][0]),i[o]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);f&&f(n);while(d.length)d.shift()();return a.push.apply(a,s||[]),t()}function t(){for(var e,n=0;n<a.length;n++){for(var t=a[n],r=!0,o=1;o<t.length;o++){var c=t[o];0!==i[c]&&(r=!1)}r&&(a.splice(n--,1),e=u(u.s=t[0]))}return e}var r={},o={app:0},i={app:0},a=[];function c(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-19e87806":"22a91e6e","chunk-35f92c0e":"e9f3b3b1","chunk-3f4d721c":"592a5462","chunk-1649fdd8":"04a382d3","chunk-4635e66c":"44ffb30b","chunk-6db83a58":"77ef5520","chunk-70204596":"c8e34564","chunk-7052aa18":"701e060a","chunk-0cb1789e":"5116890e","chunk-218ef753":"a41e8f41","chunk-f59847e6":"58a1d28a","chunk-80379f08":"3c040b3f","chunk-a26cb696":"540453bb","chunk-d3bf1764":"c71cdd8d","chunk-d9bcf6b6":"6290ee53","chunk-79c85055":"3fcf6d5b"}[e]+".js"}function u(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.e=function(e){var n=[],t={"chunk-19e87806":1,"chunk-35f92c0e":1,"chunk-1649fdd8":1,"chunk-6db83a58":1,"chunk-70204596":1,"chunk-218ef753":1,"chunk-f59847e6":1,"chunk-80379f08":1,"chunk-a26cb696":1,"chunk-d3bf1764":1,"chunk-d9bcf6b6":1,"chunk-79c85055":1};o[e]?n.push(o[e]):0!==o[e]&&t[e]&&n.push(o[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-19e87806":"f544a705","chunk-35f92c0e":"82976e65","chunk-3f4d721c":"31d6cfe0","chunk-1649fdd8":"6bbb1e35","chunk-4635e66c":"31d6cfe0","chunk-6db83a58":"911b12a6","chunk-70204596":"2509e660","chunk-7052aa18":"31d6cfe0","chunk-0cb1789e":"31d6cfe0","chunk-218ef753":"f9dedfe6","chunk-f59847e6":"dc9f4765","chunk-80379f08":"0035f549","chunk-a26cb696":"37783c9d","chunk-d3bf1764":"b8dc6c91","chunk-d9bcf6b6":"08db6415","chunk-79c85055":"82976e65"}[e]+".css",i=u.p+r,a=document.getElementsByTagName("link"),c=0;c<a.length;c++){var s=a[c],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===r||l===i))return n()}var d=document.getElementsByTagName("style");for(c=0;c<d.length;c++){s=d[c],l=s.getAttribute("data-href");if(l===r||l===i)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.onerror=function(n){var r=n&&n.target&&n.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=r,delete o[e],f.parentNode.removeChild(f),t(a)},f.href=i;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){o[e]=0})));var r=i[e];if(0!==r)if(r)n.push(r[2]);else{var a=new Promise((function(n,t){r=i[e]=[n,t]}));n.push(r[2]=a);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,u.nc&&l.setAttribute("nonce",u.nc),l.src=c(e);var d=new Error;s=function(n){l.onerror=l.onload=null,clearTimeout(f);var t=i[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;d.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",d.name="ChunkLoadError",d.type=r,d.request=o,t[1](d)}i[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(n)},u.m=e,u.c=r,u.d=function(e,n,t){u.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,n){if(1&n&&(e=u(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)u.d(t,r,function(n){return e[n]}.bind(null,r));return t},u.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(n,"a",n),n},u.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},u.p="/",u.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=n,s=s.slice();for(var d=0;d<s.length;d++)n(s[d]);var f=l;a.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("cd49")},"522b":function(e,n,t){},cd49:function(e,n,t){"use strict";t.r(n);var r={};t.r(r),t.d(r,"subDate",(function(){return K})),t.d(r,"money",(function(){return Y})),t.d(r,"format",(function(){return Z})),t.d(r,"isEmpty",(function(){return ee})),t.d(r,"get_thousand_num",(function(){return ne}));t("456d"),t("ac6a"),t("14c6"),t("08c1"),t("4842"),t("d9fc");var o=t("2b0e"),i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",[t("router-view")],1)},a=[],c=t("2877"),u={},s=Object(c["a"])(u,i,a,!1,null,null,null),l=s.exports,d=(t("a481"),t("f559"),t("2909")),f=t("8c4f"),p=[{path:"/",name:"SelectIdentity",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-6db83a58")]).then(t.bind(null,"5eb9"))},meta:{title:"身份选择",requiresAuth:!0}},{path:"/flex_employee",name:"FlexEmployee",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-d3bf1764")]).then(t.bind(null,"52ca"))},meta:{title:"灵活用工",requiresAuth:!1}},{path:"/flex_employee_detial",name:"FlexEmployeeDetial",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-80379f08")]).then(t.bind(null,"f1cb"))},meta:{title:"任务详情",requiresAuth:!1}},{path:"/company_employee_details",name:"CompanyEmployeeDetails",component:function(){return t.e("chunk-19e87806").then(t.bind(null,"1c0d"))},meta:{title:"企业员工",requiresAuth:!1}},{path:"/archives",name:"Archives",meta:{title:"档案查看",requiresAuth:!1},component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-7052aa18"),t.e("chunk-218ef753")]).then(t.bind(null,"a128"))}},{path:"/chooseCompany",name:"ChooseCompany",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-a26cb696")]).then(t.bind(null,"1594"))},meta:{title:"选择派遣公司",requiresAuth:!1}},{path:"/index",name:"Index",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-70204596")]).then(t.bind(null,"d504"))},meta:{title:"劳务派遣",requiresAuth:!1}},{path:"/information",name:"Information",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-7052aa18"),t.e("chunk-f59847e6")]).then(t.bind(null,"5798"))},meta:{title:"我上传的资料",requiresAuth:!1}},{path:"/informationEdit",name:"InformationEdit",component:function(){return t.e("chunk-79c85055").then(t.bind(null,"0987"))},meta:{title:"我上传的资料",requiresAuth:!1}},{path:"/informationPreview",name:"InformationPreview",component:function(){return t.e("chunk-35f92c0e").then(t.bind(null,"e04e"))},meta:{title:"我上传的资料",requiresAuth:!1}},{path:"/paySlips",name:"PaySlips",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-d9bcf6b6")]).then(t.bind(null,"8e9f"))},meta:{title:"我的工资条",requiresAuth:!1}},{path:"/paySlipsMonth",name:"PaySlipsMonth",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-1649fdd8")]).then(t.bind(null,"8ef4"))},meta:{title:"我的工资条",requiresAuth:!1}},{path:"/test",name:"test",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-4635e66c")]).then(t.bind(null,"2762"))},meta:{title:"测试页面"}},{path:"/cityTest",name:"cityTest",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-7052aa18"),t.e("chunk-0cb1789e")]).then(t.bind(null,"1f14"))},meta:{title:"测试城市列表"}}],h=t("4328"),m=t.n(h),v=t("bc3a"),y=t.n(v);t("7f7f"),t("4917"),t("6b54");function g(e){var n,t,r,o="";for(e+="",n=0,t=e.length;n<t;n++)r=e.charCodeAt(n).toString(16),o+=r.length<2?"0"+r:r;return o}function k(){var e=document.createElement("canvas"),n=e.getContext("2d");n.fillStyle="#f60",n.fillRect(125,1,62,20);var t=e.toDataURL().replace("data:image/png;base64,",""),r=atob(t),o=g(r.slice(-16,-12));return o}function w(){var e=navigator.userAgent.toLowerCase(),n="Unknown",t="Unknown";e.indexOf("win")>-1?(n="Windows",t=e.indexOf("windows nt 5.0")>-1?"Windows 2000":e.indexOf("windows nt 5.1")>-1||e.indexOf("windows nt 5.2")>-1?"Windows XP":e.indexOf("windows nt 6.0")>-1?"Windows Vista":e.indexOf("windows nt 6.1")>-1||e.indexOf("windows 7")>-1?"Windows 7":e.indexOf("windows nt 6.2")>-1||e.indexOf("windows 8")>-1?"Windows 8":e.indexOf("windows nt 6.3")>-1?"Windows 8.1":e.indexOf("windows nt 6.2")>-1||e.indexOf("windows nt 10.0")>-1?"Windows 10":"Unknown"):n=e.indexOf("iphone")>-1?"Iphone":e.indexOf("mac")>-1?"Mac":e.indexOf("x11")>-1||e.indexOf("unix")>-1||e.indexOf("sunname")>-1||e.indexOf("bsd")>-1?"Unix":e.indexOf("linux")>-1?e.indexOf("android")>-1?"Android":"Linux":"Unknown";var r=new Object;return r.name=n,r.version=t,r}function b(){var e=e||function(e){var n=e.document,t=e.navigator,r=t.userAgent.toLowerCase(),o=n.documentMode,i=e.chrome||!1,a={agent:r,isIE:/trident/.test(r),isGecko:r.indexOf("gecko")>0&&r.indexOf("like gecko")<0,isWebkit:r.indexOf("webkit")>0,isStrict:"CSS1Compat"===n.compatMode,supportSubTitle:function(){return"track"in n.createElement("track")},supportScope:function(){return"scoped"in n.createElement("style")},ieVersion:function(){var n=/(msie\s|trident.*rv:)([\w.]+)/,t=e.navigator.userAgent.toLowerCase(),r=n.exec(t);try{return r[2]}catch(i){return o}},operaVersion:function(){try{if(e.opera)return r.match(/opera.([\d.]+)/)[1];if(r.indexOf("opr")>0)return r.match(/opr\/([\d.]+)/)[1]}catch(n){return 0}}};try{a.type=a.isIE?"IE":e.opera||r.indexOf("opr")>0?"Opera":r.indexOf("chrome")>0?"Chrome":e.openDatabase?"Safari":r.indexOf("firefox")>0?"Firefox":"unknow",a.version="IE"===a.type?a.ieVersion():"Firefox"===a.type?r.match(/firefox\/([\d.]+)/)[1]:"Chrome"===a.type?r.match(/chrome\/([\d.]+)/)[1]:"Opera"===a.type?a.operaVersion():"Safari"===a.type?r.match(/version\/([\d.]+)/)[1]:"0",a.shell=function(){if(r.indexOf("edge")>0)return a.version=r.match(/edge\/([\d.]+)/)[1]||a.version,"edge浏览器";if(r.indexOf("maxthon")>0)return a.version=r.match(/maxthon\/([\d.]+)/)[1]||a.version,"傲游浏览器";if(r.indexOf("qqbrowser")>0)return a.version=r.match(/qqbrowser\/([\d.]+)/)[1]||a.version,"QQ浏览器";if(r.indexOf("se 2.x")>0)return"搜狗浏览器";if(i&&"Opera"!==a.type){var n=e.external,t=e.clientInformation,o=t.languages;if(n&&"LiebaoGetVersion"in n)return"猎豹浏览器";if(r.indexOf("bidubrowser")>0)return a.version=r.match(/bidubrowser\/([\d.]+)/)[1]||r.match(/chrome\/([\d.]+)/)[1],"百度浏览器";if(a.supportSubTitle()&&"undefined"===typeof o){var c=Object.keys(i.webstore).length;return c>1?"360极速浏览器":"360安全浏览器"}return"Chrome"}return a.type},a.name=a.shell()}catch(c){}return{client:a}}(window);return void 0==e.client.name||""==e.client.name?(e.client.name="Unknown",e.client.version="Unknown"):void 0==e.client.version&&(e.client.version="Unknown"),e}function x(){var e="1.0.1",n=k(),t=w().version,r=b(),o=r.client.name,i=r.client.version,a=(new Date).getTime(),c="v=".concat(e,"&&did=").concat(n,"&&dh=").concat(t,"&&db=").concat(o,"&&dv=").concat(i,"&&dm=&&lat=&&lng=&&t=").concat(a);return c}o["a"].use(f["a"]);var O=JSON.parse('{ "authority": "https://passport.teammix.com", "client_id": "qqxb-self-service-web-mobile", "client_secret": "qqxb#teammix#2019", "redirect_uri": "https://qqxb-self-service.qinqinxiaobao.com/callback.html", "response_type": "id_token token", "scope": "workapps.client api.workapps.user api.workapps.org api.workapps.open openid","post_logout_redirect_uri":"https://qqxb-self-service.qinqinxiaobao.com", "silent_redirect_uri": "https://qqxb-self-service.qinqinxiaobao.com/silent-renew-oidc.html", "automaticSilentRenew": true,"accessTokenExpiringNotificationTime":60,"filterProtocolClaims":true,"loadUserInfo":true }'),I="true",U=new f["a"]({mode:"history",base:"/",routes:Object(d["a"])(p)});function E(e){return console.log("authcode=",e),new Promise((function(n,t){var r=x(),o="".concat(O.authority,"/connect/token?").concat(r),i={client_id:O.client_id,client_secret:O.client_secret,grant_type:"auth_code",scope:"openid workapps.client api.workapps.user api.workapps.org api.workapps.open",code:e};y.a.post(o,m.a.stringify(i)).then((function(e){if(e&&e.status){var r=e.data.access_token;n(r)}else t(e)}))}))}function S(e,n){var t=e.path||"/";for(var r in e.query)r=r.toLowerCase(),console.log("key=",r),r!=n&&(t+=t.indexOf("?")>-1?"&":"?",t+="".concat(r,"=").concat(e.query[r]));return t=t.indexOf("?")>-1?t+"&t="+(new Date).valueOf():t+"?t="+(new Date).valueOf(),t}U.beforeEach((function(e,n,t){"true"===I&&location.href.startsWith("http://")&&(location.href=location.href.replace("http://","https://"));e.matched.some((function(e){return e.meta.requiresAuth}));e.meta.title&&(document.title=e.meta.title);var r=e.query.authCode||e.query.authcode;r?E(r).then((function(n){var t=S(e,"authcode"),r=n;localStorage.setItem("token",r),window.location.href=t})).catch((function(e){console.log("err=",e)})):(console.log("to.path=",e.path),t())}));var q=U,C=t("2f62"),A=(t("96cf"),t("1da1")),P=function(){return{userInfo:{},accessToken:"",anymouseAccessToken:"",companyAccessToken:""}},_={state:P(),mutations:{},actions:{},getters:{getAccessToken:function(){var e=Object(A["a"])(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return""===n.accessToken&&(n.accessToken=localStorage.getItem("token")),e.abrupt("return",n.accessToken);case 2:case"end":return e.stop()}}),e)})));function n(n){return e.apply(this,arguments)}return n}(),getAnymouseAccessToken:function(){var e=Object(A["a"])(regeneratorRuntime.mark((function e(n){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return""===n.anymouseAccessToken&&(t=localStorage.getItem("aat"),t&&(n.anymouseAccessToken=t)),e.abrupt("return",n.anymouseAccessToken);case 2:case"end":return e.stop()}}),e)})));function n(n){return e.apply(this,arguments)}return n}()}},j=_;o["a"].use(C["a"]);var W,T=new C["a"].Store({modules:{employee:j}}),L=T,V=(t("5cfb"),t("d4ec")),B=t("bee2"),D=t("d399");W=y.a.create({timeout:6e4}),W.interceptors.request.use((function(e){return e}),(function(e){Promise.reject(e)})),W.interceptors.response.use((function(e){if(200===e.status){var n=e.data;return n.status?n.status?n.data:(Object(D["a"])(n.message),Promise.reject(new Error(e.data.errcode||"Error"))):n}}),(function(e){return Promise.reject(e)}));var M=W,R=t("e665"),F=function(){function e(){Object(V["a"])(this,e)}return Object(B["a"])(e,[{key:"get",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return new Promise((function(o,i){o(M.get("".concat(e,"?").concat(Object(R["a"])(r)),{params:n,headers:t}))}))}},{key:"post",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return new Promise((function(o,i){o(M.post("".concat(e,"?").concat(Object(R["a"])(r)),n,{headers:t}))}))}},{key:"put",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(r,o){r(M.put("".concat(e,"?").concat(Object(R["a"])()),n,{headers:t}))}))}},{key:"delete",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(r,o){r(M.delete("".concat(e,"?").concat(Object(R["a"])()),{params:n,headers:t}))}))}}]),e}(),N=new F,H=function e(){Object(V["a"])(this,e),this.employeeUrl="https://org-team.hrs100.com",this.userInfoUrl="https://apiplus.qinqinxiaobao.com/v1/qqxb/user/api",this.salaryUrl="https://api-salary.qinqinxiaobao.com"},J=new H,$=function(){function e(){var n=this;Object(V["a"])(this,e),L.getters.getAccessToken.then((function(e){n.header={Authorization:"Bearer ".concat(e)},n.headerUp={Authorization:"Bearer ".concat(e),"Content-Type":"multipart/form-data;charset=UTF-8"}})),this.version="v1"}return Object(B["a"])(e,[{key:"getUserInfo",value:function(){var e=Object(A["a"])(regeneratorRuntime.mark((function e(n){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=J.userInfoUrl+"/userAuthDetails",e.abrupt("return",N.post(t,n,this.header,!0));case 2:case"end":return e.stop()}}),e,this)})));function n(n){return e.apply(this,arguments)}return n}()},{key:"getDispatchList",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.idNo,"/dispatch/companies");return N.get(n,e,this.header)}},{key:"getDispatchInfo",value:function(e){var n=J.employeeUrl+"/api/user/dispatch/companies/".concat(e.spId,"/employee/").concat(e.idNo,"/info");return N.get(n,e,this.header)}},{key:"getWorkInfoList",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/work");return N.get(n,e,this.header)}},{key:"getWorkInfoDetail",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/work/detail");return N.get(n,e,this.header)}},{key:"updateWorkInfo",value:function(e){var n=J.employeeUrl+"/api/user/employee/work/info";return N.put(n,e,this.header)}},{key:"addWorkInfo",value:function(e){var n=J.employeeUrl+"/api/user/employee/work/info";return N.post(n,e,this.header)}},{key:"deleteWorkInfo",value:function(e){var n=J.employeeUrl+"/api/user/employee/work/".concat(e.edId,"/info");return N.delete(n,e,this.header)}},{key:"getPersonInfo",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/info");return N.get(n,e,this.header)}},{key:"savePersonInfo",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.id,"/info");return N.post(n,e,this.header)}},{key:"getContactInfo",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/contact/info");return N.get(n,e,this.header)}},{key:"saveContactInfo",value:function(e){var n=J.employeeUrl+"/api/user/contact/".concat(e.id,"/info");return N.post(n,e,this.header)}},{key:"getSocialInfo",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/unit/relation");return N.get(n,e,this.header)}},{key:"saveSocialInfo",value:function(e){var n=J.employeeUrl+"/api/user/employee/unit/relation/save";return N.post(n,e,this.header)}},{key:"getWageCardInfo",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/salary/card/info");return N.get(n,e,this.header)}},{key:"saveWageCardInfo",value:function(e){var n=J.employeeUrl+"/api/user/employee/salary/card/save";return N.post(n,e,this.header)}},{key:"getEduExperience",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/education");return N.get(n,e,this.header)}},{key:"getEduExperienceDetial",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/education/detial");return N.get(n,e,this.header)}},{key:"addEduExperience",value:function(e){var n=J.employeeUrl+"/api/user/employee/edu/info";return N.post(n,e,this.header)}},{key:"updateEduExperience",value:function(e){var n=J.employeeUrl+"/api/user/employee/edu/info";return N.put(n,e,this.header)}},{key:"deleteEduExperience",value:function(e){var n=J.employeeUrl+"/api/user/employee/edu/".concat(e.eduId,"/info");return N.delete(n,e,this.header)}},{key:"getTechnologyExperience",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/expertise/info");return N.get(n,e,this.header)}},{key:"updateTechnologyExperience",value:function(e){var n=J.employeeUrl+"/api/user/employee/expertise/info";return N.put(n,e,this.header)}},{key:"getCityList",value:function(e){var n=J.employeeUrl+"/api/user/dispatch/cities";return N.get(n,e,this.header)}},{key:"getSalaryInfo",value:function(e){var n=J.employeeUrl+"/api/user/dispatch/companies/".concat(e.spId,"/employee/").concat(e.idNo,"/payroll");return N.get(n,{},this.header,!1)}},{key:"getSalaryInfoDetail",value:function(e){var n="".concat(J.employeeUrl,"/api/user/employee/salary/").concat(e.id,"/detail");return N.get(n,{},this.header,!1)}},{key:"getFiles",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/files");return N.get(n,e,this.header)}},{key:"setFiles",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/file");return N.put(n,e.req,this.header)}},{key:"delFiles",value:function(e){var n=J.employeeUrl+"/api/user/files/".concat(e.fileId);return N.delete(n,e,this.header)}},{key:"tranFiles",value:function(e){var n=J.salaryUrl+"/general/person/upload";return N.post(n,e,this.headerUp)}},{key:"putFiles",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/commit/file");return N.put(n,e,this.header)}},{key:"getAgileWorker",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.idNo,"/bill/item");return N.get(n,{},this.header)}},{key:"updateBaseInfo",value:function(e){var n=J.employeeUrl+"/api/user/employee/".concat(e.edId,"/base/info");return N.post(n,e,this.header)}}]),e}(),G=new $,Q={EmployeeService:G},X=function(){Object.defineProperties(o["a"].prototype,{$server:{get:function(){return Q}}})},z=X,K=(t("522b"),function(e,n,t){return null==e?null:e.substring(n,t)}),Y=function(e,n,t){Object(R["d"])(e,n,t)},Z=function(e,n){return e.replace(/\d{2}:\d{2}:\d{2}/i,"")},ee=function(e){Object(R["c"])(e)},ne=function(e){return e.toString().replace(/\d+/,(function(e){return e.replace(/(\d)(?=(\d{3})+$)/g,(function(e){return e+","}))}))},te=navigator.userAgent,re=te.indexOf("Android")>-1||te.indexOf("Adr")>-1,oe=!!te.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);function ie(e){if(re)return console.log("isAndroid==="),void(window.WebViewJavascriptBridge?e(window.WebViewJavascriptBridge):document.addEventListener("WebViewJavascriptBridgeReady",(function(){e(window.WebViewJavascriptBridge)}),!1));if(oe){if(console.log("ios==="),window.WebViewJavascriptBridge)return e(window.WebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(e);window.WVJBCallbacks=[e];var n=document.createElement("iframe");n.style.display="none",n.src="wvjbscheme://__bridge_loaded__",document.documentElement.appendChild(n),setTimeout((function(){document.documentElement.removeChild(n)}),0)}}ie((function(e){re&&e.init((function(e,n){var t={"Javascript Responds":"Wee!"};n(t)}))}));var ae={callHandler:function(e,n,t){ie((function(r){r.callHandler(e,n,t)}))},registerHandler:function(e,n){ie((function(t){t.registerHandler(e,(function(e,t){n(e,t)}))}))}},ce=function(){function e(){Object(V["a"])(this,e)}return Object(B["a"])(e,[{key:"setBarColor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.log("setBarColor"),new Promise((function(n,t){try{ae.callHandler("setBarColor",e,(function(e){n(e)}))}catch(r){t(r)}}))}},{key:"getBarHeight",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.log("getBarHeight"),new Promise((function(n,t){try{ae.callHandler("getBarHeight",e,(function(e){n(e)}))}catch(r){t(r)}}))}},{key:"setPageNavState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.log("setPageNavState"),new Promise((function(n,t){try{ae.callHandler("setPageNavState",e,(function(e){n(e)}))}catch(r){t(r)}}))}},{key:"closeWebView",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(n,t){try{ae.callHandler("closeWebView",e,(function(e){n(e)}))}catch(r){t(r)}}))}}]),e}(),ue=new ce;o["a"].config.productionTip=!1,Object.keys(r).forEach((function(e){o["a"].filter(e,r[e])})),o["a"].use(z),o["a"].prototype.$bridge=ue,new o["a"]({router:q,store:L,render:function(e){return e(l)}}).$mount("#app")},e665:function(e,n,t){"use strict";t.d(n,"a",(function(){return c})),t.d(n,"b",(function(){return s})),t.d(n,"c",(function(){return l})),t.d(n,"d",(function(){return d}));t("28a5"),t("3b2b"),t("7f7f"),t("ac6a"),t("456d"),t("4917"),t("a481"),t("6b54");function r(e){var n,t,r,o="";for(e+="",n=0,t=e.length;n<t;n++)r=e.charCodeAt(n).toString(16),o+=r.length<2?"0"+r:r;return o}function o(){var e=document.createElement("canvas"),n=e.getContext("2d");n.fillStyle="#f60",n.fillRect(125,1,62,20);var t=e.toDataURL().replace("data:image/png;base64,",""),o=atob(t),i=r(o.slice(-16,-12));return i}function i(){var e=navigator.userAgent.toLowerCase(),n="Unknown";return e.indexOf("win")>-1?("Windows",n=e.indexOf("windows nt 5.0")>-1?"Windows 2000":e.indexOf("windows nt 5.1")>-1||e.indexOf("windows nt 5.2")>-1?"Windows XP":e.indexOf("windows nt 6.0")>-1?"Windows Vista":e.indexOf("windows nt 6.1")>-1||e.indexOf("windows 7")>-1?"Windows 7":e.indexOf("windows nt 6.2")>-1||e.indexOf("windows 8")>-1?"Windows 8":e.indexOf("windows nt 6.3")>-1?"Windows 8.1":e.indexOf("windows nt 6.2")>-1||e.indexOf("windows nt 10.0")>-1?"Windows 10":"Unknown"):e.indexOf("iphone")>-1?"Iphone":e.indexOf("mac")>-1?"Mac":e.indexOf("x11")>-1||e.indexOf("unix")>-1||e.indexOf("sunname")>-1||e.indexOf("bsd")>-1?"Unix":e.indexOf("linux")>-1?e.indexOf("android")>-1?"Android":"Linux":"Unknown",n}function a(){var e=e||function(e){var n=e.document,t=e.navigator,r=t.userAgent.toLowerCase(),o=n.documentMode,i=e.chrome||!1,a={agent:r,isIE:/trident/.test(r),isGecko:r.indexOf("gecko")>0&&r.indexOf("like gecko")<0,isWebkit:r.indexOf("webkit")>0,isStrict:"CSS1Compat"===n.compatMode,supportSubTitle:function(){return"track"in n.createElement("track")},supportScope:function(){return"scoped"in n.createElement("style")},ieVersion:function(){var n=/(msie\s|trident.*rv:)([\w.]+)/,t=e.navigator.userAgent.toLowerCase(),r=n.exec(t);try{return r[2]}catch(i){return o}},operaVersion:function(){try{if(e.opera)return r.match(/opera.([\d.]+)/)[1];if(r.indexOf("opr")>0)return r.match(/opr\/([\d.]+)/)[1]}catch(n){return 0}}};try{a.type=a.isIE?"IE":e.opera||r.indexOf("opr")>0?"Opera":r.indexOf("chrome")>0?"Chrome":e.openDatabase?"Safari":r.indexOf("firefox")>0?"Firefox":"unknow",a.version="IE"===a.type?a.ieVersion():"Firefox"===a.type?r.match(/firefox\/([\d.]+)/)[1]:"Chrome"===a.type?r.match(/chrome\/([\d.]+)/)[1]:"Opera"===a.type?a.operaVersion():"Safari"===a.type?r.match(/version\/([\d.]+)/)[1]:"0",a.shell=function(){if(r.indexOf("edge")>0)return a.version=r.match(/edge\/([\d.]+)/)[1]||a.version,"edge浏览器";if(r.indexOf("maxthon")>0)return a.version=r.match(/maxthon\/([\d.]+)/)[1]||a.version,"傲游浏览器";if(r.indexOf("qqbrowser")>0)return a.version=r.match(/qqbrowser\/([\d.]+)/)[1]||a.version,"QQ浏览器";if(r.indexOf("se 2.x")>0)return"搜狗浏览器";if(i&&"Opera"!==a.type){var n=e.external,t=e.clientInformation,o=t.languages;if(n&&"LiebaoGetVersion"in n)return"猎豹浏览器";if(r.indexOf("bidubrowser")>0)return a.version=r.match(/bidubrowser\/([\d.]+)/)[1]||r.match(/chrome\/([\d.]+)/)[1],"百度浏览器";if(a.supportSubTitle()&&"undefined"===typeof o){var c=Object.keys(i.webstore).length;return c>1?"360极速浏览器":"360安全浏览器"}return"Chrome"}return a.type},a.name=a.shell()}catch(c){}return{client:a}}(window);return void 0==e.client.name||""==e.client.name?(e.client.name="Unknown",e.client.version="Unknown"):void 0==e.client.version&&(e.client.version="Unknown"),e}function c(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n="1.0.1",t=o(),r=i(),c=a(),u=c.client.name,s=c.client.version;if(e){var l="v=".concat(n,"&&did=").concat(t,"&&dh=").concat(r,"&&db=").concat(u,"&&dv=").concat(s,"&&dm=&&lat=&&lng=&&t=");return l}var d=(new Date).getTime(),f="v=".concat(n,"&&did=").concat(t,"&&dh=").concat(r,"&&db=").concat(u,"&&dv=").concat(s,"&&dm=&&lat=&&lng=&&t=").concat(d);return f}function u(e){return("00"+e).substr(e.length)}function s(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd hh:mm:ss";if(!e)return"";"string"===typeof e&&(e=new Date(e)),/(y+)/.test(n)&&(n=n.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length)));var t={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds()};for(var r in t){var o=t[r]+"";new RegExp("(".concat(r,")")).test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?o:u(o)))}return n}function l(e){return e=null==e?"0":e}function d(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e){if(isNaN(e))return;return e="string"==typeof e?parseFloat(e):e,t&&(e/=100),e=e.toFixed(2),e=parseFloat(e),e=e.toLocaleString(),e=-1==e.indexOf(".")?"¥"+e+".00":e.split(".")[1].length<2?"¥"+e+"0":"¥"+e,n||(e=e.replace("¥","")),e}return 0}}});
//# sourceMappingURL=app.a9602079.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?2bf3","webpack:///./src/App.vue","webpack:///./src/router/employee/employee-router.ts","webpack:///./src/assets/js/CommonPms.js","webpack:///./src/router/index.ts","webpack:///./src/store/modules/employee.ts","webpack:///./src/store/index.ts","webpack:///./src/utils/http.ts","webpack:///./src/utils/method.ts","webpack:///./src/utils/urls.ts","webpack:///./src/servicesImpl/employee/employeeImpl.ts","webpack:///./src/services/install.ts","webpack:///./src/utils/filters.ts","webpack:///./src/utils/bridge/jsBridge.js","webpack:///./src/utils/bridge/birdge.js","webpack:///./src/main.ts","webpack:///./src/utils/public.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","staticRenderFns","component","path","meta","title","requiresAuth","bin2hex","charCodeAt","toString","getCanvas","canvas","ctx","getContext","fillStyle","fillRect","b64","toDataURL","replace","bin","atob","crc","getOsInfo","userAgent","navigator","toLowerCase","version","indexOf","os","getBrowerInfo","Browser","agent","IEMode","documentMode","chrome","System","isIE","test","isGecko","isWebkit","isStrict","compatMode","supportSubTitle","supportScope","ieVersion","rMsie","ma","match","exec","operaVersion","opera","openDatabase","shell","external","clientInfo","clientInformation","clientLanguage","languages","storeKeyLen","keys","webstore","client","GetCommonPms","v","did","dh","BrowerInfo","db","dv","Date","getTime","pms","use","oidc_config","JSON","parse","isOpenHttps","router","base","routes","employee_router","authcode","log","commonPms","url","authority","client_id","client_secret","grant_type","scope","a","post","stringify","res","status","accessToken","access_token","getPathByTo","to","authcode_key","toPath","query","valueOf","beforeEach","from","next","location","startsWith","matched","some","record","authCode","redirectPath","localStorage","setItem","catch","initPageState","userInfo","anymouseAccessToken","companyAccessToken","user","state","mutations","actions","getters","getAccessToken","getItem","getAnymouseAccessToken","aToken","http","store","Store","employee","interceptors","config","response","errcode","params","headers","special","put","delete","employeeUrl","userInfoUrl","salaryUrl","header","Authorization","headerUp","urls","idNo","spId","edId","id","eduId","req","fileId","components","EmployeeService","defineProperties","$server","subDate","startNum","endNum","substring","isSymbol","isConvertPoint","format","pattern","get_thousand_num","num","$1","u","isAndroid","isIOS","setupWebViewJavascriptBridge","callback","WebViewJavascriptBridge","addEventListener","WVJBCallbacks","WVJBIframe","style","display","documentElement","bridge","init","responseCallback","callHandler","registerHandler","Bridge","args","jsBridge","productionTip","forEach","filter","$bridge","render","h","App","$mount","padLeftZero","str","substr","formatDate","date","fmt","RegExp","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","k","isNull","info","toMoney","isNaN","parseFloat","toFixed","toLocaleString","split"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EA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AAQ9C,GAAsD,IAA9CL,IAA8C,yDAAxBC,EAAwB,wDAC3E,GAAII,EAAK,CACL,GAAI+C,MAAM/C,GACN,OAmBJ,OAjBAA,EAAoB,iBAAPA,EAAkBgD,WAAWhD,GAAOA,EAC9CJ,IACCI,GAAQ,KAEZA,EAAMA,EAAIiD,QAAQ,GAClBjD,EAAMgD,WAAWhD,GACjBA,EAAMA,EAAIkD,iBAGNlD,GADqB,GAArBA,EAAI9I,QAAQ,KACN,IAAM8I,EAAM,MAEZA,EAAImD,MAAM,KAAK,GAAG5U,OAAS,EAAI,IAAMyR,EAAM,IAAM,IAAMA,EAE7DL,IACFK,EAAIA,EAAIvJ,QAAQ,IAAI,KAGfuJ,EAEP,OAAa","file":"js/app.a9602079.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-19e87806\":\"22a91e6e\",\"chunk-35f92c0e\":\"e9f3b3b1\",\"chunk-3f4d721c\":\"592a5462\",\"chunk-1649fdd8\":\"04a382d3\",\"chunk-4635e66c\":\"44ffb30b\",\"chunk-6db83a58\":\"77ef5520\",\"chunk-70204596\":\"c8e34564\",\"chunk-7052aa18\":\"701e060a\",\"chunk-0cb1789e\":\"5116890e\",\"chunk-218ef753\":\"a41e8f41\",\"chunk-f59847e6\":\"58a1d28a\",\"chunk-80379f08\":\"3c040b3f\",\"chunk-a26cb696\":\"540453bb\",\"chunk-d3bf1764\":\"c71cdd8d\",\"chunk-d9bcf6b6\":\"6290ee53\",\"chunk-79c85055\":\"3fcf6d5b\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-19e87806\":1,\"chunk-35f92c0e\":1,\"chunk-1649fdd8\":1,\"chunk-6db83a58\":1,\"chunk-70204596\":1,\"chunk-218ef753\":1,\"chunk-f59847e6\":1,\"chunk-80379f08\":1,\"chunk-a26cb696\":1,\"chunk-d3bf1764\":1,\"chunk-d9bcf6b6\":1,\"chunk-79c85055\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-19e87806\":\"f544a705\",\"chunk-35f92c0e\":\"82976e65\",\"chunk-3f4d721c\":\"31d6cfe0\",\"chunk-1649fdd8\":\"6bbb1e35\",\"chunk-4635e66c\":\"31d6cfe0\",\"chunk-6db83a58\":\"911b12a6\",\"chunk-70204596\":\"2509e660\",\"chunk-7052aa18\":\"31d6cfe0\",\"chunk-0cb1789e\":\"31d6cfe0\",\"chunk-218ef753\":\"f9dedfe6\",\"chunk-f59847e6\":\"dc9f4765\",\"chunk-80379f08\":\"0035f549\",\"chunk-a26cb696\":\"37783c9d\",\"chunk-d3bf1764\":\"b8dc6c91\",\"chunk-d9bcf6b6\":\"08db6415\",\"chunk-79c85055\":\"82976e65\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=f96907be&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\r\nexport default [\r\n // {\r\n // path: '/',\r\n // name: 'Home',\r\n // meta: {\r\n // title: '首页',\r\n // requiresAuth: true\r\n // },\r\n // component: () => import(\"@/views/Home.vue\")\r\n // },\r\n {\r\n // 身份选择\r\n path: '/',\r\n name: 'SelectIdentity',\r\n component: () => import(\"@/views/SelectIdentity.vue\"),\r\n meta: {\r\n title: '身份选择',\r\n requiresAuth: true\r\n }\r\n },\r\n {\r\n // 灵活用工\r\n path: '/flex_employee',\r\n name: 'FlexEmployee',\r\n component: () => import(\"@/views/FlexEmployee.vue\"),\r\n meta: {\r\n title: '灵活用工',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 灵活用工详情\r\n path: '/flex_employee_detial',\r\n name: 'FlexEmployeeDetial',\r\n component: () => import(\"@/views/FlexEmployeeDetial.vue\"),\r\n meta: {\r\n title: '任务详情',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 企业员工\r\n path: '/company_employee_details',\r\n name: 'CompanyEmployeeDetails',\r\n component: () => import(\"@/views/CompanyEmployeeDetails.vue\"),\r\n meta: {\r\n title: '企业员工',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 档案查看\r\n path: '/archives',\r\n name: 'Archives',\r\n meta: {\r\n title: '档案查看',\r\n requiresAuth: false\r\n },\r\n component: () => import(\"@/views/Archives.vue\")\r\n },\r\n {\r\n // 劳务派遣-选择派遣公司\r\n path: '/chooseCompany',\r\n name: 'ChooseCompany',\r\n component: () => import(\"@/views/ChooseCompany.vue\"),\r\n meta: {\r\n title: '选择派遣公司',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣个人首页\r\n path: '/index',\r\n name: 'Index',\r\n component: () => import(\"@/views/Index.vue\"),\r\n meta: {\r\n title: '劳务派遣',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣-我上传的资料\r\n path: '/information',\r\n name: 'Information',\r\n component: () => import(\"@/views/Information.vue\"),\r\n meta: {\r\n title: '我上传的资料',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣-我上传的资料\r\n path: '/informationEdit',\r\n name: 'InformationEdit',\r\n component: () => import(\"@/views/InformationEdit.vue\"),\r\n meta: {\r\n title: '我上传的资料',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣-我上传的资料预览\r\n path: '/informationPreview',\r\n name: 'InformationPreview',\r\n component: () => import(\"@/views/InformationPreview.vue\"),\r\n meta: {\r\n title: '我上传的资料',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣-我的工资条\r\n path: '/paySlips',\r\n name: 'PaySlips',\r\n component: () => import(\"@/views/PaySlips.vue\"),\r\n meta: {\r\n title: '我的工资条',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 劳务派遣-我的工资条\r\n path: '/paySlipsMonth',\r\n name: 'PaySlipsMonth',\r\n component: () => import(\"@/views/PaySlipsMonth.vue\"),\r\n meta: {\r\n title: '我的工资条',\r\n requiresAuth: false\r\n }\r\n },\r\n {\r\n // 测试页面\r\n path: '/test',\r\n name: 'test',\r\n component: () => import(\"@/views/test.vue\"),\r\n meta: {\r\n title: '测试页面',\r\n }\r\n },\r\n {\r\n // 测试城市选择\r\n path: '/cityTest',\r\n name: 'cityTest',\r\n component: () => import(\"@/views/cityTest.vue\"),\r\n meta: {\r\n title: '测试城市列表',\r\n }\r\n }\r\n\r\n]","function bin2hex (s) {\r\n var i,\r\n l,\r\n o = \"\",\r\n n;\r\n s += \"\";\r\n for (i = 0, l = s.length; i < l; i++) {\r\n n = s.charCodeAt(i).toString(16)\r\n o += n.length < 2 ? \"0\" + n : n;\r\n }\r\n return o;\r\n}\r\n\r\nfunction getCanvas () {\r\n var canvas = document.createElement(\"canvas\");\r\n var ctx = canvas.getContext(\"2d\");\r\n ctx.fillStyle = \"#f60\";\r\n ctx.fillRect(125, 1, 62, 20);\r\n var b64 = canvas.toDataURL().replace(\"data:image/png;base64,\", \"\");\r\n var bin = atob(b64);\r\n var crc = bin2hex(bin.slice(-16, -12));\r\n return crc;\r\n}\r\n\r\nfunction getOsInfo () {\r\n var userAgent = navigator.userAgent.toLowerCase();\r\n var name = \"Unknown\";\r\n var version = \"Unknown\";\r\n if (userAgent.indexOf(\"win\") > -1) {\r\n name = \"Windows\";\r\n if (userAgent.indexOf(\"windows nt 5.0\") > -1) {\r\n version = \"Windows 2000\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 5.1\") > -1 ||\r\n userAgent.indexOf(\"windows nt 5.2\") > -1\r\n ) {\r\n version = \"Windows XP\";\r\n } else if (userAgent.indexOf(\"windows nt 6.0\") > -1) {\r\n version = \"Windows Vista\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.1\") > -1 ||\r\n userAgent.indexOf(\"windows 7\") > -1\r\n ) {\r\n version = \"Windows 7\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.2\") > -1 ||\r\n userAgent.indexOf(\"windows 8\") > -1\r\n ) {\r\n version = \"Windows 8\";\r\n } else if (userAgent.indexOf(\"windows nt 6.3\") > -1) {\r\n version = \"Windows 8.1\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.2\") > -1 ||\r\n userAgent.indexOf(\"windows nt 10.0\") > -1\r\n ) {\r\n version = \"Windows 10\";\r\n } else {\r\n version = \"Unknown\";\r\n }\r\n } else if (userAgent.indexOf(\"iphone\") > -1) {\r\n name = \"Iphone\";\r\n } else if (userAgent.indexOf(\"mac\") > -1) {\r\n name = \"Mac\";\r\n } else if (\r\n userAgent.indexOf(\"x11\") > -1 ||\r\n userAgent.indexOf(\"unix\") > -1 ||\r\n userAgent.indexOf(\"sunname\") > -1 ||\r\n userAgent.indexOf(\"bsd\") > -1\r\n ) {\r\n name = \"Unix\";\r\n } else if (userAgent.indexOf(\"linux\") > -1) {\r\n if (userAgent.indexOf(\"android\") > -1) {\r\n name = \"Android\"\r\n } else {\r\n name = \"Linux\";\r\n }\r\n } else {\r\n name = \"Unknown\";\r\n }\r\n var os = new Object();\r\n os.name = name;\r\n os.version = version;\r\n return os;\r\n //document.write(\"系统:\" + os.name + \"版本:\" + os.name)\r\n}\r\nfunction getBrowerInfo () {\r\n var Browser =\r\n Browser ||\r\n (function (window) {\r\n var document = window.document,\r\n navigator = window.navigator,\r\n agent = navigator.userAgent.toLowerCase(),\r\n //IE8+支持.返回浏览器渲染当前文档所用的模式\r\n //IE6,IE7:undefined.IE8:8(兼容模式返回7).IE9:9(兼容模式返回7||8)\r\n //IE10:10(兼容模式7||8||9)\r\n IEMode = document.documentMode,\r\n //chorme\r\n chrome = window.chrome || false,\r\n System = {\r\n //user-agent\r\n agent: agent,\r\n //是否为IE\r\n isIE: /trident/.test(agent),\r\n //Gecko内核\r\n isGecko: agent.indexOf(\"gecko\") > 0 && agent.indexOf(\"like gecko\") < 0,\r\n //webkit内核\r\n isWebkit: agent.indexOf(\"webkit\") > 0,\r\n //是否为标准模式\r\n isStrict: document.compatMode === \"CSS1Compat\",\r\n //是否支持subtitle\r\n supportSubTitle: function () {\r\n return \"track\" in document.createElement(\"track\");\r\n },\r\n //是否支持scoped\r\n supportScope: function () {\r\n return \"scoped\" in document.createElement(\"style\");\r\n },\r\n\r\n //获取IE的版本号\r\n ieVersion: function () {\r\n var rMsie = /(msie\\s|trident.*rv:)([\\w.]+)/;\r\n var ma = window.navigator.userAgent.toLowerCase()\r\n var match = rMsie.exec(ma);\r\n try {\r\n return match[2];\r\n } catch (e) {\r\n //\t\t\t\t\t\t\t\t\tconsole.log(\"error\");\r\n return IEMode;\r\n }\r\n },\r\n //Opera版本号\r\n operaVersion: function () {\r\n try {\r\n if (window.opera) {\r\n return agent.match(/opera.([\\d.]+)/)[1];\r\n } else if (agent.indexOf(\"opr\") > 0) {\r\n return agent.match(/opr\\/([\\d.]+)/)[1];\r\n }\r\n } catch (e) {\r\n return 0;\r\n }\r\n }\r\n };\r\n\r\n try {\r\n //浏览器类型(IE、Opera、Chrome、Safari、Firefox)\r\n System.type = System.isIE\r\n ? \"IE\"\r\n : window.opera || agent.indexOf(\"opr\") > 0\r\n ? \"Opera\"\r\n : agent.indexOf(\"chrome\") > 0\r\n ? \"Chrome\"\r\n : //safari也提供了专门的判定方式\r\n window.openDatabase\r\n ? \"Safari\"\r\n : agent.indexOf(\"firefox\") > 0\r\n ? \"Firefox\"\r\n : \"unknow\";\r\n //版本号\r\n System.version = (System.type === \"IE\") ? System.ieVersion() :\r\n (System.type === \"Firefox\") ? agent.match(/firefox\\/([\\d.]+)/)[1] :\r\n (System.type === \"Chrome\") ? agent.match(/chrome\\/([\\d.]+)/)[1] :\r\n (System.type === \"Opera\") ? System.operaVersion() :\r\n (System.type === \"Safari\") ? agent.match(/version\\/([\\d.]+)/)[1] :\r\n \"0\";\r\n\r\n //浏览器外壳\r\n System.shell = function () {\r\n\r\n if (agent.indexOf(\"edge\") > 0) {\r\n System.version = agent.match(/edge\\/([\\d.]+)/)[1] || System.version;\r\n return \"edge浏览器\";\r\n }\r\n //遨游浏览器\r\n if (agent.indexOf(\"maxthon\") > 0) {\r\n System.version = agent.match(/maxthon\\/([\\d.]+)/)[1] || System.version;\r\n return \"傲游浏览器\";\r\n }\r\n //QQ浏览器\r\n if (agent.indexOf(\"qqbrowser\") > 0) {\r\n System.version = agent.match(/qqbrowser\\/([\\d.]+)/)[1] || System.version;\r\n return \"QQ浏览器\";\r\n }\r\n\r\n //搜狗浏览器\r\n if (agent.indexOf(\"se 2.x\") > 0) {\r\n return '搜狗浏览器';\r\n }\r\n\r\n //Chrome:也可以使用window.chrome && window.chrome.webstore判断\r\n if (chrome && System.type !== \"Opera\") {\r\n var external = window.external,\r\n clientInfo = window.clientInformation,\r\n //客户端语言:zh-cn,zh.360下面会返回undefined\r\n clientLanguage = clientInfo.languages;\r\n\r\n //猎豹浏览器:或者agent.indexOf(\"lbbrowser\")>0\r\n if (external && 'LiebaoGetVersion' in external) {\r\n return '猎豹浏览器';\r\n }\r\n //百度浏览器\r\n if (agent.indexOf(\"bidubrowser\") > 0) {\r\n System.version = agent.match(/bidubrowser\\/([\\d.]+)/)[1] ||\r\n agent.match(/chrome\\/([\\d.]+)/)[1];\r\n return \"百度浏览器\";\r\n }\r\n //360极速浏览器和360安全浏览器\r\n if (System.supportSubTitle() && typeof clientLanguage === \"undefined\") {\r\n //object.key()返回一个数组.包含可枚举属性和方法名称\r\n var storeKeyLen = Object.keys(chrome.webstore).length,\r\n v8Locale = \"v8Locale\" in window;\r\n return storeKeyLen > 1 ? '360极速浏览器' : '360安全浏览器';\r\n }\r\n return \"Chrome\";\r\n }\r\n return System.type;\r\n };\r\n\r\n //浏览器名称(如果是壳浏览器,则返回壳名称)\r\n System.name = System.shell();\r\n //对版本号进行过滤过处理\r\n //\tSystem.version = System.versionFilter(System.version);\r\n\r\n } catch (e) {\r\n //\t\t\t\t\t\tconsole.log(e.message);\r\n }\r\n return {\r\n client: System\r\n };\r\n })(window);\r\n if (Browser.client.name == undefined || Browser.client.name == \"\") {\r\n Browser.client.name = \"Unknown\";\r\n Browser.client.version = \"Unknown\";\r\n } else if (Browser.client.version == undefined) {\r\n Browser.client.version = \"Unknown\";\r\n }\r\n //\t\t\t\tdocument.write(Browser.client.name + \" \" + Browser.client.version);\r\n return Browser;\r\n}\r\n\r\n\r\nfunction GetCommonPms () {\r\n const v = \"1.0.1\";\r\n const did = getCanvas();\r\n const dh = getOsInfo().version;\r\n const BrowerInfo = getBrowerInfo();\r\n const db = BrowerInfo.client.name;\r\n const dv = BrowerInfo.client.version;\r\n const t = new Date().getTime();\r\n const pms = `v=${v}&&did=${did}&&dh=${dh}&&db=${db}&&dv=${dv}&&dm=&&lat=&&lng=&&t=${t}`;\r\n return pms;\r\n}\r\n\r\nexport {\r\n GetCommonPms\r\n};\r\n","import Vue from 'vue';\r\nimport Router from 'vue-router';\r\n// import Mgr from '@/common/SecurityService';\r\nimport employee_router from './employee/employee-router';\r\nimport qs from 'qs';\r\nimport axios from 'axios';\r\n//@ts-ignore\r\nimport { GetCommonPms } from '../assets/js/CommonPms.js';\r\n\r\nVue.use(Router);\r\n\r\n// let mgr = new Mgr();\r\n\r\nconst oidc_config = JSON.parse(process.env.VUE_APP_OIDC_CONFIG);\r\nconst isOpenHttps = process.env.VUE_APP_OPEN_HTTPS;\r\n\r\n/**\r\n * 加载和设置路由\r\n */\r\nconst router = new Router({\r\n mode: 'history',\r\n\r\n base: process.env.BASE_URL, //'/',\r\n routes: [...employee_router],\r\n});\r\n\r\n/**\r\n * 使用授权码登录\r\n * @param authCode 授权码\r\n */\r\n// function loginByAuthcode(authCode: any) {\r\n// let loginArgs = { extraQueryParams: { authcode: authCode } };\r\n// mgr.signIn(loginArgs);\r\n// }\r\n\r\n/**\r\n * 自动登录\r\n * @param authcode 授权码\r\n */\r\n// function autoLogin(authcode: any) {\r\n// mgr.getUser().then((user) => {\r\n// if (user == null) {\r\n// loginByAuthcode(authcode);\r\n// } else {\r\n// //如果已经登录,则先退出\r\n// localStorage.setItem('authcode', authcode);\r\n// mgr.signOut();\r\n// }\r\n// });\r\n// }\r\n\r\n//@ts-ignore\r\nfunction getAccessToken(authcode) {\r\n console.log('authcode=', authcode);\r\n return new Promise((resolve, reject) => {\r\n let commonPms = GetCommonPms();\r\n //@ts-ignore\r\n let url = `${oidc_config.authority}/connect/token?${commonPms}`;\r\n let pms = {\r\n //@ts-ignore\r\n client_id: oidc_config.client_id,\r\n //@ts-ignore\r\n client_secret: oidc_config.client_secret,\r\n grant_type: 'auth_code',\r\n scope:\r\n 'openid workapps.client api.workapps.user api.workapps.org api.workapps.open',\r\n code: authcode,\r\n };\r\n axios.post(url, qs.stringify(pms)).then((res) => {\r\n if (res && res.status) {\r\n const accessToken = res.data.access_token;\r\n resolve(accessToken);\r\n } else {\r\n reject(res);\r\n }\r\n });\r\n });\r\n}\r\n\r\n//@ts-ignore\r\nfunction getPathByTo(to, authcode_key) {\r\n let toPath = to.path || '/';\r\n for (let key in to.query) {\r\n key = key.toLowerCase();\r\n console.log('key=', key);\r\n if (key == authcode_key) {\r\n continue;\r\n }\r\n toPath += toPath.indexOf('?') > -1 ? '&' : '?';\r\n toPath += `${key}=${to.query[key]}`;\r\n }\r\n toPath =\r\n toPath.indexOf('?') > -1\r\n ? toPath + '&t=' + new Date().valueOf()\r\n : toPath + '?t=' + new Date().valueOf();\r\n return toPath;\r\n}\r\n\r\nrouter.beforeEach((to, from, next) => {\r\n if (isOpenHttps === 'true' && location.href.startsWith('http://')) {\r\n location.href = location.href.replace('http://', 'https://');\r\n }\r\n const requiresAuth = to.matched.some((record) => record.meta.requiresAuth);\r\n //更改标题\r\n if (to.meta.title) {\r\n document.title = to.meta.title;\r\n }\r\n\r\n const authcode = to.query.authCode || to.query.authcode;\r\n\r\n if (!!authcode) {\r\n getAccessToken(authcode)\r\n .then((res) => {\r\n const redirectPath = getPathByTo(to, 'authcode');\r\n //@ts-ignore\r\n const accessToken: string = res;\r\n localStorage.setItem('token', accessToken);\r\n window.location.href = redirectPath;\r\n })\r\n .catch((err) => {\r\n console.log('err=', err);\r\n });\r\n } else {\r\n console.log('to.path=', to.path);\r\n\r\n next();\r\n }\r\n});\r\n\r\n/**\r\n * 请求路由前 一些操作\r\n */\r\n// router.beforeEach((to, from, next) => {\r\n// // console.log(isOpenHttps);\r\n\r\n// if (isOpenHttps === \"true\" && location.href.startsWith(\"http://\")) {\r\n// location.href = location.href.replace(\"http://\", \"https://\");\r\n// }\r\n\r\n// const requiresAuth = to.matched.some(record => record.meta.requiresAuth);\r\n\r\n// localStorage.setItem(\"returnUrl\", to.path);\r\n\r\n// //更改标题\r\n// if (to.meta.title) {\r\n// document.title = to.meta.title;\r\n// }\r\n\r\n// let authcode = localStorage.getItem(\"authcode\")\r\n// if (authcode) {\r\n// localStorage.removeItem(\"authcode\");\r\n// loginByAuthcode(authcode)\r\n// } else {\r\n// let authcode = to.query.authcode;\r\n// if (authcode) {\r\n// autoLogin(authcode);\r\n// } else {\r\n// if (requiresAuth) {\r\n// mgr.getUser().then(user => {\r\n// if (user == null) {\r\n// mgr.signIn();\r\n// } else {\r\n// next();\r\n// }\r\n// });\r\n// }\r\n// else {\r\n// next();\r\n// }\r\n// }\r\n// }\r\n\r\n// });\r\n\r\nexport default router;\r\n","// import * as types from \"../types\";\r\n// import { isNullOrEmpty } from \"@/utils/public\";\r\n// import Mgr from '@/common/SecurityService';\r\n// import request from '@/utils/method';\r\n// import urls from '@/utils/urls';\r\n\r\n// let mgr = new Mgr();\r\n\r\nconst initPageState = () => {\r\n return {\r\n userInfo: {},\r\n accessToken: '',\r\n anymouseAccessToken: '',\r\n companyAccessToken: '',\r\n };\r\n};\r\n\r\nconst user = {\r\n state: initPageState(),\r\n mutations: {},\r\n actions: {},\r\n getters: {\r\n // async getUserInfo(state: Object | any) {\r\n // if (Object.keys(state.userInfo).length > 0) {\r\n // return state.userInfo;\r\n // }\r\n\r\n // let user = await mgr.getUser();\r\n // if (user) {\r\n // state.userInfo = user!.profile;\r\n // }\r\n\r\n // return state.userInfo;\r\n // },\r\n async getAccessToken(state: Object | any) {\r\n if (state.accessToken === '') {\r\n //let user = await mgr.getUser();\r\n // if (user) {\r\n // state.accessToken = user!.access_token;\r\n // }\r\n state.accessToken = localStorage.getItem('token');\r\n }\r\n return state.accessToken;\r\n },\r\n async getAnymouseAccessToken(state: Object | any) {\r\n if (state.anymouseAccessToken === '') {\r\n let aToken = localStorage.getItem('aat');\r\n if (!!aToken) {\r\n state.anymouseAccessToken = aToken;\r\n } else {\r\n // let url = `${urls.tokenUrl}/connect/token`;\r\n // await request.post(url,)\r\n }\r\n }\r\n\r\n return state.anymouseAccessToken;\r\n },\r\n },\r\n};\r\n\r\nexport default user;\r\n","import Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport employee from './modules/employee'\r\n\r\nVue.use(Vuex)\r\n\r\nconst store = new Vuex.Store({\r\n // strict: process.env.NOOE_ENV !== \"production\",\r\n modules: {\r\n employee\r\n }\r\n})\r\nexport default store;\r\n","import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';\r\nimport { Toast } from 'vant';\r\nimport { ResponseData } from '@/types/index';\r\n\r\nlet http: AxiosInstance | any;\r\nhttp = axios.create({\r\n timeout: 60000,\r\n});\r\n\r\n/**\r\n * 请求拦击器\r\n */\r\nhttp.interceptors.request.use(\r\n (config: AxiosRequestConfig) => {\r\n return config;\r\n },\r\n (error: any) => {\r\n Promise.reject(error);\r\n }\r\n);\r\n\r\n/**\r\n * 响应拦截器\r\n */\r\nhttp.interceptors.response.use(\r\n (response: AxiosResponse) => {\r\n if (response.status === 200) {\r\n const data: ResponseData = response.data;\r\n // 认证中心接口 响应\r\n if (!data.status) {\r\n // console.log(data);\r\n return data;\r\n }\r\n\r\n // 普通接口 响应\r\n if (data.status) {\r\n return data.data;\r\n } else {\r\n Toast(data.message);\r\n }\r\n return Promise.reject(new Error(response.data.errcode || \"Error\"));\r\n }\r\n },\r\n (error: any) => Promise.reject(error)\r\n);\r\n\r\nexport default http;\r\n","import http from './http';\r\nimport { GetCommonPms } from '@/utils/public';\r\n\r\nclass Request {\r\n /**\r\n * GET 请求\r\n * @param url 请求链接\r\n * @param params 请求参数\r\n * @param headers 请求头信息\r\n */\r\n public get(\r\n url: string,\r\n params: any = {},\r\n headers: any = {},\r\n special: boolean = false\r\n ): Promise<any> {\r\n return new Promise((resolve, reject) => {\r\n resolve(\r\n http.get(`${url}?${GetCommonPms(special)}`, {\r\n params: params,\r\n headers: headers,\r\n })\r\n );\r\n });\r\n }\r\n\r\n /**\r\n *\r\n * POST 请求\r\n * @param url 请求链接\r\n * @param params 请求参数\r\n * @param headers 请求头信息\r\n */\r\n public post(\r\n url: string,\r\n params: any = {},\r\n headers: any = {},\r\n special: boolean = false\r\n ) {\r\n return new Promise((resolve, reject) => {\r\n resolve(\r\n http.post(`${url}?${GetCommonPms(special)}`, params, {\r\n headers: headers,\r\n })\r\n );\r\n });\r\n }\r\n\r\n /**\r\n *\r\n * PUT 请求\r\n * @param url 请求链接\r\n * @param params 请求参数\r\n * @param headers 请求头信息\r\n */\r\n public put(url: string, params: any = {}, headers: any = {}) {\r\n return new Promise((resolve, reject) => {\r\n resolve(\r\n http.put(`${url}?${GetCommonPms()}`, params, { headers: headers })\r\n );\r\n });\r\n }\r\n\r\n /**\r\n *\r\n * DELETE 请求\r\n * @param url 请求链接\r\n * @param params 请求参数\r\n * @param headers 请求头信息\r\n */\r\n public delete(url: string, params: any = {}, headers: any = {}) {\r\n return new Promise((resolve, reject) => {\r\n resolve(\r\n http.delete(`${url}?${GetCommonPms()}`, {\r\n params: params,\r\n headers: headers,\r\n })\r\n );\r\n });\r\n }\r\n}\r\n\r\nexport default new Request();\r\n","/**\r\n * 服务基础链接\r\n */\r\nclass Urls {\r\n\r\n /**\r\n * 个人中心\r\n */\r\n employeeUrl: String = process.env.VUE_APP_BASE_URL;\r\n\r\n /**\r\n * \r\n * 获取用户信息\r\n */\r\n userInfoUrl: String = process.env.VUE_APP_USERINFO_URL;\r\n\r\n /**\r\n * 个人中心\r\n */\r\n salaryUrl: String = process.env.VUE_APP_SALARY_URL;\r\n\r\n}\r\n\r\nexport default new Urls();","import request from '@/utils/method';\r\nimport store from '@/store';\r\nimport { EmployeeInterface } from '@/services/employee/employeeService';\r\nimport urls from '@/utils/urls';\r\n\r\n/**\r\n * 员工服务类\r\n */\r\nclass EmployeeService implements EmployeeInterface {\r\n /**\r\n * 请求头信息\r\n */\r\n private header: any;\r\n private headerUp: any;\r\n /**\r\n * 当前版本\r\n */\r\n private version: String;\r\n\r\n /**\r\n * 当前登录用户ID\r\n */\r\n private sub: any;\r\n\r\n /**\r\n * 构造方法\r\n */\r\n public constructor() {\r\n // 获取登录token\r\n store.getters.getAccessToken.then((res: any) => {\r\n this.header = { Authorization: `Bearer ${res}` };\r\n this.headerUp ={ Authorization: `Bearer ${res}`,'Content-Type':'multipart/form-data;charset=UTF-8'}\r\n });\r\n // store.getters.getUserInfo.then((res: any) => {\r\n // // console.log(res);\r\n // this.sub = res.sub\r\n // })\r\n this.version = 'v1';\r\n }\r\n\r\n /**\r\n * 获取用户信息\r\n * @param params 请求参数\r\n */\r\n public async getUserInfo(params: any): Promise<any> {\r\n const url = urls.userInfoUrl + `/userAuthDetails`;\r\n return request.post(url, params, this.header, true);\r\n }\r\n\r\n /**\r\n * 获取派遣公司的列表\r\n * @param params\r\n */\r\n public getDispatchList(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.idNo}/dispatch/companies`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取劳务派遣首页数据\r\n * @param params\r\n */\r\n public getDispatchInfo(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl +\r\n `/api/user/dispatch/companies/${params.spId}/employee/${params.idNo}/info`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取工作信息列表\r\n * @param params 请求参数\r\n */\r\n public getWorkInfoList(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/work`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取工作信息详情\r\n * @param params 请求参数\r\n */\r\n\r\n public getWorkInfoDetail(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/work/detail`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 修改工作信息\r\n * @param params 请求参数\r\n */\r\n\r\n public updateWorkInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/work/info`;\r\n return request.put(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 新增工作信息\r\n * @param params 请求参数\r\n */\r\n\r\n public addWorkInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/work/info`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 删除工作信息\r\n * @param params 请求参数\r\n */\r\n\r\n public deleteWorkInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/work/${params.edId}/info`;\r\n return request.delete(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取个人信息\r\n * @param params 请求参数\r\n */\r\n public getPersonInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/info`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 保存个人信息\r\n * @param params 请求参数\r\n */\r\n public savePersonInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.id}/info`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取联系信息\r\n * @param params 请求参数\r\n */\r\n public getContactInfo(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/contact/info`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 保存联系信息\r\n * @param params 请求参数\r\n */\r\n public saveContactInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/contact/${params.id}/info`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取社保信息\r\n * @param params 请求参数\r\n */\r\n public getSocialInfo(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/unit/relation`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 保存社保信息\r\n * @param params 请求参数\r\n */\r\n public saveSocialInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/unit/relation/save`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取工资卡信息\r\n * @param params 请求参数\r\n */\r\n public getWageCardInfo(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/salary/card/info`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 保存工资卡信息\r\n * @params params\r\n */\r\n public saveWageCardInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/salary/card/save`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取教育经历\r\n * @param params 请求参数\r\n */\r\n public getEduExperience(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/education`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取教育信息详细\r\n * @param params\r\n */\r\n public getEduExperienceDetial(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/education/detial`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 新增教育信息\r\n * @param params\r\n */\r\n public addEduExperience(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/edu/info`;\r\n return request.post(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 修改教育信息\r\n * @param params\r\n */\r\n public updateEduExperience(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/edu/info`;\r\n return request.put(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 删除教育信息\r\n * @param params\r\n */\r\n public deleteEduExperience(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/edu/${params.eduId}/info`;\r\n return request.delete(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取技术特长\r\n * @param params\r\n */\r\n public getTechnologyExperience(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/expertise/info`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 修改技术特长\r\n * @param params\r\n */\r\n public updateTechnologyExperience(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/expertise/info`;\r\n return request.put(url, params, this.header);\r\n }\r\n\r\n /**\r\n * 获取城市列表\r\n * @param params\r\n */\r\n public getCityList(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/dispatch/cities`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * 通过身份证号和派遣公司ID拿到派遣员工的工资条信息\r\n * @param params\r\n */\r\n public getSalaryInfo(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl +\r\n `/api/user/dispatch/companies/${params.spId}/employee/${params.idNo}/payroll`;\r\n return request.get(url, {}, this.header, false);\r\n }\r\n\r\n /**\r\n *\r\n * 通过id获取工资条详细\r\n * @param params\r\n */\r\n public getSalaryInfoDetail(params: any): Promise<any> {\r\n let url = `${urls.employeeUrl}/api/user/employee/salary/${params.id}/detail`;\r\n return request.get(url, {}, this.header, false);\r\n }\r\n\r\n /**\r\n *\r\n * 获取文件\r\n * @param params\r\n */\r\n public getFiles(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/files`;\r\n return request.get(url, params, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * 设置文件\r\n * @param params\r\n */\r\n public setFiles(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/file`;\r\n return request.put(url, params.req, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * 删除文件\r\n * @param params\r\n */\r\n public delFiles(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/files/${params.fileId}`;\r\n return request.delete(url, params, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * base64转短连接\r\n * @param params\r\n */\r\n public tranFiles(params: any): Promise<any> {\r\n let url = urls.salaryUrl + `/general/person/upload`;\r\n return request.post(url, params, this.headerUp);\r\n }\r\n\r\n /**\r\n *\r\n * 提交文件\r\n * @param params\r\n */\r\n public putFiles(params: any): Promise<any> {\r\n let url =\r\n urls.employeeUrl + `/api/user/employee/${params.edId}/commit/file`;\r\n return request.put(url, params, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * 灵活用工\r\n * @param params\r\n */\r\n public getAgileWorker(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.idNo}/bill/item`;\r\n return request.get(url, {}, this.header);\r\n }\r\n\r\n /**\r\n *\r\n * 提交基本信息\r\n * @param params\r\n */\r\n public updateBaseInfo(params: any): Promise<any> {\r\n let url = urls.employeeUrl + `/api/user/employee/${params.edId}/base/info`;\r\n return request.post(url, params, this.header);\r\n }\r\n}\r\n\r\nexport default new EmployeeService();\r\n","import Vue from 'vue';\r\nimport EmployeeService from \"@/servicesImpl/employee/employeeImpl\";\r\n\r\nconst components = {\r\n EmployeeService\r\n};\r\n\r\nconst install = function () {\r\n Object.defineProperties(Vue.prototype, {\r\n $server: {\r\n get() {\r\n return components;\r\n }\r\n }\r\n })\r\n}\r\n\r\nexport default install;","import { toMoney, formatDate, isNull } from '../utils/public';\r\n\r\n//格式化日期\r\nexport const subDate = (value: string, startNum: number, endNum: number) => {\r\n if (value == null) {\r\n return null;\r\n }\r\n return value.substring(startNum, endNum);\r\n // formatDate(value,'yyyy-MM')\r\n};\r\nexport const money = (\r\n value: String,\r\n isSymbol: boolean,\r\n isConvertPoint: boolean\r\n) => {\r\n toMoney(value, isSymbol, isConvertPoint);\r\n};\r\nexport const format = (value: String, pattern: String) => {\r\n return value.replace(/\\d{2}:\\d{2}:\\d{2}/i, '');\r\n};\r\nexport const isEmpty = (value: string) => {\r\n isNull(value);\r\n};\r\n\r\nexport const get_thousand_num = (num: number) => {\r\n return num.toString().replace(/\\d+/, function(n) {\r\n // 先提取整数部分\r\n return n.replace(/(\\d)(?=(\\d{3})+$)/g, function($1) {\r\n // 对整数部分添加分隔符\r\n return $1 + ',';\r\n });\r\n });\r\n};\r\n","let u = navigator.userAgent;\r\nlet isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端\r\nlet isIOS = !!u.match(/\\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端 \r\n\r\n// 执行回调函数\r\nfunction setupWebViewJavascriptBridge(callback) {\r\n if (isAndroid) {\r\n console.log('isAndroid===');\r\n // 如果该对象已存在则直接执行\r\n if (window.WebViewJavascriptBridge) {\r\n callback(window.WebViewJavascriptBridge)\r\n } else {\r\n // 否则添加事件监听在执行\r\n document.addEventListener(\r\n 'WebViewJavascriptBridgeReady',\r\n function () {\r\n callback(window.WebViewJavascriptBridge)\r\n },\r\n false\r\n )\r\n }\r\n return;\r\n }\r\n\r\n if (isIOS) {\r\n console.log('ios===');\r\n\r\n if (window.WebViewJavascriptBridge) {\r\n return callback(window.WebViewJavascriptBridge);\r\n }\r\n if (window.WVJBCallbacks) {\r\n return window.WVJBCallbacks.push(callback);\r\n }\r\n window.WVJBCallbacks = [callback];\r\n var WVJBIframe = document.createElement('iframe');\r\n WVJBIframe.style.display = 'none';\r\n WVJBIframe.src = 'wvjbscheme://__bridge_loaded__';\r\n document.documentElement.appendChild(WVJBIframe);\r\n setTimeout(function () {\r\n document.documentElement.removeChild(WVJBIframe)\r\n }, 0)\r\n }\r\n\r\n}\r\n\r\n// 注册回调函数\r\nsetupWebViewJavascriptBridge(function (bridge) {\r\n if (isAndroid) {\r\n //初始化\r\n bridge.init(function (message, responseCallback) {\r\n var data = {\r\n 'Javascript Responds': 'Wee!'\r\n };\r\n responseCallback(data);\r\n })\r\n\r\n }\r\n})\r\n\r\n// 暴露当前模块的方法\r\nexport default {\r\n // js调APP方法 (参数分别为:app提供的方法名 传给app的数据 回调)\r\n callHandler(name, data, callback) {\r\n setupWebViewJavascriptBridge(bridge => {\r\n bridge.callHandler(name, data, callback)\r\n })\r\n },\r\n // APP调js方法 (参数分别为:js提供的方法名 回调)\r\n registerHandler(name, callback) {\r\n setupWebViewJavascriptBridge(bridge => {\r\n bridge.registerHandler(name, (data, responseCallback) => {\r\n callback(data, responseCallback)\r\n })\r\n })\r\n }\r\n}","import jsBridge from './jsBridge';\r\n\r\n/**\r\n * H5与移动端桥接公共方法\r\n */\r\nclass Bridge {\r\n\r\n /**\r\n * 设置齐刘海头部颜色\r\n * \r\n * @param {Object=} args 请求数据 \r\n * @param {String} args.barColor 栏颜色 #0978e7\r\n */\r\n setBarColor(args = {}) {\r\n console.log('setBarColor');\r\n return new Promise((resolve, reject) => {\r\n try {\r\n jsBridge.callHandler('setBarColor', args, function (response) {\r\n resolve(response)\r\n });\r\n } catch (err) {\r\n reject(err)\r\n }\r\n })\r\n }\r\n\r\n /**\r\n * 获取头部栏高度\r\n * \r\n * @param {Object=} args 请求参数\r\n */\r\n getBarHeight(args = {}) {\r\n console.log('getBarHeight');\r\n\r\n return new Promise((resolve, reject) => {\r\n try {\r\n jsBridge.callHandler(\"getBarHeight\", args, function (response) {\r\n resolve(response);\r\n });\r\n } catch (err) {\r\n reject(err);\r\n }\r\n })\r\n }\r\n\r\n /**\r\n * 设置页面导肮栏状态\r\n * \r\n * @param {Object} args 请求参数 \r\n * @param {Boolean} args.isShowClose 是否显示关闭\r\n * @param {Boolean} args.isShowBack 是否显示返回\r\n * @param {Boolean} args.isCloseLeft 是否关闭左侧\r\n * @param {Boolean} args.isShowTitle 是否显示标题\r\n * @param {Boolean} args.isShowNav 是否显示导航栏\r\n * @param {Boolean} args.isCloseWebView 是否关闭WebView\r\n */\r\n setPageNavState(args = {}) {\r\n console.log('setPageNavState');\r\n return new Promise((resolve, reject) => {\r\n try {\r\n jsBridge.callHandler(\"setPageNavState\", args, function (response) {\r\n resolve(response);\r\n });\r\n } catch (err) {\r\n reject(err);\r\n }\r\n })\r\n\r\n }\r\n\r\n /**\r\n * 关闭WebView\r\n * \r\n * @param {Object=} args 请求对象\r\n */\r\n closeWebView(args = {}) {\r\n return new Promise((resolve, reject) => {\r\n try {\r\n jsBridge.callHandler(\"closeWebView\", args, function (response) {\r\n resolve(response);\r\n });\r\n } catch (err) {\r\n reject(err);\r\n }\r\n })\r\n }\r\n}\r\n\r\nexport default new Bridge();\r\n\r\n","import Vue from 'vue';\r\nimport App from './App.vue';\r\nimport router from './router';\r\nimport store from './store';\r\nimport 'amfe-flexible/index.js';\r\nimport server from '@/services/install';\r\n// import FastClick from 'fastclick'\r\nimport '@/assets/css/index.less';\r\nimport * as filters from '@/utils/filters';\r\n//@ts-ignore\r\nimport bridge from \"./utils/bridge/birdge.js\";\r\n\r\nVue.config.productionTip = false;\r\n// FastClick.attach(document.body);\r\nObject.keys(filters).forEach((key: string) => {\r\n Vue.filter(key, (filters as any)[key]);\r\n});\r\n\r\nVue.use(server);\r\n\r\n\r\nif (\r\n process.env.NODE_ENV === 'development' ||\r\n process.env.NODE_ENV === 'staging'\r\n) {\r\n const VConsole = require('vconsole');\r\n const my_console = new VConsole();\r\n}\r\n\r\nVue.prototype.$bridge = bridge;\r\n\r\nnew Vue({\r\n router,\r\n store,\r\n render: (h) => h(App),\r\n}).$mount('#app');\r\n","/**\r\n * 验证手机号\r\n * @param tel 手机号\r\n */\r\nexport function isTel(tel: string) {\r\n return /^1\\d{10}$/.test(tel);\r\n}\r\n\r\n/**\r\n * 验证邮箱\r\n * @param email 邮箱\r\n */\r\nexport function isEmail(email: string) {\r\n return /^([a-zA-Z]|[0-9])(\\w|\\-)+@[a-zA-Z0-9]+\\.([a-zA-Z]{2,4})$/.test(email);\r\n}\r\n\r\n/**\r\n * 验证密码格式(8-16位,数字和英文字母的组合)\r\n * @param password 密码\r\n */\r\nexport function isPassWord(password: string) {\r\n // console.log(password);\r\n return /^(?=.*?[0-9])(?=.*?[A-Za-z])[0-9A-Za-z]{8,16}$/.test(password);\r\n}\r\n\r\n/**\r\n * 验证银行卡号\r\n * @param banknum 银行卡号\r\n */\r\nexport function isBankNum(banknum: string) {\r\n return /^([1-9]{1})(\\d{15}|\\d{18})$/.test(banknum);\r\n}\r\n\r\n/**\r\n * 验证身份证号\r\n * @param id 身份证号\r\n */\r\nexport function isIdCard(id: string) {\r\n return /^\\d{6}(18|19|20)\\d{2}(0\\d|10|11|12)([0-2]\\d|30|31)\\d{3}(\\d|X|x)$/.test(id);\r\n}\r\n\r\n/**\r\n * 模糊手机号\r\n * @param mobile 手机号\r\n */\r\nexport function fuzzyMobile(mobile: string) {\r\n let mobileFront = mobile.slice(0, 3);\r\n let mobileEnd = mobile.slice(7);\r\n return mobileFront + '****' + mobileEnd;\r\n}\r\n\r\n/**\r\n * 模糊邮箱\r\n * @param email 邮箱\r\n */\r\nexport function fuzzyEmail(email: string) {\r\n let emailFront = email.slice(0, 1);\r\n let index = email.indexOf('@');\r\n let emailEnd = email.slice(index);\r\n return emailFront + '****' + emailEnd;\r\n}\r\n\r\n/**\r\n * 姓名格式化为‘'*' + 尾字’\r\n * @param name 姓名\r\n */\r\nexport function fuzzyName(name: string) {\r\n // console.log(name);\r\n return '*' + name.slice(-1);\r\n}\r\n\r\n/**\r\n * 身份证号格式化为‘首1+'******'+尾1’\r\n * @param idnum 身份证\r\n */\r\nexport function fuzzyIdNum(idnum: string) {\r\n if (idnum === \"\") {\r\n return \"\";\r\n }\r\n return (idnum || \"\").slice(0, 1) + '****************' + (idnum || \"\").slice(-1);\r\n}\r\n\r\n/**\r\n * 银行卡号格式化为‘首4+'******'+尾4’\r\n * @param banknunm 银行卡号\r\n */\r\nexport function fuzzyBankNum(banknunm: string) {\r\n if (banknunm === \"\") {\r\n return \"\";\r\n }\r\n return (banknunm || \"\").slice(0, 4) + '********' + (banknunm || \"\").slice(-4);\r\n}\r\n\r\n/**\r\n * 获取性别\r\n * @param sex 性别数字\r\n */\r\nexport function gender(sex: number) {\r\n let genderArr = ['', '男', '女'];\r\n if (sex > 0) {\r\n return genderArr[sex];\r\n } else {\r\n return '';\r\n }\r\n}\r\n\r\n/**\r\n * 获取认证方式\r\n * @param value 认证关键字\r\n */\r\nexport function authMethod(value: string) {\r\n let bankArray: { [key: string]: string } = {\r\n \"MANUAL\": \"手动认证\",\r\n \"TWO\": \"二要素认证\",\r\n \"BANK_FOUR\": \"四要素认证\",\r\n \"MOBILE_THREE\": \"三要素认证\"\r\n };\r\n\r\n for (let k in bankArray) {\r\n if (k === value) {\r\n return bankArray[k];\r\n }\r\n }\r\n return \"\";\r\n}\r\n\r\n/**\r\n * 检测字符串是否为空\r\n * @param value 字符串\r\n */\r\nexport function isNullOrEmpty(value: string) {\r\n if (value === null || value === undefined || value === \"\") {\r\n return false;\r\n }\r\n return true;\r\n}\r\n\r\n/**\r\n * 节流调用\r\n * @param this 当前调用对象\r\n * @param fn 是我们需要包装的事件回调\r\n * @param delay 是时间间隔的阈值\r\n */\r\nexport function throttle(this: any, fn: Function, delay: number) {\r\n // last为上一次触发回调的时间, timer是定时器\r\n let last = 0, timer: any = null;\r\n\r\n // 将throttle处理结果当作函数返回\r\n return () => {\r\n // 保留调用时的this上下文\r\n let context = this;\r\n // 保留调用时传入的参数\r\n let args = this.arguments;\r\n // 记录本次触发回调的时间\r\n let now = +new Date();\r\n\r\n // 判断上次触发的时间和本次触发的时间差是否小于时间间隔的阈值\r\n if (now - last < delay) {\r\n // 如果时间间隔小于我们设定的时间间隔阈值,则为本次触发操作设立一个新的定时器\r\n clearTimeout(timer);\r\n timer = setTimeout(function () {\r\n last = now;\r\n fn.apply(context, args);\r\n }, delay);\r\n } else {\r\n // 如果时间间隔超出了我们设定的时间间隔阈值,那就不等了,无论如何要反馈给用户一次响应\r\n last = now;\r\n fn.apply(context, args);\r\n }\r\n };\r\n}\r\n\r\n\r\n/**\r\n * 字符串转16进制\r\n * @param s 字符串\r\n */\r\nfunction bin2hex(s: string) {\r\n var i,\r\n l,\r\n o = \"\",\r\n n;\r\n s += \"\";\r\n for (i = 0, l = s.length; i < l; i++) {\r\n n = s.charCodeAt(i).toString(16)\r\n o += n.length < 2 ? \"0\" + n : n;\r\n }\r\n return o;\r\n}\r\n\r\n/**\r\n * 获取画布\r\n */\r\nfunction getCanvas() {\r\n var canvas = document.createElement(\"canvas\");\r\n var ctx = canvas.getContext(\"2d\");\r\n ctx!.fillStyle = \"#f60\";\r\n ctx!.fillRect(125, 1, 62, 20);\r\n var b64 = canvas.toDataURL().replace(\"data:image/png;base64,\", \"\");\r\n var bin = atob(b64);\r\n var crc = bin2hex(bin.slice(-16, -12));\r\n return crc;\r\n}\r\n\r\n/**\r\n * 获取系统信息\r\n */\r\nfunction getOsInfo() {\r\n var userAgent = navigator.userAgent.toLowerCase();\r\n var name = \"Unknown\";\r\n var version = \"Unknown\";\r\n if (userAgent.indexOf(\"win\") > -1) {\r\n name = \"Windows\";\r\n if (userAgent.indexOf(\"windows nt 5.0\") > -1) {\r\n version = \"Windows 2000\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 5.1\") > -1 ||\r\n userAgent.indexOf(\"windows nt 5.2\") > -1\r\n ) {\r\n version = \"Windows XP\";\r\n } else if (userAgent.indexOf(\"windows nt 6.0\") > -1) {\r\n version = \"Windows Vista\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.1\") > -1 ||\r\n userAgent.indexOf(\"windows 7\") > -1\r\n ) {\r\n version = \"Windows 7\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.2\") > -1 ||\r\n userAgent.indexOf(\"windows 8\") > -1\r\n ) {\r\n version = \"Windows 8\";\r\n } else if (userAgent.indexOf(\"windows nt 6.3\") > -1) {\r\n version = \"Windows 8.1\";\r\n } else if (\r\n userAgent.indexOf(\"windows nt 6.2\") > -1 ||\r\n userAgent.indexOf(\"windows nt 10.0\") > -1\r\n ) {\r\n version = \"Windows 10\";\r\n } else {\r\n version = \"Unknown\";\r\n }\r\n } else if (userAgent.indexOf(\"iphone\") > -1) {\r\n name = \"Iphone\";\r\n } else if (userAgent.indexOf(\"mac\") > -1) {\r\n name = \"Mac\";\r\n } else if (\r\n userAgent.indexOf(\"x11\") > -1 ||\r\n userAgent.indexOf(\"unix\") > -1 ||\r\n userAgent.indexOf(\"sunname\") > -1 ||\r\n userAgent.indexOf(\"bsd\") > -1\r\n ) {\r\n name = \"Unix\";\r\n } else if (userAgent.indexOf(\"linux\") > -1) {\r\n if (userAgent.indexOf(\"android\") > -1) {\r\n name = \"Android\"\r\n } else {\r\n name = \"Linux\";\r\n }\r\n } else {\r\n name = \"Unknown\";\r\n }\r\n // var os = new Object();\r\n // os.name = name;\r\n // os.version = version;\r\n return version;\r\n //document.write(\"系统:\" + os.name + \"版本:\" + os.name)\r\n}\r\n\r\n/**\r\n * 获取浏览器信息\r\n */\r\nfunction getBrowerInfo() {\r\n var Browser: any =\r\n Browser ||\r\n (function (window) {\r\n var document = window.document,\r\n navigator = window.navigator,\r\n agent = navigator.userAgent.toLowerCase(),\r\n //IE8+支持.返回浏览器渲染当前文档所用的模式\r\n //IE6,IE7:undefined.IE8:8(兼容模式返回7).IE9:9(兼容模式返回7||8)\r\n //IE10:10(兼容模式7||8||9)\r\n IEMode = (<any>document).documentMode,\r\n //chorme\r\n chrome = (<any>window).chrome || false,\r\n System = {\r\n //user-agent\r\n agent: agent,\r\n //是否为IE\r\n isIE: /trident/.test(agent),\r\n //Gecko内核\r\n isGecko: agent.indexOf(\"gecko\") > 0 && agent.indexOf(\"like gecko\") < 0,\r\n //webkit内核\r\n isWebkit: agent.indexOf(\"webkit\") > 0,\r\n //是否为标准模式\r\n isStrict: document.compatMode === \"CSS1Compat\",\r\n //是否支持subtitle\r\n supportSubTitle: function () {\r\n return \"track\" in document.createElement(\"track\");\r\n },\r\n //是否支持scoped\r\n supportScope: function () {\r\n return \"scoped\" in document.createElement(\"style\");\r\n },\r\n\r\n //获取IE的版本号\r\n ieVersion: function () {\r\n var rMsie = /(msie\\s|trident.*rv:)([\\w.]+)/;\r\n var ma = window.navigator.userAgent.toLowerCase()\r\n var match = rMsie.exec(ma);\r\n try {\r\n return match![2];\r\n } catch (e) {\r\n return IEMode;\r\n }\r\n },\r\n //Opera版本号\r\n operaVersion: function () {\r\n try {\r\n if ((<any>window).opera) {\r\n return agent.match(/opera.([\\d.]+)/)![1];\r\n } else if (agent.indexOf(\"opr\") > 0) {\r\n return agent.match(/opr\\/([\\d.]+)/)![1];\r\n }\r\n } catch (e) {\r\n return 0;\r\n }\r\n }\r\n };\r\n\r\n try {\r\n //浏览器类型(IE、Opera、Chrome、Safari、Firefox)\r\n (<any>System).type = System.isIE\r\n ? \"IE\"\r\n : (<any>window).opera || agent.indexOf(\"opr\") > 0\r\n ? \"Opera\"\r\n : agent.indexOf(\"chrome\") > 0\r\n ? \"Chrome\"\r\n : //safari也提供了专门的判定方式\r\n (<any>window).openDatabase\r\n ? \"Safari\"\r\n : agent.indexOf(\"firefox\") > 0\r\n ? \"Firefox\"\r\n : \"unknow\";\r\n //版本号\r\n (<any>System).version = ((<any>System).type === \"IE\") ? System.ieVersion() :\r\n ((<any>System).type === \"Firefox\") ? agent.match(/firefox\\/([\\d.]+)/)![1] :\r\n ((<any>System).type === \"Chrome\") ? agent.match(/chrome\\/([\\d.]+)/)![1] :\r\n ((<any>System).type === \"Opera\") ? System.operaVersion() :\r\n ((<any>System).type === \"Safari\") ? agent.match(/version\\/([\\d.]+)/)![1] :\r\n \"0\";\r\n\r\n //浏览器外壳\r\n (<any>System).shell = function () {\r\n\r\n if (agent.indexOf(\"edge\") > 0) {\r\n (<any>System).version = agent.match(/edge\\/([\\d.]+)/)![1] || (<any>System).version;\r\n return \"edge浏览器\";\r\n }\r\n //遨游浏览器\r\n if (agent.indexOf(\"maxthon\") > 0) {\r\n (<any>System).version = agent.match(/maxthon\\/([\\d.]+)/)![1] || (<any>System).version;\r\n return \"傲游浏览器\";\r\n }\r\n //QQ浏览器\r\n if (agent.indexOf(\"qqbrowser\") > 0) {\r\n (<any>System).version = agent.match(/qqbrowser\\/([\\d.]+)/)![1] || (<any>System).version;\r\n return \"QQ浏览器\";\r\n }\r\n\r\n //搜狗浏览器\r\n if (agent.indexOf(\"se 2.x\") > 0) {\r\n return '搜狗浏览器';\r\n }\r\n\r\n //Chrome:也可以使用window.chrome && window.chrome.webstore判断\r\n if (chrome && (<any>System).type !== \"Opera\") {\r\n var external = window.external,\r\n clientInfo = window.clientInformation,\r\n //客户端语言:zh-cn,zh.360下面会返回undefined\r\n clientLanguage = clientInfo.languages;\r\n\r\n //猎豹浏览器:或者agent.indexOf(\"lbbrowser\")>0\r\n if (external && 'LiebaoGetVersion' in external) {\r\n return '猎豹浏览器';\r\n }\r\n //百度浏览器\r\n if (agent.indexOf(\"bidubrowser\") > 0) {\r\n (<any>System).version = agent.match(/bidubrowser\\/([\\d.]+)/)![1] ||\r\n agent.match(/chrome\\/([\\d.]+)/)![1];\r\n return \"百度浏览器\";\r\n }\r\n //360极速浏览器和360安全浏览器\r\n if (System.supportSubTitle() && typeof clientLanguage === \"undefined\") {\r\n //object.key()返回一个数组.包含可枚举属性和方法名称\r\n var storeKeyLen = Object.keys(chrome.webstore).length,\r\n v8Locale = \"v8Locale\" in window;\r\n return storeKeyLen > 1 ? '360极速浏览器' : '360安全浏览器';\r\n }\r\n return \"Chrome\";\r\n }\r\n return (<any>System).type;\r\n };\r\n\r\n //浏览器名称(如果是壳浏览器,则返回壳名称)\r\n (<any>System).name = (<any>System).shell();\r\n //对版本号进行过滤过处理\r\n //\tSystem.version = System.versionFilter(System.version);\r\n\r\n } catch (e) { }\r\n return {\r\n client: System\r\n };\r\n })(window);\r\n if (Browser.client.name == undefined || Browser.client.name == \"\") {\r\n Browser.client.name = \"Unknown\";\r\n Browser.client.version = \"Unknown\";\r\n } else if (Browser.client.version == undefined) {\r\n Browser.client.version = \"Unknown\";\r\n }\r\n //\t\t\t\tdocument.write(Browser.client.name + \" \" + Browser.client.version);\r\n return Browser;\r\n}\r\n\r\n/**\r\n * 获取公共参数\r\n */\r\nexport function GetCommonPms(special: boolean = false) {\r\n const v = \"1.0.1\";\r\n const did = getCanvas();\r\n const dh = getOsInfo();\r\n const BrowerInfo = getBrowerInfo();\r\n const db = BrowerInfo.client.name;\r\n const dv = BrowerInfo.client.version;\r\n if (!special) {\r\n const t = new Date().getTime();\r\n const pms = `v=${v}&&did=${did}&&dh=${dh}&&db=${db}&&dv=${dv}&&dm=&&lat=&&lng=&&t=${t}`;\r\n return pms;\r\n } else {\r\n const pms = `v=${v}&&did=${did}&&dh=${dh}&&db=${db}&&dv=${dv}&&dm=&&lat=&&lng=&&t=`;\r\n return pms;\r\n }\r\n\r\n\r\n\r\n}\r\n\r\n/**\r\n * 判断是否是移动端\r\n */\r\nexport function isMobileBrowser() {\r\n if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {\r\n return true;\r\n }\r\n return false;\r\n}\r\n\r\nfunction padLeftZero(str: string) {\r\n return ('00' + str).substr(str.length)\r\n}\r\n\r\n/**\r\n * 时间转换成字符串\r\n * @param date 时间\r\n * @param fmt 转换格式\r\n */\r\nexport function formatDate(date: Date, fmt = 'yyyy-MM-dd hh:mm:ss') {\r\n if (!date) {\r\n return \"\";\r\n }\r\n if (typeof date === 'string') {\r\n date = new Date(date);\r\n }\r\n if (/(y+)/.test(fmt)) {\r\n fmt = fmt.replace(RegExp.$1, (date.getFullYear() + '').substr(4 - RegExp.$1.length));\r\n }\r\n let o: any = {\r\n 'M+': date.getMonth() + 1,\r\n 'd+': date.getDate(),\r\n 'h+': date.getHours(),\r\n 'm+': date.getMinutes(),\r\n 's+': date.getSeconds()\r\n }\r\n for (let k in o) {\r\n let str = o[k] + '';\r\n if (new RegExp(`(${k})`).test(fmt)) {\r\n fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? str : padLeftZero(str));\r\n }\r\n }\r\n return fmt;\r\n}\r\n\r\n/**\r\n * 获取当前所在系统\r\n */\r\nexport function CheckPlatform() {\r\n if (/Win/i.test(navigator.platform)) {\r\n return \"PC-WINDOWS\";\r\n } else if (/Mac/i.test(navigator.platform)) {\r\n return \"PC-MAC\";\r\n } else if (/android/.test(navigator.userAgent)) {\r\n return \"ANDROID\";\r\n } else if (/Linux/i.test(navigator.platform)) {\r\n return \"ANDROID\";\r\n } else if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.platform)) {\r\n return \"IOS\";\r\n } else {\r\n return \"\";\r\n }\r\n}\r\n\r\n/**\r\n * \r\n * 判断是否为空,为空默认为0\r\n * @param info 数据\r\n * \r\n */\r\nexport function isNull(info:any){ \r\n return info == null ? (info = \"0\") : (info = info); \r\n}\r\n\r\n/**\r\n * 金钱转换\r\n * @param num 要转换的金钱\r\n * @param isSymbol 是否显示金钱符号 默认:true\r\n * @param isConvertPoint 是否转换成分显示 默认:厘转分\r\n */\r\nexport function toMoney(num:any,isSymbol:boolean=true,isConvertPoint:any=false){\r\n if (num) {\r\n if (isNaN(num)) {\r\n return;\r\n } \r\n num = typeof num == \"string\" ? parseFloat(num) : num//判断是否是字符串如果是字符串转成数字\r\n if(isConvertPoint){\r\n num=num/100;\r\n }\r\n num = num.toFixed(2);//保留两位\r\n num = parseFloat(num);//转成数字\r\n num = num.toLocaleString();//转成金额显示模式\r\n //判断是否有小数\r\n if (num.indexOf(\".\") == -1) {\r\n num = \"¥\" + num + \".00\";\r\n } else {\r\n num = num.split(\".\")[1].length < 2 ? \"¥\" + num + \"0\" : \"¥\" + num;\r\n }\r\n if(!isSymbol){\r\n num=num.replace(\"¥\",\"\");\r\n }\r\n \r\n return num;//返回的是字符串23,245.12保留2位小数\r\n } else {\r\n return num = 0.00;\r\n }\r\n}\r\n\r\n\r\n"],"sourceRoot":""}
\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -97,9 +97,9 @@ function getPathByTo(to, authcode_key) { ...@@ -97,9 +97,9 @@ function getPathByTo(to, authcode_key) {
} }
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
if (isOpenHttps === 'true' && location.href.startsWith('http://')) { // if (isOpenHttps === 'true' && location.href.startsWith('http://')) {
location.href = location.href.replace('http://', 'https://'); // location.href = location.href.replace('http://', 'https://');
} // }
const requiresAuth = to.matched.some((record) => record.meta.requiresAuth); const requiresAuth = to.matched.some((record) => record.meta.requiresAuth);
//更改标题 //更改标题
if (to.meta.title) { if (to.meta.title) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment