Commit 65c544e3 by cocomilk2012

update

parent 46368c4c
<!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-19e87806.f544a705.css rel=prefetch><link href=/css/chunk-335a4254.9845d6c1.css rel=prefetch><link href=/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/css/chunk-35faaf00.47888678.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-84a78220.82976e65.css rel=prefetch><link href=/css/chunk-8789f142.6f40ff2b.css rel=prefetch><link href=/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/css/chunk-f37f02b6.ec1c8960.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-19e87806.22a91e6e.js rel=prefetch><link href=/js/chunk-335a4254.827488f9.js rel=prefetch><link href=/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/js/chunk-35faaf00.e682be69.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-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.a3a36ff8.js rel=prefetch><link href=/js/chunk-84a78220.7c958afd.js rel=prefetch><link href=/js/chunk-8789f142.d25b03fd.js rel=prefetch><link href=/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/js/chunk-f37f02b6.9eeb8b8d.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.8ab87873.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.8ab87873.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-19e87806.f544a705.css rel=prefetch><link href=/css/chunk-335a4254.9845d6c1.css rel=prefetch><link href=/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/css/chunk-35faaf00.47888678.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-84a78220.82976e65.css rel=prefetch><link href=/css/chunk-8789f142.6f40ff2b.css rel=prefetch><link href=/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/css/chunk-f37f02b6.ec1c8960.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-19e87806.22a91e6e.js rel=prefetch><link href=/js/chunk-335a4254.827488f9.js rel=prefetch><link href=/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/js/chunk-35faaf00.81c9133b.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-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.a3a36ff8.js rel=prefetch><link href=/js/chunk-84a78220.7c958afd.js rel=prefetch><link href=/js/chunk-8789f142.d25b03fd.js rel=prefetch><link href=/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/js/chunk-f37f02b6.9eeb8b8d.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.ff6c9080.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.ff6c9080.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],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":"e682be69","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":"47888678","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="/",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:"/",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}}}); (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":"81c9133b","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":"47888678","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="/",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:"/",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.8ab87873.js.map //# sourceMappingURL=app.ff6c9080.js.map
\ No newline at end of file \ No newline at end of file
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-35faaf00"],{"119c":function(t,e,i){},"1af0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAICAYAAABJYvnfAAAAXElEQVRIie2VuwnAMAxEbxpvry2MPpADT2LQBEmVMm0EUYrXvxOSDgAQsYY6ZRpz6nF+GmOqUyLWwB1+Kne52OtwR6wBdUq9TA3qFLRY+yeM+Q+g/Qm0f4Lda/ACKuKTl1XlVvgAAAAASUVORK5CYII="},"52ca":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fe-bigbox"},[1==t.showList?a("div",[a("div",{staticClass:"person-information"},[a("div",{staticClass:"person-information-top"},[a("div",{staticClass:"person-information-left"},[a("h3",[t._v(t._s(t.name))]),a("p",[t._v(t._s(t.birthday))])])]),a("div",{staticClass:"info-card-bottom"},[a("p",[a("label",[t._v("已接任务")]),a("span",[t._v(t._s(t.accept_work))])]),a("p",[a("label",[t._v("完成任务")]),a("span",[t._v(t._s(t.perform_work))])]),a("p",[a("label",[t._v("应收报酬")]),a("span",[t._v("¥"+t._s(t._f("get_thousand_num")(t.Payment_receivable?Number(t.Payment_receivable).toFixed(2):0)))])]),a("p",[a("label",[t._v("已收报酬")]),a("span",[t._v("¥"+t._s(t._f("get_thousand_num")(t.receive_receivable?Number(t.receive_receivable).toFixed(2):0)))])])])]),a("van-popup",{style:t.popupStyle,attrs:{overlay:!t.showPopup,"close-on-click-overlay":!t.showPopup,round:"",position:"bottom","get-container":"body"},model:{value:t.showPopup,callback:function(e){t.showPopup=e},expression:"showPopup"}},[a("div",{staticClass:"close-box",on:{click:t.expand_click}},[a("img",{attrs:{src:i("1af0")}})]),a("div",{staticClass:"green-bg"},[a("div",{staticClass:"fe-list-box"},[a("div",{staticClass:"fe-list-title"},[a("h3",[t._v("任务记录")])]),t._l(t.taskRecordList,(function(e){return a("a",{key:e.id,staticClass:"fe-list-child",attrs:{href:"javascript:void(0)"},on:{click:function(i){return t.toDetail(e.id)}}},[a("div",{staticClass:"fe-list-child-left"},[a("h3",[t._v("\n "+t._s(e.title.length>16?e.title.substring(0,15)+"...":e.title)+"\n ")]),a("p",[t._v(t._s(t._f("format")(e.createTime)))])]),a("div",{staticClass:"fe-list-child-right"},[a("div",{staticClass:"fe-list-child-right-desc"},[a("h3",[t._v("\n ¥"+t._s(t._f("get_thousand_num")(Number(e.paidSalary)?Number(e.paidSalary).toFixed(2):0))+"\n ")]),a("p",{style:t.matchColor(e.billStatus)},[t._v("\n "+t._s(e.billStatus)+"\n ")])]),a("img",{attrs:{src:i("c6ec"),alt:""}})])])}))],2)])])],1):t._e(),0==t.showList?a("div",{staticClass:"empty_data"},[t._m(0)]):t._e(),a("div",{staticClass:"white_slide"})])},n=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",[t._v("\n 您在亲亲小保未从事灵活用工的相关任务\n "),i("br"),t._v("暂无相关记录\n ")])}],o=(i("6b54"),i("2397"),i("ade3")),s=(i("7f7f"),i("d4ec")),r=i("bee2"),c=i("262e"),l=i("99de"),u=i("7e84"),d=i("9ab4"),f=i("e41f"),p=i("60a3");function v(t){var e=h();return function(){var i,a=Object(u["a"])(t);if(e){var n=Object(u["a"])(this).constructor;i=Reflect.construct(a,arguments,n)}else i=a.apply(this,arguments);return Object(l["a"])(this,i)}}function h(){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 b=function(){var t=function(t){Object(c["a"])(i,t);var e=v(i);function i(){var t;return Object(s["a"])(this,i),t=e.apply(this,arguments),t.name="",t.birthday="",t.accept_work="0",t.perform_work="0",t.Payment_receivable="0.00",t.receive_receivable="0.00",t.fullName="",t.taskRecordList=null,t.showList=-1,t.showPopup=!0,t.expand=!0,t}return Object(r["a"])(i,[{key:"expand_click",value:function(){this.expand=!this.expand}},{key:"toDetail",value:function(t){this.$router.push({name:"FlexEmployeeDetial",query:{id:t}})}},{key:"mounted",value:function(){var t=this;this.name=localStorage.getItem("name"),this.birthday=localStorage.getItem("birthday");var e=window.atob(decodeURI(String(this.$route.query.id_no))),i={idNo:e};this.$server.EmployeeService.getAgileWorker(i).then((function(e){console.log("res=",e),t.accept_work=e.alCount,t.perform_work=e.comCount,t.Payment_receivable=e.receivableSalary?e.receivableSalary.toFixed(2):0,t.receive_receivable=e.receivedSalary?e.receivedSalary.toFixed(2):0,t.taskRecordList=null==e.taskList?[]:e.taskList,t.taskRecordList.length>0?t.showList=1:t.showList=0,t.taskRecordList.length>=3?t.expand=!1:t.expand=!0;var i=t.taskRecordList[0];t.taskRecordList=[],t.taskRecordList[0]=i,localStorage.setItem("taskList",JSON.stringify(t.taskRecordList))}))}},{key:"popupStyle",get:function(){return this.expand?{height:"63%"}:{height:"86%"}}},{key:"matchColor",get:function(){return function(t){return"进行中"===t?{color:"#077aec"}:"已拒回"===t?{color:"#FF9100"}:"已完成"===t?{color:"#95989E"}:"已接单"===t?{color:"#077aec"}:void 0}}}]),i}(p["c"]);return t=Object(d["a"])([Object(p["a"])({components:Object(o["a"])({},f["a"].name,f["a"])})],t),t}(),m=b,A=m,g=(i("e180"),i("2877")),_=Object(g["a"])(A,a,n,!1,null,null,null);e["default"]=_.exports},ade3:function(t,e,i){"use strict";function a(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return a}))},c6ec:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaCAYAAAC+aNwHAAABqUlEQVQ4T7WVu0sDQRDGv7nLnYgiCEoe5jaxtrGysRLxgaBgoY0WFuKjsLTzX7AVLBRBbURsBBEfYGWVRhuLCJocJiGgIIgYY25kI8pGzUMWtxzm++3O7Oy3BADX13eObRubPp81Hwq1XMlYrYtubzPtRN4pgHYAWcMw+xzHf1kzwHXTJ57HvYrggQgDQoRitUDo5iYbMM3CCTN3KIJHZnMoGvWfV4OQTEilUi35PI4BdCqCJ8OgYccJnlWCFAFyJRKJZiL7kJm7FMEzkTkqhP+oHOQLIBPi8fsm284dAOhWBC+AMR6JBPZ/g5QAZEImk2nI5TyZ3KMIXgGaiESCu98hPwAywXXdembfHjMPfgqI6I2IpxwntK1CfgV8lBOvs+3GHYBHFEgBoBkhAutfsUodjsViVmtrcccxBeIBWBAiuCJjZU/wKWBmM5lMbwCYVDZjIloUIrhcFSBFzGwkk+lVANMl9ROW/h+gVYJWE8tdo+d5s9Fo21rFa9QaJK1R1npMWs9Zy1C0LU3bVEttnbKmWegPh8MX1cy0ZA7kx2JZtGVZ9txfP5Z3rkvaZf5cmJMAAAAASUVORK5CYII="},e180:function(t,e,i){"use strict";var a=i("119c"),n=i.n(a);n.a},e41f:function(t,e,i){"use strict";var a=i("d282"),n=i("a142"),o=i("6605"),s=i("ad06"),r=Object(a["a"])("popup"),c=r[0],l=r[1];e["a"]=c({mixins:[Object(o["a"])()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){var t=this,e=function(e){return function(i){return t.$emit(e,i)}};this.onClick=e("click"),this.onOpened=e("opened"),this.onClosed=e("closed")},render:function(){var t,e=arguments[0];if(this.shouldRender){var i=this.round,a=this.position,o=this.duration,r="center"===a,c=this.transition||(r?"van-fade":"van-popup-slide-"+a),u={};if(Object(n["b"])(o)){var d=r?"animationDuration":"transitionDuration";u[d]=o+"s"}return e("transition",{attrs:{name:c},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],style:u,class:l((t={round:i},t[a]=a,t["safe-area-inset-bottom"]=this.safeAreaInsetBottom,t)),on:{click:this.onClick}},[this.slots(),this.closeable&&e(s["a"],{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:l("close-icon",this.closeIconPosition),on:{click:this.close}})])])}}})}}]);
//# sourceMappingURL=chunk-35faaf00.81c9133b.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/images/ic_unfold@2x.png","webpack:///./src/views/FlexEmployee.vue?0ece","webpack:///./src/views/FlexEmployee.vue?0868","webpack:///./src/views/FlexEmployee.vue?dc2c","webpack:///./src/views/FlexEmployee.vue","webpack:///./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///./src/assets/images/agent/next_gray.png","webpack:///./src/views/FlexEmployee.vue?e168","webpack:///./node_modules/vant/es/popup/index.js"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","showList","_v","_s","name","birthday","accept_work","perform_work","_f","Payment_receivable","Number","toFixed","receive_receivable","style","attrs","showPopup","model","value","callback","$$v","expression","on","expand_click","_l","item","key","id","$event","toDetail","title","length","substring","createTime","paidSalary","matchColor","billStatus","_e","_m","staticRenderFns","FlexEmployee","fullName","taskRecordList","expand","$router","push","query","localStorage","getItem","idNo","window","atob","decodeURI","String","$route","id_no","params","$server","EmployeeService","getAgileWorker","then","res","console","log","alCount","comCount","receivableSalary","receivedSalary","taskList","temp","setItem","JSON","stringify","height","ibillStatus","color","components","component","_defineProperty","obj","Object","defineProperty","enumerable","configurable","writable","_createNamespace","createComponent","bem","mixins","props","round","Boolean","duration","closeable","transition","safeAreaInsetBottom","closeIcon","type","default","closeIconPosition","position","overlay","closeOnClickOverlay","beforeCreate","_this","createEmitter","eventName","event","$emit","onClick","onOpened","onClosed","_bem","h","arguments","shouldRender","isCenter","transitionName","slots","close"],"mappings":"4HAAAA,EAAOC,QAAU,kO,2CCAjB,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,aAAa,CAAkB,GAAhBN,EAAIO,SAAeH,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,sBAAsB,CAACF,EAAG,MAAM,CAACE,YAAY,0BAA0B,CAACF,EAAG,MAAM,CAACE,YAAY,2BAA2B,CAACF,EAAG,KAAK,CAACJ,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,SAASN,EAAG,IAAI,CAACJ,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIW,iBAAiBP,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,IAAI,CAACA,EAAG,QAAQ,CAACJ,EAAIQ,GAAG,UAAUJ,EAAG,OAAO,CAACJ,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIY,kBAAkBR,EAAG,IAAI,CAACA,EAAG,QAAQ,CAACJ,EAAIQ,GAAG,UAAUJ,EAAG,OAAO,CAACJ,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIa,mBAAmBT,EAAG,IAAI,CAACA,EAAG,QAAQ,CAACJ,EAAIQ,GAAG,UAAUJ,EAAG,OAAO,CAACJ,EAAIQ,GAAG,IAAIR,EAAIS,GAAGT,EAAIc,GAAG,mBAAPd,CAA2BA,EAAIe,mBACpqBC,OAAOhB,EAAIe,oBAAoBE,QAAQ,GACvC,SAAWb,EAAG,IAAI,CAACA,EAAG,QAAQ,CAACJ,EAAIQ,GAAG,UAAUJ,EAAG,OAAO,CAACJ,EA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CAACE,EAAE,MAAO,CACX,WAAc,CAAC,CACb5G,KAAM,OACNa,MAAOtB,KAAKsB,QAEd,MAASJ,EACT,MAASyE,GAAKyB,EAAO,CACnBtB,MAAOA,GACNsB,EAAKZ,GAAYA,EAAUY,EAAK,0BAA4BpH,KAAKmG,oBAAqBiB,IACzF,GAAM,CACJ,MAASpH,KAAKiH,UAEf,CAACjH,KAAK0H,QAAS1H,KAAKiG,WAAaoB,EAAE,OAAM,CAC1C,MAAS,CACP,KAAQ,SACR,SAAY,IACZ,KAAQrH,KAAKoG,WAEf,MAAST,EAAI,aAAc3F,KAAKuG,mBAChC,GAAM,CACJ,MAASvG,KAAK2H","file":"js/chunk-35faaf00.81c9133b.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAICAYAAABJYvnfAAAAXElEQVRIie2VuwnAMAxEbxpvry2MPpADT2LQBEmVMm0EUYrXvxOSDgAQsYY6ZRpz6nF+GmOqUyLWwB1+Kne52OtwR6wBdUq9TA3qFLRY+yeM+Q+g/Qm0f4Lda/ACKuKTl1XlVvgAAAAASUVORK5CYII=\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fe-bigbox\"},[(_vm.showList == 1)?_c('div',[_c('div',{staticClass:\"person-information\"},[_c('div',{staticClass:\"person-information-top\"},[_c('div',{staticClass:\"person-information-left\"},[_c('h3',[_vm._v(_vm._s(_vm.name))]),_c('p',[_vm._v(_vm._s(_vm.birthday))])])]),_c('div',{staticClass:\"info-card-bottom\"},[_c('p',[_c('label',[_vm._v(\"已接任务\")]),_c('span',[_vm._v(_vm._s(_vm.accept_work))])]),_c('p',[_c('label',[_vm._v(\"完成任务\")]),_c('span',[_vm._v(_vm._s(_vm.perform_work))])]),_c('p',[_c('label',[_vm._v(\"应收报酬\")]),_c('span',[_vm._v(\"¥\"+_vm._s(_vm._f(\"get_thousand_num\")(_vm.Payment_receivable\n ? Number(_vm.Payment_receivable).toFixed(2)\n : 0.0)))])]),_c('p',[_c('label',[_vm._v(\"已收报酬\")]),_c('span',[_vm._v(\"¥\"+_vm._s(_vm._f(\"get_thousand_num\")(_vm.receive_receivable\n ? Number(_vm.receive_receivable).toFixed(2)\n : 0.0)))])])])]),_c('van-popup',{style:(_vm.popupStyle),attrs:{\"overlay\":!_vm.showPopup,\"close-on-click-overlay\":!_vm.showPopup,\"round\":\"\",\"position\":\"bottom\",\"get-container\":\"body\"},model:{value:(_vm.showPopup),callback:function ($$v) {_vm.showPopup=$$v},expression:\"showPopup\"}},[_c('div',{staticClass:\"close-box\",on:{\"click\":_vm.expand_click}},[_c('img',{attrs:{\"src\":require(\"../assets/images/ic_unfold@2x.png\")}})]),_c('div',{staticClass:\"green-bg\"},[_c('div',{staticClass:\"fe-list-box\"},[_c('div',{staticClass:\"fe-list-title\"},[_c('h3',[_vm._v(\"任务记录\")])]),_vm._l((_vm.taskRecordList),function(item){return _c('a',{key:item.id,staticClass:\"fe-list-child\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.toDetail(item.id)}}},[_c('div',{staticClass:\"fe-list-child-left\"},[_c('h3',[_vm._v(\"\\n \"+_vm._s(item.title.length > 16\n ? item.title.substring(0, 15) + \"...\"\n : item.title)+\"\\n \")]),_c('p',[_vm._v(_vm._s(_vm._f(\"format\")(item.createTime)))])]),_c('div',{staticClass:\"fe-list-child-right\"},[_c('div',{staticClass:\"fe-list-child-right-desc\"},[_c('h3',[_vm._v(\"\\n ¥\"+_vm._s(_vm._f(\"get_thousand_num\")(Number(item.paidSalary)\n ? Number(item.paidSalary).toFixed(2)\n : 0.0))+\"\\n \")]),_c('p',{style:(_vm.matchColor(item.billStatus))},[_vm._v(\"\\n \"+_vm._s(item.billStatus)+\"\\n \")])]),_c('img',{attrs:{\"src\":require(\"../assets/images/agent/next_gray.png\"),\"alt\":\"\"}})])])})],2)])])],1):_vm._e(),(_vm.showList == 0)?_c('div',{staticClass:\"empty_data\"},[_vm._m(0)]):_vm._e(),_c('div',{staticClass:\"white_slide\"})])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_vm._v(\"\\n 您在亲亲小保未从事灵活用工的相关任务\\n \"),_c('br'),_vm._v(\"暂无相关记录\\n \")])}]\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\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\n\n\n\n\n\n\n\n\r\nimport { Popup } from \"vant\";\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\n\r\n@Component({\r\n components: {\r\n [Popup.name]: Popup\r\n }\r\n})\r\nexport default class FlexEmployee extends Vue {\r\n private name: string = \"\"; //入参\r\n private birthday: string = \"\"; //\r\n\r\n private accept_work: string = \"0\";\r\n private perform_work: string = \"0\";\r\n private Payment_receivable: string = \"0.00\";\r\n private receive_receivable: string = \"0.00\";\r\n private fullName: string = \"\";\r\n private taskRecordList: any = null;\r\n private showList: number = -1;\r\n private showPopup: boolean = true;\r\n private expand: boolean = true;\r\n\r\n get popupStyle() {\r\n if (this.expand) {\r\n return { height: \"63%\" };\r\n } else {\r\n return { height: \"86%\" };\r\n }\r\n }\r\n private expand_click() {\r\n this.expand = !this.expand;\r\n }\r\n private toDetail(id: any): void {\r\n this.$router.push({ name: \"FlexEmployeeDetial\", query: { id } });\r\n }\r\n\r\n get matchColor() {\r\n return (ibillStatus: string) => {\r\n if (ibillStatus === \"进行中\") {\r\n return { color: \"#077aec\" };\r\n } else if (ibillStatus === \"已拒回\") {\r\n return { color: \"#FF9100\" };\r\n } else if (ibillStatus === \"已完成\") {\r\n return { color: \"#95989E\" };\r\n } else if (ibillStatus === \"已接单\") {\r\n return { color: \"#077aec\" };\r\n }\r\n };\r\n }\r\n\r\n mounted() {\r\n this.name = localStorage.getItem(\"name\") as string;\r\n this.birthday = localStorage.getItem(\"birthday\") as string;\r\n const idNo = window.atob(decodeURI(String(this.$route.query.id_no)));\r\n let params = {\r\n idNo: idNo //371327198511175134\r\n };\r\n this.$server.EmployeeService.getAgileWorker(params).then((res: any) => {\r\n console.log(\"res=\", res);\r\n this.accept_work = res.alCount; // 已接任务\r\n this.perform_work = res.comCount; // 完成任务\r\n this.Payment_receivable = res.receivableSalary\r\n ? res.receivableSalary.toFixed(2)\r\n : 0.0; // 应收报酬\r\n this.receive_receivable = res.receivedSalary\r\n ? res.receivedSalary.toFixed(2)\r\n : 0.0; // 已收报酬\r\n this.taskRecordList = res.taskList==null?[]:res.taskList; // 任务记录\r\n this.taskRecordList.length > 0 ? (this.showList = 1) : (this.showList = 0);\r\n \r\n if (this.taskRecordList.length >= 3) {\r\n this.expand = false;\r\n } else {\r\n this.expand = true;\r\n }\r\n const temp=this.taskRecordList[0]\r\n this.taskRecordList=[];\r\n this.taskRecordList[0]=temp;\r\n localStorage.setItem(\"taskList\", JSON.stringify(this.taskRecordList));\r\n });\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!./FlexEmployee.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!./FlexEmployee.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FlexEmployee.vue?vue&type=template&id=3371ef4a&\"\nimport script from \"./FlexEmployee.vue?vue&type=script&lang=ts&\"\nexport * from \"./FlexEmployee.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./FlexEmployee.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","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaCAYAAAC+aNwHAAABqUlEQVQ4T7WVu0sDQRDGv7nLnYgiCEoe5jaxtrGysRLxgaBgoY0WFuKjsLTzX7AVLBRBbURsBBEfYGWVRhuLCJocJiGgIIgYY25kI8pGzUMWtxzm++3O7Oy3BADX13eObRubPp81Hwq1XMlYrYtubzPtRN4pgHYAWcMw+xzHf1kzwHXTJ57HvYrggQgDQoRitUDo5iYbMM3CCTN3KIJHZnMoGvWfV4OQTEilUi35PI4BdCqCJ8OgYccJnlWCFAFyJRKJZiL7kJm7FMEzkTkqhP+oHOQLIBPi8fsm284dAOhWBC+AMR6JBPZ/g5QAZEImk2nI5TyZ3KMIXgGaiESCu98hPwAywXXdembfHjMPfgqI6I2IpxwntK1CfgV8lBOvs+3GHYBHFEgBoBkhAutfsUodjsViVmtrcccxBeIBWBAiuCJjZU/wKWBmM5lMbwCYVDZjIloUIrhcFSBFzGwkk+lVANMl9ROW/h+gVYJWE8tdo+d5s9Fo21rFa9QaJK1R1npMWs9Zy1C0LU3bVEttnbKmWegPh8MX1cy0ZA7kx2JZtGVZ9txfP5Z3rkvaZf5cmJMAAAAASUVORK5CYII=\"","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!./FlexEmployee.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!./FlexEmployee.vue?vue&type=style&index=0&lang=less&\"","import { createNamespace, isDef } from '../utils';\nimport { PopupMixin } from '../mixins/popup';\nimport Icon from '../icon';\n\nvar _createNamespace = createNamespace('popup'),\n createComponent = _createNamespace[0],\n bem = _createNamespace[1];\n\nexport default createComponent({\n mixins: [PopupMixin()],\n props: {\n round: Boolean,\n duration: [Number, String],\n closeable: Boolean,\n transition: String,\n safeAreaInsetBottom: Boolean,\n closeIcon: {\n type: String,\n default: 'cross'\n },\n closeIconPosition: {\n type: String,\n default: 'top-right'\n },\n position: {\n type: String,\n default: 'center'\n },\n overlay: {\n type: Boolean,\n default: true\n },\n closeOnClickOverlay: {\n type: Boolean,\n default: true\n }\n },\n beforeCreate: function beforeCreate() {\n var _this = this;\n\n var createEmitter = function createEmitter(eventName) {\n return function (event) {\n return _this.$emit(eventName, event);\n };\n };\n\n this.onClick = createEmitter('click');\n this.onOpened = createEmitter('opened');\n this.onClosed = createEmitter('closed');\n },\n render: function render() {\n var _bem;\n\n var h = arguments[0];\n\n if (!this.shouldRender) {\n return;\n }\n\n var round = this.round,\n position = this.position,\n duration = this.duration;\n var isCenter = position === 'center';\n var transitionName = this.transition || (isCenter ? 'van-fade' : \"van-popup-slide-\" + position);\n var style = {};\n\n if (isDef(duration)) {\n var key = isCenter ? 'animationDuration' : 'transitionDuration';\n style[key] = duration + \"s\";\n }\n\n return h(\"transition\", {\n \"attrs\": {\n \"name\": transitionName\n },\n \"on\": {\n \"afterEnter\": this.onOpened,\n \"afterLeave\": this.onClosed\n }\n }, [h(\"div\", {\n \"directives\": [{\n name: \"show\",\n value: this.value\n }],\n \"style\": style,\n \"class\": bem((_bem = {\n round: round\n }, _bem[position] = position, _bem['safe-area-inset-bottom'] = this.safeAreaInsetBottom, _bem)),\n \"on\": {\n \"click\": this.onClick\n }\n }, [this.slots(), this.closeable && h(Icon, {\n \"attrs\": {\n \"role\": \"button\",\n \"tabindex\": \"0\",\n \"name\": this.closeIcon\n },\n \"class\": bem('close-icon', this.closeIconPosition),\n \"on\": {\n \"click\": this.close\n }\n })])]);\n }\n});"],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-35faaf00"],{"119c":function(t,e,i){},"1af0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAICAYAAABJYvnfAAAAXElEQVRIie2VuwnAMAxEbxpvry2MPpADT2LQBEmVMm0EUYrXvxOSDgAQsYY6ZRpz6nF+GmOqUyLWwB1+Kne52OtwR6wBdUq9TA3qFLRY+yeM+Q+g/Qm0f4Lda/ACKuKTl1XlVvgAAAAASUVORK5CYII="},"52ca":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fe-bigbox"},[1==t.showList?a("div",[a("div",{staticClass:"person-information"},[a("div",{staticClass:"person-information-top"},[a("div",{staticClass:"person-information-left"},[a("h3",[t._v(t._s(t.name))]),a("p",[t._v(t._s(t.birthday))])])]),a("div",{staticClass:"info-card-bottom"},[a("p",[a("label",[t._v("已接任务")]),a("span",[t._v(t._s(t.accept_work))])]),a("p",[a("label",[t._v("完成任务")]),a("span",[t._v(t._s(t.perform_work))])]),a("p",[a("label",[t._v("应收报酬")]),a("span",[t._v("¥"+t._s(t._f("get_thousand_num")(t.Payment_receivable?Number(t.Payment_receivable).toFixed(2):0)))])]),a("p",[a("label",[t._v("已收报酬")]),a("span",[t._v("¥"+t._s(t._f("get_thousand_num")(t.receive_receivable?Number(t.receive_receivable).toFixed(2):0)))])])])]),a("van-popup",{style:t.popupStyle,attrs:{overlay:!t.showPopup,"close-on-click-overlay":!t.showPopup,round:"",position:"bottom"},model:{value:t.showPopup,callback:function(e){t.showPopup=e},expression:"showPopup"}},[a("div",{staticClass:"close-box",on:{click:t.expand_click}},[a("img",{attrs:{src:i("1af0")}})]),a("div",{staticClass:"green-bg"},[a("div",{staticClass:"fe-list-box"},[a("div",{staticClass:"fe-list-title"},[a("h3",[t._v("任务记录")])]),t._l(t.taskRecordList,(function(e){return a("a",{key:e.id,staticClass:"fe-list-child",attrs:{href:"javascript:void(0)"},on:{click:function(i){return t.toDetail(e.id)}}},[a("div",{staticClass:"fe-list-child-left"},[a("h3",[t._v("\n "+t._s(e.title.length>20?e.title.substring(0,19)+"...":e.title)+"\n ")]),a("p",[t._v(t._s(t._f("format")(e.createTime)))])]),a("div",{staticClass:"fe-list-child-right"},[a("div",{staticClass:"fe-list-child-right-desc"},[a("h3",[t._v("\n ¥"+t._s(t._f("get_thousand_num")(Number(e.paidSalary)?Number(e.paidSalary).toFixed(2):0))+"\n ")]),a("p",{style:t.matchColor(e.billStatus)},[t._v("\n "+t._s(e.billStatus)+"\n ")])]),a("img",{attrs:{src:i("c6ec"),alt:""}})])])}))],2)])])],1):t._e(),0==t.showList?a("div",{staticClass:"empty_data"},[t._m(0)]):t._e(),a("div",{staticClass:"white_slide"})])},n=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",[t._v("\n 您在亲亲小保未从事灵活用工的相关任务\n "),i("br"),t._v("暂无相关记录\n ")])}],o=(i("6b54"),i("2397"),i("ade3")),s=(i("7f7f"),i("d4ec")),r=i("bee2"),c=i("262e"),l=i("99de"),u=i("7e84"),d=i("9ab4"),f=i("e41f"),p=i("60a3");function v(t){var e=h();return function(){var i,a=Object(u["a"])(t);if(e){var n=Object(u["a"])(this).constructor;i=Reflect.construct(a,arguments,n)}else i=a.apply(this,arguments);return Object(l["a"])(this,i)}}function h(){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 b=function(){var t=function(t){Object(c["a"])(i,t);var e=v(i);function i(){var t;return Object(s["a"])(this,i),t=e.apply(this,arguments),t.name="",t.birthday="",t.accept_work="0",t.perform_work="0",t.Payment_receivable="0.00",t.receive_receivable="0.00",t.fullName="",t.taskRecordList=null,t.showList=-1,t.showPopup=!0,t.expand=!0,t}return Object(r["a"])(i,[{key:"expand_click",value:function(){this.expand=!this.expand}},{key:"toDetail",value:function(t){this.$router.push({name:"FlexEmployeeDetial",query:{id:t}})}},{key:"mounted",value:function(){var t=this;this.name=localStorage.getItem("name"),this.birthday=localStorage.getItem("birthday");var e=window.atob(decodeURI(String(this.$route.query.id_no))),i={idNo:e};this.$server.EmployeeService.getAgileWorker(i).then((function(e){console.log("res=",e),t.accept_work=e.alCount,t.perform_work=e.comCount,t.Payment_receivable=e.receivableSalary?e.receivableSalary.toFixed(2):0,t.receive_receivable=e.receivedSalary?e.receivedSalary.toFixed(2):0,t.taskRecordList=null==e.taskList?[]:e.taskList,t.taskRecordList.length>0?t.showList=1:t.showList=0,console.log("taskRecordList=",t.taskRecordList),t.taskRecordList.length>=3?t.expand=!1:t.expand=!0,localStorage.setItem("taskList",JSON.stringify(e.taskList))}))}},{key:"popupStyle",get:function(){return this.expand?{height:"63%"}:{height:"86%"}}},{key:"matchColor",get:function(){return function(t){return"进行中"===t?{color:"#077aec"}:"已拒回"===t?{color:"#FF9100"}:"已完成"===t?{color:"#95989E"}:"已接单"===t?{color:"#077aec"}:void 0}}}]),i}(p["c"]);return t=Object(d["a"])([Object(p["a"])({components:Object(o["a"])({},f["a"].name,f["a"])})],t),t}(),m=b,A=m,g=(i("e180"),i("2877")),_=Object(g["a"])(A,a,n,!1,null,null,null);e["default"]=_.exports},ade3:function(t,e,i){"use strict";function a(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return a}))},c6ec:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaCAYAAAC+aNwHAAABqUlEQVQ4T7WVu0sDQRDGv7nLnYgiCEoe5jaxtrGysRLxgaBgoY0WFuKjsLTzX7AVLBRBbURsBBEfYGWVRhuLCJocJiGgIIgYY25kI8pGzUMWtxzm++3O7Oy3BADX13eObRubPp81Hwq1XMlYrYtubzPtRN4pgHYAWcMw+xzHf1kzwHXTJ57HvYrggQgDQoRitUDo5iYbMM3CCTN3KIJHZnMoGvWfV4OQTEilUi35PI4BdCqCJ8OgYccJnlWCFAFyJRKJZiL7kJm7FMEzkTkqhP+oHOQLIBPi8fsm284dAOhWBC+AMR6JBPZ/g5QAZEImk2nI5TyZ3KMIXgGaiESCu98hPwAywXXdembfHjMPfgqI6I2IpxwntK1CfgV8lBOvs+3GHYBHFEgBoBkhAutfsUodjsViVmtrcccxBeIBWBAiuCJjZU/wKWBmM5lMbwCYVDZjIloUIrhcFSBFzGwkk+lVANMl9ROW/h+gVYJWE8tdo+d5s9Fo21rFa9QaJK1R1npMWs9Zy1C0LU3bVEttnbKmWegPh8MX1cy0ZA7kx2JZtGVZ9txfP5Z3rkvaZf5cmJMAAAAASUVORK5CYII="},e180:function(t,e,i){"use strict";var a=i("119c"),n=i.n(a);n.a},e41f:function(t,e,i){"use strict";var a=i("d282"),n=i("a142"),o=i("6605"),s=i("ad06"),r=Object(a["a"])("popup"),c=r[0],l=r[1];e["a"]=c({mixins:[Object(o["a"])()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){var t=this,e=function(e){return function(i){return t.$emit(e,i)}};this.onClick=e("click"),this.onOpened=e("opened"),this.onClosed=e("closed")},render:function(){var t,e=arguments[0];if(this.shouldRender){var i=this.round,a=this.position,o=this.duration,r="center"===a,c=this.transition||(r?"van-fade":"van-popup-slide-"+a),u={};if(Object(n["b"])(o)){var d=r?"animationDuration":"transitionDuration";u[d]=o+"s"}return e("transition",{attrs:{name:c},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],style:u,class:l((t={round:i},t[a]=a,t["safe-area-inset-bottom"]=this.safeAreaInsetBottom,t)),on:{click:this.onClick}},[this.slots(),this.closeable&&e(s["a"],{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:l("close-icon",this.closeIconPosition),on:{click:this.close}})])])}}})}}]);
//# sourceMappingURL=chunk-35faaf00.e682be69.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/images/ic_unfold@2x.png","webpack:///./src/views/FlexEmployee.vue?a221","webpack:///./src/views/FlexEmployee.vue?0868","webpack:///./src/views/FlexEmployee.vue?dc2c","webpack:///./src/views/FlexEmployee.vue","webpack:///./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///./src/assets/images/agent/next_gray.png","webpack:///./src/views/FlexEmployee.vue?e168","webpack:///./node_modules/vant/es/popup/index.js"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","showList","_v","_s","name","birthday","accept_work","perform_work","_f","Payment_receivable","Number","toFixed","receive_receivable","style","attrs","showPopup","model","value","callback","$$v","expression","on","expand_click","_l","item","key","id","$event","toDetail","title","length","substring","createTime","paidSalary","matchColor","billStatus","_e","_m","staticRenderFns","FlexEmployee","fullName","taskRecordList","expand","$router","push","query","localStorage","getItem","idNo","window","atob","decodeURI","String","$route","id_no","params","$server","EmployeeService","getAgileWorker","then","res","console","log","alCount","comCount","receivableSalary","receivedSalary","taskList","setItem","JSON","stringify","height","ibillStatus","color","components","component","_defineProperty","obj","Object","defineProperty","enumerable","configurable","writable","_createNamespace","createComponent","bem","mixins","props","round","Boolean","duration","closeable","transition","safeAreaInsetBottom","closeIcon","type","default","closeIconPosition","position","overlay","closeOnClickOverlay","beforeCreate","_this","createEmitter","eventName","event","$emit","onClick","onOpened","onClosed","_bem","h","arguments","shouldRender","isCenter","transitionName","slots","close"],"mappings":"4HAAAA,EAAOC,QAAU,kO,2CCAjB,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,aAAa,CAAkB,GAAhBN,EAAIO,SAAeH,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,sBAAsB,CAACF,EAAG,MAAM,CAACE,YAAY,0BAA0B,CAACF,EAAG,MAAM,CAACE,YAAY,2BAA2B,CAACF,EAAG,KAAK,CAACJ,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,SAASN,EAAG,IAAI,CAACJ,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIW,iBAAiBP,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,IAAI,CAACA,EAAG,QAAQ,CAACJ,EAAIQ,GAAG,UAAUJ,EAAG,OAAO,CAACJ,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIY,kBAAkBR,EAAG,IAAI,CAACA,EAAG,QAAQ,CAACJ,EAAIQ,GAAG,UAAUJ,EAAG,OAAO,CAACJ,EAAIQ,GAAGR,EAAIS,GAAGT,EAA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AAa,mBAAqBhB,GAClFrF,EAAQ,GAEZ,GAAI,eAAM6E,GAAW,CACnB,IAAIjE,EAAMyF,EAAW,oBAAsB,qBAC3CrG,EAAMY,GAAOiE,EAAW,IAG1B,OAAOqB,EAAE,aAAc,CACrB,MAAS,CACP,KAAQI,GAEV,GAAM,CACJ,WAAcxH,KAAKiH,SACnB,WAAcjH,KAAKkH,WAEpB,CAACE,EAAE,MAAO,CACX,WAAc,CAAC,CACb3G,KAAM,OACNa,MAAOtB,KAAKsB,QAEd,MAASJ,EACT,MAASwE,GAAKyB,EAAO,CACnBtB,MAAOA,GACNsB,EAAKZ,GAAYA,EAAUY,EAAK,0BAA4BnH,KAAKkG,oBAAqBiB,IACzF,GAAM,CACJ,MAASnH,KAAKgH,UAEf,CAAChH,KAAKyH,QAASzH,KAAKgG,WAAaoB,EAAE,OAAM,CAC1C,MAAS,CACP,KAAQ,SACR,SAAY,IACZ,KAAQpH,KAAKmG,WAEf,MAAST,EAAI,aAAc1F,KAAKsG,mBAChC,GAAM,CACJ,MAAStG,KAAK0H","file":"js/chunk-35faaf00.e682be69.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAICAYAAABJYvnfAAAAXElEQVRIie2VuwnAMAxEbxpvry2MPpADT2LQBEmVMm0EUYrXvxOSDgAQsYY6ZRpz6nF+GmOqUyLWwB1+Kne52OtwR6wBdUq9TA3qFLRY+yeM+Q+g/Qm0f4Lda/ACKuKTl1XlVvgAAAAASUVORK5CYII=\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fe-bigbox\"},[(_vm.showList == 1)?_c('div',[_c('div',{staticClass:\"person-information\"},[_c('div',{staticClass:\"person-information-top\"},[_c('div',{staticClass:\"person-information-left\"},[_c('h3',[_vm._v(_vm._s(_vm.name))]),_c('p',[_vm._v(_vm._s(_vm.birthday))])])]),_c('div',{staticClass:\"info-card-bottom\"},[_c('p',[_c('label',[_vm._v(\"已接任务\")]),_c('span',[_vm._v(_vm._s(_vm.accept_work))])]),_c('p',[_c('label',[_vm._v(\"完成任务\")]),_c('span',[_vm._v(_vm._s(_vm.perform_work))])]),_c('p',[_c('label',[_vm._v(\"应收报酬\")]),_c('span',[_vm._v(\"¥\"+_vm._s(_vm._f(\"get_thousand_num\")(_vm.Payment_receivable\n ? Number(_vm.Payment_receivable).toFixed(2)\n : 0.0)))])]),_c('p',[_c('label',[_vm._v(\"已收报酬\")]),_c('span',[_vm._v(\"¥\"+_vm._s(_vm._f(\"get_thousand_num\")(_vm.receive_receivable\n ? Number(_vm.receive_receivable).toFixed(2)\n : 0.0)))])])])]),_c('van-popup',{style:(_vm.popupStyle),attrs:{\"overlay\":!_vm.showPopup,\"close-on-click-overlay\":!_vm.showPopup,\"round\":\"\",\"position\":\"bottom\"},model:{value:(_vm.showPopup),callback:function ($$v) {_vm.showPopup=$$v},expression:\"showPopup\"}},[_c('div',{staticClass:\"close-box\",on:{\"click\":_vm.expand_click}},[_c('img',{attrs:{\"src\":require(\"../assets/images/ic_unfold@2x.png\")}})]),_c('div',{staticClass:\"green-bg\"},[_c('div',{staticClass:\"fe-list-box\"},[_c('div',{staticClass:\"fe-list-title\"},[_c('h3',[_vm._v(\"任务记录\")])]),_vm._l((_vm.taskRecordList),function(item){return _c('a',{key:item.id,staticClass:\"fe-list-child\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.toDetail(item.id)}}},[_c('div',{staticClass:\"fe-list-child-left\"},[_c('h3',[_vm._v(\"\\n \"+_vm._s(item.title.length > 20\n ? item.title.substring(0, 19) + \"...\"\n : item.title)+\"\\n \")]),_c('p',[_vm._v(_vm._s(_vm._f(\"format\")(item.createTime)))])]),_c('div',{staticClass:\"fe-list-child-right\"},[_c('div',{staticClass:\"fe-list-child-right-desc\"},[_c('h3',[_vm._v(\"\\n ¥\"+_vm._s(_vm._f(\"get_thousand_num\")(Number(item.paidSalary)\n ? Number(item.paidSalary).toFixed(2)\n : 0.0))+\"\\n \")]),_c('p',{style:(_vm.matchColor(item.billStatus))},[_vm._v(\"\\n \"+_vm._s(item.billStatus)+\"\\n \")])]),_c('img',{attrs:{\"src\":require(\"../assets/images/agent/next_gray.png\"),\"alt\":\"\"}})])])})],2)])])],1):_vm._e(),(_vm.showList == 0)?_c('div',{staticClass:\"empty_data\"},[_vm._m(0)]):_vm._e(),_c('div',{staticClass:\"white_slide\"})])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_vm._v(\"\\n 您在亲亲小保未从事灵活用工的相关任务\\n \"),_c('br'),_vm._v(\"暂无相关记录\\n \")])}]\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\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\n\n\n\n\n\n\n\r\nimport { Popup } from \"vant\";\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\n\r\n@Component({\r\n components: {\r\n [Popup.name]: Popup\r\n }\r\n})\r\nexport default class FlexEmployee extends Vue {\r\n private name: string = \"\"; //入参\r\n private birthday: string = \"\"; //\r\n\r\n private accept_work: string = \"0\";\r\n private perform_work: string = \"0\";\r\n private Payment_receivable: string = \"0.00\";\r\n private receive_receivable: string = \"0.00\";\r\n private fullName: string = \"\";\r\n private taskRecordList: any = null;\r\n private showList: number = -1;\r\n private showPopup: boolean = true;\r\n private expand: boolean = true;\r\n\r\n get popupStyle() {\r\n if (this.expand) {\r\n return { height: \"63%\" };\r\n } else {\r\n return { height: \"86%\" };\r\n }\r\n }\r\n private expand_click() {\r\n this.expand = !this.expand;\r\n }\r\n private toDetail(id: any): void {\r\n this.$router.push({ name: \"FlexEmployeeDetial\", query: { id } });\r\n }\r\n\r\n get matchColor() {\r\n return (ibillStatus: string) => {\r\n if (ibillStatus === \"进行中\") {\r\n return { color: \"#077aec\" };\r\n } else if (ibillStatus === \"已拒回\") {\r\n return { color: \"#FF9100\" };\r\n } else if (ibillStatus === \"已完成\") {\r\n return { color: \"#95989E\" };\r\n } else if (ibillStatus === \"已接单\") {\r\n return { color: \"#077aec\" };\r\n }\r\n };\r\n }\r\n\r\n mounted() {\r\n this.name = localStorage.getItem(\"name\") as string;\r\n this.birthday = localStorage.getItem(\"birthday\") as string;\r\n const idNo = window.atob(decodeURI(String(this.$route.query.id_no)));\r\n let params = {\r\n idNo: idNo //371327198511175134\r\n };\r\n this.$server.EmployeeService.getAgileWorker(params).then((res: any) => {\r\n console.log(\"res=\", res);\r\n this.accept_work = res.alCount; // 已接任务\r\n this.perform_work = res.comCount; // 完成任务\r\n this.Payment_receivable = res.receivableSalary\r\n ? res.receivableSalary.toFixed(2)\r\n : 0.0; // 应收报酬\r\n this.receive_receivable = res.receivedSalary\r\n ? res.receivedSalary.toFixed(2)\r\n : 0.0; // 已收报酬\r\n this.taskRecordList = res.taskList==null?[]:res.taskList; // 任务记录\r\n this.taskRecordList.length > 0 ? (this.showList = 1) : (this.showList = 0);\r\n console.log(\"taskRecordList=\", this.taskRecordList);\r\n if (this.taskRecordList.length >= 3) {\r\n this.expand = false;\r\n } else {\r\n this.expand = true;\r\n }\r\n localStorage.setItem(\"taskList\", JSON.stringify(res.taskList));\r\n });\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!./FlexEmployee.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!./FlexEmployee.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FlexEmployee.vue?vue&type=template&id=5c7d1bde&\"\nimport script from \"./FlexEmployee.vue?vue&type=script&lang=ts&\"\nexport * from \"./FlexEmployee.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./FlexEmployee.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","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaCAYAAAC+aNwHAAABqUlEQVQ4T7WVu0sDQRDGv7nLnYgiCEoe5jaxtrGysRLxgaBgoY0WFuKjsLTzX7AVLBRBbURsBBEfYGWVRhuLCJocJiGgIIgYY25kI8pGzUMWtxzm++3O7Oy3BADX13eObRubPp81Hwq1XMlYrYtubzPtRN4pgHYAWcMw+xzHf1kzwHXTJ57HvYrggQgDQoRitUDo5iYbMM3CCTN3KIJHZnMoGvWfV4OQTEilUi35PI4BdCqCJ8OgYccJnlWCFAFyJRKJZiL7kJm7FMEzkTkqhP+oHOQLIBPi8fsm284dAOhWBC+AMR6JBPZ/g5QAZEImk2nI5TyZ3KMIXgGaiESCu98hPwAywXXdembfHjMPfgqI6I2IpxwntK1CfgV8lBOvs+3GHYBHFEgBoBkhAutfsUodjsViVmtrcccxBeIBWBAiuCJjZU/wKWBmM5lMbwCYVDZjIloUIrhcFSBFzGwkk+lVANMl9ROW/h+gVYJWE8tdo+d5s9Fo21rFa9QaJK1R1npMWs9Zy1C0LU3bVEttnbKmWegPh8MX1cy0ZA7kx2JZtGVZ9txfP5Z3rkvaZf5cmJMAAAAASUVORK5CYII=\"","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!./FlexEmployee.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!./FlexEmployee.vue?vue&type=style&index=0&lang=less&\"","import { createNamespace, isDef } from '../utils';\nimport { PopupMixin } from '../mixins/popup';\nimport Icon from '../icon';\n\nvar _createNamespace = createNamespace('popup'),\n createComponent = _createNamespace[0],\n bem = _createNamespace[1];\n\nexport default createComponent({\n mixins: [PopupMixin()],\n props: {\n round: Boolean,\n duration: [Number, String],\n closeable: Boolean,\n transition: String,\n safeAreaInsetBottom: Boolean,\n closeIcon: {\n type: String,\n default: 'cross'\n },\n closeIconPosition: {\n type: String,\n default: 'top-right'\n },\n position: {\n type: String,\n default: 'center'\n },\n overlay: {\n type: Boolean,\n default: true\n },\n closeOnClickOverlay: {\n type: Boolean,\n default: true\n }\n },\n beforeCreate: function beforeCreate() {\n var _this = this;\n\n var createEmitter = function createEmitter(eventName) {\n return function (event) {\n return _this.$emit(eventName, event);\n };\n };\n\n this.onClick = createEmitter('click');\n this.onOpened = createEmitter('opened');\n this.onClosed = createEmitter('closed');\n },\n render: function render() {\n var _bem;\n\n var h = arguments[0];\n\n if (!this.shouldRender) {\n return;\n }\n\n var round = this.round,\n position = this.position,\n duration = this.duration;\n var isCenter = position === 'center';\n var transitionName = this.transition || (isCenter ? 'van-fade' : \"van-popup-slide-\" + position);\n var style = {};\n\n if (isDef(duration)) {\n var key = isCenter ? 'animationDuration' : 'transitionDuration';\n style[key] = duration + \"s\";\n }\n\n return h(\"transition\", {\n \"attrs\": {\n \"name\": transitionName\n },\n \"on\": {\n \"afterEnter\": this.onOpened,\n \"afterLeave\": this.onClosed\n }\n }, [h(\"div\", {\n \"directives\": [{\n name: \"show\",\n value: this.value\n }],\n \"style\": style,\n \"class\": bem((_bem = {\n round: round\n }, _bem[position] = position, _bem['safe-area-inset-bottom'] = this.safeAreaInsetBottom, _bem)),\n \"on\": {\n \"click\": this.onClick\n }\n }, [this.slots(), this.closeable && h(Icon, {\n \"attrs\": {\n \"role\": \"button\",\n \"tabindex\": \"0\",\n \"name\": this.closeIcon\n },\n \"class\": bem('close-icon', this.closeIconPosition),\n \"on\": {\n \"click\": this.close\n }\n })])]);\n }\n});"],"sourceRoot":""}
\ No newline at end of file
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
round round
position="bottom" position="bottom"
:style="popupStyle" :style="popupStyle"
get-container="body"
> >
<div class="close-box" @click="expand_click"> <div class="close-box" @click="expand_click">
<img src="../assets/images/ic_unfold@2x.png" /> <img src="../assets/images/ic_unfold@2x.png" />
...@@ -66,8 +67,8 @@ ...@@ -66,8 +67,8 @@
<div class="fe-list-child-left"> <div class="fe-list-child-left">
<h3> <h3>
{{ {{
item.title.length > 20 item.title.length > 16
? item.title.substring(0, 19) + "..." ? item.title.substring(0, 15) + "..."
: item.title : item.title
}} }}
</h3> </h3>
...@@ -173,13 +174,16 @@ export default class FlexEmployee extends Vue { ...@@ -173,13 +174,16 @@ export default class FlexEmployee extends Vue {
: 0.0; // 已收报酬 : 0.0; // 已收报酬
this.taskRecordList = res.taskList==null?[]:res.taskList; // 任务记录 this.taskRecordList = res.taskList==null?[]:res.taskList; // 任务记录
this.taskRecordList.length > 0 ? (this.showList = 1) : (this.showList = 0); this.taskRecordList.length > 0 ? (this.showList = 1) : (this.showList = 0);
console.log("taskRecordList=", this.taskRecordList);
if (this.taskRecordList.length >= 3) { if (this.taskRecordList.length >= 3) {
this.expand = false; this.expand = false;
} else { } else {
this.expand = true; this.expand = true;
} }
localStorage.setItem("taskList", JSON.stringify(res.taskList)); const temp=this.taskRecordList[0]
this.taskRecordList=[];
this.taskRecordList[0]=temp;
localStorage.setItem("taskList", JSON.stringify(this.taskRecordList));
}); });
} }
} }
......
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