Commit 0da45077 by 展昭

Merge branch 'dev' of

parents a5dd2bba 22148dfb
Showing with 2108 additions and 1129 deletions
VUE_APP_OIDC_CONFIG = '{ "authority": "http://106.120.107.150:5000", "client_id": "teamix-personal-center-web-pc", "client_secret": "123456", "redirect_uri": "http://localhost:8080/callback.html", "response_type": "id_token token", "scope": "openid workapps.client api.workapps.user","post_logout_redirect_uri":"http://localhost:8080", "silent_redirect_uri": "http://localhost:8080/silent-renew.html", "automaticSilentRenew": true,"accessTokenExpiringNotificationTime":60,"filterProtocolClaims":true,"loadUserInfo":true,"loadUserInfo":true }'
VUE_APP_OIDC_CONFIG = '{ "authority": "http://106.120.107.150:5000", "client_id": "qqxb-self-service-web-mobile", "client_secret": "123456", "redirect_uri": "http://localhost:8080/callback.html", "response_type": "id_token token", "scope": "openid workapps.client api.workapps.user","post_logout_redirect_uri":"http://localhost:8080", "silent_redirect_uri": "http://localhost:8080/silent-renew.html", "automaticSilentRenew": true,"accessTokenExpiringNotificationTime":60,"filterProtocolClaims":true,"loadUserInfo":true,"loadUserInfo":true }'
VUE_APP_BASE_URL= http://organization.test.hrs100.cn:18080
VUE_APP_USERINFO_URL=http://106.120.107.145:7778/v1/qqxb/user/api
VUE_APP_SALARY_URL=http://salary.test-api.qqxb.jinsehuaqin.com:8800
# https开关
VUE_APP_OPEN_HTTPS=false
VUE_APP_OIDC_CONFIG = '{ "authority": "https://passport.teammix.com", "client_id": "qqxb-activity-web-mobile", "client_secret": "qqxb#teammix#2019", "redirect_uri": "https://invite.activity.h5.hrs100.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://invite.activity.h5.hrs100.com", "silent_redirect_uri": "https://invite.activity.h5.hrs100.com/silent-renew-oidc.html", "automaticSilentRenew": true,"accessTokenExpiringNotificationTime":60,"filterProtocolClaims":true,"loadUserInfo":true }'
VUE_APP_OIDC_CONFIG = '{ "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 }'
VUE_APP_USERINFO_URL="";
VUE_APP_BASE_URL= https://org-team.hrs100.com
VUE_APP_USERINFO_URL=https://apiplus.qinqinxiaobao.com/v1/qqxb/user/api
VUE_APP_SALARY_URL=https://api-salary.qinqinxiaobao.com
# https开关
VUE_APP_OPEN_HTTPS=true
VUE_APP_OIDC_CONFIG = '{ "authority": "http://106.120.107.150:5000", "client_id": "qqxb-activity-web-mobile", "client_secret": "123456", "redirect_uri": "http://106.120.107.150:7774/callback.html", "response_type": "id_token token", "scope": "workapps.client api.workapps.user api.workapps.org api.workapps.open openid","post_logout_redirect_uri":"http://106.120.107.150:7774", "silent_redirect_uri": "http://106.120.107.150:7774/silent-renew-oidc.html", "automaticSilentRenew": true,"automaticSilentSignin":true,"accessTokenExpiringNotificationTime":60,"filterProtocolClaims":true,"loadUserInfo":true }'
VUE_APP_OIDC_CONFIG = '{ "authority": "http://106.120.107.150:5000", "client_id": "qqxb-self-service-web-mobile", "client_secret": "123456", "redirect_uri": "http://106.120.107.150:7776/callback.html", "response_type": "id_token token", "scope": "workapps.client api.workapps.user api.workapps.org api.workapps.open openid","post_logout_redirect_uri":"http://106.120.107.150:7776", "silent_redirect_uri": "http://106.120.107.150:7776/silent-renew-oidc.html", "automaticSilentRenew": true,"automaticSilentSignin":true,"accessTokenExpiringNotificationTime":60,"filterProtocolClaims":true,"loadUserInfo":true }'
VUE_APP_BASE_URL= http://organization.test.hrs100.cn:18080
......
.DS_Store
node_modules
/dist
#/dist
# local env files
.env.local
......
a,body,button,dd,div,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,html,img,legend,li,ol,p,ul{margin:0;padding:0;font-family:"\5FAE\8F6F\96C5\9ED1","\5B8B\4F53";box-sizing:border-box;font-weight:400}body{background:#fff}*{-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:rgba(0,0,0,0);tap-highlight-color:transparent}fieldset,img{border:none;display:block;box-sizing:border-box}address,b,caption,cite,code,dfn,em,i,strong,table,td,th,tr,var{font-style:normal;font-weight:400;font-family:"\5FAE\8F6F\96C5\9ED1","\5B8B\4F53";box-sizing:border-box}dl,li,ol,ul{list-style:none}a,button{outline:none;text-decoration:none;-webkit-tap-highlight-color:rgba(255,255,255,0)}.submit_btn{position:absolute;bottom:0;width:100%}
\ No newline at end of file
.person-information{width:100%;height:6.82667rem;background-color:#19b370;padding:.53333rem .42667rem 0 .42667rem}.person-information-left{height:2.66667rem;float:left}.person-information-left h3{color:#fff;font-size:.64rem;line-height:.88rem}.person-information-left p{color:#fff;font-size:.37333rem;line-height:.53333rem;margin-top:.18667rem}.person-information-right{height:2.66667rem;float:right}.person-information-right img{width:1.6rem;height:1.6rem;border-radius:90%}.ced-service-div{width:100%;margin-top:-4.16rem;border-radius:.32rem .32rem 0 0;background:#fff}.more-service-box{padding-top:.64rem}.more-service-box h3{color:#3d4047;font-size:.42667rem;line-height:.58667rem;font-weight:500;margin-left:.42667rem}.more-service-div{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-top:.53333rem}.more-service-div a{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:center}.more-service-div a img{display:inline-block;width:.61333rem}.more-service-div a p{color:#5e6066;font-size:.34667rem;margin-top:.32rem}.tools-box{margin-top:.96rem}.tools-box h3{color:#3d4047;font-size:.42667rem;line-height:.58667rem;font-weight:500;margin-left:.42667rem}.tools-div{width:100%;height:2.88rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:space-between;-ms-flex-line-pack:justify;align-content:space-between;padding:0 .42667rem;margin-top:.53333rem}.toolsbox-child{display:block;width:2.82667rem;height:1.28rem;background:#f5f7fa;border-radius:.05333rem;margin-bottom:.32rem}.toolsbox-child img{width:.37333rem;height:.37333rem;float:left;margin-left:.26667rem;margin-right:.21333rem;margin-top:.45333rem}.toolsbox-child p{color:#5e6066;font-size:.34667rem;line-height:1.28rem}
\ No newline at end of file
.si-box{width:9.14667rem;margin:1.6rem auto 0}.si-box .si-child{display:block;width:100%;height:2.66667rem;margin-bottom:.64rem;background:#f8f8f8;border-radius:.16rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.si-child img{width:2.13333rem;height:2.13333rem;margin-left:.26667rem;margin-top:.53333rem}.si-child-desc{width:6.74667rem;height:100%;padding-left:.26667rem;padding-top:.8rem}.si-child-desc h4{color:#3d4047;font-size:.42667rem;line-height:.58667rem;text-align:left}.si-child-desc p{color:#95989e;font-size:.34667rem;line-height:.48rem;margin-top:.26667rem;text-align:left}van-toast--unclickable *{pointer-events:none}.van-toast{position:fixed;top:50%;left:50%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;box-sizing:content-box;width:2.34667rem;max-width:70%;min-height:2.34667rem;padding:.42667rem;color:#fff;font-size:.37333rem;line-height:.53333rem;white-space:pre-wrap;text-align:center;word-wrap:break-word;background-color:rgba(50,50,51,.88);border-radius:.21333rem;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}van-toast__loading{padding:.10667rem;color:#fff}.van-loading{position:relative;color:#c8c9cc;font-size:0;vertical-align:middle}.van-loading__spinner--circular{-webkit-animation-duration:2s;animation-duration:2s}.van-loading__spinner{position:relative;display:inline-block;width:.8rem;max-width:100%;height:.8rem;max-height:100%;vertical-align:middle;-webkit-animation:van-rotate .8s linear infinite;animation:van-rotate .8s linear infinite}.van-loading__circular{display:block;width:100%;height:100%}.van-loading__circular circle{-webkit-animation:van-circular 1.5s ease-in-out infinite;animation:van-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.van-toast--unclickable *{pointer-events:none}
\ No newline at end of file
.fe-detial-box{width:100%;padding:0 .8rem}.fe-detial-top{height:4rem;border-bottom:.02667rem solid #ebecf0}.fe-detial-top h4{color:#3d4047;font-size:.42667rem;line-height:.58667rem;font-weight:400;text-align:center;margin-top:1.33333rem}.fe-detial-top h3{color:#3d4047;font-size:.85333rem;line-height:1.04rem;font-weight:500;text-align:center;margin-top:.42667rem}.fe-detial-top p{color:#077aec;font-size:.37333rem;line-height:.53333rem;text-align:center;margin-top:.26667rem}.fe-detial-bottom{margin-top:.53333rem}.fe-detial-bottom .fe-detial-bottom-title{display:grid;grid-template-columns:1.86667rem auto;-webkit-box-pack:start;-webkit-justify-content:start;-ms-flex-pack:start;justify-content:start}.fe-detial-bottom .fe-detial-bottom-title p{color:#5e6066;font-size:.37333rem;line-height:.8rem;min-width:2.66667rem}
\ No newline at end of file
.upload-body[data-v-704244b6]{width:8rem;margin:.53333rem auto .53333rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload-body .upload-child[data-v-704244b6]{height:4.37333rem;width:3.2rem}.upload-body .upload-child .van-uploader[data-v-704244b6]{width:3.2rem;height:3.41333rem}.upload-body .upload-child .van-uploader .upload-add[data-v-704244b6]{width:3.2rem;height:3.2rem;background-color:#f5f7fa;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAtElEQVR4nO3QsQmAQBREweu/S8HMIrQDX2DwD5wHmy+z1nDHed1vm/43HqAIUAQoAhQBigBFgCJAEaAIUAQoAhQBigBFgCJAEaAIUAQoAhQBigBFgCJAEaAIUAQoAhQBigBF2wPVwb8PECBAgABtPECAPgJNt/3B6QBFgCJAEaAIUAQoAhQBigBFgCJAEaAIUAQoAhQBigBFgCJAEaAIUAQoAhQBigBFgCJAEaAIUAQo2h3oAUPmqKKZONwzAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-size:.96rem .96rem;background-position:1.12rem 1.12rem}.upload-body .upload-child .upload-detil[data-v-704244b6]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.upload-body .upload-child .upload-detil p[data-v-704244b6]{color:#5e6066;font-size:.37333rem;line-height:.37333rem}.upload-body .upload-child .upload-detil van-icon[data-v-704244b6]{width:.37333rem;height:.37333rem}
\ No newline at end of file
No preview for this file type
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title></title><link href=/css/chunk-1649fdd8.6bbb1e35.css rel=prefetch><link href=/css/chunk-19e87806.f544a705.css rel=prefetch><link href=/css/chunk-218ef753.f9dedfe6.css rel=prefetch><link href=/css/chunk-2c46a232.8091d772.css rel=prefetch><link href=/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/css/chunk-44f2d79d.911b12a6.css rel=prefetch><link href=/css/chunk-70204596.2509e660.css rel=prefetch><link href=/css/chunk-79c85055.82976e65.css rel=prefetch><link href=/css/chunk-80379f08.0035f549.css rel=prefetch><link href=/css/chunk-d3bf1764.b8dc6c91.css rel=prefetch><link href=/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/css/chunk-f59847e6.dc9f4765.css rel=prefetch><link href=/js/chunk-0cb1789e.5116890e.js rel=prefetch><link href=/js/chunk-1649fdd8.04a382d3.js rel=prefetch><link href=/js/chunk-19e87806.22a91e6e.js rel=prefetch><link href=/js/chunk-218ef753.a41e8f41.js rel=prefetch><link href=/js/chunk-2c46a232.b28e4445.js rel=prefetch><link href=/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/js/chunk-3d0199f6.ade4fb74.js rel=prefetch><link href=/js/chunk-44f2d79d.14ede13f.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.3c040b3f.js rel=prefetch><link href=/js/chunk-d3bf1764.c71cdd8d.js rel=prefetch><link href=/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/js/chunk-f59847e6.58a1d28a.js rel=prefetch><link href=/css/app.1c666bb8.css rel=preload as=style><link href=/js/app.cd893411.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.cd893411.js></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0cb1789e"],{"0a49":function(t,e,n){var c=n("9b43"),r=n("626a"),a=n("4bf8"),i=n("9def"),o=n("cd1c");t.exports=function(t,e){var n=1==t,u=2==t,f=3==t,s=4==t,l=6==t,d=5==t||l,p=e||o;return function(e,o,h){for(var v,b,y=a(e),m=r(y),j=c(o,h,3),O=i(m.length),x=0,R=n?p(e,O):u?p(e,0):void 0;O>x;x++)if((d||x in m)&&(v=m[x],b=j(v,x,y),t))if(n)R[x]=b;else if(b)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:R.push(v)}else if(s)return!1;return l?-1:f||s?s:R}}},1169:function(t,e,n){var c=n("2d95");t.exports=Array.isArray||function(t){return"Array"==c(t)}},"1f14":function(t,e,n){"use strict";n.r(e);var c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"content"},[n("city-list")],1)},r=[],a=(n("6b54"),n("2397"),n("ade3")),i=(n("7f7f"),n("d4ec")),o=n("262e"),u=n("99de"),f=n("7e84"),s=n("9ab4"),l=n("2b0e"),d=n("b650"),p=n("ad06"),h=n("e41f"),v=n("772a"),b=n("f253"),y=n("565f"),m=n("60a3"),j=n("d1da");function O(t){var e=x();return function(){var n,c=Object(f["a"])(t);if(e){var r=Object(f["a"])(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return Object(u["a"])(this,n)}}function x(){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 R=function(){var t,e=function(t){Object(o["a"])(n,t);var e=O(n);function n(){return Object(i["a"])(this,n),e.apply(this,arguments)}return n}(l["a"]);return e=Object(s["a"])([Object(m["a"])({components:(t={},Object(a["a"])(t,d["a"].name,d["a"]),Object(a["a"])(t,p["a"].name,p["a"]),Object(a["a"])(t,h["a"].name,h["a"]),Object(a["a"])(t,v["a"].name,v["a"]),Object(a["a"])(t,b["a"].name,b["a"]),Object(a["a"])(t,y["a"].name,y["a"]),Object(a["a"])(t,"cityList",j["a"]),t)})],e),e}(),g=R,w=g,C=n("2877"),E=Object(C["a"])(w,c,r,!1,null,null,null);e["default"]=E.exports},7514:function(t,e,n){"use strict";var c=n("5ca1"),r=n("0a49")(5),a="find",i=!0;a in[]&&Array(1)[a]((function(){i=!1})),c(c.P+c.F*i,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(a)},cd1c:function(t,e,n){var c=n("e853");t.exports=function(t,e){return new(c(t))(e)}},d1da:function(t,e,n){"use strict";var c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("van-picker",{attrs:{"show-toolbar":"",title:"",loading:t.loading,columns:t.columns},on:{confirm:t.onConfirm,cancel:t.onCancel}})],1)},r=[],a=(n("6b54"),n("2397"),n("ade3")),i=(n("ac6a"),n("7f7f"),n("7514"),n("d4ec")),o=n("bee2"),u=n("262e"),f=n("99de"),s=n("7e84"),l=n("9ab4"),d=n("2b0e"),p=n("f253"),h=n("60a3");function v(t){var e=b();return function(){var n,c=Object(s["a"])(t);if(e){var r=Object(s["a"])(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return Object(f["a"])(this,n)}}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var y=function(){var t=function(t){Object(u["a"])(n,t);var e=v(n);function n(){var t;return Object(i["a"])(this,n),t=e.apply(this,arguments),t.data="",t.province="",t.city=[],t.area="",t.loading=!0,t.columns=[{id:0,text:"请选择",children:[{id:0,text:"请选择",children:[{id:0,text:"请选择"}]}]}],t}return Object(o["a"])(n,[{key:"created",value:function(){var t=this;this.$server.EmployeeService.getCityList({}).then((function(e){t.data=e,t.data.find((function(e){0==e.parentId&&(t.province={id:e.id,text:e.name,children:[{id:0,text:"请选择",children:[{id:0,text:"请选择"}]}]},t.columns.push(t.province))})),t.columns.forEach((function(e){var n,c=[];t.data.forEach((function(t){t.parentId==e.id&&e.id>0&&c.push({id:t.id,text:t.name,children:[{id:0,text:"请选择",children:[]}]})})),(n=e.children).push.apply(n,c)})),t.columns.forEach((function(e){e.children.forEach((function(e){var n,c=[];t.data.forEach((function(t){e.id>0&&e.id==t.parentId&&c.push({id:t.id,text:t.name,children:[]})})),(n=e.children).push.apply(n,c)}))}))})),setTimeout((function(){t.loading=!1}),1e3)}},{key:"onConfirm",value:function(t){var e=[];t.find((function(t){"请选择"!=t&&e.push(t)})),this.$emit("childCityList",e)}},{key:"onCancel",value:function(){this.$emit("cancelCityList")}}]),n}(d["a"]);return t=Object(l["a"])([Object(h["a"])({components:Object(a["a"])({},p["a"].name,p["a"])})],t),t}(),m=y,j=m,O=n("2877"),x=Object(O["a"])(j,c,r,!1,null,"4f60f920",null);e["a"]=x.exports},e853:function(t,e,n){var c=n("d3f4"),r=n("1169"),a=n("2b4c")("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)||(e=void 0),c(e)&&(e=e[a],null===e&&(e=void 0))),void 0===e?Array:e}}}]);
//# sourceMappingURL=chunk-0cb1789e.5116890e.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1649fdd8"],{"8ef4":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"main main-paySlips main-paySlips-month",attrs:{id:"main_index"}},[n("div",{staticClass:"slips-mid"},[n("div",{staticClass:"slips-mid-top"},[n("p",[e._v("实发工资(元)")]),n("h3",[n("span",[e._v("¥"+e._s(e._f("get_thousand_num")(Number(e.obj[0].currentRealWage).toFixed(2))))])])]),n("div",{staticClass:"slips-mid-bottom"},[n("p",[n("label",[e._v("收入来源")]),n("span",[e._v(e._s(e.obj[0].abbrName))])]),n("p",[n("label",[e._v("保存账户")]),n("span",[e._v(e._s(e.obj[0].bankNo))])]),n("p",[n("label",[e._v("发放时间")]),n("span",[e._v(e._s(e.obj[0].payTime))])])])]),n("div",{staticClass:"slips-bottom"},[n("h3",[e._v("工资明细")]),n("hr"),n("div",{staticClass:"pay-detail-box"},[n("p",[n("label",[e._v("本次收入")]),n("span",[e._v("¥"+e._s(e._f("get_thousand_num")(Number(e.obj[0].currentRealWage)-Number(e.obj[0].currentBaseOldInsurance)-Number(e.obj[0].currentBaseHealthInsurance)-Number(e.obj[0].currentUnemploymentInsurance)-Number(e.obj[0].currentFund)-Number(e.obj[0].currentTaxDeduction))))])]),n("p",[n("label",[e._v("养老保险")]),n("span",{staticClass:"green"},[e._v("-"+e._s(e._f("get_thousand_num")(Number(e.obj[0].currentBaseOldInsurance).toFixed(2))))])]),n("p",[n("label",[e._v("医疗保险")]),n("span",{staticClass:"green"},[e._v("-"+e._s(e._f("get_thousand_num")(Number(e.obj[0].currentBaseHealthInsurance).toFixed(2))))])]),n("p",[n("label",[e._v("失业保险")]),n("span",{staticClass:"green"},[e._v("-"+e._s(e._f("get_thousand_num")(Number(e.obj[0].currentUnemploymentInsurance).toFixed(2))))])]),n("p",[n("label",[e._v("住房公积金")]),n("span",{staticClass:"green"},[e._v("-"+e._s(e._f("get_thousand_num")(Number(e.obj[0].currentFund).toFixed(2))))])]),n("p",[n("label",[e._v("代扣个税")]),n("span",{staticClass:"green"},[e._v("-"+e._s(e._f("get_thousand_num")(Number(e.obj[0].currentTaxDeduction).toFixed(2))))])]),n("p",{staticClass:"wages"},[n("label",[e._v("实发工资")]),n("span",[e._v("-"+e._s(e._f("get_thousand_num")(Number(e.obj[0].currentRealWage).toFixed(2))))])])])])])},r=[],s=(n("6b54"),n("2397"),n("d4ec")),u=n("bee2"),c=n("262e"),i=n("99de"),o=n("7e84"),l=n("9ab4"),b=(n("f769"),n("2b0e")),_=n("60a3");function d(e){var t=p();return function(){var n,a=Object(o["a"])(e);if(t){var r=Object(o["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(i["a"])(this,n)}}function p(){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(e){return!1}}var f=function(){var e=function(e){Object(c["a"])(n,e);var t=d(n);function n(){var e;return Object(s["a"])(this,n),e=t.apply(this,arguments),e.obj=[{no:"",abbrName:"",currentRealWage:0,currentBaseOldInsurance:0,cardType:"",bankNo:"",currentFund:0,payTime:"",currentIncome:0,currentUnemploymentInsurance:0,cardNo:"",currentBaseHealthInsurance:0,name:"",bankName:"",bankOpen:"",currentTaxDeduction:0}],e.id="",e}return Object(u["a"])(n,[{key:"getSalaryInfo",value:function(){var e=this,t={id:this.id};this.$server.EmployeeService.getSalaryInfoDetail(t).then((function(t){e.obj=t,console.log("obj=",JSON.stringify(e.obj))})).catch((function(e){}))}},{key:"init",value:function(){this.id=this.$route.query.id,this.getSalaryInfo()}},{key:"created",value:function(){console.log("this.id=",this.id),this.init()}}]),n}(b["a"]);return e=Object(l["a"])([Object(_["a"])({})],e),e}(),m=f,v=m,h=(n("fa2a"),n("2877")),j=Object(h["a"])(v,a,r,!1,null,null,null);t["default"]=j.exports},eab6:function(e,t,n){},f769:function(e,t,n){},fa2a:function(e,t,n){"use strict";var a=n("eab6"),r=n.n(a);r.a}}]);
//# sourceMappingURL=chunk-1649fdd8.04a382d3.js.map
\ No newline at end of file
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2c46a232"],{1594:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"main main-company",attrs:{id:"main_company"}},[t.dispatch_list.length>0?i("div",{staticClass:"list_wrap"},t._l(t.dispatch_list,(function(e,a){return i("div",{key:a,staticClass:"company-item-box"},[i("p",{staticClass:"company-name",on:{click:function(n){return t.toCompany_click(e.id)}}},[t._v("\n "+t._s(e.fullName)+"\n ")]),i("img",{attrs:{src:n("ed6c"),alt:"进入派遣公司",title:"进入派遣公司"}})])})),0):i("div",{staticClass:"no_data"},[t._v("\n 您还没有劳务派遣公司,暂无相关信息\n ")])])},a=[],c=(n("6b54"),n("2397"),n("ade3")),o=(n("7f7f"),n("96cf"),n("1da1")),r=n("d4ec"),s=n("bee2"),u=n("262e"),l=n("99de"),f=n("7e84"),d=n("9ab4"),h=(n("f769"),n("2b0e")),p=n("ad06"),A=(n("68ef"),n("9d70"),n("3743"),n("60a3"));function g(t){var e=v();return function(){var n,i=Object(f["a"])(t);if(e){var a=Object(f["a"])(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return Object(l["a"])(this,n)}}function v(){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(u["a"])(n,t);var e=g(n);function n(){var t;return Object(r["a"])(this,n),t=e.apply(this,arguments),t.dispatch_list=[],t.id_no_encrytion="",t}return Object(s["a"])(n,[{key:"getDispatchList",value:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getDispatchList({idNo:this.id_no}).then((function(t){console.log("res=",t),e.dispatch_list=t})).catch((function(t){console.log("err=",t)}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"toCompany_click",value:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.$router.push({name:"Index",query:{id_no:this.id_no_encrytion,sp_id:e}});case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"callJSBridage",value:function(){var t=navigator.userAgent.toLowerCase();console.log("userAgent=",t);try{-1!=t.indexOf("qqxbua")&&(console.log("setPageNavState"),this.$bridge.setPageNavState({isShowClose:!1,isShowBack:!0,isCloseLeft:!1,isShowTitle:!0,isShowNav:!0,isCloseWebView:!1}).then((function(t){console.log("couponlist setpageNavState callback",t)})))}catch(e){console.log(e)}}},{key:"created",value:function(){var t=this;setTimeout((function(){t.callJSBridage()}),500),this.id_no_encrytion=this.$route.query.id_no,console.log(this.id_no_encrytion),this.getDispatchList()}},{key:"id_no",get:function(){return window.atob(decodeURI(this.id_no_encrytion))}}]),n}(h["a"]);return t=Object(d["a"])([Object(A["a"])({components:Object(c["a"])({},p["a"].name,p["a"])})],t),t}(),y=b,m=y,_=(n("250a"),n("2877")),w=Object(_["a"])(m,i,a,!1,null,null,null);e["default"]=w.exports},"250a":function(t,e,n){"use strict";var i=n("2b8f"),a=n.n(i);a.a},"2b8f":function(t,e,n){},3743:function(t,e,n){},"68ef":function(t,e,n){},"9d70":function(t,e,n){},ade3:function(t,e,n){"use strict";function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return i}))},ed6c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaBAMAAABMRsE0AAAAD1BMVEX///9HcEzi5evh5evh5OsoiwDpAAAABHRSTlMBAJx/FmGoRAAAAFdJREFUCNdVj8ENwDAIA51OUNQF+ugInSDK/jM1YGypeZ0OCAbXHfXwzkF4FhWORYWzFaIVohWi1QaqDVQJpRJKFaT6g0pu1rg/1AovVQwHc1SH9zk68AOqdBUfBmbbEAAAAABJRU5ErkJggg=="},f769:function(t,e,n){}}]);
//# sourceMappingURL=chunk-2c46a232.b28e4445.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/ChooseCompany.vue?6fdc","webpack:///./src/views/ChooseCompany.vue?8d73","webpack:///./src/views/ChooseCompany.vue?ecbd","webpack:///./src/views/ChooseCompany.vue","webpack:///./src/views/ChooseCompany.vue?a3c2","webpack:///./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///./src/assets/images/right_arrow.png"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","dispatch_list","length","_l","item","index","key","on","$event","toCompany_click","id","_v","_s","fullName","staticRenderFns","workInfo","id_no_encrytion","$server","EmployeeService","getDispatchList","idNo","id_no","then","res","console","log","catch","err","$router","push","name","query","sp_id","userAgent","navigator","toLowerCase","indexOf","$bridge","setPageNavState","isShowClose","isShowBack","isCloseLeft","isShowTitle","isShowNav","isCloseWebView","error","setTimeout","callJSBridage","$route","window","atob","decodeURI","components","component","_defineProperty","obj","value","Object","defineProperty","enumerable","configurable","writable","module","exports"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,oBAAoBC,MAAM,CAAC,GAAK,iBAAiB,CAAEP,EAAIQ,cAAcC,OAAS,EAAGL,EAAG,MAAM,CAACE,YAAY,aAAaN,EAAIU,GAAIV,EAAiB,eAAE,SAASW,EAAKC,GAAO,OAAOR,EAAG,MAAM,CAACS,IAAID,EAAMN,YAAY,oBAAoB,CAACF,EAAG,IAAI,CAACE,YAAY,eAAeQ,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOf,EAAIgB,gBAAgBL,EAAKM,OAAO,CAACjB,EAAIkB,GAAG,aAAalB,EAAImB,GAAGR,EAAKS,UAAU,cAAchB,EAAG,MAAM,CAACG,MAAM,CAAC,IAAM,EAAQ,QAAoC,IAAM,SAAS,MAAQ,iBAAgB,GAAGH,EAAG,MAAM,CAACE,YAAY,WAAW,CAACN,EAAIkB,GAAG,oCACxoBG,EAAkB,G,0qBCmCtB,qBAAqBC,EAArB,4F,0BACU,EAAAd,cAAuB,GACvB,EAAAe,gBAAuB,GAFjC,0OASUtB,KAAKuB,QAAQC,gBAAgBC,gBAAgB,CAAEC,KAAM1B,KAAK2B,QAC7DC,MAAK,SAAAC,GACJC,QAAQC,IAAI,OAAQF,GACpB,EAAKtB,cAAgBsB,KAEtBG,OAAM,SAAAC,GACLH,QAAQC,IAAI,OAAQE,MAf5B,0MAmBgCjB,GAnBhC,iFAoBIhB,KAAKkC,QAAQC,KAAK,CAChBC,KAAM,QACNC,MAAO,CAAEV,MAAO3B,KAAKsB,gBAAiBgB,MAAOtB,KAtBnD,gJA2BI,IAAMuB,EAAYC,UAAUD,UAAUE,cACtCX,QAAQC,IAAI,aAAcQ,GAC1B,KACsC,GAAhCA,EAAUG,QAAQ,YACpBZ,QAAQC,IAAI,mBAEZ/B,KAAK2C,QACFC,gBAAgB,CACfC,aAAa,EACbC,YAAY,EACZC,aAAa,EACbC,aAAa,EACbC,WAAW,EACXC,gBAAgB,IAGjBtB,MAAK,SAAAC,GACJC,QAAQC,IAAI,sCAAuCF,OAGzD,MAAOsB,GACPrB,QAAQC,IAAIoB,MAhDlB,gCAoDS,WACLC,YAAW,WACT,EAAKC,kBACJ,KAEHrD,KAAKsB,gBAAkBtB,KAAKsD,OAAOjB,MAAMV,MACzCG,QAAQC,IAAI/B,KAAKsB,iBACjBtB,KAAKyB,oBA3DT,4BAKI,OAAO8B,OAAOC,KAAKC,UAAUzD,KAAKsB,sBALtC,GAAsC,QA6DtC,OA7DqBD,EAAQ,gBAL5B,eAAU,CACTqC,WAAY,kBACT,OAAKtB,KAAO,WAGIf,GA6DrB,EA7DA,GAAqB,ICpCmX,I,wBCQpYsC,EAAY,eACd,EACA7D,EACAsB,GACA,EACA,KACA,KACA,MAIa,aAAAuC,E,6CCnBf,yBAAmhB,EAAG,G,oICAvgB,SAASC,EAAgBC,EAAKjD,EAAKkD,GAYhD,OAXIlD,KAAOiD,EACTE,OAAOC,eAAeH,EAAKjD,EAAK,CAC9BkD,MAAOA,EACPG,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZN,EAAIjD,GAAOkD,EAGND,EAZT,mC,mBCAAO,EAAOC,QAAU,sR","file":"js/chunk-2c46a232.b28e4445.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"main main-company\",attrs:{\"id\":\"main_company\"}},[(_vm.dispatch_list.length > 0)?_c('div',{staticClass:\"list_wrap\"},_vm._l((_vm.dispatch_list),function(item,index){return _c('div',{key:index,staticClass:\"company-item-box\"},[_c('p',{staticClass:\"company-name\",on:{\"click\":function($event){return _vm.toCompany_click(item.id)}}},[_vm._v(\"\\n \"+_vm._s(item.fullName)+\"\\n \")]),_c('img',{attrs:{\"src\":require(\"../assets/images/right_arrow.png\"),\"alt\":\"进入派遣公司\",\"title\":\"进入派遣公司\"}})])}),0):_c('div',{staticClass:\"no_data\"},[_vm._v(\"\\n 您还没有劳务派遣公司,暂无相关信息\\n \")])])}\nvar staticRenderFns = []\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\r\nimport \"../assets/css/labor.css\";\r\nimport Vue from \"vue\";\r\nimport { Icon } from \"vant\";\r\nimport { Component } from \"vue-property-decorator\";\r\n\r\n@Component({\r\n components: {\r\n [Icon.name]: Icon\r\n }\r\n})\r\nexport default class workInfo extends Vue {\r\n private dispatch_list: any[] = [];\r\n private id_no_encrytion: any = \"\";\r\n\r\n get id_no(): string {\r\n return window.atob(decodeURI(this.id_no_encrytion));\r\n }\r\n\r\n private async getDispatchList() {\r\n await this.$server.EmployeeService.getDispatchList({ idNo: this.id_no })\r\n .then(res => {\r\n console.log(\"res=\", res);\r\n this.dispatch_list = res;\r\n })\r\n .catch(err => {\r\n console.log(\"err=\", err);\r\n });\r\n }\r\n\r\n private async toCompany_click(id: string) {\r\n this.$router.push({\r\n name: \"Index\",\r\n query: { id_no: this.id_no_encrytion, sp_id: id }\r\n });\r\n }\r\n\r\n private callJSBridage() {\r\n const userAgent = navigator.userAgent.toLowerCase();\r\n console.log(\"userAgent=\", userAgent);\r\n try {\r\n if (userAgent.indexOf(\"qqxbua\") != -1) {\r\n console.log(\"setPageNavState\");\r\n //@ts-ignore\r\n this.$bridge\r\n .setPageNavState({\r\n isShowClose: false,\r\n isShowBack: true,\r\n isCloseLeft: false,\r\n isShowTitle: true,\r\n isShowNav: true,\r\n isCloseWebView: false\r\n })\r\n //@ts-ignore\r\n .then(res => {\r\n console.log(\"couponlist setpageNavState callback\", res);\r\n });\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n created() {\r\n setTimeout(() => {\r\n this.callJSBridage();\r\n }, 500);\r\n\r\n this.id_no_encrytion = this.$route.query.id_no;\r\n console.log(this.id_no_encrytion);\r\n this.getDispatchList();\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!./ChooseCompany.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!./ChooseCompany.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChooseCompany.vue?vue&type=template&id=5d75ba6a&\"\nimport script from \"./ChooseCompany.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChooseCompany.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ChooseCompany.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","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!./ChooseCompany.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!./ChooseCompany.vue?vue&type=style&index=0&lang=less&\"","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,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaBAMAAABMRsE0AAAAD1BMVEX///9HcEzi5evh5evh5OsoiwDpAAAABHRSTlMBAJx/FmGoRAAAAFdJREFUCNdVj8ENwDAIA51OUNQF+ugInSDK/jM1YGypeZ0OCAbXHfXwzkF4FhWORYWzFaIVohWi1QaqDVQJpRJKFaT6g0pu1rg/1AovVQwHc1SH9zk68AOqdBUfBmbbEAAAAABJRU5ErkJggg==\""],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-35f92c0e"],{e04e:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},n=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"main main-information",attrs:{id:"information_preview"}},[i("div",{staticClass:"preview-box"},[i("img",{attrs:{src:"",alt:"",title:""}})]),i("a",{staticClass:"commit donwload",attrs:{href:""}},[t._v("下载图片")]),i("a",{staticClass:"commit reupload"},[t._v("重新上传")]),i("input",{staticStyle:{display:"none"},attrs:{fileId:"fileId",type:"file"}})])}],s=(i("f769"),{}),l=s,r=i("2877"),c=Object(r["a"])(l,a,n,!1,null,null,null);e["default"]=c.exports},f769:function(t,e,i){}}]);
//# sourceMappingURL=chunk-35f92c0e.e9f3b3b1.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/InformationPreview.vue?a6d6","webpack:///src/views/InformationPreview.vue","webpack:///./src/views/InformationPreview.vue?a5d5","webpack:///./src/views/InformationPreview.vue"],"names":["render","_vm","this","_h","$createElement","_self","_c","_m","staticRenderFns","staticClass","attrs","_v","staticStyle","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAsBH,EAAII,MAAMC,GAAO,OAAOL,EAAIM,GAAG,IACnGC,EAAkB,CAAC,WAAa,IAAIP,EAAIC,KAASC,EAAGF,EAAIG,eAAmBE,EAAGL,EAAII,MAAMC,IAAIH,EAAG,OAAOG,EAAG,MAAM,CAACG,YAAY,wBAAwBC,MAAM,CAAC,GAAK,wBAAwB,CAACJ,EAAG,MAAM,CAACG,YAAY,eAAe,CAACH,EAAG,MAAM,CAACI,MAAM,CAAC,IAAM,GAAG,IAAM,GAAG,MAAQ,QAAQJ,EAAG,IAAI,CAACG,YAAY,kBAAkBC,MAAM,CAAC,KAAO,KAAK,CAACT,EAAIU,GAAG,UAAUL,EAAG,IAAI,CAACG,YAAY,mBAAmB,CAACR,EAAIU,GAAG,UAAUL,EAAG,QAAQ,CAACM,YAAY,CAAC,QAAU,QAAQF,MAAM,CAAC,OAAS,SAAS,KAAO,cCYre,G,UAAA,ICb4V,I,YCOxVG,EAAY,eACd,EACAb,EACAQ,GACA,EACA,KACA,KACA,MAIa,aAAAK,E","file":"js/chunk-35f92c0e.e9f3b3b1.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"main main-information\",attrs:{\"id\":\"information_preview\"}},[_c('div',{staticClass:\"preview-box\"},[_c('img',{attrs:{\"src\":\"\",\"alt\":\"\",\"title\":\"\"}})]),_c('a',{staticClass:\"commit donwload\",attrs:{\"href\":\"\"}},[_vm._v(\"下载图片\")]),_c('a',{staticClass:\"commit reupload\"},[_vm._v(\"重新上传\")]),_c('input',{staticStyle:{\"display\":\"none\"},attrs:{\"fileId\":\"fileId\",\"type\":\"file\"}})])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"main main-information\" id=\"information_preview\">\r\n <div class=\"preview-box\">\r\n <img src alt title />\r\n </div>\r\n <a href class=\"commit donwload\">下载图片</a>\r\n <a class=\"commit reupload\">重新上传</a>\r\n <input fileId=\"fileId\" type=\"file\" style=\"display:none;\" />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport \"../assets/css/labor.css\";\r\nexport default {};\r\n</script>\r\n\r\n<style lang=\"less\">\r\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InformationPreview.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InformationPreview.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InformationPreview.vue?vue&type=template&id=5650e018&\"\nimport script from \"./InformationPreview.vue?vue&type=script&lang=js&\"\nexport * from \"./InformationPreview.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3d0199f6"],{2397:function(t,e,n){var r=n("5ca1"),o=n("2aeb"),c=n("d8e8"),u=n("cb7c"),i=n("d3f4"),a=n("79e5"),f=n("f0c1"),p=(n("7726").Reflect||{}).construct,s=a((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),l=!a((function(){p((function(){}))}));r(r.S+r.F*(s||l),"Reflect",{construct:function(t,e){c(t),u(e);var n=arguments.length<3?t:c(arguments[2]);if(l&&!s)return p(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(f.apply(t,r))}var a=n.prototype,y=o(i(a)?a:Object.prototype),d=Function.apply.call(t,y,e);return i(d)?d:y}})},"262e":function(t,e,n){"use strict";function r(t,e){return r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r(t,e)}n.d(e,"a",(function(){return o}))},"31f4":function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"60a3":function(t,e,n){"use strict";n.d(e,"a",(function(){return j})),n.d(e,"c",(function(){return r["a"]})),n.d(e,"b",(function(){return S})),n.d(e,"d",(function(){return A}));var r=n("2b0e");
/**
* vue-class-component v7.2.3
* (c) 2015-present Evan You
* @license MIT
*/function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){return i(t)||a(t)||f()}function i(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function a(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function p(){return"undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function s(t,e){l(t,e),Object.getOwnPropertyNames(e.prototype).forEach((function(n){l(t.prototype,e.prototype,n)})),Object.getOwnPropertyNames(e).forEach((function(n){l(t,e,n)}))}function l(t,e,n){var r=n?Reflect.getOwnMetadataKeys(e,n):Reflect.getOwnMetadataKeys(e);r.forEach((function(r){var o=n?Reflect.getOwnMetadata(r,e,n):Reflect.getOwnMetadata(r,e);n?Reflect.defineMetadata(r,o,t,n):Reflect.defineMetadata(r,o,t)}))}var y={__proto__:[]},d=y instanceof Array;function b(t){return function(e,n,r){var o="function"===typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!==typeof r&&(r=void 0),o.__decorators__.push((function(e){return t(e,n,r)}))}}function v(t){var e=o(t);return null==t||"object"!==e&&"function"!==e}function h(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var r in t.$options.props)t.hasOwnProperty(r)||n.push(r);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})}))};var r=new e;e.prototype._init=n;var o={};return Object.keys(r).forEach((function(t){void 0!==r[t]&&(o[t]=r[t])})),o}var O=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(O.indexOf(t)>-1)e[t]=n[t];else{var r=Object.getOwnPropertyDescriptor(n,t);void 0!==r.value?"function"===typeof r.value?(e.methods||(e.methods={}))[t]=r.value:(e.mixins||(e.mixins=[])).push({data:function(){return c({},t,r.value)}}):(r.get||r.set)&&((e.computed||(e.computed={}))[t]={get:r.get,set:r.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return h(this,t)}});var o=t.__decorators__;o&&(o.forEach((function(t){return t(e)})),delete t.__decorators__);var u=Object.getPrototypeOf(t.prototype),i=u instanceof r["a"]?u.constructor:r["a"],a=i.extend(e);return g(a,t,i),p()&&s(a,t),a}var w={prototype:!0,arguments:!0,callee:!0,caller:!0};function g(t,e,n){Object.getOwnPropertyNames(e).forEach((function(r){if(!w[r]){var o=Object.getOwnPropertyDescriptor(t,r);if(!o||o.configurable){var c=Object.getOwnPropertyDescriptor(e,r);if(!d){if("cid"===r)return;var u=Object.getOwnPropertyDescriptor(n,r);if(!v(c.value)&&u&&u.value===c.value)return}0,Object.defineProperty(t,r,c)}}}))}function _(t){return"function"===typeof t?m(t):function(e){return m(e,t)}}_.registerHooks=function(t){O.push.apply(O,u(t))};var j=_;var P="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function R(t,e,n){if(P&&!Array.isArray(t)&&"function"!==typeof t&&"undefined"===typeof t.type){var r=Reflect.getMetadata("design:type",e,n);r!==Object&&(t.type=r)}}function S(t){return void 0===t&&(t={}),function(e,n){R(t,e,n),b((function(e,n){(e.props||(e.props={}))[n]=t}))(e,n)}}function A(t,e){void 0===e&&(e={});var n=e.deep,r=void 0!==n&&n,o=e.immediate,c=void 0!==o&&o;return b((function(e,n){"object"!==typeof e.watch&&(e.watch=Object.create(null));var o=e.watch;"object"!==typeof o[t]||Array.isArray(o[t])?"undefined"===typeof o[t]&&(o[t]=[]):o[t]=[o[t]],o[t].push({handler:n,deep:r,immediate:c})}))}},"7e84":function(t,e,n){"use strict";function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}n.d(e,"a",(function(){return r}))},"99de":function(t,e,n){"use strict";function r(t){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t,e){return!e||"object"!==r(e)&&"function"!==typeof e?o(t):e}n.d(e,"a",(function(){return c}))},"9ab4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));function r(t,e,n,r){var o,c=arguments.length,u=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var i=t.length-1;i>=0;i--)(o=t[i])&&(u=(c<3?o(u):c>3?o(e,n,u):o(e,n))||u);return c>3&&u&&Object.defineProperty(e,n,u),u}},f0c1:function(t,e,n){"use strict";var r=n("d8e8"),o=n("d3f4"),c=n("31f4"),u=[].slice,i={},a=function(t,e,n){if(!(e in i)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";i[e]=Function("F,a","return new F("+r.join(",")+")")}return i[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=u.call(arguments,1),i=function(){var r=n.concat(u.call(arguments));return this instanceof i?a(e,r.length,r):c(e,r,t)};return o(e.prototype)&&(i.prototype=e.prototype),i}}}]);
//# sourceMappingURL=chunk-3d0199f6.ade4fb74.js.map
\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4635e66c"],{2762:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home"},[n("van-button",{attrs:{type:"primary"}},[t._v("普通按钮")])],1)},a=[],o=(n("6b54"),n("2397"),n("d4ec")),c=n("bee2"),i=n("262e"),u=n("99de"),l=n("7e84"),s=n("9ab4"),f=n("b650"),d=n("60a3");function p(t){var e=b();return function(){var n,r=Object(l["a"])(t);if(e){var a=Object(l["a"])(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Object(u["a"])(this,n)}}function b(){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}}d["c"].use(f["a"]);var g=function(){var t=function(t){Object(i["a"])(n,t);var e=p(n);function n(){var t;return Object(o["a"])(this,n),t=e.apply(this,arguments),t.list=[],t}return Object(c["a"])(n,[{key:"created",value:function(){this.$server.EmployeeService.getUserInfo({}).then((function(t){console.log(t)}))}}]),n}(d["c"]);return t=Object(s["a"])([Object(d["a"])({name:"Home"})],t),t}(),v=g,h=v,y=n("2877"),O=Object(y["a"])(h,r,a,!1,null,null,null);e["default"]=O.exports},"48f4":function(t,e,n){"use strict";function r(t,e){var n=e.to,r=e.url,a=e.replace;if(n&&t){var o=t[a?"replace":"push"](n);o&&o.catch&&o.catch((function(t){if(t&&"NavigationDuplicated"!==t.name)throw t}))}else r&&(a?location.replace(r):location.href=r)}function a(t){r(t.parent&&t.parent.$router,t.props)}n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return o}));var o={url:String,replace:Boolean,to:[String,Object]}},b1d2:function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return i})),n.d(e,"d",(function(){return u}));var r="#fff",a="van-hairline",o=a+"--top",c=a+"--left",i=a+"--surround",u=a+"-unset--top-bottom"},b650:function(t,e,n){"use strict";var r=n("c31d"),a=n("2638"),o=n.n(a),c=n("d282"),i=n("ba31"),u=n("b1d2"),l=n("48f4"),s=n("ad06"),f=n("543e"),d=Object(c["a"])("button"),p=d[0],b=d[1];function g(t,e,n,r){var a,c=e.tag,d=e.icon,p=e.type,g=e.color,v=e.plain,h=e.disabled,y=e.loading,O=e.hairline,j=e.loadingText,S={};function x(t){y||h||(Object(i["a"])(r,"click",t),Object(l["a"])(r))}function m(t){Object(i["a"])(r,"touchstart",t)}g&&(S.color=v?g:u["e"],v||(S.background=g),-1!==g.indexOf("gradient")?S.border=0:S.borderColor=g);var k=[b([p,e.size,{plain:v,loading:y,disabled:h,hairline:O,block:e.block,round:e.round,square:e.square}]),(a={},a[u["b"]]=O,a)];function B(){var r,a=[];return y?a.push(t(f["a"],{class:b("loading"),attrs:{size:e.loadingSize,type:e.loadingType,color:"currentColor"}})):d&&a.push(t(s["a"],{attrs:{name:d,classPrefix:e.iconPrefix},class:b("icon")})),r=y?j:n.default?n.default():e.text,r&&a.push(t("span",{class:b("text")},[r])),a}return t(c,o()([{style:S,class:k,attrs:{type:e.nativeType,disabled:h},on:{click:x,touchstart:m}},Object(i["b"])(r)]),[t("div",{class:b("content")},[B()])])}g.props=Object(r["a"])(Object(r["a"])({},l["b"]),{},{text:String,icon:String,color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:String,loadingText:String,loadingType:String,tag:{type:String,default:"button"},type:{type:String,default:"default"},size:{type:String,default:"normal"},loadingSize:{type:String,default:"20px"}}),e["a"]=p(g)}}]);
//# sourceMappingURL=chunk-4635e66c.44ffb30b.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-70204596"],{"1af0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAICAYAAABJYvnfAAAAXElEQVRIie2VuwnAMAxEbxpvry2MPpADT2LQBEmVMm0EUYrXvxOSDgAQsYY6ZRpz6nF+GmOqUyLWwB1+Kne52OtwR6wBdUq9TA3qFLRY+yeM+Q+g/Qm0f4Lda/ACKuKTl1XlVvgAAAAASUVORK5CYII="},2096:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABSCAMAAAD0B6OUAAAAQlBMVEX///8vLz61tbsqKjn///88O0pYV2RHcExERFH///9ycHtMS1goJzYnJjYpKDgnJjYivHkow4Aiclcrh2UmgWAmSUYn9I9wAAAAD3RSTlMauSXZCIhUAHURPmX09+pADrLeAAACEklEQVRYw73ZjW6EIAwA4KqVCZ5jP+f7v+qQ2y1qy1GgrlniZTFfrIeV9uAtE4jWWogRPiDmzoeX2JPaR1DrQGSwPxSLQYRMYBGY5dIk1HIpkgEtiMMKQISiwBxooTDsa7DYI+IRhKpIg1AZmABrvUPWoOAdsoaW74O7RlDxdiLUref0FwMKN/BwG4FN2EyCMGzSwCTsBi+KwTFJA5Ow0AsikzTQCzTer9/5uK/eG3qJQC9w8v7+KYi79xO9RKBLph7EXxAo+CEICsIDRD0QI2gpuH4JYqWgjSBQUBoTfVyAPsVGDhr6RANTZkznfTdmYjvHMEWHA7ekp1wt4M/ZQNAEA4e6IOqDVhe0AtCN7vShERz8La4Pc9sXwCSYTyesuE0Mnu/Kbkvi5D6IizFL8HoV8CGevCYwiievHuzHLkQEQ4x9Mzgf68vcDLr3vffuFNZhH2L0ftyOGgvbzSE6v3Tb0eXBXHF41O8l/u1rdHW1MYminwSzBXZ+FvztOOcLrOwVIPlP0TvFkDdcGkRR8TRGVGCRe9G3VGx2K9IAWnaz1AAiu51rAPkNZz2I/Ja4Hkxs2uOqG3JdykD3XphqK4SNxcD2UsB2epLW59T2HBsfuhZNYWN2as30m0f99la9AdcfEegPMVpE7UHQ/42q9Idp+uM+/YGk/sj0gqGu/tj5gsH4BaP7C35cuOLnj5pQB38Aaf1grbMPjoMAAAAASUVORK5CYII="},2611:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABSCAMAAAD0B6OUAAAAPFBMVEVHcEz///9TU18qKTn///88O0r///////9ERFH5+fksLDxpaHQoKDcnJjYpxIEhvHkqiGYidlkmSEUloW/VkUcgAAAADXRSTlMAA1ndCYgQGnUXyUTp9WWlbAAAAkFJREFUWMPNmWt3wiAMhuUa0urW6v//rwu9aG0JUMx29n7YjpzwNCFgSbxc8lLWeo+IAPTHe2vV5QNZT6C90Ns2mkrRVuZ5Py1LW5hWFHcSWYM7gVQeqlWzlrXu1Trp4aR8nodwWpgJWzXwcsQ2Hk9s5XHEdh5D/IBHRIH9Utg9Fj6UlVvA5DLuA8bgCgqYC3ofcH+9FXXtM0HvnoYVPCIim+m9g5rMxyGrkUw06+J+OQJZ37+yupNJ4DbjYctE4O2xnf8YhvfPtwTw6SImgRsXh/s0MLw7eAQuLipIAm+P70XjmoZxHZkcPAJBMYeOgB15tMweaK5xztC/YRm6TwaBOYCYAobr00Wa7eKoez6DHLyGFBCZUxyN4/RxEvk3D5OP80h8RBI4pcWngdvN7eZht93UaaBPfw9Oxr3hgaaHNBBTOV6AgDpEEaabh7sYaZRGYICUZ8sCV5lXUgxns1nEMjCe7M657v30skBfBL7WzkER6E8AjYYaIFaGHPrsQ19pxuqkSAH757apA0LJOCQd5IBQBurjd30WWJEUDSC5hoz+DuhlgV4eaGWBVh6oZIGKfwU0AZF/SbUBPf8abQNa/kXfBET+KtIG9PxlqQ2o+OtcExAzF84moM1ciVuAmLu0m1CQyV3aD2WFqSkrDF9WHAufCqLJFT7H0kyXQtbZ0ky+eBQvb+ULcPkWwUdE6baIdONGurUk3fxC9aftPvmGpHzLVL6pO/XrZdvOv9AY/4XW/Ry56I8La+ySP3/8C/0AKpObYNMFUS0AAAAASUVORK5CYII="},ade3:function(t,e,o){"use strict";function n(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}o.d(e,"a",(function(){return n}))},d251:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABSBAMAAAAx906VAAAAMFBMVEX///9HcExERFH///////88O0pWVmIqKjlFRVIzMkJ3c38nJjYnfl8ow4AivHolT0hANwHOAAAAC3RSTlMaAHURCIhW2nOnPHBMtnsAAAHLSURBVEjH5dc7TsNAEAbgsdYJEpVRfIJUSDS2wgFikStQ0aSnoU9Hh+hoaThDJJKgReIAPG4AN4gvAAVObM++ZtcTpFT8TRTnk7272syO4cjKZJQBiNHEvg7m17NK1RGnAZgi29LCB1OwUtDQcYaEkNOlghkFhQvHQCa24QA8yS2Y+aAwYQLeRAaEQAoNJiGYaxCCUXAQhjnCLAxFC1PoSNHApAtGDcy6oKhh55O3zwb15P71sMrU82zAfXM4k5s8evYQ4GofyDp3wzbHU23NAYd4udz8eCO1LB/UIAGHeDvfflzo8koNEnBrn9SwJ1/e2nwv1CABV7GB1S3fP5u8rtRKAu6cFvbkM8K5mg2kNqxu+bFel+W6/NJgAQMHVrcs62gwJ2B1y59mMk9TBRMX9tT64LQjGLtQW0u8FpOwf97kXoMZAcG9JvYAgQfhX8J9LPiYB2M+THgwov4KFMz5MOXBwi0ANCRKCgmFW6RoGLtlz4QrreyZhdTMbKEVUrs0S6qSEsVeUrU5Jo4PPVjto90OJPYRxz802ccw+2Dntwrs5iM8nYjbIP2t5WI3cfy2kN1o8ltXfjPMbq/5DTv/FYD/UrHDa4o/bPgLzMEIMlabiBAAAAAASUVORK5CYII="},d504:function(t,e,o){"use strict";o.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main main-index",attrs:{id:"main_index"}},[n("div",{staticClass:"info-card-box"},[n("div",{staticClass:"info-card-top"},[n("div",{staticClass:"info-card-top-left"},[n("h4",[t._v(t._s(t.name))]),n("p",[t._v(t._s(t.birthday))])])]),n("div",{staticClass:"info-card-bottom"},[n("p",[n("label",[t._v("用工单位")]),n("span",[t._v(t._s(t.ceFullName))])]),n("p",[n("label",[t._v("工作地点")]),n("span",[t._v(t._s(t.workAddress))])]),n("p",[n("label",[t._v("工作职位")]),n("span",[t._v(t._s(t.position))])]),n("p",[n("label",[t._v("入职时间")]),n("span",[t._v(t._s(t.employeeEntryDate))])])])]),n("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"}},[n("div",{staticClass:"close-box",on:{click:t.expand_click}},[n("img",{attrs:{src:o("1af0")}})]),n("router-link",{staticClass:"entrance",attrs:{to:"/archives?ed_id="+t.ed_id+"&sp_id="+t.sp_id+"&id_no="+t.id_no}},[n("img",{attrs:{src:o("2611"),alt:"我的档案",title:"我的档案"}}),n("div",[n("h4",[t._v("我的档案")]),n("p",[t._v("档案已确认,如果需要更改信息请联系客服")]),n("p",[t._v("你的信息不完整,请先补充信息")])]),n("img",{staticClass:"arrow",attrs:{src:o("ed6c"),alt:"arrow",title:"arrow"}})]),n("router-link",{staticClass:"entrance entrance-border",attrs:{to:"/Information?ed_id="+t.ed_id+"&id_no="+t.id_no}},[n("img",{attrs:{src:o("d251"),alt:"我的资料",title:"我的资料"}}),n("div",[n("h4",[t._v("我提交的资料")]),n("p",[t._v("你可查询上传的附件信息")])]),n("img",{staticClass:"arrow",attrs:{src:o("ed6c"),alt:"arrow",title:"arrow"}})]),n("router-link",{staticClass:"entrance",attrs:{to:"/PaySlips?sp_id="+t.sp_id+"&id_no="+t.id_no}},[n("img",{attrs:{src:o("2096"),alt:"我的工资条",title:"我的工资条"}}),n("div",[n("h4",[t._v("我的工资条")]),n("p",[t._v("你可查询发放成功的工资记录")])]),n("img",{staticClass:"arrow",attrs:{src:o("ed6c"),alt:"arrow",title:"arrow"}})])],1)],1)},a=[],i=(o("6b54"),o("2397"),o("ade3")),s=(o("7f7f"),o("d4ec")),A=o("bee2"),r=o("262e"),c=o("99de"),l=o("7e84"),d=o("9ab4"),p=(o("f769"),o("e41f")),u=o("60a3");function f(t){var e=h();return function(){var o,n=Object(l["a"])(t);if(e){var a=Object(l["a"])(this).constructor;o=Reflect.construct(n,arguments,a)}else o=n.apply(this,arguments);return Object(c["a"])(this,o)}}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 v=function(){var t=function(t){Object(r["a"])(o,t);var e=f(o);function o(){var t;return Object(s["a"])(this,o),t=e.apply(this,arguments),t.name="",t.birthday="",t.ceFullName="",t.workAddress="",t.position="",t.employeeEntryDate="",t.id_no="",t.sp_id="",t.ed_id="",t.showPopup=!0,t.expand=!0,t.id_no_decode="",t}return Object(A["a"])(o,[{key:"expand_click",value:function(){this.expand=!this.expand}},{key:"created",value:function(){var t=this,e=this.$route.query.id_no;this.id_no_decode=e,this.id_no=window.atob(encodeURI(e)),this.sp_id=this.$route.query.sp_id;var o={spId:this.sp_id,idNo:this.id_no};console.log(o),this.$server.EmployeeService.getDispatchInfo(o).then((function(e){console.log(e),t.name=e.name,t.birthday=e.birthday,t.ceFullName=e.ceFullName,t.workAddress=e.workAddress,t.position=e.position,t.employeeEntryDate=e.employeeEntryDate,t.ed_id=e.id})).catch((function(t){console.log(t)}))}},{key:"popupStyle",get:function(){return this.expand?{height:"63%"}:{height:"86%"}}}]),o}(u["c"]);return t=Object(d["a"])([Object(u["a"])({components:Object(i["a"])({},p["a"].name,p["a"])})],t),t}(),g=v,w=g,b=(o("ec12"),o("2877")),m=Object(b["a"])(w,n,a,!1,null,null,null);e["default"]=m.exports},db95:function(t,e,o){},e41f:function(t,e,o){"use strict";var n=o("d282"),a=o("a142"),i=o("6605"),s=o("ad06"),A=Object(n["a"])("popup"),r=A[0],c=A[1];e["a"]=r({mixins:[Object(i["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(o){return t.$emit(e,o)}};this.onClick=e("click"),this.onOpened=e("opened"),this.onClosed=e("closed")},render:function(){var t,e=arguments[0];if(this.shouldRender){var o=this.round,n=this.position,i=this.duration,A="center"===n,r=this.transition||(A?"van-fade":"van-popup-slide-"+n),l={};if(Object(a["b"])(i)){var d=A?"animationDuration":"transitionDuration";l[d]=i+"s"}return e("transition",{attrs:{name:r},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],style:l,class:c((t={round:o},t[n]=n,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:c("close-icon",this.closeIconPosition),on:{click:this.close}})])])}}})},ec12:function(t,e,o){"use strict";var n=o("db95"),a=o.n(n);a.a},ed6c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaBAMAAABMRsE0AAAAD1BMVEX///9HcEzi5evh5evh5OsoiwDpAAAABHRSTlMBAJx/FmGoRAAAAFdJREFUCNdVj8ENwDAIA51OUNQF+ugInSDK/jM1YGypeZ0OCAbXHfXwzkF4FhWORYWzFaIVohWi1QaqDVQJpRJKFaT6g0pu1rg/1AovVQwHc1SH9zk68AOqdBUfBmbbEAAAAABJRU5ErkJggg=="},f769:function(t,e,o){}}]);
//# sourceMappingURL=chunk-70204596.c8e34564.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-79c85055"],{"0987":function(t,i,a){"use strict";a.r(i);var s=function(){var t=this,i=t.$createElement;t._self._c;return t._m(0)},n=[function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"main main-information main-information-edit",attrs:{id:"main_information_edit"}},[s("p",[t._v("\n 请先补充 我的档案 ,如已补充完成,请下载并打印\n "),s("a",[t._v("入职登记表.pdf")]),t._v(",在打印文件上签字,然后拍照上传。\n ")]),s("div",{staticClass:"info-box"},[s("div",{staticClass:"info-item"},[s("div",{staticClass:"info-picture"},[s("img",{staticClass:"edit",attrs:{src:"/resources/images/add_information.png",alt:"上传资料",title:"上传资料"}}),s("input",{staticClass:"file-input",attrs:{fileType:"",title:"",type:"file"}})]),s("p",[s("span",[t._v("title")]),s("img",{staticClass:"delete-file",attrs:{fileId:"edf_id",src:a("b32a"),alt:"删除",title:"删除"}})])])]),s("a",{staticClass:"commit"},[t._v("提交信息")])])}],e=(a("f769"),{}),A=e,l=a("2877"),c=Object(l["a"])(A,s,n,!1,null,null,null);i["default"]=c.exports},b32a:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcBAMAAACAI8KnAAAAFVBMVEXFx83////h4uXl5unk5Ojz9PXS1NiSmQI+AAAAaUlEQVQY02MQBAIFBiBgArEYgFiMAQwSIVzRBFaQRABbIJCrpKQAokGiTEpKMFUwPcbGroJQEGxszCCIAtC5oqYITnAggzATgqtgSARXwVFQUIRpwLkhwOAQdSXSzXi4DEjAkEEUmRsIAMF6IGi8s4ElAAAAAElFTkSuQmCC"},f769:function(t,i,a){}}]);
//# sourceMappingURL=chunk-79c85055.3fcf6d5b.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/InformationEdit.vue?0cbd","webpack:///src/views/InformationEdit.vue","webpack:///./src/views/InformationEdit.vue?1147","webpack:///./src/views/InformationEdit.vue","webpack:///./src/assets/images/delete.png"],"names":["render","_vm","this","_h","$createElement","_self","_c","_m","staticRenderFns","staticClass","attrs","_v","component","module","exports"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAsBH,EAAII,MAAMC,GAAO,OAAOL,EAAIM,GAAG,IACnGC,EAAkB,CAAC,WAAa,IAAIP,EAAIC,KAASC,EAAGF,EAAIG,eAAmBE,EAAGL,EAAII,MAAMC,IAAIH,EAAG,OAAOG,EAAG,MAAM,CAACG,YAAY,8CAA8CC,MAAM,CAAC,GAAK,0BAA0B,CAACJ,EAAG,IAAI,CAACL,EAAIU,GAAG,wCAAwCL,EAAG,IAAI,CAACL,EAAIU,GAAG,eAAeV,EAAIU,GAAG,2BAA2BL,EAAG,MAAM,CAACG,YAAY,YAAY,CAACH,EAAG,MAAM,CAACG,YAAY,aAAa,CAACH,EAAG,MAAM,CAACG,YAAY,gBAAgB,CAACH,EAAG,MAAM,CAACG,YAAY,OAAOC,MAAM,CAAC,IAAM,wCAAwC,IAAM,OAAO,MAAQ,UAAUJ,EAAG,QAAQ,CAACG,YAAY,aAAaC,MAAM,CAAC,SAAW,GAAG,MAAQ,GAAG,KAAO,YAAYJ,EAAG,IAAI,CAACA,EAAG,OAAO,CAACL,EAAIU,GAAG,WAAWL,EAAG,MAAM,CAACG,YAAY,cAAcC,MAAM,CAAC,OAAS,SAAS,IAAM,EAAQ,QAA+B,IAAM,KAAK,MAAQ,cAAcJ,EAAG,IAAI,CAACG,YAAY,UAAU,CAACR,EAAIU,GAAG,cC+Bz1B,G,UAAA,IChCyV,I,YCOrVC,EAAY,eACd,EACAZ,EACAQ,GACA,EACA,KACA,KACA,MAIa,aAAAI,E,4BClBfC,EAAOC,QAAU,8R","file":"js/chunk-79c85055.3fcf6d5b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"main main-information main-information-edit\",attrs:{\"id\":\"main_information_edit\"}},[_c('p',[_vm._v(\"\\n 请先补充 我的档案 ,如已补充完成,请下载并打印\\n \"),_c('a',[_vm._v(\"入职登记表.pdf\")]),_vm._v(\",在打印文件上签字,然后拍照上传。\\n \")]),_c('div',{staticClass:\"info-box\"},[_c('div',{staticClass:\"info-item\"},[_c('div',{staticClass:\"info-picture\"},[_c('img',{staticClass:\"edit\",attrs:{\"src\":\"/resources/images/add_information.png\",\"alt\":\"上传资料\",\"title\":\"上传资料\"}}),_c('input',{staticClass:\"file-input\",attrs:{\"fileType\":\"\",\"title\":\"\",\"type\":\"file\"}})]),_c('p',[_c('span',[_vm._v(\"title\")]),_c('img',{staticClass:\"delete-file\",attrs:{\"fileId\":\"edf_id\",\"src\":require(\"../assets/images/delete.png\"),\"alt\":\"删除\",\"title\":\"删除\"}})])])]),_c('a',{staticClass:\"commit\"},[_vm._v(\"提交信息\")])])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"main main-information main-information-edit\" id=\"main_information_edit\">\r\n <p>\r\n 请先补充 我的档案 ,如已补充完成,请下载并打印\r\n <a>入职登记表.pdf</a>,在打印文件上签字,然后拍照上传。\r\n </p>\r\n <div class=\"info-box\">\r\n <div class=\"info-item\">\r\n <div class=\"info-picture\">\r\n <!-- <img fileId=\"{{= value.edf_id}}\" class=\"uploaded\" src=\"{{= value.attachment}}\" alt=\"{{= value.title}}\" title=\"{{= value.title}}\"> -->\r\n <img class=\"edit\" src=\"/resources/images/add_information.png\" alt=\"上传资料\" title=\"上传资料\" />\r\n <input fileType title class=\"file-input\" type=\"file\" />\r\n </div>\r\n <p>\r\n <span>title</span>\r\n\r\n <img\r\n class=\"delete-file\"\r\n fileId=\"edf_id\"\r\n src=\"../assets/images/delete.png\"\r\n alt=\"删除\"\r\n title=\"删除\"\r\n />\r\n </p>\r\n </div>\r\n </div>\r\n <a class=\"commit\">提交信息</a>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport \"../assets/css/labor.css\";\r\nexport default {};\r\n</script>\r\n\r\n<style lang=\"less\">\r\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InformationEdit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InformationEdit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InformationEdit.vue?vue&type=template&id=55d8d5db&\"\nimport script from \"./InformationEdit.vue?vue&type=script&lang=js&\"\nexport * from \"./InformationEdit.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcBAMAAACAI8KnAAAAFVBMVEXFx83////h4uXl5unk5Ojz9PXS1NiSmQI+AAAAaUlEQVQY02MQBAIFBiBgArEYgFiMAQwSIVzRBFaQRABbIJCrpKQAokGiTEpKMFUwPcbGroJQEGxszCCIAtC5oqYITnAggzATgqtgSARXwVFQUIRpwLkhwOAQdSXSzXi4DEjAkEEUmRsIAMF6IGi8s4ElAAAAAElFTkSuQmCC\""],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-80379f08"],{"0a49":function(t,e,i){var r=i("9b43"),n=i("626a"),a=i("4bf8"),c=i("9def"),o=i("cd1c");t.exports=function(t,e){var i=1==t,s=2==t,u=3==t,f=4==t,l=6==t,v=5==t||l,d=e||o;return function(e,o,p){for(var b,m,_=a(e),y=n(_),h=r(o,p,3),k=c(y.length),w=0,C=i?d(e,k):s?d(e,0):void 0;k>w;w++)if((v||w in y)&&(b=y[w],m=h(b,w,_),t))if(i)C[w]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return w;case 2:C.push(b)}else if(f)return!1;return l?-1:u||f?f:C}}},1169:function(t,e,i){var r=i("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"198b":function(t,e,i){"use strict";var r=i("4e4c"),n=i.n(r);n.a},"4e4c":function(t,e,i){},7514:function(t,e,i){"use strict";var r=i("5ca1"),n=i("0a49")(5),a="find",c=!0;a in[]&&Array(1)[a]((function(){c=!1})),r(r.P+r.F*c,"Array",{find:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),i("9c6c")(a)},cd1c:function(t,e,i){var r=i("e853");t.exports=function(t,e){return new(r(t))(e)}},e853:function(t,e,i){var r=i("d3f4"),n=i("1169"),a=i("2b4c")("species");t.exports=function(t){var e;return n(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!n(e.prototype)||(e=void 0),r(e)&&(e=e[a],null===e&&(e=void 0))),void 0===e?Array:e}},f1cb:function(t,e,i){"use strict";i.r(e);var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"fe-detial-box"},[i("div",{staticClass:"fe-detial-top"},[i("h4",[t._v("任务报酬")]),i("h3",[t._v("+"+t._s(t._f("get_thousand_num")(t.item.paidSalary.toFixed(2))))]),i("p",{style:t.matchColor(t.item.status)},[t._v(t._s(t.item.status))])]),i("div",{staticClass:"fe-detial-bottom"},[i("div",{staticClass:"fe-detial-bottom-title"},[i("p",[t._v("发包企业")]),i("p",[t._v(t._s(t.item.fullName))])]),i("div",{staticClass:"fe-detial-bottom-title"},[i("p",[t._v("服务类别")]),i("p",[t._v(t._s(t.item.description))])]),i("div",{staticClass:"fe-detial-bottom-title"},[i("p",[t._v("发放时间")]),i("p",[t._v(t._s(t.item.payTime))])]),i("div",{staticClass:"fe-detial-bottom-title"},[i("p",[t._v("收款账户")]),i("p",[t._v(t._s(t.item.banko))])]),i("div",{staticClass:"fe-detial-bottom-title"},[i("p",[t._v("任务名称")]),i("p",[t._v(t._s(t.item.title))])]),i("div",{staticClass:"fe-detial-bottom-title"},[i("p",[t._v("工作职责")]),i("p",[t._v(t._s(t.item.workDuty))])]),i("div",{staticClass:"fe-detial-bottom-title"},[i("p",[t._v("工作内容")]),i("p",[t._v(t._s(t.item.workDescription))])])])])},n=[],a=(i("6b54"),i("2397"),i("7514"),i("d4ec")),c=i("bee2"),o=i("262e"),s=i("99de"),u=i("7e84"),f=i("9ab4"),l=i("60a3"),v=i("e665");function d(t){var e=p();return function(){var i,r=Object(u["a"])(t);if(e){var n=Object(u["a"])(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return Object(s["a"])(this,i)}}function p(){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(o["a"])(i,t);var e=d(i);function i(){var t;return Object(a["a"])(this,i),t=e.apply(this,arguments),t.item={paidSalary:0,status:0,fullName:"",description:"",payTime:"",banko:"",title:"",workDuty:"",workDescription:""},t}return Object(c["a"])(i,[{key:"created",value:function(){var t=this.$route.query.id,e=localStorage.getItem("taskList");if(null!=e){var i=JSON.parse(e);this.item=i.find((function(e){return e.id==t}))}}},{key:"matchColor",get:function(){return function(t){return"进行中"===t?{color:"#077aec"}:"已拒回"===t?{color:"#FF9100"}:"已完成"===t||"已接单"===t||"待发放"===t?{color:"#077aec"}:void 0}}}]),i}(l["c"]);return t=Object(f["a"])([Object(l["a"])({filters:{money:function(t){return Object(v["d"])(t,!1,!0)}}})],t),t}(),m=b,_=m,y=(i("198b"),i("2877")),h=Object(y["a"])(_,r,n,!1,null,null,null);e["default"]=h.exports}}]);
//# sourceMappingURL=chunk-80379f08.3c040b3f.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d3bf1764"],{"119c":function(e,t,i){},"1af0":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAICAYAAABJYvnfAAAAXElEQVRIie2VuwnAMAxEbxpvry2MPpADT2LQBEmVMm0EUYrXvxOSDgAQsYY6ZRpz6nF+GmOqUyLWwB1+Kne52OtwR6wBdUq9TA3qFLRY+yeM+Q+g/Qm0f4Lda/ACKuKTl1XlVvgAAAAASUVORK5CYII="},3743:function(e,t,i){},"4d75":function(e,t,i){},"52ca":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"fe-bigbox"},[a("div",[a("div",{staticClass:"person-information"},[a("div",{staticClass:"person-information-top"},[a("div",{staticClass:"person-information-left"},[a("h3",[e._v(e._s(e.name))]),a("p",[e._v(e._s(e.birthday))])])]),a("div",{staticClass:"info-card-bottom"},[a("p",[a("label",[e._v("已接任务")]),a("span",[e._v(e._s(e.accept_work))])]),a("p",[a("label",[e._v("完成任务")]),a("span",[e._v(e._s(e.perform_work))])]),a("p",[a("label",[e._v("应收报酬")]),a("span",[e._v("¥"+e._s(e._f("get_thousand_num")(e.Payment_receivable?Number(e.Payment_receivable).toFixed(2):0)))])]),a("p",[a("label",[e._v("已收报酬")]),a("span",[e._v("¥"+e._s(e._f("get_thousand_num")(e.receive_receivable?Number(e.receive_receivable).toFixed(2):0)))])])])]),a("van-popup",{style:e.popupStyle,attrs:{overlay:!e.showPopup,"close-on-click-overlay":!e.showPopup,round:"",position:"bottom","get-container":".fe-bigbox"},model:{value:e.showPopup,callback:function(t){e.showPopup=t},expression:"showPopup"}},[a("div",{staticClass:"close-box",on:{click:e.expand_click}},[a("img",{attrs:{src:i("1af0")}})]),1==e.showList?a("div",{staticClass:"green-bg"},[a("div",{staticClass:"fe-list-box"},[a("div",{staticClass:"fe-list-title"},[a("h3",[e._v("任务记录")])]),e._l(e.taskRecordList,(function(t){return a("a",{key:t.id,staticClass:"fe-list-child",attrs:{href:"javascript:void(0)"},on:{click:function(i){return e.toDetail(t.id)}}},[a("div",{staticClass:"fe-list-child-left"},[a("h3",[e._v("\n "+e._s(t.title.length>16?t.title.substring(0,15)+"...":t.title)+"\n ")]),a("p",[e._v(e._s(e._f("format")(t.createTime)))])]),a("div",{staticClass:"fe-list-child-right"},[a("div",{staticClass:"fe-list-child-right-desc"},[a("h3",[e._v("\n ¥"+e._s(e._f("get_thousand_num")(Number(t.paidSalary)?Number(t.paidSalary).toFixed(2):0))+"\n ")]),a("p",{style:e.matchColor(t.billStatus)},[e._v("\n "+e._s(t.billStatus)+"\n ")])]),a("img",{attrs:{src:i("c6ec"),alt:""}})])])}))],2)]):e._e(),0==e.showList?a("div",{staticClass:"empty_data"},[a("p",[e._v("\n 您在亲亲小保未从事灵活用工的相关任务\n "),a("br"),e._v("暂无相关记录\n ")])]):e._e()])],1)])},o=[],n=(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("68ef"),i("a71a"),i("9d70"),i("3743"),i("4d75"),i("60a3"));function v(e){var t=h();return function(){var i,a=Object(u["a"])(e);if(t){var o=Object(u["a"])(this).constructor;i=Reflect.construct(a,arguments,o)}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(e){return!1}}var b=function(){var e=function(e){Object(c["a"])(i,e);var t=v(i);function i(){var e;return Object(s["a"])(this,i),e=t.apply(this,arguments),e.name="",e.birthday="",e.accept_work="0",e.perform_work="0",e.Payment_receivable="0.00",e.receive_receivable="0.00",e.fullName="",e.taskRecordList=null,e.showList=-1,e.showPopup=!0,e.expand=!0,e}return Object(r["a"])(i,[{key:"expand_click",value:function(){this.expand=!this.expand}},{key:"toDetail",value:function(e){this.$router.push({name:"FlexEmployeeDetial",query:{id:e}})}},{key:"callJSBridage",value:function(){var e=navigator.userAgent.toLowerCase();console.log("userAgent=",e);try{-1!=e.indexOf("qqxbua")&&(console.log("setPageNavState"),this.$bridge.setPageNavState({isShowClose:!1,isShowBack:!0,isCloseLeft:!1,isShowTitle:!0,isShowNav:!0,isCloseWebView:!1}).then((function(e){console.log("couponlist setpageNavState callback",e)})))}catch(t){console.log(t)}}},{key:"mounted",value:function(){var e=this;setTimeout((function(){e.callJSBridage()}),500),this.name=localStorage.getItem("name"),this.birthday=localStorage.getItem("birthday");var t=window.atob(decodeURI(String(this.$route.query.id_no))),i={idNo:t};this.$server.EmployeeService.getAgileWorker(i).then((function(t){console.log("res=",t),e.accept_work=t.alCount,e.perform_work=t.comCount,e.Payment_receivable=t.receivableSalary?t.receivableSalary.toFixed(2):0,e.receive_receivable=t.receivedSalary?t.receivedSalary.toFixed(2):0,e.taskRecordList=null==t.taskList?[]:t.taskList,e.taskRecordList.length>0?e.showList=1:e.showList=0,e.taskRecordList.length>=3?e.expand=!1:e.expand=!0,localStorage.setItem("taskList",JSON.stringify(e.taskRecordList))}))}},{key:"popupStyle",get:function(){return this.expand?{height:"63%"}:{height:"86%"}}},{key:"matchColor",get:function(){return function(e){return"进行中"===e?{color:"#077aec"}:"已拒回"===e?{color:"#FF9100"}:"已完成"===e?{color:"#95989E"}:"已接单"===e?{color:"#077aec"}:void 0}}}]),i}(p["c"]);return e=Object(d["a"])([Object(p["a"])({components:Object(n["a"])({},f["a"].name,f["a"])})],e),e}(),g=b,A=g,m=(i("e180"),i("2877")),y=Object(m["a"])(A,a,o,!1,null,null,null);t["default"]=y.exports},"68ef":function(e,t,i){},"9d70":function(e,t,i){},a71a:function(e,t,i){},ade3:function(e,t,i){"use strict";function a(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}i.d(t,"a",(function(){return a}))},c6ec:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaCAYAAAC+aNwHAAABqUlEQVQ4T7WVu0sDQRDGv7nLnYgiCEoe5jaxtrGysRLxgaBgoY0WFuKjsLTzX7AVLBRBbURsBBEfYGWVRhuLCJocJiGgIIgYY25kI8pGzUMWtxzm++3O7Oy3BADX13eObRubPp81Hwq1XMlYrYtubzPtRN4pgHYAWcMw+xzHf1kzwHXTJ57HvYrggQgDQoRitUDo5iYbMM3CCTN3KIJHZnMoGvWfV4OQTEilUi35PI4BdCqCJ8OgYccJnlWCFAFyJRKJZiL7kJm7FMEzkTkqhP+oHOQLIBPi8fsm284dAOhWBC+AMR6JBPZ/g5QAZEImk2nI5TyZ3KMIXgGaiESCu98hPwAywXXdembfHjMPfgqI6I2IpxwntK1CfgV8lBOvs+3GHYBHFEgBoBkhAutfsUodjsViVmtrcccxBeIBWBAiuCJjZU/wKWBmM5lMbwCYVDZjIloUIrhcFSBFzGwkk+lVANMl9ROW/h+gVYJWE8tdo+d5s9Fo21rFa9QaJK1R1npMWs9Zy1C0LU3bVEttnbKmWegPh8MX1cy0ZA7kx2JZtGVZ9txfP5Z3rkvaZf5cmJMAAAAASUVORK5CYII="},e180:function(e,t,i){"use strict";var a=i("119c"),o=i.n(a);o.a},e41f:function(e,t,i){"use strict";var a=i("d282"),o=i("a142"),n=i("6605"),s=i("ad06"),r=Object(a["a"])("popup"),c=r[0],l=r[1];t["a"]=c({mixins:[Object(n["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 e=this,t=function(t){return function(i){return e.$emit(t,i)}};this.onClick=t("click"),this.onOpened=t("opened"),this.onClosed=t("closed")},render:function(){var e,t=arguments[0];if(this.shouldRender){var i=this.round,a=this.position,n=this.duration,r="center"===a,c=this.transition||(r?"van-fade":"van-popup-slide-"+a),u={};if(Object(o["b"])(n)){var d=r?"animationDuration":"transitionDuration";u[d]=n+"s"}return t("transition",{attrs:{name:c},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[t("div",{directives:[{name:"show",value:this.value}],style:u,class:l((e={round:i},e[a]=a,e["safe-area-inset-bottom"]=this.safeAreaInsetBottom,e)),on:{click:this.onClick}},[this.slots(),this.closeable&&t(s["a"],{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:l("close-icon",this.closeIconPosition),on:{click:this.close}})])])}}})}}]);
//# sourceMappingURL=chunk-d3bf1764.c71cdd8d.js.map
\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -2009,7 +2009,8 @@
"base64-js": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
"integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
"integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==",
"dev": true
},
"batch": {
"version": "0.6.1",
......@@ -2051,6 +2052,16 @@
"dev": true,
"optional": true
},
"bindings": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
"dev": true,
"optional": true,
"requires": {
"file-uri-to-path": "1.0.0"
}
},
"bluebird": {
"version": "3.7.2",
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
......@@ -3262,11 +3273,6 @@
"randomfill": "^1.0.3"
}
},
"crypto-js": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.3.0.tgz",
"integrity": "sha512-DIT51nX0dCfKltpRiXV+/TVZq+Qq2NgF4644+K7Ttnla7zEzqc+kjJyiB96BHNyUTBxyjzRcZYpUdZa+QAqi6Q=="
},
"css-color-names": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz",
......@@ -4559,6 +4565,13 @@
}
}
},
"file-uri-to-path": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
"dev": true,
"optional": true
},
"filesize": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
......@@ -4766,7 +4779,11 @@
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
"dev": true,
"optional": true
"optional": true,
"requires": {
"bindings": "^1.5.0",
"nan": "^2.12.1"
}
},
"glob-parent": {
"version": "3.1.0",
......@@ -6567,6 +6584,13 @@
"thenify-all": "^1.0.0"
}
},
"nan": {
"version": "2.14.1",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz",
"integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==",
"dev": true,
"optional": true
},
"nanomatch": {
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
......@@ -6852,24 +6876,6 @@
"integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==",
"dev": true
},
"oidc-client": {
"version": "1.10.1",
"resolved": "https://registry.npmjs.org/oidc-client/-/oidc-client-1.10.1.tgz",
"integrity": "sha512-/QB5Nl7c9GmT9ir1E+OVY3+yZZnuk7Qa9ZEAJqSvDq0bAyAU9KAgeKipTEfKjGdGLTeOLy9FRWuNpULMkfZydQ==",
"requires": {
"base64-js": "^1.3.0",
"core-js": "^2.6.4",
"crypto-js": "^3.1.9-1",
"uuid": "^3.3.2"
},
"dependencies": {
"core-js": {
"version": "2.6.11",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
"integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
}
}
},
"on-finished": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
......@@ -7166,8 +7172,7 @@
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
"integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==",
"dev": true,
"optional": true
"dev": true
},
"pify": {
"version": "4.0.1",
......@@ -10057,7 +10062,8 @@
"uuid": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
"dev": true
},
"validate-npm-package-license": {
"version": "3.0.4",
......@@ -10086,6 +10092,11 @@
"integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=",
"dev": true
},
"vconsole": {
"version": "3.3.4",
"resolved": "https://registry.npm.taobao.org/vconsole/download/vconsole-3.3.4.tgz",
"integrity": "sha1-p9rNiIez0+kC6NGEJc2lbDTnf1E="
},
"vendors": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz",
......@@ -10266,7 +10277,11 @@
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
"dev": true,
"optional": true
"optional": true,
"requires": {
"bindings": "^1.5.0",
"nan": "^2.12.1"
}
},
"glob-parent": {
"version": "3.1.0",
......@@ -10549,7 +10564,11 @@
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
"dev": true,
"optional": true
"optional": true,
"requires": {
"bindings": "^1.5.0",
"nan": "^2.12.1"
}
},
"glob-parent": {
"version": "3.1.0",
......
......@@ -5,7 +5,8 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"lint": "vue-cli-service lint",
"build:stage": "vue-cli-service build --mode staging"
},
"dependencies": {
"@types/echarts": "^4.6.1",
......@@ -17,9 +18,9 @@
"echarts": "^4.8.0",
"fastclick": "^1.0.6",
"moment": "^2.26.0",
"oidc-client": "^1.10.1",
"qs": "^6.9.4",
"vant": "^2.2.0",
"vconsole": "^3.3.4",
"vue": "^2.6.10",
"vue-class-component": "^7.2.3",
"vue-router": "^3.3.1",
......
<!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.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>员工自助</title>
</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>
<!-- built files will be auto injected -->
</body>
</html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title></title>
</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>
<!-- built files will be auto injected -->
</body>
</html>
\ No newline at end of file
......@@ -55,4 +55,9 @@ a,button{
outline: none;
text-decoration: none;
-webkit-tap-highlight-color:rgba(255,255,255,0);
}
.submit_btn{
position: absolute;
bottom: 0;
width: 100%;
}
\ No newline at end of file
function bin2hex (s) {
var i,
l,
o = "",
n;
s += "";
for (i = 0, l = s.length; i < l; i++) {
n = s.charCodeAt(i).toString(16)
o += n.length < 2 ? "0" + n : n;
}
return o;
}
function getCanvas () {
var canvas = document.createElement("canvas");
var ctx = canvas.getContext("2d");
ctx.fillStyle = "#f60";
ctx.fillRect(125, 1, 62, 20);
var b64 = canvas.toDataURL().replace("data:image/png;base64,", "");
var bin = atob(b64);
var crc = bin2hex(bin.slice(-16, -12));
return crc;
}
function getOsInfo () {
var userAgent = navigator.userAgent.toLowerCase();
var name = "Unknown";
var version = "Unknown";
if (userAgent.indexOf("win") > -1) {
name = "Windows";
if (userAgent.indexOf("windows nt 5.0") > -1) {
version = "Windows 2000";
} else if (
userAgent.indexOf("windows nt 5.1") > -1 ||
userAgent.indexOf("windows nt 5.2") > -1
) {
version = "Windows XP";
} else if (userAgent.indexOf("windows nt 6.0") > -1) {
version = "Windows Vista";
} else if (
userAgent.indexOf("windows nt 6.1") > -1 ||
userAgent.indexOf("windows 7") > -1
) {
version = "Windows 7";
} else if (
userAgent.indexOf("windows nt 6.2") > -1 ||
userAgent.indexOf("windows 8") > -1
) {
version = "Windows 8";
} else if (userAgent.indexOf("windows nt 6.3") > -1) {
version = "Windows 8.1";
} else if (
userAgent.indexOf("windows nt 6.2") > -1 ||
userAgent.indexOf("windows nt 10.0") > -1
) {
version = "Windows 10";
} else {
version = "Unknown";
}
} else if (userAgent.indexOf("iphone") > -1) {
name = "Iphone";
} else if (userAgent.indexOf("mac") > -1) {
name = "Mac";
} else if (
userAgent.indexOf("x11") > -1 ||
userAgent.indexOf("unix") > -1 ||
userAgent.indexOf("sunname") > -1 ||
userAgent.indexOf("bsd") > -1
) {
name = "Unix";
} else if (userAgent.indexOf("linux") > -1) {
if (userAgent.indexOf("android") > -1) {
name = "Android"
} else {
name = "Linux";
}
} else {
name = "Unknown";
}
var os = new Object();
os.name = name;
os.version = version;
return os;
//document.write("系统:" + os.name + "版本:" + os.name)
}
function getBrowerInfo () {
var Browser =
Browser ||
(function (window) {
var document = window.document,
navigator = window.navigator,
agent = navigator.userAgent.toLowerCase(),
//IE8+支持.返回浏览器渲染当前文档所用的模式
//IE6,IE7:undefined.IE8:8(兼容模式返回7).IE9:9(兼容模式返回7||8)
//IE10:10(兼容模式7||8||9)
IEMode = document.documentMode,
//chorme
chrome = window.chrome || false,
System = {
//user-agent
agent: agent,
//是否为IE
isIE: /trident/.test(agent),
//Gecko内核
isGecko: agent.indexOf("gecko") > 0 && agent.indexOf("like gecko") < 0,
//webkit内核
isWebkit: agent.indexOf("webkit") > 0,
//是否为标准模式
isStrict: document.compatMode === "CSS1Compat",
//是否支持subtitle
supportSubTitle: function () {
return "track" in document.createElement("track");
},
//是否支持scoped
supportScope: function () {
return "scoped" in document.createElement("style");
},
//获取IE的版本号
ieVersion: function () {
var rMsie = /(msie\s|trident.*rv:)([\w.]+)/;
var ma = window.navigator.userAgent.toLowerCase()
var match = rMsie.exec(ma);
try {
return match[2];
} catch (e) {
// console.log("error");
return IEMode;
}
},
//Opera版本号
operaVersion: function () {
try {
if (window.opera) {
return agent.match(/opera.([\d.]+)/)[1];
} else if (agent.indexOf("opr") > 0) {
return agent.match(/opr\/([\d.]+)/)[1];
}
} catch (e) {
return 0;
}
}
};
try {
//浏览器类型(IE、Opera、Chrome、Safari、Firefox)
System.type = System.isIE
? "IE"
: window.opera || agent.indexOf("opr") > 0
? "Opera"
: agent.indexOf("chrome") > 0
? "Chrome"
: //safari也提供了专门的判定方式
window.openDatabase
? "Safari"
: agent.indexOf("firefox") > 0
? "Firefox"
: "unknow";
//版本号
System.version = (System.type === "IE") ? System.ieVersion() :
(System.type === "Firefox") ? agent.match(/firefox\/([\d.]+)/)[1] :
(System.type === "Chrome") ? agent.match(/chrome\/([\d.]+)/)[1] :
(System.type === "Opera") ? System.operaVersion() :
(System.type === "Safari") ? agent.match(/version\/([\d.]+)/)[1] :
"0";
//浏览器外壳
System.shell = function () {
if (agent.indexOf("edge") > 0) {
System.version = agent.match(/edge\/([\d.]+)/)[1] || System.version;
return "edge浏览器";
}
//遨游浏览器
if (agent.indexOf("maxthon") > 0) {
System.version = agent.match(/maxthon\/([\d.]+)/)[1] || System.version;
return "傲游浏览器";
}
//QQ浏览器
if (agent.indexOf("qqbrowser") > 0) {
System.version = agent.match(/qqbrowser\/([\d.]+)/)[1] || System.version;
return "QQ浏览器";
}
//搜狗浏览器
if (agent.indexOf("se 2.x") > 0) {
return '搜狗浏览器';
}
//Chrome:也可以使用window.chrome && window.chrome.webstore判断
if (chrome && System.type !== "Opera") {
var external = window.external,
clientInfo = window.clientInformation,
//客户端语言:zh-cn,zh.360下面会返回undefined
clientLanguage = clientInfo.languages;
//猎豹浏览器:或者agent.indexOf("lbbrowser")>0
if (external && 'LiebaoGetVersion' in external) {
return '猎豹浏览器';
}
//百度浏览器
if (agent.indexOf("bidubrowser") > 0) {
System.version = agent.match(/bidubrowser\/([\d.]+)/)[1] ||
agent.match(/chrome\/([\d.]+)/)[1];
return "百度浏览器";
}
//360极速浏览器和360安全浏览器
if (System.supportSubTitle() && typeof clientLanguage === "undefined") {
//object.key()返回一个数组.包含可枚举属性和方法名称
var storeKeyLen = Object.keys(chrome.webstore).length,
v8Locale = "v8Locale" in window;
return storeKeyLen > 1 ? '360极速浏览器' : '360安全浏览器';
}
return "Chrome";
}
return System.type;
};
//浏览器名称(如果是壳浏览器,则返回壳名称)
System.name = System.shell();
//对版本号进行过滤过处理
// System.version = System.versionFilter(System.version);
} catch (e) {
// console.log(e.message);
}
return {
client: System
};
})(window);
if (Browser.client.name == undefined || Browser.client.name == "") {
Browser.client.name = "Unknown";
Browser.client.version = "Unknown";
} else if (Browser.client.version == undefined) {
Browser.client.version = "Unknown";
}
// document.write(Browser.client.name + " " + Browser.client.version);
return Browser;
}
function GetCommonPms () {
const v = "1.0.1";
const did = getCanvas();
const dh = getOsInfo().version;
const BrowerInfo = getBrowerInfo();
const db = BrowerInfo.client.name;
const dv = BrowerInfo.client.version;
const t = new Date().getTime();
const pms = `v=${v}&&did=${did}&&dh=${dh}&&db=${db}&&dv=${dv}&&dm=&&lat=&&lng=&&t=${t}`;
return pms;
}
export {
GetCommonPms
};
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
/* eslint-disable */
import qs from "qs";
import Oidc from "oidc-client";
// import "babel-polyfill";
const oidc_config = JSON.parse(process.env.VUE_APP_OIDC_CONFIG)
var mgr: Oidc.UserManager;
mgr = new Oidc.UserManager({
userStore: new Oidc.WebStorageStateStore({}),
authority: oidc_config.authority,
client_id: oidc_config.client_id,
redirect_uri: oidc_config.redirect_uri,
response_type: oidc_config.response_type,
scope: oidc_config.scope,
post_logout_redirect_uri: oidc_config.post_logout_redirect_uri,
silent_redirect_uri: oidc_config.silent_redirect_uri,
accessTokenExpiringNotificationTime: oidc_config.accessTokenExpiringNotificationTime,
automaticSilentRenew: oidc_config.filterProtocolClaims,
filterProtocolClaims: oidc_config.loadUserInfo,
loadUserInfo: oidc_config.loadUserInfo
});
Oidc.Log.logger = console;
Oidc.Log.level = Oidc.Log.INFO;
mgr!.events.addUserLoaded(function (user: any) {
console.log("初始化");
});
mgr!.events.addAccessTokenExpiring(function () {
console.log("过期前");
console.log("AccessToken Expiring:", arguments);
});
mgr!.events.addAccessTokenExpired(function () {
console.log("AccessToken Expired:", arguments);
mgr
.signoutRedirect()
.then(function (resp: any) {
console.log("signed out", resp);
})
.catch(function (err: any) {
console.log(err);
});
});
mgr!.events.addSilentRenewError(function () {
console.error("Silent Renew Error:", arguments);
});
mgr!.events.addUserSignedOut(function () {
console.log("UserSignedOut:", arguments);
mgr
.signoutRedirect()
.then(function (resp: any) {
window.location.href = "/";
})
.catch(function (err: any) {
console.log(err);
});
});
export default class SecurityService {
signinRedirectCallback() {
mgr
.signinRedirectCallback()
.then(function (user: any) {
// console.log("=============================");
// console.log(user);
})
.catch(function (err: any) {
// console.log(err);
});
}
signinSilentCallback() {
mgr.signinSilentCallback().catch(function (err: any) {
// console.log(err);
});
}
// Renew the token manually
renewToken(): Promise<Oidc.User | null> {
let self = this;
console.log("执行");
return new Promise((resolve, reject) => {
mgr
.signinSilent()
.then(function (user: Oidc.User | null) {
if (user == null) {
self.signIn();
} else {
return resolve(user);
}
})
.catch(function (err: any) {
alert(err);
console.log(err);
return reject(err);
});
});
}
// Get the user who is logged in
getUser(): Promise<Oidc.User | undefined> {
let self = this;
return new Promise<Oidc.User | undefined>((resolve, reject) => {
mgr
.getUser()
.then(function (user) {
if (user == null) {
// self.signIn();
return resolve(undefined);
} else {
if (!!user.expired) {
return resolve(undefined);
}
return resolve(user);
}
})
.catch(function (err: any) {
console.log(err);
return reject(err);
});
});
}
// Check if there is any user logged in
getSignedIn(): Promise<boolean> {
let self = this;
return new Promise((resolve, reject) => {
mgr
.getUser()
.then(function (user: any) {
let authcode = qs.parse(window.location.search).authcode;
if (authcode) {
mgr
.signinRedirect({
extraQueryParams: { authcode }
})
.catch(error => {
console.error(error);
});
return resolve(false);
} else if (user == null) {
self.signIn();
return resolve(false);
} else {
return resolve(true);
}
})
.catch(function (err: any) {
console.log(err);
return reject(err);
});
});
}
// Redirect of the current window to the authorization endpoint.
signIn(args = {}) {
mgr.signinRedirect(args).catch(function (err: any) {
console.log(err);
});
}
signInto(args: any = null) {
mgr.signinRedirect(args).catch(function (err: any) {
console.log(err);
});
}
// Redirect of the current window to the end session endpoint
signOut() {
mgr
.signoutRedirect()
.then(function (resp: any) {
console.log("signed out", resp);
})
.catch(function (err: any) {
console.log(err);
});
}
// Get the profile of the user logged in
getProfile(): Promise<Oidc.Profile | null> {
let self = this;
return new Promise((resolve, reject) => {
mgr
.getUser()
.then(function (user: Oidc.User | null) {
if (user == null) {
self.signIn();
return resolve(null);
} else {
return resolve(user.profile);
}
})
.catch(function (err: any) {
console.log(err);
return reject(err);
});
});
}
// Get the token id
getIdToken(): Promise<string | null> {
let self = this;
return new Promise((resolve, reject) => {
mgr
.getUser()
.then(function (user: Oidc.User | null) {
if (user == null) {
self.signIn();
return resolve(null);
} else {
return resolve(user.id_token);
}
})
.catch(function (err: any) {
console.log(err);
return reject(err);
});
});
}
// Get the session state
getSessionState(): Promise<any | null> {
let self = this;
return new Promise((resolve, reject) => {
mgr
.getUser()
.then(function (user: Oidc.User | null) {
if (user == null) {
self.signIn();
return resolve(null);
} else {
return resolve(user.session_state);
}
})
.catch(function (err: any) {
console.log(err);
return reject(err);
});
});
}
// Get the access token of the logged in user
getAcessToken(): Promise<string | null> {
let self = this;
return new Promise((resolve, reject) => {
mgr
.getUser()
.then(function (user: Oidc.User | null) {
if (user == null) {
self.signIn();
return resolve(null);
} else {
return resolve(user.access_token);
}
})
.catch(function (err: any) {
console.log(err);
return reject(err);
});
});
}
// Takes the scopes of the logged in user
getScope(): Promise<string | null> {
let self = this;
return new Promise((resolve, reject) => {
mgr
.getUser()
.then(function (user: Oidc.User | null) {
if (user == null) {
self.signIn();
return resolve(null);
} else {
return resolve(user.scope);
}
})
.catch(function (err: any) {
console.log(err);
return reject(err);
});
});
}
// Get the user roles logged in
getRole(): Promise<any | null> {
let self = this;
return new Promise((resolve, reject) => {
mgr
.getUser()
.then(function (user: Oidc.User | null) {
if (user == null) {
self.signIn();
return resolve(null);
} else {
return resolve(user.profile.role);
}
})
.catch(function (err: any) {
console.log(err);
return reject(err);
});
});
}
}
//import "babel-polyfill";
import Oidc from "oidc-client";
var mgr = new Oidc.UserManager({
userStore: new Oidc.WebStorageStateStore({}),
loadUserInfo: true,
filterProtocolClaims: true
});
mgr.signinRedirectCallback().then(function (user: any) {
let returnUrl = localStorage.getItem("returnUrl");
if (returnUrl) {
window.location.href = returnUrl;
} else {
window.location.href = "/";
}
}).catch(function (err: any) {
console.log(err);
});
// import "babel-polyfill";
import Oidc from 'oidc-client';
var mgr = new Oidc.UserManager({
userStore: new Oidc.WebStorageStateStore({}),
loadUserInfo: true,
filterProtocolClaims: true
});
mgr.signinSilentCallback();
<template>
<div>
<van-picker show-toolbar title :loading="loading" :columns="columns" @confirm="onConfirm" @cancel="onCancel" />
</div>
</template>
<script lang="ts">
import Vue from "vue";
import { Picker } from "vant";
import { Component, Prop } from "vue-property-decorator";
@Component({
components: {
[Picker.name]: Picker
}
})
export default class cityList extends Vue {
// @Prop({
// type: Boolean,
// required: true,
// default: ""
// }) showCancel!: boolean;
private data: any = "";
private province: any = ""; //省份
private city: any = []; //市份
private area: any = ""; //区,县
private loading: boolean = true;
private columns: any = [
{
id: 0,
text: "请选择",
children: [
{
id: 0,
text: "请选择",
children: [{ id: 0, text: "请选择" }]
}
]
}
];
created() {
this.$server.EmployeeService.getCityList({}).then(res => {
this.data = res;
//组建省数据
this.data.find((item: any) => {
let obj = {};
if (item.parentId == 0) {
this.province = {
id: item.id,
text: item.name,
children: [
{
id: 0,
text: "请选择",
children: [
{
id: 0,
text: "请选择"
}
]
}
]
};
this.columns.push(this.province);
}
});
//组建市数据 [{"name":"北京市","id":1,"parentId":0}]
this.columns.forEach((element: any) => {
let child: any = [];
this.data.forEach((data: any) => {
if (data.parentId == element.id && element.id > 0) {
child.push({
id: data.id,
text: data.name,
children: [{ id: 0, text: "请选择", children: [] }]
});
}
});
element.children.push(...child);
});
//组建县级数据
this.columns.forEach((element: any) => {
element.children.forEach((child: any) => {
let child_son: any = [];
this.data.forEach((data: any) => {
if (child.id > 0 && child.id == data.parentId) {
child_son.push({
id: data.id,
text: data.name,
children: []
});
}
});
child.children.push(...child_son);
});
});
});
// Vue.$nextTick(callback)
setTimeout(() => {
this.loading = false;
}, 1000);
}
onConfirm(values: any) {
let ary: any = [];
values.find((item: any) => {
if (item != "请选择") {
ary.push(item);
}
});
this.$emit("childCityList", ary);
}
onCancel(){
this.$emit("cancelCityList");
//this.showCancel=false
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
......@@ -15,12 +15,7 @@
@cancel="showStartDate = false"
/>
</van-popup>
<van-field
v-model="endDate"
label="结束时间"
placeholder="请选择结束时间(非必填)"
@click="showEndDate=true"
/>
<van-field v-model="endDate" label="结束时间" placeholder="请选择结束时间(非必填)" @click="showEndDate=true" />
<van-popup v-model="showEndDate" position="bottom">
<van-datetime-picker
v-model="currentDate1"
......@@ -47,6 +42,8 @@ import { formatDate } from "../../utils/public";
}
})
export default class eduExperience extends Vue {
startTime: any = "";
endTime: any = "";
private showStartDate: boolean = false;
private showEndDate: boolean = false;
private currentDate: Date = new Date();
......@@ -63,17 +60,15 @@ export default class eduExperience extends Vue {
default: ""
})
endDate!: any;
@Watch("dateItem")
getVisible(newVal: any, oldVal: any) {
// this.dateItem = newVal;
}
onConfirmStartDate(time: any) {
this.startDate = formatDate(time, "yyyy-MM-dd");
this.startTime = formatDate(time, "yyyy-MM-dd");
this.$emit("childStartDate", this.startTime); //把值传回给父元素
this.showStartDate = false;
}
onConfirmEndDate(time: any) {
this.endDate = formatDate(time, "yyyy-MM-dd");
this.endTime = formatDate(time, "yyyy-MM-dd");
this.$emit("childEndDate", this.endTime); //把值传回给父元素
this.showEndDate = false;
}
}
......
import Vue from 'vue';
import App from './App.vue';
import router from './router'
import store from './store'
import 'amfe-flexible/index.js'
import server from '@/services/install'
import router from './router';
import store from './store';
import 'amfe-flexible/index.js';
import server from '@/services/install';
// import FastClick from 'fastclick'
import '@/assets/css/index.less'
import * as filters from "@/utils/filters";
import '@/assets/css/index.less';
import * as filters from '@/utils/filters';
//@ts-ignore
import bridge from "./utils/bridge/birdge.js";
Vue.config.productionTip = false;
// FastClick.attach(document.body);
......@@ -15,8 +16,18 @@ Object.keys(filters).forEach((key: string) => {
Vue.filter(key, (filters as any)[key]);
});
Vue.use(server)
Vue.use(server);
if (
process.env.NODE_ENV === 'development' ||
process.env.NODE_ENV === 'staging'
) {
// const VConsole = require('vconsole');
// const my_console = new VConsole();
}
Vue.prototype.$bridge = bridge;
new Vue({
router,
......
......@@ -35,7 +35,7 @@ export default [
name: 'FlexEmployeeDetial',
component: () => import("@/views/FlexEmployeeDetial.vue"),
meta: {
title: '灵活用工详情',
title: '任务详情',
requiresAuth: false
}
},
......@@ -137,6 +137,15 @@ export default [
meta: {
title: '测试页面',
}
},
{
// 测试城市选择
path: '/cityTest',
name: 'cityTest',
component: () => import("@/views/cityTest.vue"),
meta: {
title: '测试城市列表',
}
}
]
\ No newline at end of file
import Vue from 'vue';
import Router from 'vue-router';
import Mgr from '@/common/SecurityService';
// import Mgr from '@/common/SecurityService';
import employee_router from './employee/employee-router';
import qs from 'qs';
import axios from 'axios';
//@ts-ignore
import { GetCommonPms } from '../assets/js/CommonPms.js';
Vue.use(Router);
let mgr = new Mgr();
// let mgr = new Mgr();
const oidc_config = JSON.parse(process.env.VUE_APP_OIDC_CONFIG);
const isOpenHttps = process.env.VUE_APP_OPEN_HTTPS;
/**
* 加载和设置路由
*/
const router = new Router({
mode: 'history',
mode: 'history',
base: process.env.BASE_URL,//'/',
routes: [
...employee_router
]
base: process.env.BASE_URL, //'/',
routes: [...employee_router],
});
/**
* 使用授权码登录
* @param authCode 授权码
*/
function loginByAuthcode(authCode: any) {
let loginArgs = { extraQueryParams: { authcode: authCode } };
mgr.signIn(loginArgs);
}
// function loginByAuthcode(authCode: any) {
// let loginArgs = { extraQueryParams: { authcode: authCode } };
// mgr.signIn(loginArgs);
// }
/**
* 自动登录
* @param authcode 授权码
*/
function autoLogin(authcode: any) {
mgr.getUser().then(user => {
if (user == null) {
loginByAuthcode(authcode);
} else {
//如果已经登录,则先退出
localStorage.setItem("authcode", authcode);
mgr.signOut();
}
})
// function autoLogin(authcode: any) {
// mgr.getUser().then((user) => {
// if (user == null) {
// loginByAuthcode(authcode);
// } else {
// //如果已经登录,则先退出
// localStorage.setItem('authcode', authcode);
// mgr.signOut();
// }
// });
// }
//@ts-ignore
function getAccessToken(authcode) {
console.log('authcode=', authcode);
return new Promise((resolve, reject) => {
let commonPms = GetCommonPms();
//@ts-ignore
let url = `${oidc_config.authority}/connect/token?${commonPms}`;
let pms = {
//@ts-ignore
client_id: oidc_config.client_id,
//@ts-ignore
client_secret: oidc_config.client_secret,
grant_type: 'auth_code',
scope:
'openid workapps.client api.workapps.user api.workapps.org api.workapps.open',
code: authcode,
};
axios.post(url, qs.stringify(pms)).then((res) => {
if (res && res.status) {
const accessToken = res.data.access_token;
resolve(accessToken);
} else {
reject(res);
}
});
});
}
//@ts-ignore
function getPathByTo(to, authcode_key) {
let toPath = to.path || '/';
for (let key in to.query) {
key = key.toLowerCase();
console.log('key=', key);
if (key == authcode_key) {
continue;
}
toPath += toPath.indexOf('?') > -1 ? '&' : '?';
toPath += `${key}=${to.query[key]}`;
}
toPath =
toPath.indexOf('?') > -1
? toPath + '&t=' + new Date().valueOf()
: toPath + '?t=' + new Date().valueOf();
return toPath;
}
router.beforeEach((to, from, next) => {
if (isOpenHttps === 'true' && location.href.startsWith('http://')) {
location.href = location.href.replace('http://', 'https://');
}
const requiresAuth = to.matched.some((record) => record.meta.requiresAuth);
//更改标题
if (to.meta.title) {
document.title = to.meta.title;
}
const authcode = to.query.authCode || to.query.authcode;
if (!!authcode) {
getAccessToken(authcode)
.then((res) => {
const redirectPath = getPathByTo(to, 'authcode');
//@ts-ignore
const accessToken: string = res;
localStorage.setItem('token', accessToken);
window.location.href = redirectPath;
})
.catch((err) => {
console.log('err=', err);
});
} else {
console.log('to.path=', to.path);
next();
}
});
/**
* 请求路由前 一些操作
*/
router.beforeEach((to, from, next) => {
// console.log(isOpenHttps);
if (isOpenHttps === "true" && location.href.startsWith("http://")) {
location.href = location.href.replace("http://", "https://");
}
const requiresAuth = to.matched.some(record => record.meta.requiresAuth);
localStorage.setItem("returnUrl", to.path);
//更改标题
if (to.meta.title) {
document.title = to.meta.title;
}
let authcode = localStorage.getItem("authcode")
if (authcode) {
localStorage.removeItem("authcode");
loginByAuthcode(authcode)
} else {
let authcode = to.query.authcode;
if (authcode) {
autoLogin(authcode);
} else {
if (requiresAuth) {
mgr.getUser().then(user => {
if (user == null) {
mgr.signIn();
} else {
next();
}
});
}
else {
next();
}
}
}
});
// router.beforeEach((to, from, next) => {
// // console.log(isOpenHttps);
// if (isOpenHttps === "true" && location.href.startsWith("http://")) {
// location.href = location.href.replace("http://", "https://");
// }
// const requiresAuth = to.matched.some(record => record.meta.requiresAuth);
// localStorage.setItem("returnUrl", to.path);
// //更改标题
// if (to.meta.title) {
// document.title = to.meta.title;
// }
// let authcode = localStorage.getItem("authcode")
// if (authcode) {
// localStorage.removeItem("authcode");
// loginByAuthcode(authcode)
// } else {
// let authcode = to.query.authcode;
// if (authcode) {
// autoLogin(authcode);
// } else {
// if (requiresAuth) {
// mgr.getUser().then(user => {
// if (user == null) {
// mgr.signIn();
// } else {
// next();
// }
// });
// }
// else {
// next();
// }
// }
// }
// });
export default router;
......@@ -2,36 +2,38 @@
* 员工相关接口
*/
export interface EmployeeInterface {
getUserInfo(params: any): Promise<any>;
getCityList(params: any): Promise<any>; // 获取城市列表
getDispatchList(params: any): Promise<any>; //根据身份证获取用户所属派遣公司列表
getDispatchInfo(params: any): Promise<any>; //通过身份证号和派遣公司ID拿到派遣员工的信息(劳务派遣首页数据)
getWorkInfoList(params: any): Promise<any>; //获取工作信息列表
getWorkInfoDetail(params: any): Promise<any>; //获取工作信息详情
updateWorkInfo(params: any): Promise<any>; //修改工作信息
addWorkInfo(params: any): Promise<any>; //新增工作信息
deleteWorkInfo(params: any): Promise<any>; //新增工作信息
getPersonInfo(params: any): Promise<any>; //获取个人信息
savePersonInfo(params: any): Promise<any>; //保存个人信息
getContactInfo(params: any): Promise<any>; //获取联系信息
saveContactInfo(params: any): Promise<any>; //保存联系信息
getSocialInfo(params: any): Promise<any>; //获取社保信息
saveSocialInfo(params: any): Promise<any>; //保存社保信息
getWageCardInfo(params: any): Promise<any>; //获取工资卡信息
saveWageCardInfo(params: any): Promise<any>; //保存工资卡信息
getEduExperience(params: any): Promise<any>; //获取教育经历
getEduExperienceDetial(params: any): Promise<any>; //获取教育信息详情
addEduExperience(params: any): Promise<any>; //新增教育信息
updateEduExperience(params: any): Promise<any>; //修改教育信息
deleteEduExperience(params: any): Promise<any>; //删除教育信息
getTechnologyExperience(params: any): Promise<any>; //获取技术特长
updateTechnologyExperience(params: any): Promise<any>; //修改技术特长
getSalaryInfo(params: any): Promise<any>; //通过身份证号和派遣公司ID拿到派遣员工的工资条信息
getFiles(params:any):Promise<any>;// 获取文件
setFiles(params:any):Promise<any>;// 设置文件
delFiles(params:any):Promise<any>;// 删除文件
putFiles(params:any):Promise<any>;// 提交文件
getAgileWorker(params: any): Promise<any>; //灵活用工
getUserInfo(params: any): Promise<any>;
updateBaseInfo(params: any): Promise<any>;
getCityList(params: any): Promise<any>; // 获取城市列表
getDispatchList(params: any): Promise<any>; //根据身份证获取用户所属派遣公司列表
getDispatchInfo(params: any): Promise<any>; //通过身份证号和派遣公司ID拿到派遣员工的信息(劳务派遣首页数据)
getWorkInfoList(params: any): Promise<any>; //获取工作信息列表
getWorkInfoDetail(params: any): Promise<any>; //获取工作信息详情
updateWorkInfo(params: any): Promise<any>; //修改工作信息
addWorkInfo(params: any): Promise<any>; //新增工作信息
deleteWorkInfo(params: any): Promise<any>; //新增工作信息
getPersonInfo(params: any): Promise<any>; //获取个人信息
savePersonInfo(params: any): Promise<any>; //保存个人信息
getContactInfo(params: any): Promise<any>; //获取联系信息
saveContactInfo(params: any): Promise<any>; //保存联系信息
getSocialInfo(params: any): Promise<any>; //获取社保信息
saveSocialInfo(params: any): Promise<any>; //保存社保信息
getWageCardInfo(params: any): Promise<any>; //获取工资卡信息
saveWageCardInfo(params: any): Promise<any>; //保存工资卡信息
getEduExperience(params: any): Promise<any>; //获取教育经历
getEduExperienceDetial(params: any): Promise<any>; //获取教育信息详情
addEduExperience(params: any): Promise<any>; //新增教育信息
updateEduExperience(params: any): Promise<any>; //修改教育信息
deleteEduExperience(params: any): Promise<any>; //删除教育信息
getTechnologyExperience(params: any): Promise<any>; //获取技术特长
updateTechnologyExperience(params: any): Promise<any>; //修改技术特长
getSalaryInfo(params: any): Promise<any>; //通过身份证号和派遣公司ID拿到派遣员工的工资条信息
getFiles(params: any): Promise<any>; // 获取文件
setFiles(params: any): Promise<any>; // 设置文件
delFiles(params: any): Promise<any>; // 删除文件
putFiles(params: any): Promise<any>; // 提交文件
tranFiles(params: any): Promise<any>; //上传文件转短连接
getAgileWorker(params: any): Promise<any>; //灵活用工
getSalaryInfoDetail(params: any): Promise<any>; //通过ID拿到派遣员工的工资条详细信息
}
// import * as types from "../types";
// import { isNullOrEmpty } from "@/utils/public";
import Mgr from "@/common/SecurityService";
// import Mgr from '@/common/SecurityService';
// import request from '@/utils/method';
// import urls from '@/utils/urls';
let mgr = new Mgr();
// let mgr = new Mgr();
const initPageState = () => {
return {
userInfo: {},
accessToken: "",
anymouseAccessToken: "",
companyAccessToken: ""
}
return {
userInfo: {},
accessToken: '',
anymouseAccessToken: '',
companyAccessToken: '',
};
};
const user = {
state: initPageState(),
mutations: {},
actions: {},
getters: {
async getUserInfo(state: Object | any) {
if (Object.keys(state.userInfo).length > 0) {
return state.userInfo;
}
state: initPageState(),
mutations: {},
actions: {},
getters: {
// async getUserInfo(state: Object | any) {
// if (Object.keys(state.userInfo).length > 0) {
// return state.userInfo;
// }
let user = await mgr.getUser();
if (user) {
state.userInfo = user!.profile;
}
// let user = await mgr.getUser();
// if (user) {
// state.userInfo = user!.profile;
// }
return state.userInfo;
},
async getAccessToken(state: Object | any) {
if (state.accessToken === "") {
let user = await mgr.getUser();
if (user) {
state.accessToken = user!.access_token;
}
}
return state.accessToken;
},
async getAnymouseAccessToken(state: Object | any) {
if (state.anymouseAccessToken === "") {
let aToken = localStorage.getItem("aat");
if (!!(aToken)) {
state.anymouseAccessToken = aToken;
} else {
// let url = `${urls.tokenUrl}/connect/token`;
// await request.post(url,)
}
}
return state.anymouseAccessToken;
// return state.userInfo;
// },
async getAccessToken(state: Object | any) {
if (state.accessToken === '') {
//let user = await mgr.getUser();
// if (user) {
// state.accessToken = user!.access_token;
// }
state.accessToken = localStorage.getItem('token');
}
return state.accessToken;
},
async getAnymouseAccessToken(state: Object | any) {
if (state.anymouseAccessToken === '') {
let aToken = localStorage.getItem('aat');
if (!!aToken) {
state.anymouseAccessToken = aToken;
} else {
// let url = `${urls.tokenUrl}/connect/token`;
// await request.post(url,)
}
}
}
return state.anymouseAccessToken;
},
},
};
export default user;
import jsBridge from './jsBridge';
/**
* H5与移动端桥接公共方法
*/
class Bridge {
/**
* 设置齐刘海头部颜色
*
* @param {Object=} args 请求数据
* @param {String} args.barColor 栏颜色 #0978e7
*/
setBarColor(args = {}) {
console.log('setBarColor');
return new Promise((resolve, reject) => {
try {
jsBridge.callHandler('setBarColor', args, function (response) {
resolve(response)
});
} catch (err) {
reject(err)
}
})
}
/**
* 获取头部栏高度
*
* @param {Object=} args 请求参数
*/
getBarHeight(args = {}) {
console.log('getBarHeight');
return new Promise((resolve, reject) => {
try {
jsBridge.callHandler("getBarHeight", args, function (response) {
resolve(response);
});
} catch (err) {
reject(err);
}
})
}
/**
* 设置页面导肮栏状态
*
* @param {Object} args 请求参数
* @param {Boolean} args.isShowClose 是否显示关闭
* @param {Boolean} args.isShowBack 是否显示返回
* @param {Boolean} args.isCloseLeft 是否关闭左侧
* @param {Boolean} args.isShowTitle 是否显示标题
* @param {Boolean} args.isShowNav 是否显示导航栏
* @param {Boolean} args.isCloseWebView 是否关闭WebView
*/
setPageNavState(args = {}) {
console.log('setPageNavState');
return new Promise((resolve, reject) => {
try {
jsBridge.callHandler("setPageNavState", args, function (response) {
resolve(response);
});
} catch (err) {
reject(err);
}
})
}
/**
* 关闭WebView
*
* @param {Object=} args 请求对象
*/
closeWebView(args = {}) {
return new Promise((resolve, reject) => {
try {
jsBridge.callHandler("closeWebView", args, function (response) {
resolve(response);
});
} catch (err) {
reject(err);
}
})
}
}
export default new Bridge();
let u = navigator.userAgent;
let isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
let isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
// 执行回调函数
function setupWebViewJavascriptBridge(callback) {
if (isAndroid) {
console.log('isAndroid===');
// 如果该对象已存在则直接执行
if (window.WebViewJavascriptBridge) {
callback(window.WebViewJavascriptBridge)
} else {
// 否则添加事件监听在执行
document.addEventListener(
'WebViewJavascriptBridgeReady',
function () {
callback(window.WebViewJavascriptBridge)
},
false
)
}
return;
}
if (isIOS) {
console.log('ios===');
if (window.WebViewJavascriptBridge) {
return callback(window.WebViewJavascriptBridge);
}
if (window.WVJBCallbacks) {
return window.WVJBCallbacks.push(callback);
}
window.WVJBCallbacks = [callback];
var WVJBIframe = document.createElement('iframe');
WVJBIframe.style.display = 'none';
WVJBIframe.src = 'wvjbscheme://__bridge_loaded__';
document.documentElement.appendChild(WVJBIframe);
setTimeout(function () {
document.documentElement.removeChild(WVJBIframe)
}, 0)
}
}
// 注册回调函数
setupWebViewJavascriptBridge(function (bridge) {
if (isAndroid) {
//初始化
bridge.init(function (message, responseCallback) {
var data = {
'Javascript Responds': 'Wee!'
};
responseCallback(data);
})
}
})
// 暴露当前模块的方法
export default {
// js调APP方法 (参数分别为:app提供的方法名 传给app的数据 回调)
callHandler(name, data, callback) {
setupWebViewJavascriptBridge(bridge => {
bridge.callHandler(name, data, callback)
})
},
// APP调js方法 (参数分别为:js提供的方法名 回调)
registerHandler(name, callback) {
setupWebViewJavascriptBridge(bridge => {
bridge.registerHandler(name, (data, responseCallback) => {
callback(data, responseCallback)
})
})
}
}
\ No newline at end of file
import { toMoney, formatDate, isNull } from "../utils/public";
import { toMoney, formatDate, isNull } from '../utils/public';
//格式化日期
export const subDate = (value: string, startNum: number, endNum: number) => {
if (value == null) {
return null;
}
return value.substring(startNum, endNum);
// formatDate(value,'yyyy-MM')
if (value == null) {
return null;
}
return value.substring(startNum, endNum);
// formatDate(value,'yyyy-MM')
};
export const money = (value: String, isSymbol: boolean, isConvertPoint: boolean) => {
toMoney(value, isSymbol, isConvertPoint)
export const money = (
value: String,
isSymbol: boolean,
isConvertPoint: boolean
) => {
toMoney(value, isSymbol, isConvertPoint);
};
export const format = (value: String, pattern: String) => {
return value.replace(/\d{2}:\d{2}:\d{2}/i, "");
return value.replace(/\d{2}:\d{2}:\d{2}/i, '');
};
export const isEmpty = (value: string) => {
isNull(value);
};
export const get_thousand_num = (num: number) => {
return num.toString().replace(/\d+/, function(n) {
// 先提取整数部分
return n.replace(/(\d)(?=(\d{3})+$)/g, function($1) {
// 对整数部分添加分隔符
return $1 + ',';
});
});
};
export const isEmpty = (value: string) => { isNull(value) }
\ No newline at end of file
import http from './http';
import { GetCommonPms } from '@/utils/public';
class Request {
/**
* GET 请求
* @param url 请求链接
* @param params 请求参数
* @param headers 请求头信息
*/
public get(url: string, params: any = {}, headers: any = {}): Promise<any> {
return new Promise((resolve, reject) => {
resolve(http.get(`${url}?${GetCommonPms()}`, {
params: params,
headers: headers
}));
/**
* GET 请求
* @param url 请求链接
* @param params 请求参数
* @param headers 请求头信息
*/
public get(
url: string,
params: any = {},
headers: any = {},
special: boolean = false
): Promise<any> {
return new Promise((resolve, reject) => {
resolve(
http.get(`${url}?${GetCommonPms(special)}`, {
params: params,
headers: headers,
})
}
);
});
}
/**
*
* POST 请求
* @param url 请求链接
* @param params 请求参数
* @param headers 请求头信息
*/
public post(url: string, params: any = {}, headers: any = {}, special: boolean = false) {
return new Promise((resolve, reject) => {
resolve(http.post(`${url}?${GetCommonPms(special)}`, params, { headers: headers }));
/**
*
* POST 请求
* @param url 请求链接
* @param params 请求参数
* @param headers 请求头信息
*/
public post(
url: string,
params: any = {},
headers: any = {},
special: boolean = false
) {
return new Promise((resolve, reject) => {
resolve(
http.post(`${url}?${GetCommonPms(special)}`, params, {
headers: headers,
})
}
);
});
}
/**
*
* PUT 请求
* @param url 请求链接
* @param params 请求参数
* @param headers 请求头信息
*/
public put(url: string, params: any = {}, headers: any = {}) {
return new Promise((resolve, reject) => {
resolve(
http.put(`${url}?${GetCommonPms()}`, params, { headers: headers })
);
});
}
/**
*
* PUT 请求
* @param url 请求链接
* @param params 请求参数
* @param headers 请求头信息
*/
public put(url: string, params: any = {}, headers: any = {}) {
return new Promise((resolve, reject) => {
resolve(http.put(`${url}?${GetCommonPms()}`, params, { headers: headers }));
/**
*
* DELETE 请求
* @param url 请求链接
* @param params 请求参数
* @param headers 请求头信息
*/
public delete(url: string, params: any = {}, headers: any = {}) {
return new Promise((resolve, reject) => {
resolve(
http.delete(`${url}?${GetCommonPms()}`, {
params: params,
headers: headers,
})
}
/**
*
* DELETE 请求
* @param url 请求链接
* @param params 请求参数
* @param headers 请求头信息
*/
public delete(url: string, params: any = {}, headers: any = {}) {
return new Promise((resolve, reject) => {
resolve(http.delete(`${url}?${GetCommonPms()}`, {
params: params,
headers: headers
}));
})
}
);
});
}
}
export default new Request();
\ No newline at end of file
export default new Request();
......@@ -553,3 +553,4 @@ export function toMoney(num:any,isSymbol:boolean=true,isConvertPoint:any=false){
}
}
......@@ -9,10 +9,15 @@ class Urls {
employeeUrl: String = process.env.VUE_APP_BASE_URL;
/**
*
* 获取用户信息
*/
userInfoUrl: String = process.env.VUE_APP_USERINFO_URL;
/**
* 个人中心
*/
salaryUrl: String = process.env.VUE_APP_SALARY_URL;
}
......
......@@ -5,27 +5,27 @@
<i>18821992017</i>
</div>
<div class="header">
<div class="header_name">哈撒剋</div>
<div class="header_info">女|1888-01-01</div>
<div class="header_name">{{employee_name}}</div>
<div class="header_info">{{employee_sex}}|{{employee_birthday}}</div>
</div>
<work-info />
<work-info :obj="obj" :query="query" />
<person-info :isEdit="isEdit" />
<contact-info />
<social-info />
<wage-card-info />
<edu-experience />
<work-experience />
<teachnology-experience />
<archive-question />
<div class="saveBtn">
<van-button type="primary" block>提交信息</van-button>
<contact-info :isEdit="isEdit" />
<social-info :isEdit="isEdit" />
<wage-card-info :isEdit="isEdit" />
<edu-experience :isEdit="isEdit" />
<work-experience :isEdit="isEdit" />
<teachnology-experience :isEdit="isEdit" />
<!-- <archive-question /> -->
<div class="saveBtn" v-if="this.isEdit==0 || this.isEdit==-1">
<van-button type="primary" block @click="handleSave">提交信息</van-button>
</div>
</div>
</template>
<script lang="ts">
import Vue from "vue";
import { Button } from "vant";
import { Button,Toast } from "vant";
import { Component } from "vue-property-decorator";
import workInfo from "./archives/workInfo.vue";
import personInfo from "./archives/personInfo.vue";
......@@ -53,7 +53,51 @@ import archiveQuestion from "./archives/archiveQuestion.vue";
}
})
export default class archives extends Vue {
private isEdit:any="123"
private isEdit: string = "";
private employee_name: any = "";
private employee_birthday: any = "";
private employee_sex: any = "";
private obj: object = {};
private query: object = {};
created() {
this.employee_name = localStorage.getItem("name") as string;
this.employee_birthday = localStorage.getItem("birthday") as string;
this.employee_sex = localStorage.getItem("sex") as string;
this.handleInfo();
}
sortKey(array: any, key: any) {
return array.sort(function(a: any, b: any) {
var x = a[key];
var y = b[key];
return x > y ? -1 : x < y ? 1 : 0;
});
}
handleInfo() {
let params = {
spId: this.$route.query.sp_id,
idNo: this.$route.query.id_no
};
this.$server.EmployeeService.getDispatchInfo(params).then(res => {
this.query = res;
this.isEdit = res.auditInfoStatus;
this.obj = this.sortKey(res.workData, "res.workData.workStartDate")[0];
});
}
handleSave() {
let params = {
edId: this.$route.query.ed_id
};
this.$server.EmployeeService.updateBaseInfo(params).then(res => {
if (res == true) {
Toast.success("保存成功");
setTimeout(() => {
window.location.href=window.location.href
}, 500);
} else {
Toast(res.message);
}
});
}
}
</script>
......
<template>
<div class="main main-company" id="main_company">
<div class="company-item-box" v-for="(item,index) in dispatch_list" :key="index" >
<p class="company-name" @click="toCompany_click(item.id)">{{item.fullName}}</p>
<img src="../assets/images/right_arrow.png" alt="进入派遣公司" title="进入派遣公司" />
<div class="list_wrap" v-if="dispatch_list.length > 0">
<div
class="company-item-box"
v-for="(item, index) in dispatch_list"
:key="index"
>
<p class="company-name" @click="toCompany_click(item.id)">
{{ item.fullName }}
</p>
<img
src="../assets/images/right_arrow.png"
alt="进入派遣公司"
title="进入派遣公司"
/>
</div>
</div>
<div v-else class="no_data">
您还没有劳务派遣公司,暂无相关信息
</div>
</div>
</template>
......@@ -49,7 +60,37 @@ export default class workInfo extends Vue {
});
}
private callJSBridage() {
const userAgent = navigator.userAgent.toLowerCase();
console.log("userAgent=", userAgent);
try {
if (userAgent.indexOf("qqxbua") != -1) {
console.log("setPageNavState");
//@ts-ignore
this.$bridge
.setPageNavState({
isShowClose: false,
isShowBack: true,
isCloseLeft: false,
isShowTitle: true,
isShowNav: true,
isCloseWebView: false
})
//@ts-ignore
.then(res => {
console.log("couponlist setpageNavState callback", res);
});
}
} catch (error) {
console.log(error);
}
}
created() {
setTimeout(() => {
this.callJSBridage();
}, 500);
this.id_no_encrytion = this.$route.query.id_no;
console.log(this.id_no_encrytion);
this.getDispatchList();
......@@ -58,4 +99,10 @@ export default class workInfo extends Vue {
</script>
<style lang="less">
.no_data {
color: #999;
padding: 20px;
margin: auto;
font-size: 14px;
}
</style>
\ No newline at end of file
......@@ -6,6 +6,7 @@
<div class="person-information-top">
<div class="person-information-left">
<h3>{{name}}</h3>
<p>{{birthday}}</p>
</div>
</div>
......@@ -57,8 +58,8 @@
</div>
<div class="empty_data" v-else>
<p>
还没有通过亲亲小保众包
<br />平台领取过工作任务
在亲亲小保未从事灵活用工的相关任务
<br />暂无相关记录
</p>
</div>
</div>
......
......@@ -2,21 +2,37 @@
<div class="fe-detial-box">
<div class="fe-detial-top">
<h4>任务报酬</h4>
<h3>+{{item.paidSalary | money}}</h3>
<p :style="matchColor(item.status)">{{item.status}}</p>
<h3>+{{ item.paidSalary.toFixed(2) | get_thousand_num }}</h3>
<p :style="matchColor(item.status)">{{ item.status }}</p>
</div>
<div class="fe-detial-bottom">
<div class="fe-detial-bottom-title">
<p>发包企业</p>
<p>任务内容</p>
<p>{{ item.fullName }}</p>
</div>
<div class="fe-detial-bottom-title">
<p>服务类别</p>
<p>{{ item.description }}</p>
</div>
<div class="fe-detial-bottom-title">
<p>发放时间</p>
<p>{{ item.payTime }}</p>
</div>
<div class="fe-detial-bottom-title">
<p>收款账户</p>
<p>{{ item.banko }}</p>
</div>
<div class="fe-detial-bottom-title">
<p>任务名称</p>
<p>{{ item.title }}</p>
</div>
<div class="fe-detial-bottom-title">
<p>工作职责</p>
<p>{{ item.workDuty }}</p>
</div>
<div class="fe-detial-bottom-detial">
<p>{{item.fullName}}</p>
<p>{{item.description}}</p>
<p>{{item.payTime}}</p>
<p>{{item.banko}}</p>
<div class="fe-detial-bottom-title">
<p>工作内容</p>
<p>{{ item.workDescription }}</p>
</div>
</div>
</div>
......@@ -32,8 +48,17 @@ import { toMoney } from "@/utils/public";
}
})
export default class FlexEmployee extends Vue {
private item: any;
private item: any={
paidSalary:0.00,
status:0,
fullName:"",
description:"",
payTime:"",
banko:"",
title:"",
workDuty:"",
workDescription:""
};
get matchColor() {
return (ibillStatus: string) => {
......@@ -68,7 +93,7 @@ export default class FlexEmployee extends Vue {
padding: 0 30px;
}
.fe-detial-top {
height: 207px;
height: 150px;
border-bottom: 1px solid #ebecf0;
}
.fe-detial-top h4 {
......@@ -95,20 +120,17 @@ export default class FlexEmployee extends Vue {
margin-top: 10px;
}
.fe-detial-bottom {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.fe-detial-bottom-title p {
color: #5e6066;
font-size: 14px;
line-height: 30px;
}
.fe-detial-bottom-detial p {
color: #3d4047;
font-size: 14px;
line-height: 30px;
height: 30px;
text-align: right;
.fe-detial-bottom-title {
display: grid;
grid-template-columns: 70px auto;
justify-content: start;
p {
color: #5e6066;
font-size: 14px;
line-height: 30px;
min-width: 100px;
}
}
}
</style>
\ No newline at end of file
<template>
<div class="home">
<img alt="Vue logo" src="../assets/logo.png" />
</div>
</template>
<script lang="ts">
import Vue from "vue";
import { Component } from "vue-property-decorator";
import { formatDate, CheckPlatform } from "@/utils/public";
@Component({
name: "Home",
components: {}
})
export default class Home extends Vue {
private list: any = [];
created() {
this.$server.EmployeeService.getUserInfo({}).then(res => {
console.log(res);
});
}
}
</script>
\ No newline at end of file
......@@ -3,71 +3,105 @@
<div class="info-card-box">
<div class="info-card-top">
<div class="info-card-top-left">
<h4>{{name}}</h4>
<p>{{birthday}}</p>
<h4>{{ name }}</h4>
<p>{{ birthday }}</p>
</div>
</div>
<div class="info-card-bottom">
<p>
<label>用工单位</label>
<span>{{ceFullName}}</span>
<span>{{ ceFullName }}</span>
</p>
<p>
<label>工作地点</label>
<span>{{workAddress}}</span>
<span>{{ workAddress }}</span>
</p>
<p>
<label>工作职位</label>
<span>{{position}}</span>
<span>{{ position }}</span>
</p>
<p>
<label>入职时间</label>
<span>{{employeeEntryDate}}</span>
<span>{{ employeeEntryDate }}</span>
</p>
</div>
</div>
<div class="index-bottom-box">
<div class="close-box">
<van-popup
v-model="showPopup"
:overlay="!showPopup"
:close-on-click-overlay="!showPopup"
round
position="bottom"
:style="popupStyle"
>
<div class="close-box" @click="expand_click">
<img src="../assets/images/ic_unfold@2x.png" />
</div>
<router-link class="entrance" :to="`/archives?ed_id=${ed_id}&sp_id=${sp_id}&id_no=${id_no}`">
<img src="../assets/images/archives_icon.png" alt="我的档案" title="我的档案" />
<router-link class="entrance" :to="`/archives?ed_id=${ed_id}&sp_id=${sp_id}&id_no=${id_no}`" >
<img src="../assets/images/archives_icon.png" alt="我的档案" title="我的档案" />
<div>
<h4>我的档案</h4>
<p>档案已确认,如果需要更改信息请联系客服</p>
<p>你的信息不完整,请先补充信息</p>
</div>
<img class="arrow" src="../assets/images/right_arrow.png" alt="arrow" title="arrow" />
<img
class="arrow"
src="../assets/images/right_arrow.png"
alt="arrow"
title="arrow"
/>
</router-link>
<router-link class="entrance entrance-border" :to="`/Information?ed_id=${ed_id}`">
<img src="../assets/images/information_icon.png" alt="我的资料" title="我的资料" />
<router-link class="entrance entrance-border" :to="`/Information?ed_id=${ed_id}&id_no=${id_no}`" >
<img
src="../assets/images/information_icon.png"
alt="我的资料"
title="我的资料"
/>
<div>
<h4>我提交的资料</h4>
<p>你可查询上传的附件信息</p>
</div>
<img class="arrow" src="../assets/images/right_arrow.png" alt="arrow" title="arrow" />
<img
class="arrow"
src="../assets/images/right_arrow.png"
alt="arrow"
title="arrow"
/>
</router-link>
<router-link class="entrance" :to="`/PaySlips?sp_id=${sp_id}&id_no=371327198511175134`">
<img src="../assets/images/slips_icon.png" alt="我的工资条" title="我的工资条" />
<router-link class="entrance" :to="`/PaySlips?sp_id=${sp_id}&id_no=${id_no}`" >
<img
src="../assets/images/slips_icon.png"
alt="我的工资条"
title="我的工资条"
/>
<div>
<h4>我的工资条</h4>
<p>你可查询发放成功的工资记录</p>
</div>
<img class="arrow" src="../assets/images/right_arrow.png" alt="arrow" title="arrow" />
<img
class="arrow"
src="../assets/images/right_arrow.png"
alt="arrow"
title="arrow"
/>
</router-link>
</div>
</van-popup>
</div>
</template>
<script lang='ts'>
import "../assets/css/labor.css";
import { Popup } from "vant";
import { Component, Vue } from "vue-property-decorator";
@Component({
components: {}
components: {
[Popup.name]: Popup
}
})
export default class Index extends Vue {
private name: string = "";
......@@ -79,18 +113,34 @@ export default class Index extends Vue {
private id_no: string = "";
private sp_id: string = "";
private ed_id: string = "";
private showPopup: boolean = true;
private expand: boolean = true;
private id_no_decode:string="";
get popupStyle() {
if (this.expand) {
return { height: "63%" };
} else {
return { height: "86%" };
}
}
private expand_click() {
this.expand = !this.expand;
}
created() {
// const id_no = this.$route.query.id_no as string;
// this.id_no = window.atob(encodeURI(id_no));
// this.sp_id = this.$route.query.sp_id as string;
const id_no = this.$route.query.id_no as string;
this.id_no_decode=id_no;
this.id_no = window.atob(encodeURI(id_no));
this.sp_id = this.$route.query.sp_id as string;
let params = {
spId: "85",
idNo: "51090219750505229X"
spId: this.sp_id,
idNo: this.id_no
};
console.log(params);
// 通过身份证号和派遣公司ID拿到派遣员工的信息(劳务派遣首页数据)
this.$server.EmployeeService.getDispatchInfo(params)
.then(res => {
......@@ -101,6 +151,7 @@ export default class Index extends Vue {
this.workAddress = res.workAddress;
this.position = res.position;
this.employeeEntryDate = res.employeeEntryDate;
this.ed_id = res.id;
})
.catch(error => {
console.log(error);
......@@ -118,7 +169,7 @@ body {
}
.info-card-box {
width: 100%;
height: 256px;
height: 667px;
background: linear-gradient(
180deg,
rgba(51, 205, 139, 1) 0%,
......@@ -177,6 +228,7 @@ body {
width: 100%;
height: 24px;
padding-top: 10px;
padding-bottom: 30px;
cursor: pointer;
}
.close-box img {
......
......@@ -4,22 +4,25 @@
<div class="slips-mid-top">
<p>实发工资(元)</p>
<h3>
current_real_wage
<span>.00</span>
<span
>{{
Number(obj[0].currentRealWage).toFixed(2) | get_thousand_num
}}</span
>
</h3>
</div>
<div class="slips-mid-bottom">
<p>
<label>收入来源</label>
<span>abbr_name</span>
<span>{{ obj[0].abbrName }}</span>
</p>
<p>
<label>保存账户</label>
<span>bank_no</span>
<span>{{ obj[0].bankNo }}</span>
</p>
<p>
<label>发放时间</label>
<span>pay_time</span>
<span>{{ obj[0].payTime }}</span>
</p>
</div>
</div>
......@@ -29,44 +32,155 @@
<div class="pay-detail-box">
<p>
<label>本次收入</label>
<!-- <span>current_real_wage - current_base_old_insurance - current_base_health_insurance - current_unemployment_insurance - current_fund - current_tax_deduction</span> -->
<span>1000.00</span>
<span
>{{
(Number(obj[0].currentRealWage) -
Number(obj[0].currentBaseOldInsurance) -
Number(obj[0].currentBaseHealthInsurance) -
Number(obj[0].currentUnemploymentInsurance) -
Number(obj[0].currentFund) -
Number(obj[0].currentTaxDeduction))
| get_thousand_num
}}</span
>
</p>
<p>
<label>养老保险</label>
<span>current_base_old_insurance</span>
<span class="green"
>-{{
Number(obj[0].currentBaseOldInsurance).toFixed(2)
| get_thousand_num
}}</span
>
</p>
<p>
<label>医疗保险</label>
<span>current_base_health_insurance</span>
<span class="green"
>-{{
Number(obj[0].currentBaseHealthInsurance).toFixed(2)
| get_thousand_num
}}</span
>
</p>
<p>
<label>失业保险</label>
<span>current_unemployment_insurance</span>
<span class="green"
>-{{
Number(obj[0].currentUnemploymentInsurance).toFixed(2)
| get_thousand_num
}}</span
>
</p>
<p>
<label>住房公积金</label>
<span>current_fund</span>
<span class="green"
>-{{
Number(obj[0].currentFund).toFixed(2) | get_thousand_num
}}</span
>
</p>
<p>
<label>代扣个税</label>
<span>current_tax_deduction</span>
<span class="green"
>-{{
Number(obj[0].currentTaxDeduction).toFixed(2) | get_thousand_num
}}</span
>
</p>
<p class="wages">
<label>实发工资</label>
<span>current_real_wage</span>
<span
>-{{
Number(obj[0].currentRealWage).toFixed(2) | get_thousand_num
}}</span
>
</p>
</div>
</div>
</div>
</template>
<script>
<script lang="ts">
import "../assets/css/labor.css";
export default {};
import Vue from "vue";
import { Component } from "vue-property-decorator";
@Component({})
export default class PaySlipsMonth extends Vue {
private obj: any = [
{
no: "",
abbrName: "",
currentRealWage: 0,
currentBaseOldInsurance: 0,
cardType: "",
bankNo: "",
currentFund: 0,
payTime: "",
currentIncome: 0,
currentUnemploymentInsurance: 0,
cardNo: "",
currentBaseHealthInsurance: 0,
name: "",
bankName: "",
bankOpen: "",
currentTaxDeduction: 0
}
];
private id: any = "";
private getSalaryInfo(): void {
let params = {
id: this.id
};
this.$server.EmployeeService.getSalaryInfoDetail(params)
.then((res: any) => {
// console.log("res=" + JSON.stringify(res) + "工资条信息");
this.obj = res;
console.log("obj=", JSON.stringify(this.obj));
})
.catch((error: any) => {});
}
init() {
this.id = this.$route.query.id;
this.getSalaryInfo();
// this.obj = {
// rescode: 0,
// data: [
// {
// no: "GZ20200608160345451651972",
// abbrName: "1022服务商Q",
// currentRealWage: 500000,
// current_base_old_insurance: 10000,
// card_type: "居民身份证",
// bank_no: "6214833401590859",
// current_fund: 3000,
// pay_time: "2020-06-08",
// current_income: 650000,
// current_unemployment_insurance: 2000,
// card_no: "330881199511043934",
// current_base_health_insurance: 5000,
// name: "李鹏飞",
// bank_name: "招商银行",
// bank_open: "招商银行中华北大街支行",
// current_tax_deduction: 5000
// }
// ]
// };
}
created() {
console.log("this.id=", this.id);
this.init();
}
}
</script>
<style lang="less">
.green {
color: #70b603 !important;
}
</style>
\ No newline at end of file
......@@ -7,33 +7,80 @@
<p>可查看专项订单服务,使用职场小工具</p>
</div>
</a>-->
<<<<<<< HEAD
<!-- <a v-if="company_num>0" class="si-child" id="dispatch-employee" @click="toIndex_click">
=======
<a
v-if="!no_data"
class="si-child"
id="dispatch-employee"
@click="toIndex_click"
>
>>>>>>> 22148dfb71906f3bc049514c232d0815c1f37348
<img src="../assets/images/agent/dispatch-employee.png" alt />
<div class="si-child-desc">
<h4>我是派遣员工</h4>
<p>可查看编辑自己的劳务派遣员工档案信息</p>
</div>
<<<<<<< HEAD
</a>-->
<!-- <a class="si-child" id="flex-employee" @click="toFlex">
=======
</a>
<a
class="si-child"
id="flex-employee"
v-if="!no_data"
@click="toFlex_click"
>
>>>>>>> 22148dfb71906f3bc049514c232d0815c1f37348
<img src="../assets/images/agent/flex-employee.png" alt />
<div class="si-child-desc">
<h4>我是灵活用工员工</h4>
<h4>我是灵活用工人员</h4>
<p>可查看灵活用工人员任务信息</p>
</div>
<<<<<<< HEAD
</a>-->
=======
</a>
<a
class="si-child"
id="flex-employee"
v-if="no_data"
:href="idVeri"
style="height:150px;background:#fff;margin-top:200px;text-align:center;"
>
<div class="si-child-desc " style="width:100%;">
<h4 style="text-align:center;">您还未实名认证,不可进行查询</h4>
<h4 style="text-align:center;">请先去进行实名认证后再查询</h4>
<p
style="text-align:center;border:1px solid #077aec;border-radius:5px;color:#077aec;width:80px;height:30px;line-height:30px;background:#fff;margin:20px auto;"
>
去认证
</p>
</div>
</a>
>>>>>>> 22148dfb71906f3bc049514c232d0815c1f37348
</div>
</template>
<script lang='ts'>
import { Component, Vue } from "vue-property-decorator";
import { Toast, Dialog } from "vant";
@Component({
components: {},
})
export default class SelectIdentity extends Vue {
//身份证号码
private id_no: string = "";
private dispatch_list: any[] = [];
private no_data: boolean = false;
private loading: any;
//实名认证链接
private idVeri: string =
"https://www.qinqinxiaobao.com?pmode=native&url=identityVerification&pname=%e8%ba%ab%e4%bb%bd%e8%ae%a4%e8%af%81";
//加密后的身份证号码
get id_no_encrytion(): string {
return encodeURI(window.btoa(this.id_no));
}
......@@ -42,20 +89,38 @@ export default class SelectIdentity extends Vue {
return this.dispatch_list.length;
}
<<<<<<< HEAD
private toFlex(): void {
this.$router.push({
name: "FlexEmployee",
query: { id_no: this.id_no_encrytion },
});
=======
//跳转到灵活用工
private toFlex_click(): void {
if (this.id_no_encrytion) {
this.$router.push({
name: "FlexEmployee",
query: { id_no: this.id_no_encrytion }
});
} else {
console.log("this.id_no_encrytion=", this.id_no_encrytion);
Dialog.alert({
message: "获取身份信息失败,请关闭后重试!~"
}).then(() => {
// on close
});
}
>>>>>>> 22148dfb71906f3bc049514c232d0815c1f37348
}
//劳务派遣的首页
private toIndex(sp_id: string): void {
this.$router.push({
name: "Index",
query: { id_no: this.id_no_encrytion, sp_id: sp_id },
});
}
//劳务派遣选择公司页面
private ChooseCompany() {
this.$router.push({
name: "ChooseCompany",
......@@ -63,8 +128,9 @@ export default class SelectIdentity extends Vue {
});
}
//跳转到劳务派遣
private toIndex_click(): void {
if (this.company_num > 1) {
if (this.company_num > 1 || this.company_num == 0) {
this.ChooseCompany();
}
......@@ -79,17 +145,34 @@ export default class SelectIdentity extends Vue {
.then((res) => {
if (res.data && res.data.uthStatus && res.data.uthStatus > 0) {
this.id_no = res.data.personalIdCardNo;
<<<<<<< HEAD
this.$router.push({
name: "FlexEmployee",
query: { id_no: encodeURI(window.btoa(this.id_no))},
});
=======
localStorage.setItem("id_no", res.data.personalIdCardNo);
localStorage.setItem("name", res.data.personalName);
localStorage.setItem("sex", res.data.sex);
localStorage.setItem("birthday", res.data.birthday);
if (res.data.personalName == "乐晓飞"||res.data.personalName == "李鹏飞"||res.data.personalName == "张天翔") {
const VConsole = require("vconsole");
const my_console = new VConsole();
}
>>>>>>> 22148dfb71906f3bc049514c232d0815c1f37348
} else {
//TODO: 跳转到实名认证
console.log("跳转到实名认证", res);
this.no_data = true;
}
})
<<<<<<< HEAD
.catch((err) => {
console.log("err=", err);
=======
.catch(err => {
console.log("err=");
>>>>>>> 22148dfb71906f3bc049514c232d0815c1f37348
});
}
......@@ -104,11 +187,68 @@ export default class SelectIdentity extends Vue {
});
}
private callJSBridage() {
const userAgent = navigator.userAgent.toLowerCase();
console.log("userAgent=", userAgent);
try {
if (userAgent.indexOf("qqxbua") != -1) {
console.log("setPageNavState");
//@ts-ignore
this.$bridge
.setPageNavState({
isShowClose: true,
isShowBack: false,
isCloseLeft: true,
isShowTitle: true,
isShowNav: true,
isCloseWebView: true
})
//@ts-ignore
.then(res => {
console.log("couponlist setpageNavState callback", res);
});
}
} catch (error) {
console.log(error);
}
}
//禁止浏览器返回操作
private disableBack() {
console.log("disableBack");
//@ts-ignore
history.pushState(null, null, location.href);
window.addEventListener("popstate", function() {
//@ts-ignore
history.pushState(null, null, location.href);
});
}
async created() {
this.loading = Toast.loading({
duration: 0,
message: "加载中...",
forbidClick: true
});
setTimeout(() => {
this.callJSBridage();
}, 500);
this.disableBack();
await this.getUserInfo();
<<<<<<< HEAD
// if (this.id_no) {
// await this.getDispatchList();
// }
=======
if (this.id_no) {
await this.getDispatchList(); //这里是开启劳务派遣的开关,这里开启后需要html解注
}
this.loading.clear();
>>>>>>> 22148dfb71906f3bc049514c232d0815c1f37348
}
}
</script>
......@@ -153,4 +293,93 @@ export default class SelectIdentity extends Vue {
margin-top: 10px;
text-align: left;
}
van-toast--unclickable * {
pointer-events: none;
}
.van-toast {
position: fixed;
top: 50%;
left: 50%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
box-sizing: content-box;
width: 2.34667rem;
max-width: 70%;
min-height: 2.34667rem;
padding: 0.42667rem;
color: #fff;
font-size: 0.37333rem;
line-height: 0.53333rem;
white-space: pre-wrap;
text-align: center;
word-wrap: break-word;
background-color: rgba(50, 50, 51, 0.88);
border-radius: 0.21333rem;
-webkit-transform: translate3d(-50%, -50%, 0);
transform: translate3d(-50%, -50%, 0);
}
van-toast__loading {
padding: 0.10667rem;
color: #fff;
}
.van-toast--unclickable * {
pointer-events: none;
}
.van-loading {
position: relative;
color: #c8c9cc;
font-size: 0;
vertical-align: middle;
}
.van-toast--unclickable * {
pointer-events: none;
}
.van-loading__spinner--circular {
-webkit-animation-duration: 2s;
animation-duration: 2s;
}
.van-loading__spinner {
position: relative;
display: inline-block;
width: 0.8rem;
max-width: 100%;
height: 0.8rem;
max-height: 100%;
vertical-align: middle;
-webkit-animation: van-rotate 0.8s linear infinite;
animation: van-rotate 0.8s linear infinite;
}
.van-toast--unclickable * {
pointer-events: none;
}
.van-loading__circular {
display: block;
width: 100%;
height: 100%;
}
.van-loading__circular circle {
-webkit-animation: van-circular 1.5s ease-in-out infinite;
animation: van-circular 1.5s ease-in-out infinite;
stroke: currentColor;
stroke-width: 3;
stroke-linecap: round;
}
.van-toast--unclickable * {
pointer-events: none;
}
</style>
\ No newline at end of file
......@@ -4,40 +4,15 @@
<van-field v-model="workUnit" label="就职公司" placeholder="请填写公司名称" />
<van-field v-model="position" label="从事职位" placeholder="请填写职位名称" />
<van-field v-model="place" label="工作地点" placeholder="请填写工作地点(非必填)" />
<van-field
v-model="workStartDate"
label="开始时间"
placeholder="请选择开始时间(非必填)"
@click="showStartDate=true"
<date-select
:startDate="workStartDate"
:endDate="workEndDate"
@childStartDate="childStartDate"
@childEndDate="childEndDate"
/>
<van-popup v-model="showStartDate" position="bottom">
<van-datetime-picker
v-model="currentDate"
type="date"
title="选择年月日"
@confirm="onConfirmStartDate"
@cancel="showStartDate = false"
/>
</van-popup>
<van-field
v-model="workEndDate"
label="结束时间"
placeholder="请选择结束时间(非必填)"
@click="showEndDate=true"
/>
<van-popup v-model="showEndDate" position="bottom">
<van-datetime-picker
v-model="currentDate1"
type="date"
title="选择年月日"
@confirm="onConfirmEndDate"
@cancel="showEndDate = false"
/>
</van-popup>
<van-field v-model="description" label="工作内容" placeholder="请填写工作内容(非必填)" />
<div style="margin: 16px;">
<van-button round block type="info" native-type="submit" @click="saveWorkInfo">保存</van-button>
<div class="submit_btn">
<van-button type="primary" block @click="saveWorkInfo">保存</van-button>
</div>
</van-form>
</div>
......@@ -56,6 +31,7 @@ import {
} from "vant";
import { Component, Prop, Watch } from "vue-property-decorator";
import { formatDate } from "@/utils/public";
import dateSelect from "@/components/common/dateSelect.vue";
@Component({
components: {
......@@ -64,13 +40,14 @@ import { formatDate } from "@/utils/public";
[Form.name]: Form,
[Picker.name]: Picker,
[Field.name]: Field,
[DatetimePicker.name]: DatetimePicker
[DatetimePicker.name]: DatetimePicker,
dateSelect
}
})
export default class eduExperience extends Vue {
private description: any = "";
private position: any = "";
private place:any=""//缺少工作地点字段
private place: any = ""; //缺少工作地点字段
private workEndDate: any = "";
private workStartDate: any = "";
private workUnit: any = "";
......@@ -78,27 +55,14 @@ export default class eduExperience extends Vue {
private showEdu: boolean = false;
private showStartDate: boolean = false;
private showEndDate: boolean = false;
private currentDate: Date = new Date();
private currentDate1: Date = new Date();
//获取父组件中的值
// @Prop({
// required: true,
// default: ""
// })
// childItem!: any;
// @Watch("childItem")
// getVisible(newVal: any, oldVal: any) {
// this.childItem = newVal;
// }
onConfirmStartDate(time: any) {
this.workStartDate = formatDate(time, "yyyy-MM-dd");
this.showStartDate = false;
}
onConfirmEndDate(time: any) {
this.workEndDate = formatDate(time, "yyyy-MM-dd");
this.showEndDate = false;
}
//获取日期组件中的值
childStartDate(item: any) {
this.workStartDate = item;
}
childEndDate(item: any) {
this.workEndDate = item;
}
//TODO 新增工作经历
saveWorkInfo() {
let params = {
......@@ -109,13 +73,11 @@ export default class eduExperience extends Vue {
workStartDate: this.workStartDate,
workUnit: this.workUnit
};
this.$server.EmployeeService.addWorkInfo(params).then(res=>{
Toast.success("保存成功")
this.$emit('showPopup')
this.$emit('addChildItem',params)
}).catch(error=>{
console.log(error)
})
this.$server.EmployeeService.addWorkInfo(params).then(res => {
Toast.success("保存成功");
this.$emit("showPopup");
this.$emit("addChildItem", params);
});
}
}
</script>
......
......@@ -38,13 +38,13 @@
</template>
<script lang="ts">
import Vue from "vue";
import { RadioGroup, Radio , Button} from "vant";
import { RadioGroup, Radio, Button } from "vant";
import { Component } from "vue-property-decorator";
@Component({
components: {
[RadioGroup.name]: RadioGroup,
[Radio.name]: Radio,
[Radio.name]: Radio
},
data() {
return {
......@@ -55,9 +55,7 @@ import { Component } from "vue-property-decorator";
};
}
})
export default class workInfo extends Vue {
}
export default class workInfo extends Vue {}
</script>
<style lang="less" scoped>
.content {
......@@ -102,6 +100,14 @@ export default class workInfo extends Vue {
margin-top: 16px;
.van-radio--horizontal {
margin-right: 60px;
font-size: 14px;
.van-radio__icon {
display: flex;
align-items: center;
.van-icon {
font-size: 14px;
}
}
}
}
}
......
......@@ -3,7 +3,7 @@
<div class="header">
<div class="tip"></div>
<div class="title">联系信息</div>
<van-icon size="14px" color="#E1E4EB" name="arrow" @click="editInfo" />
<van-icon v-if="this.isEdit==0 || this.isEdit==-1" size="14px" color="#E1E4EB" name="arrow" @click="editInfo" />
</div>
<div class="box">
<div class="item">
......@@ -32,7 +32,7 @@
</div>
</div>
<van-popup v-model="show" position="right" :style="{ height: '100%',width: '100%' }">
<van-popup v-model="show" position="right" :style="{ height: '100%',width: '90%' }">
<van-form>
<van-field v-model="obj.contactMobile" label="手机号码" placeholder="请填写手机号码" />
<van-field v-model="obj.contactTelephone" label="固定电话" placeholder="请填写固定电话" />
......@@ -40,8 +40,8 @@
<van-field v-model="obj.contactPostcode" label="邮政编码" placeholder="请填写邮政编码" />
<van-field v-model="obj.contactCurrentResidence" label="户口所在地" placeholder="请填写户口所在地" />
<van-field v-model="obj.infoRegisteredResidenceCity" label="现在居住地" placeholder="请填写现在居住地" />
<div style="margin: 16px;">
<van-button round block type="info" native-type="submit" @click="updateContactInfo">保存</van-button>
<div class="submit_btn">
<van-button type="primary" block @click="updateContactInfo">保存</van-button>
</div>
</van-form>
</van-popup>
......@@ -51,7 +51,7 @@
<script lang="ts">
import Vue from "vue";
import { Button, Icon, Popup, Form, Picker, Field, Toast } from "vant";
import { Component } from "vue-property-decorator";
import { Component ,Prop} from "vue-property-decorator";
import qs from "qs";
@Component({
......@@ -65,6 +65,13 @@ import qs from "qs";
}
})
export default class contactInfo extends Vue {
//获取父组件中的isEdit
@Prop({
type: String,
required: true,
default: ""
}) isEdit!: string;
private obj: any = {};
private show: boolean = false;
created() {
......@@ -90,11 +97,14 @@ export default class contactInfo extends Vue {
contactTelephone: this.obj.contactTelephone,
infoRegisteredResidenceCity: this.obj.infoRegisteredResidenceCity
};
if (!this.obj.contactMobile || !(/^1\d{10}$/.test(this.obj.contactMobile))) {
if (!this.obj.contactMobile || !/^1\d{10}$/.test(this.obj.contactMobile)) {
Toast("请填写正确的手机号码");
return;
}
if (!this.obj.contactTelephone || !(/^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}$/.test(this.obj.contactTelephone))) {
if (
!this.obj.contactTelephone ||
!/^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}$/.test(this.obj.contactTelephone)
) {
Toast("请填写正确的固定电话");
return;
}
......@@ -102,7 +112,10 @@ export default class contactInfo extends Vue {
Toast("请填写紧急联系电话");
return;
}
if (!this.obj.contactPostcode || !(/^[0-9]\d{5}(?!\d)$/.test(this.obj.contactPostcode))) {
if (
!this.obj.contactPostcode ||
!/^[0-9]\d{5}(?!\d)$/.test(this.obj.contactPostcode)
) {
Toast("请填写正确的邮政编码");
return;
}
......@@ -119,7 +132,7 @@ export default class contactInfo extends Vue {
if (res == true) {
Toast.success("保存成功");
this.show = false;
}else{
} else {
Toast.success(res.message);
}
})
......
<template>
<div>
<van-form>
<van-field v-model="graduateInstitutions" label="学校名称" placeholder="请填写学校名称" />
<van-field v-model="major" label="专业名称" placeholder="请填写专业名称" />
<van-field
readonly
clickable
:value="education"
label="学历"
placeholder="请选择学历"
@click="showEdu = true"
/>
<van-popup v-model="showEdu" position="bottom">
<van-picker
show-toolbar
:columns="columns"
@confirm="onConfirmEdu"
@cancel="showEdu = false"
/>
</van-popup>
<date-select
:startDate="eduStartDate"
:endDate="eduEndDate"
@childStartDate="childStartDate"
@childEndDate="childEndDate"
/>
<div class="submit_btn">
<van-button type="primary" block @click="addEduInfo">保存</van-button>
</div>
</van-form>
</div>
</template>
<script lang="ts">
import Vue from "vue";
import {
Dialog,
Button,
Popup,
Form,
Picker,
Field,
Toast,
DatetimePicker
} from "vant";
import { Component, Prop, Watch, Emit } from "vue-property-decorator";
import { formatDate } from "@/utils/public";
import dateSelect from "@/components/common/dateSelect.vue";
@Component({
components: {
[Button.name]: Button,
[Popup.name]: Popup,
[Form.name]: Form,
[Picker.name]: Picker,
[Field.name]: Field,
[DatetimePicker.name]: DatetimePicker,
dateSelect
}
})
export default class eduExperience extends Vue {
private graduateInstitutions: any = "";
private major: any = "";
private education: any = "";
private eduEndDate: string = "";
private eduStartDate: string = "";
private showEdu: boolean = false;
private showStartDate: boolean = false;
private showEndDate: boolean = false;
private columns: any = [
"小学",
"初中",
"高中",
"大专",
"本科",
"硕士研究生",
"博士研究生",
"职高",
"中专",
"技校",
"其他"
];
//获取日期组件中的值
childStartDate(item: any) {
this.eduStartDate = item;
}
childEndDate(item: any) {
this.eduEndDate = item;
}
addEduInfo() {
let params = {
eduEndDate: this.eduEndDate,
eduStartDate: this.eduStartDate,
education: this.education,
graduateInstitutions: this.graduateInstitutions,
id: this.$route.query.ed_id,
major: this.major
};
this.$server.EmployeeService.addEduExperience(params).then(res => {
Toast.success("保存成功")
this.$emit('popupShow')
this.$emit('addChildItem',params)
});
}
onConfirmEdu(value: any) {
this.education = value;
this.showEdu = false;
}
//TODO 新增工作经历
saveWorkInfo() {}
// startDate(item: any) {
// this.eduStartDate = item;
// }
// ednDate(item: any) {
// this.eduEndDate = item;
// }
}
</script>
\ No newline at end of file
......@@ -4,7 +4,7 @@
<div class="tip"></div>
<div class="title">教育经历</div>
</div>
<div class="box" v-show="true">
<div class="box" v-if="this.isEdit==0 || this.isEdit==-1">
<div class="editItem" v-for="(item,key) in obj" :key="key">
<van-cell :title="item.graduateInstitutions" is-link @click="openEduItem(item)">
<template>{{item.eduStartDate | subDate(0,7) }}{{item.eduEndDate | subDate(0,7) }}</template>
......@@ -19,62 +19,7 @@
</i> 添加教育经历
</div>
</div>
<van-popup v-model="show" position="right" :style="{ height: '100%',width: '90%' }">
<van-form>
<van-field v-model="graduateInstitutions" label="学校名称" placeholder="请填写学校名称" />
<van-field v-model="major" label="专业名称" placeholder="请填写专业名称" />
<van-field
readonly
clickable
:value="education"
label="学历"
placeholder="请选择学历"
@click="showEdu = true"
/>
<van-popup v-model="showEdu" position="bottom">
<van-picker
show-toolbar
:columns="columns"
@confirm="onConfirmEdu"
@cancel="showEdu = false"
/>
</van-popup>
<van-field
v-model="eduStartDate"
label="开始时间"
placeholder="请选择开始时间"
@click="showStartDate=true"
/>
<van-popup v-model="showStartDate" position="bottom">
<van-datetime-picker
v-model="currentDate"
type="date"
title="选择年月日"
@confirm="onConfirmStartDate"
@cancel="showStartDate = false"
/>
</van-popup>
<van-field
v-model="eduEndDate"
label="结束时间"
placeholder="请选择结束时间"
@click="showEndDate=true"
/>
<van-popup v-model="showEndDate" position="bottom">
<van-datetime-picker
v-model="currentDate1"
type="date"
title="选择年月日"
@confirm="onConfirmEndDate"
@cancel="showEndDate = false"
/>
</van-popup>
<div style="margin: 16px;">
<van-button round block type="info" native-type="submit" @click="addEduInfo">保存</van-button>
</div>
</van-form>
</van-popup>
<div class="box" v-show="false">
<div class="box" v-else>
<div class="unEiteItem" v-for="(item,key) in obj" :key="key">
<div class="line">
<div class="lineTitle">
......@@ -85,12 +30,16 @@
<div class="unEiteItemBox">
<div
class="timeLine"
>{{item.eduStartDate | subDate(0,4)}}-{{item.eduEndDate | subDate(0,4)}}</div>
>{{item.eduStartDate | subDate(0,7)}}至{{item.eduEndDate | subDate(0,7)}}</div>
<div class="schoolName">{{item.graduateInstitutions}}</div>
<div class="eduInfo">{{item.major}} | {{item.education}}</div>
</div>
</div>
</div>
<!-- -->
<van-popup v-model="addShow" position="right" :style="{ height: '100%',width: '90%' }">
<edu-add-experience @popupShow="popupShow" @addChildItem="addChildItem" />
</van-popup>
</div>
</template>
......@@ -104,12 +53,12 @@ import {
Form,
Picker,
Field,
Toast,
DatetimePicker
Toast
} from "vant";
import { Component, Watch } from "vue-property-decorator";
import { Component, Watch ,Prop} from "vue-property-decorator";
import { formatDate } from "@/utils/public";
import eduUpdateExperience from "./eduUpdateExperience.vue";
import eduAddExperience from "./eduAddExperience.vue"
@Component({
components: {
......@@ -120,38 +69,21 @@ import eduUpdateExperience from "./eduUpdateExperience.vue";
[Form.name]: Form,
[Picker.name]: Picker,
[Field.name]: Field,
[DatetimePicker.name]: DatetimePicker,
eduUpdateExperience
eduUpdateExperience,
eduAddExperience
}
})
export default class eduExperience extends Vue {
obj: object = {};
private show: boolean = false;
private showEdu: boolean = false;
private showStartDate: boolean = false;
private showEndDate: boolean = false;
//获取父组件中的isEdit
@Prop({
type: String,
required: true,
default: ""
}) isEdit!: string;
obj: any = "";
private addShow: boolean = false;
private childShow: boolean = false;
private major: string = "";
private eduEndDate: string = "";
private eduStartDate: string = "";
private graduateInstitutions: string = "";
private education: string = "";
private currentDate: Date = new Date();
private currentDate1: Date = new Date();
private childItem: any = "";
private columns: any = [
"小学",
"初中",
"高中",
"大专",
"本科",
"硕士研究生",
"博士研究生",
"职高",
"中专",
"技校",
"其他"
];
created() {
let params = {
......@@ -169,54 +101,37 @@ export default class eduExperience extends Vue {
this.obj = newVal;
}
editInfo(): void {
this.show = true;
}
addEduInfo() {
let params = {
eduEndDate: this.eduEndDate,
eduStartDate: this.eduStartDate,
education: this.education,
graduateInstitutions: this.graduateInstitutions,
id: this.$route.query.ed_id,
major: this.major
};
this.$server.EmployeeService.addEduExperience(params)
.then(res => {
console.log(res);
})
.catch(error => {
// console.log(error)
});
}
onConfirmEdu(value: any) {
this.education = value;
this.showEdu = false;
}
onConfirmStartDate(time: any) {
this.eduStartDate = formatDate(time, "yyyy-MM-dd");
this.showStartDate = false;
}
onConfirmEndDate(time: any) {
this.eduEndDate = formatDate(time, "yyyy-MM-dd");
this.showEndDate = false;
this.addShow = true;
}
openEduItem(item: any) {
this.childShow = true;
this.childItem = item;
}
//通过子组件来添加父组件中的列表
addChildItem(item: any) {
let addItem = [];
for (let i in this.obj) {
addItem.push(this.obj[i]);
}
addItem.push(item);
this.obj = addItem;
}
//删除对应的列表
removeEduItem(itemId:any){
console.log(itemId)
var arr=Object.entries(this.obj)
arr=arr.filter(item=>item!==itemId)
console.log(arr)
// arr.forEach(item=>{
// item.forEach(i=>{
// console.log(i.id)
// })
// })
removeEduItem(item:any){
let removeCliedArr = [];
for (let i in this.obj) {
removeCliedArr.push(this.obj[i]);
}
let removeList = removeCliedArr;
removeCliedArr.forEach((i, index) => {
if (i.id === item) {
removeList.splice(index, 1);
}
});
this.obj = removeList;
}
popupShow(){
this.addShow=false
this.childShow=false
}
}
......
......@@ -19,30 +19,25 @@
@cancel="showEdu = false"
/>
</van-popup>
<date-select :startDate="childItem.eduStartDate" :endDate="childItem.eduEndDate" />
<div style="margin: 16px;">
<van-button round block type="info" native-type="submit" @click="updateEduInfo">修改</van-button>
</div>
<div style="margin: 16px;">
<van-button round block type="info" native-type="submit" @click="deleteEduInfo">删除</van-button>
<date-select
:startDate.sync="childItem.eduStartDate"
:endDate.sync="childItem.eduEndDate"
@childStartDate="childStartDate"
@childEndDate="childEndDate"
/>
<div class="edu_button">
<div @click="updateEduInfo">修改</div>
<div @click="deleteEduInfo">删除</div>
</div>
</van-form>
</div>
</template>
<script lang="ts">
import Vue from "vue";
import {
Dialog,
Button,
Popup,
Form,
Picker,
Field,
Toast
} from "vant";
import { Dialog, Button, Popup, Form, Picker, Field, Toast } from "vant";
import { Component, Prop, Watch } from "vue-property-decorator";
import { formatDate } from "@/utils/public";
import dateSelect from "@/components/common/dateSelect.vue"
import dateSelect from "@/components/common/dateSelect.vue";
@Component({
components: {
......@@ -87,13 +82,12 @@ export default class eduExperience extends Vue {
this.childItem.education = value;
this.showEdu = false;
}
onConfirmStartDate(time: any) {
this.childItem.eduStartDate = formatDate(time, "yyyy-MM-dd");
this.showStartDate = false;
//获取日期组件中的值
childStartDate(item: any) {
this.childItem.eduStartDate = item;
}
onConfirmEndDate(time: any) {
this.childItem.eduEndDate = formatDate(time, "yyyy-MM-dd");
this.showEndDate = false;
childEndDate(item: any) {
this.childItem.eduEndDate = item;
}
//修改
updateEduInfo() {
......@@ -105,14 +99,10 @@ export default class eduExperience extends Vue {
id: this.childItem.id,
major: this.childItem.major
};
this.$server.EmployeeService.updateEduExperience(params)
.then(res => {
Toast.success("修改成功");
this.$emit('popupShow')
})
.catch(error => {
console.log(error);
});
this.$server.EmployeeService.updateEduExperience(params).then(res => {
Toast.success("修改成功");
this.$emit("popupShow");
});
}
//删除
deleteEduInfo() {
......@@ -123,14 +113,15 @@ export default class eduExperience extends Vue {
message: "确认删除?"
})
.then(() => {
this.$emit('removeEduItem',this.childItem.id)
// this.$server.EmployeeService.deleteEduExperience(params)
// .then(res => {
// Toast.success("删除成功!");
// })
// .catch(error => {
// console.log(error);
// });
this.$server.EmployeeService.deleteEduExperience(params)
.then(res => {
Toast.success("删除成功!");
this.$emit("removeEduItem", this.childItem.id);
this.$emit("popupShow");
})
.catch(error => {
console.log(error);
});
})
.catch(() => {
// on cancel
......@@ -139,4 +130,48 @@ export default class eduExperience extends Vue {
}
</script>
<style lang="less" scoped>
.edu_button {
display: flex;
position: absolute;
bottom: 0;
width: 100%;
height: 50px;
align-items: center;
&::before {
position: absolute;
box-sizing: border-box;
content: " ";
pointer-events: none;
right: 0;
bottom: 50px;
left: 0;
border-bottom: 0.02667rem solid #ebedf0;
-webkit-transform: scaleY(0.5);
-ms-transform: scaleY(0.5);
transform: scaleY(0.5);
}
div {
background: white;
width: 50%;
text-align: center;
font-size: 14px;
color: #666;
&:last-child {
color: #fc3e30;
&::before {
position: absolute;
box-sizing: border-box;
content: " ";
width: 1px;
height: 50px;
background: #ebedf0;
left: 50%;
top: 0;
-webkit-transform: scaleY(0.5);
-ms-transform: scaleY(0.5);
transform: scaleY(0.5);
}
}
}
}
</style>
\ No newline at end of file
......@@ -3,7 +3,13 @@
<div class="header">
<div class="tip"></div>
<div class="title">个人信息</div>
<van-icon size="14px" color="#E1E4EB" name="arrow" @click="editInfo" />
<van-icon
v-if="this.isEdit=='0' || this.isEdit=='-1'"
size="14px"
color="#E1E4EB"
name="arrow"
@click="editInfo"
/>
</div>
<div class="box">
<div class="item">
......@@ -52,14 +58,11 @@
@click="showBirthplace = true"
/>
<van-popup v-model="showBirthplace" position="bottom">
<van-area
:area-list="areaList"
@confirm="onConfirmBirthplace"
@cancel="showArea = false"
/>
<!-- <city-list @childCityList="birthCity" :showBirthplace="showCancel" /> -->
<city-list @childCityList="birthCity" @cancelCityList="cancelCityList" />
</van-popup>
<!-- 民族 -->
<!-- <van-field
<van-field
readonly
clickable
:value="obj.infoNation"
......@@ -74,8 +77,8 @@
@confirm="onConfirmNation"
@cancel="showNation = false"
/>
</van-popup> -->
<popup-picker :label="label"/>
</van-popup>
<!-- <popup-picker :label="label" /> -->
<!-- 政治面貌 -->
<van-field
readonly
......@@ -154,33 +157,29 @@
@click="showFile = true"
/>
<van-popup v-model="showFile" position="bottom">
<van-picker
show-toolbar
:columns="columns.maternity"
@confirm="onConfirmFile"
@cancel="showFile = false"
/>
<city-list @childCityList="localCity" @cancelCityList="cancelCityList" />
</van-popup>
<!-- 开始工作时间 -->
<!-- <van-field
<van-field
readonly
clickable
:value="obj.infoWorkStartDate"
label="开始工作时间"
placeholder="请选择"
@click="showMaternity = true"
@click="showWorkStartDate = true"
/>
<van-popup v-model="showMaternity" position="bottom">
<van-picker
show-toolbar
:columns="columns.maternity"
<van-popup v-model="showWorkStartDate" position="bottom">
<van-datetime-picker
v-model="currentDate"
type="date"
title="选择年月日"
@confirm="onConfirmWorkDate"
@cancel="showMaternity = false"
@cancel="showWorkStartDate = false"
/>
</van-popup> -->
</van-popup>
</van-form>
<div style="margin: 16px;">
<van-button round block type="info" native-type="submit" @click="updatePersonInfo">保存</van-button>
<div class="submit_btn">
<van-button type="primary" block @click="updatePersonInfo">保存</van-button>
</div>
</van-popup>
</div>
......@@ -188,34 +187,47 @@
<script lang="ts">
import Vue from "vue";
import { Icon, Button, Popup, Form, Picker, Field, Area, Toast } from "vant";
import { Component,Prop } from "vue-property-decorator";
import popupPicker from "@/components/common/popupPicker.vue"
// import AreaList from "@/assets/js/area.js";
import {
Icon,
Button,
Popup,
Form,
Picker,
Field,
DatetimePicker,
Toast
} from "vant";
import { Component, Prop } from "vue-property-decorator";
import popupPicker from "@/components/common/popupPicker.vue";
import cityList from "@/components/common/cityList.vue";
import dateSelect from "@/components/common/dateSelect.vue";
import { formatDate } from "../../utils/public";
@Component({
components: {
[Button.name]: Button,
[Icon.name]: Icon,
[Popup.name]: Popup,
[Picker.name]: Picker,
[DatetimePicker.name]: DatetimePicker,
[Field.name]: Field,
// [Area.name]: Area,
[Form.name]: Form,
popupPicker
popupPicker,
cityList
}
})
export default class personInfo extends Vue {
//获取父组件中的isEdit
@Prop({
type:String,
required:true,
default:''
}) isEdit !:string
type: String,
required: true,
default: ""
})
isEdit!: string;
private obj: any = {};
private show: boolean = false;
private label: any = "民族";
// private areaList: object = AreaList;
// private showCancel: boolean = false;
private showBirthplace: boolean = false;
private showNation: boolean = false;
private showPolitical: boolean = false;
......@@ -224,9 +236,66 @@ export default class personInfo extends Vue {
private showMaternity: boolean = false;
private showFile: boolean = false;
private showWorkStartDate: boolean = false;
private areaList: object = {};
private currentDate: Date = new Date();
private columns: any = {
nation: ["汉族", "回族", "蒙古族"],
nation: [
"汉族",
"满族",
"蒙古族",
"回族",
"藏族",
"维吾尔族",
"苗族",
"彝族",
"壮族",
"布依族",
"侗族",
"瑶族",
"白族",
"土家族",
"哈尼族",
"哈萨克族",
"傣族",
"黎族",
"傈僳族",
"佤族",
"畲族",
"高山族",
"拉祜族",
"水族",
"东乡族",
"纳西族",
"景颇族",
"柯尔克孜族",
"土族",
"达斡尔族",
"仫佬族",
"羌族",
"布朗族",
"撒拉族",
"毛南族",
"仡佬族",
"锡伯族",
"阿昌族",
"普米族",
"朝鲜族",
"塔吉克族",
"怒族",
"乌孜别克族",
"俄罗斯族",
"鄂温克族",
"德昂族",
"保安族",
"裕固族",
"京族",
"塔塔尔族",
"独龙族",
"鄂伦春族",
"赫哲族",
"门巴族",
"珞巴族",
"基诺族"
],
political: ["群众", "共青团员", "预备党员", "中共党员", "其他"],
edu: [
"小学",
......@@ -249,19 +318,16 @@ export default class personInfo extends Vue {
let params = {
edId: this.$route.query.ed_id
};
console.log("props="+this.$props.isEdit)
this.$server.EmployeeService.getPersonInfo(params)
.then(res => {
this.obj = res;
})
.catch(error => {});
this.$server.EmployeeService.getPersonInfo(params).then(res => {
this.obj = res;
});
}
editInfo(): void {
this.show = true;
}
//出生地
onConfirmBirthplace(values: any) {
this.obj.infoBirthCity = values.map((item: any) => item.name).join("/");
birthCity(values: any) {
this.obj.infoBirthCity = values.join("/");
this.showBirthplace = false;
}
//民族
......@@ -290,13 +356,13 @@ export default class personInfo extends Vue {
this.showMaternity = false;
}
//档案所在地
onConfirmFile(value: any) {
this.obj.infoFileLocation = value;
localCity(values: any) {
this.obj.infoFileLocation = values.join("/");
this.showFile = false;
}
//开始工作时间
onConfirmWorkDate(value: any) {
this.obj.infoWorkStartDate = value;
this.obj.infoWorkStartDate = formatDate(value, "yyyy-MM-dd");
this.showWorkStartDate = false;
}
updatePersonInfo() {
......@@ -311,15 +377,18 @@ export default class personInfo extends Vue {
infoPoliticalStatus: this.obj.infoPoliticalStatus,
infoWorkStartDate: this.obj.infoWorkStartDate
};
this.$server.EmployeeService.savePersonInfo(params)
.then(res => {
console.log(res);
this.$server.EmployeeService.savePersonInfo(params).then(res => {
if (res == true) {
Toast.success("保存成功");
this.show = false;
})
.catch(error => {
console.log(error);
});
} else {
Toast(res.message);
}
});
}
cancelCityList(){
this.showFile=false;
this.showBirthplace=false;
}
}
</script>
......@@ -371,5 +440,6 @@ export default class personInfo extends Vue {
}
}
}
}
</style>
\ No newline at end of file
......@@ -3,7 +3,7 @@
<div class="header">
<div class="tip"></div>
<div class="title">社保信息</div>
<van-icon size="14px" color="#E1E4EB" name="arrow" @click="editInfo" />
<van-icon v-if="this.isEdit==0 || this.isEdit==-1" size="14px" color="#E1E4EB" name="arrow" @click="editInfo" />
</div>
<div class="box">
<div class="item">
......@@ -35,7 +35,7 @@
<label>{{obj.unitPreEmploymentStatus}}</label>
</div>
</div>
<van-popup v-model="show" position="right" :style="{ height: '100%',width: '100%' }">
<van-popup v-model="show" position="right" :style="{ height: '100%',width: '90%' }">
<van-form>
<!-- <van-field v-model="obj.infoRegisteredResidence" label="户口性质" placeholder="请选择户口性质" /> -->
<van-field
......@@ -93,15 +93,8 @@
placeholder="请选择"
@click="showEmploymentStatus = true"
/>
<div style="margin: 16px;">
<van-button
round
block
type="info"
native-type="submit"
@click="updateContactInfo_click"
>保存</van-button>
<div class="submit_btn">
<van-button type="primary" block @click="updateContactInfo_click">保存</van-button>
</div>
<!-- 户口性质 -->
......@@ -133,12 +126,7 @@
</van-popup>
<!-- 原社保缴纳省市 -->
<van-popup v-model="showSocialCity" position="bottom">
<van-picker
show-toolbar
:columns="columns.socialCity"
@confirm="onConfirmSocialCity"
@cancel="showSocialCity = false"
/>
<city-list @childCityList="socialCity" @cancelCityList="cancelCityList" />
</van-popup>
<!-- 与原单位关系 -->
<van-popup v-model="showRelationUnit" position="bottom">
......@@ -166,7 +154,8 @@
<script lang="ts">
import Vue from "vue";
import { Button, Icon, Popup, Form, Picker, Field, Toast } from "vant";
import { Component } from "vue-property-decorator";
import { Component,Prop } from "vue-property-decorator";
import cityList from "@/components/common/cityList.vue";
@Component({
components: {
......@@ -175,10 +164,17 @@ import { Component } from "vue-property-decorator";
[Popup.name]: Popup,
[Form.name]: Form,
[Picker.name]: Picker,
[Field.name]: Field
[Field.name]: Field,
cityList
}
})
export default class socialInfo extends Vue {
//获取父组件中的isEdit
@Prop({
type: String,
required: true,
default: ""
}) isEdit!: string;
private obj: any = {};
private city: any = {};
private parents: any = [];
......@@ -249,72 +245,13 @@ export default class socialInfo extends Vue {
this.showEmploymentStatus = false;
}
private getCityList(): void {
this.$server.EmployeeService.getCityList({})
.then(res => {
// console.log("citylist", res);
this.city = res;
for (let i = 0; i < this.city.length; i++) {
if (this.city[i].parentId == 0) {
this.parents.push(this.city[i]);
}
if (this.city[i].parentId != 0) {
this.childrens.push(this.city[i]);
}
}
//没有父节点的数据
// console.log(this.parents);
//有父节点的数据
// console.log(this.childrens);
this.parents.forEach((parent:any) => {
this.childrens.forEach((children:any) =>{
if(parent.id==children.parentId){
// console.log(parent.name+parent.id+"++"+children.name+children.parentId)
}
})
});
// https://blog.csdn.net/MySunshine07/article/details/104960244?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-1
// let fliterEvent = (parents:any, childrens:any) => {
// parents.forEach(parent => {
// childrens.forEach((current:any, index:any) => {
// if (current.parentId === parent.id) {
// let temp = JSON.parse(JSON.stringify(children));
// temp.splice(index, 1);
// fliterEvent([current], temp);
// typeof parent.children !== "undefined"
// ? parent.children.push(current)
// : (parent.children = [current]);
// }
// });
// });
// };
// function translator(parents, childrens) {
// fliterEvent(parents, childrens);
// return parents;
// }
})
.catch(error => {
console.log(error);
});
}
private getSocialInfo(): void {
let params = {
edId: this.$route.query.ed_id
};
this.$server.EmployeeService.getSocialInfo(params)
.then(res => {
// console.log("res=" + JSON.stringify(res)+'社保信息');
this.obj = res;
})
.catch(error => {});
this.$server.EmployeeService.getSocialInfo(params).then(res => {
this.obj = res;
});
}
private getSalaryInfo(): void {
......@@ -326,14 +263,10 @@ export default class socialInfo extends Vue {
spId: sp_id
};
console.log(params);
this.$server.EmployeeService.getSalaryInfo(params)
.then(res => {
// console.log("res=" + JSON.stringify(res)+'工资条');
this.obj = res;
})
.catch(error => {});
this.$server.EmployeeService.getSalaryInfo(params).then(res => {
this.obj = res;
});
}
editInfo(): void {
......@@ -391,17 +324,24 @@ export default class socialInfo extends Vue {
console.log(error);
});
}
socialCity(values: any) {
this.obj.unitPreSocialCity = values.join("/");
this.showSocialCity = false;
}
created() {
this.getSalaryInfo();
this.getSocialInfo();
this.getCityList();
}
cancelCityList(){
this.showSocialCity=false;
}
}
</script>
<style lang="less" scoped>
.content /deep/ .van-field__label{
width: 110px;
}
.content {
margin-top: 10px;
background: white;
......
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