Commit 46bb8f11 by cocomilk2012

update

parent b98c7df5
<!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=/selfservice/favicon.ico><title></title><link href=/selfservice/css/chunk-19e87806.f544a705.css rel=prefetch><link href=/selfservice/css/chunk-335a4254.9845d6c1.css rel=prefetch><link href=/selfservice/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/selfservice/css/chunk-35faaf00.e7edfb19.css rel=prefetch><link href=/selfservice/css/chunk-70204596.2509e660.css rel=prefetch><link href=/selfservice/css/chunk-79c85055.82976e65.css rel=prefetch><link href=/selfservice/css/chunk-80379f08.0035f549.css rel=prefetch><link href=/selfservice/css/chunk-84a78220.82976e65.css rel=prefetch><link href=/selfservice/css/chunk-8789f142.6f40ff2b.css rel=prefetch><link href=/selfservice/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/selfservice/css/chunk-f37f02b6.ec1c8960.css rel=prefetch><link href=/selfservice/css/chunk-f59847e6.dc9f4765.css rel=prefetch><link href=/selfservice/js/chunk-0cb1789e.5116890e.js rel=prefetch><link href=/selfservice/js/chunk-19e87806.22a91e6e.js rel=prefetch><link href=/selfservice/js/chunk-335a4254.827488f9.js rel=prefetch><link href=/selfservice/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/selfservice/js/chunk-35faaf00.90cbe195.js rel=prefetch><link href=/selfservice/js/chunk-3f4d721c.592a5462.js rel=prefetch><link href=/selfservice/js/chunk-4635e66c.44ffb30b.js rel=prefetch><link href=/selfservice/js/chunk-70204596.c8e34564.js rel=prefetch><link href=/selfservice/js/chunk-7052aa18.701e060a.js rel=prefetch><link href=/selfservice/js/chunk-79c85055.3fcf6d5b.js rel=prefetch><link href=/selfservice/js/chunk-80379f08.a3a36ff8.js rel=prefetch><link href=/selfservice/js/chunk-84a78220.7c958afd.js rel=prefetch><link href=/selfservice/js/chunk-8789f142.cec312cc.js rel=prefetch><link href=/selfservice/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/selfservice/js/chunk-f37f02b6.9eeb8b8d.js rel=prefetch><link href=/selfservice/js/chunk-f59847e6.58a1d28a.js rel=prefetch><link href=/selfservice/css/app.1c666bb8.css rel=preload as=style><link href=/selfservice/js/app.6e8ad015.js rel=preload as=script><link href=/selfservice/js/chunk-vendors.d7070df8.js rel=preload as=script><link rel="shortcut icon" href=/selfservice/favicon.ico><link href=/selfservice/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=/selfservice/js/chunk-vendors.d7070df8.js></script><script src=/selfservice/js/app.6e8ad015.js></script></body></html>
\ No newline at end of file
<!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=/selfservice/favicon.ico><title></title><link href=/selfservice/css/chunk-19e87806.f544a705.css rel=prefetch><link href=/selfservice/css/chunk-335a4254.9845d6c1.css rel=prefetch><link href=/selfservice/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/selfservice/css/chunk-35faaf00.e7edfb19.css rel=prefetch><link href=/selfservice/css/chunk-70204596.2509e660.css rel=prefetch><link href=/selfservice/css/chunk-79c85055.82976e65.css rel=prefetch><link href=/selfservice/css/chunk-80379f08.0035f549.css rel=prefetch><link href=/selfservice/css/chunk-84a78220.82976e65.css rel=prefetch><link href=/selfservice/css/chunk-8789f142.6f40ff2b.css rel=prefetch><link href=/selfservice/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/selfservice/css/chunk-f37f02b6.ec1c8960.css rel=prefetch><link href=/selfservice/css/chunk-f59847e6.dc9f4765.css rel=prefetch><link href=/selfservice/js/chunk-0cb1789e.5116890e.js rel=prefetch><link href=/selfservice/js/chunk-19e87806.22a91e6e.js rel=prefetch><link href=/selfservice/js/chunk-335a4254.827488f9.js rel=prefetch><link href=/selfservice/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/selfservice/js/chunk-35faaf00.90cbe195.js rel=prefetch><link href=/selfservice/js/chunk-3f4d721c.592a5462.js rel=prefetch><link href=/selfservice/js/chunk-4635e66c.44ffb30b.js rel=prefetch><link href=/selfservice/js/chunk-70204596.c8e34564.js rel=prefetch><link href=/selfservice/js/chunk-7052aa18.701e060a.js rel=prefetch><link href=/selfservice/js/chunk-79c85055.3fcf6d5b.js rel=prefetch><link href=/selfservice/js/chunk-80379f08.a3a36ff8.js rel=prefetch><link href=/selfservice/js/chunk-84a78220.7c958afd.js rel=prefetch><link href=/selfservice/js/chunk-8789f142.d25b03fd.js rel=prefetch><link href=/selfservice/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/selfservice/js/chunk-f37f02b6.9eeb8b8d.js rel=prefetch><link href=/selfservice/js/chunk-f59847e6.58a1d28a.js rel=prefetch><link href=/selfservice/css/app.1c666bb8.css rel=preload as=style><link href=/selfservice/js/app.fc45e466.js rel=preload as=script><link href=/selfservice/js/chunk-vendors.d7070df8.js rel=preload as=script><link rel="shortcut icon" href=/selfservice/favicon.ico><link href=/selfservice/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=/selfservice/js/chunk-vendors.d7070df8.js></script><script src=/selfservice/js/app.fc45e466.js></script></body></html>
\ 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-335a4254":"827488f9","chunk-35faaf00":"90cbe195","chunk-4635e66c":"44ffb30b","chunk-70204596":"c8e34564","chunk-7052aa18":"701e060a","chunk-0cb1789e":"5116890e","chunk-f37f02b6":"9eeb8b8d","chunk-f59847e6":"58a1d28a","chunk-80379f08":"a3a36ff8","chunk-84a78220":"7c958afd","chunk-8789f142":"cec312cc","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-335a4254":1,"chunk-35faaf00":1,"chunk-70204596":1,"chunk-f37f02b6":1,"chunk-f59847e6":1,"chunk-80379f08":1,"chunk-84a78220":1,"chunk-8789f142":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-335a4254":"9845d6c1","chunk-35faaf00":"e7edfb19","chunk-4635e66c":"31d6cfe0","chunk-70204596":"2509e660","chunk-7052aa18":"31d6cfe0","chunk-0cb1789e":"31d6cfe0","chunk-f37f02b6":"ec1c8960","chunk-f59847e6":"dc9f4765","chunk-80379f08":"0035f549","chunk-84a78220":"82976e65","chunk-8789f142":"6f40ff2b","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="/selfservice/",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-8789f142")]).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-35faaf00")]).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-f37f02b6")]).then(t.bind(null,"a128"))}},{path:"/chooseCompany",name:"ChooseCompany",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-84a78220")]).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-335a4254")]).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 k(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 g(){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=k(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=g(),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:"/selfservice/",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 q(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=q(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=U,A=t("2f62"),C=(t("96cf"),t("1da1")),P=function(){return{userInfo:{},accessToken:"",anymouseAccessToken:"",companyAccessToken:""}},j={state:P(),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}()}},_=j;o["a"].use(A["a"]);var T,W=new A["a"].Store({modules:{employee:_}}),L=W,D=(t("5cfb"),t("d4ec")),F=t("bee2"),M=t("d399");T=y.a.create({timeout:6e4}),T.interceptors.request.use((function(e){return e}),(function(e){Promise.reject(e)})),T.interceptors.response.use((function(e){if(200===e.status){var n=e.data;return n.status?n.status?n.data:(Object(M["a"])(n.message),Promise.reject(new Error(e.data.errcode||"Error"))):n}}),(function(e){return Promise.reject(e)}));var R=T,N=t("e665"),V=function(){function e(){Object(D["a"])(this,e)}return Object(F["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(R.get("".concat(e,"?").concat(Object(N["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(R.post("".concat(e,"?").concat(Object(N["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(R.put("".concat(e,"?").concat(Object(N["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(R.delete("".concat(e,"?").concat(Object(N["a"])()),{params:n,headers:t}))}))}}]),e}(),$=new V,B=function e(){Object(D["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"},G=new B,Q=function(){function e(){var n=this;Object(D["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(F["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=G.userInfoUrl+"/userAuthDetails",e.abrupt("return",$.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=G.employeeUrl+"/api/user/employee/".concat(e.idNo,"/dispatch/companies");return $.get(n,e,this.header)}},{key:"getDispatchInfo",value:function(e){var n=G.employeeUrl+"/api/user/dispatch/companies/".concat(e.spId,"/employee/").concat(e.idNo,"/info");return $.get(n,e,this.header)}},{key:"getWorkInfoList",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/work");return $.get(n,e,this.header)}},{key:"getWorkInfoDetail",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/work/detail");return $.get(n,e,this.header)}},{key:"updateWorkInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/work/info";return $.put(n,e,this.header)}},{key:"addWorkInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/work/info";return $.post(n,e,this.header)}},{key:"deleteWorkInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/work/".concat(e.edId,"/info");return $.delete(n,e,this.header)}},{key:"getPersonInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/info");return $.get(n,e,this.header)}},{key:"savePersonInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.id,"/info");return $.post(n,e,this.header)}},{key:"getContactInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/contact/info");return $.get(n,e,this.header)}},{key:"saveContactInfo",value:function(e){var n=G.employeeUrl+"/api/user/contact/".concat(e.id,"/info");return $.post(n,e,this.header)}},{key:"getSocialInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/unit/relation");return $.get(n,e,this.header)}},{key:"saveSocialInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/unit/relation/save";return $.post(n,e,this.header)}},{key:"getWageCardInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/salary/card/info");return $.get(n,e,this.header)}},{key:"saveWageCardInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/salary/card/save";return $.post(n,e,this.header)}},{key:"getEduExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/education");return $.get(n,e,this.header)}},{key:"getEduExperienceDetial",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/education/detial");return $.get(n,e,this.header)}},{key:"addEduExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/edu/info";return $.post(n,e,this.header)}},{key:"updateEduExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/edu/info";return $.put(n,e,this.header)}},{key:"deleteEduExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/edu/".concat(e.eduId,"/info");return $.delete(n,e,this.header)}},{key:"getTechnologyExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/expertise/info");return $.get(n,e,this.header)}},{key:"updateTechnologyExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/expertise/info";return $.put(n,e,this.header)}},{key:"getCityList",value:function(e){var n=G.employeeUrl+"/api/user/dispatch/cities";return $.get(n,e,this.header)}},{key:"getSalaryInfo",value:function(e){var n=G.employeeUrl+"/api/user/dispatch/companies/".concat(e.spId,"/employee/").concat(e.idNo,"/payroll");return $.get(n,{},this.header,!1)}},{key:"getSalaryInfoDetail",value:function(e){var n="".concat(G.employeeUrl,"/api/user/employee/salary/").concat(e.id,"/detail");return $.get(n,{},this.header,!1)}},{key:"getFiles",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/files");return $.get(n,e,this.header)}},{key:"setFiles",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/file");return $.put(n,e.req,this.header)}},{key:"delFiles",value:function(e){var n=G.employeeUrl+"/api/user/files/".concat(e.fileId);return $.delete(n,e,this.header)}},{key:"tranFiles",value:function(e){var n=G.salaryUrl+"/general/person/upload";return $.post(n,e,this.headerUp)}},{key:"putFiles",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/commit/file");return $.put(n,e,this.header)}},{key:"getAgileWorker",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.idNo,"/bill/item");return $.get(n,{},this.header)}},{key:"updateBaseInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/base/info");return $.post(n,e,this.header)}}]),e}(),J=new Q,z={EmployeeService:J},H=function(){Object.defineProperties(o["a"].prototype,{$server:{get:function(){return z}}})},X=H,K=(t("522b"),function(e,n,t){return null==e?null:e.substring(n,t)}),Y=function(e,n,t){Object(N["d"])(e,n,t)},Z=function(e,n){return e.replace(/\d{2}:\d{2}:\d{2}/i,"")},ee=function(e){Object(N["c"])(e)},ne=function(e){return e.toString().replace(/\d+/,(function(e){return e.replace(/(\d)(?=(\d{3})+$)/g,(function(e){return e+","}))}))};o["a"].config.productionTip=!1,Object.keys(r).forEach((function(e){o["a"].filter(e,r[e])})),o["a"].use(X),new o["a"]({router:S,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.6e8ad015.js.map
\ 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-335a4254":"827488f9","chunk-35faaf00":"90cbe195","chunk-4635e66c":"44ffb30b","chunk-70204596":"c8e34564","chunk-7052aa18":"701e060a","chunk-0cb1789e":"5116890e","chunk-f37f02b6":"9eeb8b8d","chunk-f59847e6":"58a1d28a","chunk-80379f08":"a3a36ff8","chunk-84a78220":"7c958afd","chunk-8789f142":"d25b03fd","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-335a4254":1,"chunk-35faaf00":1,"chunk-70204596":1,"chunk-f37f02b6":1,"chunk-f59847e6":1,"chunk-80379f08":1,"chunk-84a78220":1,"chunk-8789f142":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-335a4254":"9845d6c1","chunk-35faaf00":"e7edfb19","chunk-4635e66c":"31d6cfe0","chunk-70204596":"2509e660","chunk-7052aa18":"31d6cfe0","chunk-0cb1789e":"31d6cfe0","chunk-f37f02b6":"ec1c8960","chunk-f59847e6":"dc9f4765","chunk-80379f08":"0035f549","chunk-84a78220":"82976e65","chunk-8789f142":"6f40ff2b","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="/selfservice/",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-8789f142")]).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-35faaf00")]).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-f37f02b6")]).then(t.bind(null,"a128"))}},{path:"/chooseCompany",name:"ChooseCompany",component:function(){return Promise.all([t.e("chunk-3f4d721c"),t.e("chunk-84a78220")]).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-335a4254")]).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 k(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 g(){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=k(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=g(),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:"/selfservice/",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 q(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=q(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=U,A=t("2f62"),C=(t("96cf"),t("1da1")),P=function(){return{userInfo:{},accessToken:"",anymouseAccessToken:"",companyAccessToken:""}},j={state:P(),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}()}},_=j;o["a"].use(A["a"]);var T,W=new A["a"].Store({modules:{employee:_}}),L=W,D=(t("5cfb"),t("d4ec")),F=t("bee2"),M=t("d399");T=y.a.create({timeout:6e4}),T.interceptors.request.use((function(e){return e}),(function(e){Promise.reject(e)})),T.interceptors.response.use((function(e){if(200===e.status){var n=e.data;return n.status?n.status?n.data:(Object(M["a"])(n.message),Promise.reject(new Error(e.data.errcode||"Error"))):n}}),(function(e){return Promise.reject(e)}));var R=T,N=t("e665"),V=function(){function e(){Object(D["a"])(this,e)}return Object(F["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(R.get("".concat(e,"?").concat(Object(N["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(R.post("".concat(e,"?").concat(Object(N["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(R.put("".concat(e,"?").concat(Object(N["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(R.delete("".concat(e,"?").concat(Object(N["a"])()),{params:n,headers:t}))}))}}]),e}(),$=new V,B=function e(){Object(D["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"},G=new B,Q=function(){function e(){var n=this;Object(D["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(F["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=G.userInfoUrl+"/userAuthDetails",e.abrupt("return",$.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=G.employeeUrl+"/api/user/employee/".concat(e.idNo,"/dispatch/companies");return $.get(n,e,this.header)}},{key:"getDispatchInfo",value:function(e){var n=G.employeeUrl+"/api/user/dispatch/companies/".concat(e.spId,"/employee/").concat(e.idNo,"/info");return $.get(n,e,this.header)}},{key:"getWorkInfoList",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/work");return $.get(n,e,this.header)}},{key:"getWorkInfoDetail",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/work/detail");return $.get(n,e,this.header)}},{key:"updateWorkInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/work/info";return $.put(n,e,this.header)}},{key:"addWorkInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/work/info";return $.post(n,e,this.header)}},{key:"deleteWorkInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/work/".concat(e.edId,"/info");return $.delete(n,e,this.header)}},{key:"getPersonInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/info");return $.get(n,e,this.header)}},{key:"savePersonInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.id,"/info");return $.post(n,e,this.header)}},{key:"getContactInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/contact/info");return $.get(n,e,this.header)}},{key:"saveContactInfo",value:function(e){var n=G.employeeUrl+"/api/user/contact/".concat(e.id,"/info");return $.post(n,e,this.header)}},{key:"getSocialInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/unit/relation");return $.get(n,e,this.header)}},{key:"saveSocialInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/unit/relation/save";return $.post(n,e,this.header)}},{key:"getWageCardInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/salary/card/info");return $.get(n,e,this.header)}},{key:"saveWageCardInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/salary/card/save";return $.post(n,e,this.header)}},{key:"getEduExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/education");return $.get(n,e,this.header)}},{key:"getEduExperienceDetial",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/education/detial");return $.get(n,e,this.header)}},{key:"addEduExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/edu/info";return $.post(n,e,this.header)}},{key:"updateEduExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/edu/info";return $.put(n,e,this.header)}},{key:"deleteEduExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/edu/".concat(e.eduId,"/info");return $.delete(n,e,this.header)}},{key:"getTechnologyExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/expertise/info");return $.get(n,e,this.header)}},{key:"updateTechnologyExperience",value:function(e){var n=G.employeeUrl+"/api/user/employee/expertise/info";return $.put(n,e,this.header)}},{key:"getCityList",value:function(e){var n=G.employeeUrl+"/api/user/dispatch/cities";return $.get(n,e,this.header)}},{key:"getSalaryInfo",value:function(e){var n=G.employeeUrl+"/api/user/dispatch/companies/".concat(e.spId,"/employee/").concat(e.idNo,"/payroll");return $.get(n,{},this.header,!1)}},{key:"getSalaryInfoDetail",value:function(e){var n="".concat(G.employeeUrl,"/api/user/employee/salary/").concat(e.id,"/detail");return $.get(n,{},this.header,!1)}},{key:"getFiles",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/files");return $.get(n,e,this.header)}},{key:"setFiles",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/file");return $.put(n,e.req,this.header)}},{key:"delFiles",value:function(e){var n=G.employeeUrl+"/api/user/files/".concat(e.fileId);return $.delete(n,e,this.header)}},{key:"tranFiles",value:function(e){var n=G.salaryUrl+"/general/person/upload";return $.post(n,e,this.headerUp)}},{key:"putFiles",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/commit/file");return $.put(n,e,this.header)}},{key:"getAgileWorker",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.idNo,"/bill/item");return $.get(n,{},this.header)}},{key:"updateBaseInfo",value:function(e){var n=G.employeeUrl+"/api/user/employee/".concat(e.edId,"/base/info");return $.post(n,e,this.header)}}]),e}(),J=new Q,z={EmployeeService:J},H=function(){Object.defineProperties(o["a"].prototype,{$server:{get:function(){return z}}})},X=H,K=(t("522b"),function(e,n,t){return null==e?null:e.substring(n,t)}),Y=function(e,n,t){Object(N["d"])(e,n,t)},Z=function(e,n){return e.replace(/\d{2}:\d{2}:\d{2}/i,"")},ee=function(e){Object(N["c"])(e)},ne=function(e){return e.toString().replace(/\d+/,(function(e){return e.replace(/(\d)(?=(\d{3})+$)/g,(function(e){return e+","}))}))};o["a"].config.productionTip=!1,Object.keys(r).forEach((function(e){o["a"].filter(e,r[e])})),o["a"].use(X),new o["a"]({router:S,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.fc45e466.js.map
\ No newline at end of file
This diff could not be displayed because it is too large.
{"version":3,"sources":["webpack:///./src/assets/images/agent/dispatch-employee.png","webpack:///./src/views/SelectIdentity.vue?5927","webpack:///./src/views/SelectIdentity.vue?822a","webpack:///./src/views/SelectIdentity.vue?eaa3","webpack:///./src/views/SelectIdentity.vue","webpack:///./src/assets/images/agent/flex-employee.png","webpack:///./src/views/SelectIdentity.vue?6b93"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","no_data","company_num","attrs","on","toIndex_click","_m","_e","toFlex_click","staticStyle","staticRenderFns","_v","SelectIdentity","id_no","dispatch_list","id_no_encrytion","$router","push","name","query","sp_id","ChooseCompany","id","toIndex","$server","EmployeeService","getUserInfo","then","res","catch","err","console","log","getDispatchList","idNo","loading","duration","message","forbidClick","clear","encodeURI","window","btoa","length","components","component"],"mappings":"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","file":"js/chunk-8789f142.cec312cc.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/dispatch-employee.2148c295.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"si-box\"},[(!_vm.no_data && _vm.company_num > 0)?_c('a',{staticClass:\"si-child\",attrs:{\"id\":\"dispatch-employee\"},on:{\"click\":_vm.toIndex_click}},[_c('img',{attrs:{\"src\":require(\"../assets/images/agent/dispatch-employee.png\"),\"alt\":\"\"}}),_vm._m(0)]):_vm._e(),(!_vm.no_data)?_c('a',{staticClass:\"si-child\",attrs:{\"id\":\"flex-employee\"},on:{\"click\":_vm.toFlex_click}},[_c('img',{attrs:{\"src\":require(\"../assets/images/agent/flex-employee.png\"),\"alt\":\"\"}}),_vm._m(1)]):_vm._e(),(_vm.no_data)?_c('a',{staticClass:\"si-child\",staticStyle:{\"height\":\"150px\",\"background\":\"#fff\",\"margin-top\":\"200px\",\"text-align\":\"center\"},attrs:{\"id\":\"flex-employee\",\"href\":\"qqxb://native/identityVerification\"}},[_vm._m(2)]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"si-child-desc\"},[_c('h4',[_vm._v(\"我是派遣员工\")]),_c('p',[_vm._v(\"可查看编辑自己的劳务派遣员工档案信息\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"si-child-desc\"},[_c('h4',[_vm._v(\"我是灵活用工人员\")]),_c('p',[_vm._v(\"可查看灵活用工人员任务信息\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"si-child-desc \",staticStyle:{\"width\":\"100%\"}},[_c('h4',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"您还未实名认证,不可进行查询\")]),_c('h4',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"请先去进行实名认证后再查询\")]),_c('p',{staticStyle:{\"text-align\":\"center\",\"border\":\"1px solid #077aec\",\"border-radius\":\"5px\",\"color\":\"#077aec\",\"width\":\"80px\",\"height\":\"30px\",\"line-height\":\"30px\",\"background\":\"#fff\",\"margin\":\"20px auto\"}},[_vm._v(\"去认证\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport { Toast, Dialog } from \"vant\";\r\n@Component({\r\n components: {}\r\n})\r\nexport default class SelectIdentity extends Vue {\r\n private id_no: string = \"\";\r\n private dispatch_list: any[] = [];\r\n private no_data: boolean = false;\r\n private loading: any;\r\n\r\n get id_no_encrytion(): string {\r\n return encodeURI(window.btoa(this.id_no));\r\n }\r\n\r\n get company_num(): number {\r\n return this.dispatch_list.length;\r\n }\r\n\r\n private toFlex_click(): void {\r\n if (this.id_no_encrytion) {\r\n this.$router.push({\r\n name: \"FlexEmployee\",\r\n query: { id_no: this.id_no_encrytion }\r\n });\r\n }\r\n }\r\n\r\n private toIndex(sp_id: string): void {\r\n this.$router.push({\r\n name: \"Index\",\r\n query: { id_no: this.id_no_encrytion, sp_id: sp_id }\r\n });\r\n }\r\n\r\n private ChooseCompany() {\r\n this.$router.push({\r\n name: \"ChooseCompany\",\r\n query: { id_no: this.id_no_encrytion }\r\n });\r\n }\r\n\r\n private toIndex_click(): void {\r\n if (this.company_num > 1) {\r\n this.ChooseCompany();\r\n }\r\n\r\n if (this.company_num == 1) {\r\n const sp_id: string = this.dispatch_list[0].id as string;\r\n this.toIndex(sp_id);\r\n }\r\n }\r\n\r\n private async getUserInfo() {\r\n await this.$server.EmployeeService.getUserInfo({})\r\n .then(res => {\r\n if (false&&res.data && res.data.uthStatus && res.data.uthStatus > 0) {\r\n\r\n this.id_no = res.data.personalIdCardNo;\r\n localStorage.setItem(\"id_no\", res.data.personalIdCardNo);\r\n localStorage.setItem(\"name\", res.data.personalName);\r\n localStorage.setItem(\"sex\", res.data.sex);\r\n localStorage.setItem(\"birthday\", res.data.birthday);\r\n } else {\r\n //TODO: 跳转到实名认证\r\n this.no_data = true;\r\n \r\n }\r\n })\r\n .catch(err => {\r\n console.log(\"err=\");\r\n });\r\n }\r\n\r\n private async getDispatchList() {\r\n await this.$server.EmployeeService.getDispatchList({ idNo: this.id_no })\r\n .then(res => {\r\n console.log(\"getDispatchList res=\", res);\r\n this.dispatch_list = res;\r\n })\r\n .catch(err => {\r\n console.log(\"err=\", err);\r\n });\r\n }\r\n\r\n async created() {\r\n \r\n this.loading = Toast.loading({\r\n duration: 0,\r\n message: \"加载中...\",\r\n forbidClick: true\r\n });\r\n await this.getUserInfo();\r\n if (this.id_no) {\r\n //await this.getDispatchList();\r\n }\r\n this.loading.clear();\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIdentity.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIdentity.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SelectIdentity.vue?vue&type=template&id=69af75a5&\"\nimport script from \"./SelectIdentity.vue?vue&type=script&lang=ts&\"\nexport * from \"./SelectIdentity.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SelectIdentity.vue?vue&type=style&index=0&lang=less&\"\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","module.exports = __webpack_public_path__ + \"img/flex-employee.d871e4bd.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIdentity.vue?vue&type=style&index=0&lang=less&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIdentity.vue?vue&type=style&index=0&lang=less&\""],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8789f142"],{"39bb":function(t,e,n){},"5c2b":function(t,e,n){t.exports=n.p+"img/dispatch-employee.2148c295.png"},"5eb9":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"si-box"},[!t.no_data&&t.company_num>0?i("a",{staticClass:"si-child",attrs:{id:"dispatch-employee"},on:{click:t.toIndex_click}},[i("img",{attrs:{src:n("5c2b"),alt:""}}),t._m(0)]):t._e(),t.no_data?t._e():i("a",{staticClass:"si-child",attrs:{id:"flex-employee"},on:{click:t.toFlex_click}},[i("img",{attrs:{src:n("ad2d"),alt:""}}),t._m(1)]),t.no_data?i("a",{staticClass:"si-child",staticStyle:{height:"150px",background:"#fff","margin-top":"200px","text-align":"center"},attrs:{id:"flex-employee",href:"qqxb://native/identityVerification"}},[t._m(2)]):t._e()])},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc"},[n("h4",[t._v("我是派遣员工")]),n("p",[t._v("可查看编辑自己的劳务派遣员工档案信息")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc"},[n("h4",[t._v("我是灵活用工人员")]),n("p",[t._v("可查看灵活用工人员任务信息")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc ",staticStyle:{width:"100%"}},[n("h4",{staticStyle:{"text-align":"center"}},[t._v("您还未实名认证,不可进行查询")]),n("h4",{staticStyle:{"text-align":"center"}},[t._v("请先去进行实名认证后再查询")]),n("p",{staticStyle:{"text-align":"center",border:"1px solid #077aec","border-radius":"5px",color:"#077aec",width:"80px",height:"30px","line-height":"30px",background:"#fff",margin:"20px auto"}},[t._v("去认证")])])}],c=(n("6b54"),n("2397"),n("96cf"),n("1da1")),a=n("d4ec"),o=n("bee2"),s=n("262e"),u=n("99de"),l=n("7e84"),h=n("9ab4"),d=n("60a3"),p=n("d399");function f(t){var e=_();return function(){var n,i=Object(l["a"])(t);if(e){var r=Object(l["a"])(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Object(u["a"])(this,n)}}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var y=function(){var t=function(t){Object(s["a"])(n,t);var e=f(n);function n(){var t;return Object(a["a"])(this,n),t=e.apply(this,arguments),t.id_no="",t.dispatch_list=[],t.no_data=!1,t}return Object(o["a"])(n,[{key:"toFlex_click",value:function(){this.id_no_encrytion&&this.$router.push({name:"FlexEmployee",query:{id_no:this.id_no_encrytion}})}},{key:"toIndex",value:function(t){this.$router.push({name:"Index",query:{id_no:this.id_no_encrytion,sp_id:t}})}},{key:"ChooseCompany",value:function(){this.$router.push({name:"ChooseCompany",query:{id_no:this.id_no_encrytion}})}},{key:"toIndex_click",value:function(){if(this.company_num>1&&this.ChooseCompany(),1==this.company_num){var t=this.dispatch_list[0].id;this.toIndex(t)}}},{key:"getUserInfo",value:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getUserInfo({}).then((function(t){e.no_data=!0})).catch((function(t){console.log("err=")}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getDispatchList",value:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getDispatchList({idNo:this.id_no}).then((function(t){console.log("getDispatchList res=",t),e.dispatch_list=t})).catch((function(t){console.log("err=",t)}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"created",value:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loading=p["a"].loading({duration:0,message:"加载中...",forbidClick:!0}),t.next=3,this.getUserInfo();case 3:this.id_no,this.loading.clear();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"id_no_encrytion",get:function(){return encodeURI(window.btoa(this.id_no))}},{key:"company_num",get:function(){return this.dispatch_list.length}}]),n}(d["c"]);return t=Object(h["a"])([Object(d["a"])({components:{}})],t),t}(),m=y,v=m,g=(n("d1c6"),n("2877")),x=Object(g["a"])(v,i,r,!1,null,null,null);e["default"]=x.exports},ad2d:function(t,e,n){t.exports=n.p+"img/flex-employee.d871e4bd.png"},d1c6:function(t,e,n){"use strict";var i=n("39bb"),r=n.n(i);r.a}}]);
//# sourceMappingURL=chunk-8789f142.cec312cc.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8789f142"],{"39bb":function(t,e,n){},"5c2b":function(t,e,n){t.exports=n.p+"img/dispatch-employee.2148c295.png"},"5eb9":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"si-box"},[!t.no_data&&t.company_num>0?i("a",{staticClass:"si-child",attrs:{id:"dispatch-employee"},on:{click:t.toIndex_click}},[i("img",{attrs:{src:n("5c2b"),alt:""}}),t._m(0)]):t._e(),t.no_data?t._e():i("a",{staticClass:"si-child",attrs:{id:"flex-employee"},on:{click:t.toFlex_click}},[i("img",{attrs:{src:n("ad2d"),alt:""}}),t._m(1)]),t.no_data?i("a",{staticClass:"si-child",staticStyle:{height:"150px",background:"#fff","margin-top":"200px","text-align":"center"},attrs:{id:"flex-employee",href:"qqxb://native/identityVerification"}},[t._m(2)]):t._e()])},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc"},[n("h4",[t._v("我是派遣员工")]),n("p",[t._v("可查看编辑自己的劳务派遣员工档案信息")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc"},[n("h4",[t._v("我是灵活用工人员")]),n("p",[t._v("可查看灵活用工人员任务信息")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc ",staticStyle:{width:"100%"}},[n("h4",{staticStyle:{"text-align":"center"}},[t._v("您还未实名认证,不可进行查询")]),n("h4",{staticStyle:{"text-align":"center"}},[t._v("请先去进行实名认证后再查询")]),n("p",{staticStyle:{"text-align":"center",border:"1px solid #077aec","border-radius":"5px",color:"#077aec",width:"80px",height:"30px","line-height":"30px",background:"#fff",margin:"20px auto"}},[t._v("去认证")])])}],r=(n("6b54"),n("2397"),n("96cf"),n("1da1")),c=n("d4ec"),o=n("bee2"),s=n("262e"),u=n("99de"),l=n("7e84"),d=n("9ab4"),h=n("60a3"),p=n("d399");function f(t){var e=_();return function(){var n,i=Object(l["a"])(t);if(e){var a=Object(l["a"])(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return Object(u["a"])(this,n)}}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var m=function(){var t=function(t){Object(s["a"])(n,t);var e=f(n);function n(){var t;return Object(c["a"])(this,n),t=e.apply(this,arguments),t.id_no="",t.dispatch_list=[],t.no_data=!1,t}return Object(o["a"])(n,[{key:"toFlex_click",value:function(){this.id_no_encrytion&&this.$router.push({name:"FlexEmployee",query:{id_no:this.id_no_encrytion}})}},{key:"toIndex",value:function(t){this.$router.push({name:"Index",query:{id_no:this.id_no_encrytion,sp_id:t}})}},{key:"ChooseCompany",value:function(){this.$router.push({name:"ChooseCompany",query:{id_no:this.id_no_encrytion}})}},{key:"toIndex_click",value:function(){if(this.company_num>1&&this.ChooseCompany(),1==this.company_num){var t=this.dispatch_list[0].id;this.toIndex(t)}}},{key:"getUserInfo",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getUserInfo({}).then((function(t){t.data&&t.data.uthStatus&&t.data.uthStatus>0?(e.id_no=t.data.personalIdCardNo,localStorage.setItem("id_no",t.data.personalIdCardNo),localStorage.setItem("name",t.data.personalName),localStorage.setItem("sex",t.data.sex),localStorage.setItem("birthday",t.data.birthday)):e.no_data=!0})).catch((function(t){console.log("err=")}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getDispatchList",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getDispatchList({idNo:this.id_no}).then((function(t){console.log("getDispatchList res=",t),e.dispatch_list=t})).catch((function(t){console.log("err=",t)}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"created",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loading=p["a"].loading({duration:0,message:"加载中...",forbidClick:!0}),t.next=3,this.getUserInfo();case 3:this.id_no,this.loading.clear();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"id_no_encrytion",get:function(){return encodeURI(window.btoa(this.id_no))}},{key:"company_num",get:function(){return this.dispatch_list.length}}]),n}(h["c"]);return t=Object(d["a"])([Object(h["a"])({components:{}})],t),t}(),y=m,v=y,g=(n("d1c6"),n("2877")),x=Object(g["a"])(v,i,a,!1,null,null,null);e["default"]=x.exports},ad2d:function(t,e,n){t.exports=n.p+"img/flex-employee.d871e4bd.png"},d1c6:function(t,e,n){"use strict";var i=n("39bb"),a=n.n(i);a.a}}]);
//# sourceMappingURL=chunk-8789f142.d25b03fd.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/images/agent/dispatch-employee.png","webpack:///./src/views/SelectIdentity.vue?c1c0","webpack:///./src/views/SelectIdentity.vue?822a","webpack:///./src/views/SelectIdentity.vue?eaa3","webpack:///./src/views/SelectIdentity.vue","webpack:///./src/assets/images/agent/flex-employee.png","webpack:///./src/views/SelectIdentity.vue?6b93"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","no_data","company_num","attrs","on","toIndex_click","_m","_e","toFlex_click","staticStyle","staticRenderFns","_v","SelectIdentity","id_no","dispatch_list","id_no_encrytion","$router","push","name","query","sp_id","ChooseCompany","id","toIndex","$server","EmployeeService","getUserInfo","then","res","data","uthStatus","personalIdCardNo","localStorage","setItem","personalName","sex","birthday","catch","err","console","log","getDispatchList","idNo","loading","duration","message","forbidClick","clear","encodeURI","window","btoa","length","components","component"],"mappings":"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","file":"js/chunk-8789f142.d25b03fd.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/dispatch-employee.2148c295.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"si-box\"},[(!_vm.no_data && _vm.company_num > 0)?_c('a',{staticClass:\"si-child\",attrs:{\"id\":\"dispatch-employee\"},on:{\"click\":_vm.toIndex_click}},[_c('img',{attrs:{\"src\":require(\"../assets/images/agent/dispatch-employee.png\"),\"alt\":\"\"}}),_vm._m(0)]):_vm._e(),(!_vm.no_data)?_c('a',{staticClass:\"si-child\",attrs:{\"id\":\"flex-employee\"},on:{\"click\":_vm.toFlex_click}},[_c('img',{attrs:{\"src\":require(\"../assets/images/agent/flex-employee.png\"),\"alt\":\"\"}}),_vm._m(1)]):_vm._e(),(_vm.no_data)?_c('a',{staticClass:\"si-child\",staticStyle:{\"height\":\"150px\",\"background\":\"#fff\",\"margin-top\":\"200px\",\"text-align\":\"center\"},attrs:{\"id\":\"flex-employee\",\"href\":\"qqxb://native/identityVerification\"}},[_vm._m(2)]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"si-child-desc\"},[_c('h4',[_vm._v(\"我是派遣员工\")]),_c('p',[_vm._v(\"可查看编辑自己的劳务派遣员工档案信息\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"si-child-desc\"},[_c('h4',[_vm._v(\"我是灵活用工人员\")]),_c('p',[_vm._v(\"可查看灵活用工人员任务信息\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"si-child-desc \",staticStyle:{\"width\":\"100%\"}},[_c('h4',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"您还未实名认证,不可进行查询\")]),_c('h4',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"请先去进行实名认证后再查询\")]),_c('p',{staticStyle:{\"text-align\":\"center\",\"border\":\"1px solid #077aec\",\"border-radius\":\"5px\",\"color\":\"#077aec\",\"width\":\"80px\",\"height\":\"30px\",\"line-height\":\"30px\",\"background\":\"#fff\",\"margin\":\"20px auto\"}},[_vm._v(\"去认证\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport { Toast, Dialog } from \"vant\";\r\n@Component({\r\n components: {}\r\n})\r\nexport default class SelectIdentity extends Vue {\r\n private id_no: string = \"\";\r\n private dispatch_list: any[] = [];\r\n private no_data: boolean = false;\r\n private loading: any;\r\n\r\n get id_no_encrytion(): string {\r\n return encodeURI(window.btoa(this.id_no));\r\n }\r\n\r\n get company_num(): number {\r\n return this.dispatch_list.length;\r\n }\r\n\r\n private toFlex_click(): void {\r\n if (this.id_no_encrytion) {\r\n this.$router.push({\r\n name: \"FlexEmployee\",\r\n query: { id_no: this.id_no_encrytion }\r\n });\r\n }\r\n }\r\n\r\n private toIndex(sp_id: string): void {\r\n this.$router.push({\r\n name: \"Index\",\r\n query: { id_no: this.id_no_encrytion, sp_id: sp_id }\r\n });\r\n }\r\n\r\n private ChooseCompany() {\r\n this.$router.push({\r\n name: \"ChooseCompany\",\r\n query: { id_no: this.id_no_encrytion }\r\n });\r\n }\r\n\r\n private toIndex_click(): void {\r\n if (this.company_num > 1) {\r\n this.ChooseCompany();\r\n }\r\n\r\n if (this.company_num == 1) {\r\n const sp_id: string = this.dispatch_list[0].id as string;\r\n this.toIndex(sp_id);\r\n }\r\n }\r\n\r\n private async getUserInfo() {\r\n await this.$server.EmployeeService.getUserInfo({})\r\n .then(res => {\r\n if (res.data && res.data.uthStatus && res.data.uthStatus > 0) {\r\n\r\n this.id_no = res.data.personalIdCardNo;\r\n localStorage.setItem(\"id_no\", res.data.personalIdCardNo);\r\n localStorage.setItem(\"name\", res.data.personalName);\r\n localStorage.setItem(\"sex\", res.data.sex);\r\n localStorage.setItem(\"birthday\", res.data.birthday);\r\n } else {\r\n //TODO: 跳转到实名认证\r\n this.no_data = true;\r\n }\r\n })\r\n .catch(err => {\r\n console.log(\"err=\");\r\n });\r\n }\r\n\r\n private async getDispatchList() {\r\n await this.$server.EmployeeService.getDispatchList({ idNo: this.id_no })\r\n .then(res => {\r\n console.log(\"getDispatchList res=\", res);\r\n this.dispatch_list = res;\r\n })\r\n .catch(err => {\r\n console.log(\"err=\", err);\r\n });\r\n }\r\n\r\n async created() {\r\n \r\n this.loading = Toast.loading({\r\n duration: 0,\r\n message: \"加载中...\",\r\n forbidClick: true\r\n });\r\n await this.getUserInfo();\r\n if (this.id_no) {\r\n //await this.getDispatchList();\r\n }\r\n this.loading.clear();\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIdentity.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIdentity.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SelectIdentity.vue?vue&type=template&id=f05aa89a&\"\nimport script from \"./SelectIdentity.vue?vue&type=script&lang=ts&\"\nexport * from \"./SelectIdentity.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SelectIdentity.vue?vue&type=style&index=0&lang=less&\"\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","module.exports = __webpack_public_path__ + \"img/flex-employee.d871e4bd.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIdentity.vue?vue&type=style&index=0&lang=less&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIdentity.vue?vue&type=style&index=0&lang=less&\""],"sourceRoot":""}
\ No newline at end of file
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