Commit f516054d by cocomilk2012

update

parent e5859d62
.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}
\ 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
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title></title><link href=/css/chunk-19e87806.f544a705.css rel=prefetch><link href=/css/chunk-335a4254.9845d6c1.css rel=prefetch><link href=/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/css/chunk-35faaf00.7cf39b58.css rel=prefetch><link href=/css/chunk-70204596.2509e660.css rel=prefetch><link href=/css/chunk-79c85055.82976e65.css rel=prefetch><link href=/css/chunk-80379f08.0035f549.css rel=prefetch><link href=/css/chunk-84a78220.82976e65.css rel=prefetch><link href=/css/chunk-8789f142.6f40ff2b.css rel=prefetch><link href=/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/css/chunk-f37f02b6.ec1c8960.css rel=prefetch><link href=/css/chunk-f59847e6.dc9f4765.css rel=prefetch><link href=/js/chunk-0cb1789e.5116890e.js rel=prefetch><link href=/js/chunk-19e87806.22a91e6e.js rel=prefetch><link href=/js/chunk-335a4254.827488f9.js rel=prefetch><link href=/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/js/chunk-35faaf00.73814245.js rel=prefetch><link href=/js/chunk-3f4d721c.592a5462.js rel=prefetch><link href=/js/chunk-4635e66c.44ffb30b.js rel=prefetch><link href=/js/chunk-70204596.c8e34564.js rel=prefetch><link href=/js/chunk-7052aa18.701e060a.js rel=prefetch><link href=/js/chunk-79c85055.3fcf6d5b.js rel=prefetch><link href=/js/chunk-80379f08.e8e7cb63.js rel=prefetch><link href=/js/chunk-84a78220.7c958afd.js rel=prefetch><link href=/js/chunk-8789f142.a8f7a07a.js rel=prefetch><link href=/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/js/chunk-f37f02b6.9eeb8b8d.js rel=prefetch><link href=/js/chunk-f59847e6.58a1d28a.js rel=prefetch><link href=/css/app.1c666bb8.css rel=preload as=style><link href=/js/app.1023ee09.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.1023ee09.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title></title><link href=/css/chunk-19e87806.f544a705.css rel=prefetch><link href=/css/chunk-335a4254.9845d6c1.css rel=prefetch><link href=/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/css/chunk-35faaf00.7cf39b58.css rel=prefetch><link href=/css/chunk-70204596.2509e660.css rel=prefetch><link href=/css/chunk-79c85055.82976e65.css rel=prefetch><link href=/css/chunk-80379f08.0035f549.css rel=prefetch><link href=/css/chunk-84a78220.82976e65.css rel=prefetch><link href=/css/chunk-8789f142.911b12a6.css rel=prefetch><link href=/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/css/chunk-f37f02b6.ec1c8960.css rel=prefetch><link href=/css/chunk-f59847e6.dc9f4765.css rel=prefetch><link href=/js/chunk-0cb1789e.5116890e.js rel=prefetch><link href=/js/chunk-19e87806.22a91e6e.js rel=prefetch><link href=/js/chunk-335a4254.827488f9.js rel=prefetch><link href=/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/js/chunk-35faaf00.73814245.js rel=prefetch><link href=/js/chunk-3f4d721c.592a5462.js rel=prefetch><link href=/js/chunk-4635e66c.44ffb30b.js rel=prefetch><link href=/js/chunk-70204596.c8e34564.js rel=prefetch><link href=/js/chunk-7052aa18.701e060a.js rel=prefetch><link href=/js/chunk-79c85055.3fcf6d5b.js rel=prefetch><link href=/js/chunk-80379f08.3c040b3f.js rel=prefetch><link href=/js/chunk-84a78220.7c958afd.js rel=prefetch><link href=/js/chunk-8789f142.68d42744.js rel=prefetch><link href=/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/js/chunk-f37f02b6.9eeb8b8d.js rel=prefetch><link href=/js/chunk-f59847e6.58a1d28a.js rel=prefetch><link href=/css/app.1c666bb8.css rel=preload as=style><link href=/js/app.775714d7.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.775714d7.js></script></body></html>
\ No newline at end of file
This diff could not be displayed because it is too large.
(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.e8e7cb63.js.map
\ No newline at end of file
//# sourceMappingURL=chunk-80379f08.3c040b3f.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8789f142"],{"39bb":function(t,e,n){},"5c2b":function(t,e,n){t.exports=n.p+"img/dispatch-employee.2148c295.png"},"5eb9":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"si-box"},[!t.no_data&&t.company_num>0?i("a",{staticClass:"si-child",attrs:{id:"dispatch-employee"},on:{click:t.toIndex_click}},[i("img",{attrs:{src:n("5c2b"),alt:""}}),t._m(0)]):t._e(),t.no_data?t._e():i("a",{staticClass:"si-child",attrs:{id:"flex-employee"},on:{click:t.toFlex_click}},[i("img",{attrs:{src:n("ad2d"),alt:""}}),t._m(1)]),t.no_data?i("a",{staticClass:"si-child",staticStyle:{height:"150px",background:"#fff","margin-top":"200px","text-align":"center"},attrs:{id:"flex-employee",href:"qqxb://native/identityVerification"}},[t._m(2)]):t._e()])},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc"},[n("h4",[t._v("我是派遣员工")]),n("p",[t._v("可查看编辑自己的劳务派遣员工档案信息")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc"},[n("h4",[t._v("我是灵活用工人员")]),n("p",[t._v("可查看灵活用工人员任务信息")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc ",staticStyle:{width:"100%"}},[n("h4",{staticStyle:{"text-align":"center"}},[t._v("您还未实名认证,不可进行查询")]),n("h4",{staticStyle:{"text-align":"center"}},[t._v("请先去进行实名认证后再查询")]),n("p",{staticStyle:{"text-align":"center",border:"1px solid #077aec","border-radius":"5px",color:"#077aec",width:"80px",height:"30px","line-height":"30px",background:"#fff",margin:"20px auto"}},[t._v("去认证")])])}],r=(n("6b54"),n("2397"),n("96cf"),n("1da1")),c=n("d4ec"),o=n("bee2"),s=n("262e"),u=n("99de"),l=n("7e84"),d=n("9ab4"),h=n("60a3"),p=n("d399");function f(t){var e=_();return function(){var n,i=Object(l["a"])(t);if(e){var a=Object(l["a"])(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return Object(u["a"])(this,n)}}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var m=function(){var t=function(t){Object(s["a"])(n,t);var e=f(n);function n(){var t;return Object(c["a"])(this,n),t=e.apply(this,arguments),t.id_no="",t.dispatch_list=[],t.no_data=!1,t}return Object(o["a"])(n,[{key:"toFlex_click",value:function(){this.id_no_encrytion&&this.$router.push({name:"FlexEmployee",query:{id_no:this.id_no_encrytion}})}},{key:"toIndex",value:function(t){this.$router.push({name:"Index",query:{id_no:this.id_no_encrytion,sp_id:t}})}},{key:"ChooseCompany",value:function(){this.$router.push({name:"ChooseCompany",query:{id_no:this.id_no_encrytion}})}},{key:"toIndex_click",value:function(){if(this.company_num>1&&this.ChooseCompany(),1==this.company_num){var t=this.dispatch_list[0].id;this.toIndex(t)}}},{key:"getUserInfo",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getUserInfo({}).then((function(t){t.data&&t.data.uthStatus&&t.data.uthStatus>0?(e.id_no=t.data.personalIdCardNo,localStorage.setItem("id_no",t.data.personalIdCardNo),localStorage.setItem("name",t.data.personalName),localStorage.setItem("sex",t.data.sex),localStorage.setItem("birthday",t.data.birthday)):e.no_data=!0})).catch((function(t){console.log("err=")}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getDispatchList",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getDispatchList({idNo:this.id_no}).then((function(t){console.log("getDispatchList res=",t),e.dispatch_list=t})).catch((function(t){console.log("err=",t)}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"created",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loading=p["a"].loading({duration:0,message:"加载中...",forbidClick:!0}),t.next=3,this.getUserInfo();case 3:this.id_no,this.loading.clear();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"id_no_encrytion",get:function(){return encodeURI(window.btoa(this.id_no))}},{key:"company_num",get:function(){return this.dispatch_list.length}}]),n}(h["c"]);return t=Object(d["a"])([Object(h["a"])({components:{}})],t),t}(),y=m,v=y,g=(n("d1c6"),n("2877")),x=Object(g["a"])(v,i,a,!1,null,null,null);e["default"]=x.exports},ad2d:function(t,e,n){t.exports=n.p+"img/flex-employee.d871e4bd.png"},d1c6:function(t,e,n){"use strict";var i=n("39bb"),a=n.n(i);a.a}}]);
//# sourceMappingURL=chunk-8789f142.a8f7a07a.js.map
\ No newline at end of file
//# sourceMappingURL=chunk-8789f142.68d42744.js.map
\ No newline at end of file
......@@ -81,7 +81,6 @@ export default class FlexEmployee extends Vue {
let task_info = localStorage.getItem("taskList");
if (task_info != null) {
let tasks = JSON.parse(task_info);
this.item = tasks.find((x: any) => x.id == id);
}
}
......
......@@ -137,7 +137,7 @@ export default class SelectIdentity extends Vue {
this.loading = Toast.loading({
duration: 0,
message: "加载中...",
message:'加载中...',
forbidClick: true
});
await this.getUserInfo();
......@@ -189,4 +189,94 @@ 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
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