(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-35faaf00"],{"119c":function(e,t,a){},"1af0":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAICAYAAABJYvnfAAAAXElEQVRIie2VuwnAMAxEbxpvry2MPpADT2LQBEmVMm0EUYrXvxOSDgAQsYY6ZRpz6nF+GmOqUyLWwB1+Kne52OtwR6wBdUq9TA3qFLRY+yeM+Q+g/Qm0f4Lda/ACKuKTl1XlVvgAAAAASUVORK5CYII="},"52ca":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"fe-bigbox"},[i("div",[i("div",{staticClass:"person-information"},[i("div",{staticClass:"person-information-top"},[i("div",{staticClass:"person-information-left"},[i("h3",[e._v(e._s(e.name))])])]),i("div",{staticClass:"info-card-bottom"},[i("p",[i("label",[e._v("已接任务")]),i("span",[e._v(e._s(e.accept_work))])]),i("p",[i("label",[e._v("完成任务")]),i("span",[e._v(e._s(e.perform_work))])]),i("p",[i("label",[e._v("应收报酬")]),i("span",[e._v("¥"+e._s(e._f("get_thousand_num")(e.Payment_receivable?Number(e.Payment_receivable).toFixed(2):0)))])]),i("p",[i("label",[e._v("已收报酬")]),i("span",[e._v("¥"+e._s(e._f("get_thousand_num")(e.receive_receivable?Number(e.receive_receivable).toFixed(2):0)))])])])]),i("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"}},[i("div",{staticClass:"close-box",on:{click:e.expand_click}},[i("img",{attrs:{src:a("1af0")}})]),1==e.showList?i("div",{staticClass:"green-bg"},[i("div",{staticClass:"fe-list-box"},[i("div",{staticClass:"fe-list-title"},[i("h3",[e._v("任务记录")])]),e._l(e.taskRecordList,(function(t){return i("a",{key:t.id,staticClass:"fe-list-child",attrs:{href:"javascript:void(0)"},on:{click:function(a){return e.toDetail(t.id)}}},[i("div",{staticClass:"fe-list-child-left"},[i("h3",[e._v("\n "+e._s(t.title.length>16?t.title.substring(0,15)+"...":t.title)+"\n ")]),i("p",[e._v(e._s(e._f("format")(t.createTime)))])]),i("div",{staticClass:"fe-list-child-right"},[i("div",{staticClass:"fe-list-child-right-desc"},[i("h3",[e._v("\n ¥"+e._s(e._f("get_thousand_num")(Number(t.paidSalary)?Number(t.paidSalary).toFixed(2):0))+"\n ")]),i("p",{style:e.matchColor(t.billStatus)},[e._v("\n "+e._s(t.billStatus)+"\n ")])]),i("img",{attrs:{src:a("c6ec"),alt:""}})])])}))],2)]):e._e(),0==e.showList?i("div",{staticClass:"empty_data"},[i("p",[e._v("\n 您还没有通过亲亲小保众包\n "),i("br"),e._v("平台领取过工作任务\n ")])]):e._e()])],1)])},o=[],n=(a("6b54"),a("2397"),a("ade3")),s=(a("7f7f"),a("d4ec")),r=a("bee2"),c=a("262e"),l=a("99de"),u=a("7e84"),d=a("9ab4"),f=a("e41f"),p=a("60a3");function h(e){var t=v();return function(){var a,i=Object(u["a"])(e);if(t){var o=Object(u["a"])(this).constructor;a=Reflect.construct(i,arguments,o)}else a=i.apply(this,arguments);return Object(l["a"])(this,a)}}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(e){return!1}}var b=function(){var e=function(e){Object(c["a"])(a,e);var t=h(a);function a(){var e;return Object(s["a"])(this,a),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"])(a,[{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:!0,isShowBack:!1,isCloseLeft:!0,isShowTitle:!0,isShowNav:!0,isCloseWebView:!0}).then((function(e){console.log("couponlist setpageNavState callback",e)})))}catch(t){console.log(t)}}},{key:"disableBack",value:function(){console.log("disableBack"),history.pushState(null,null,location.href),window.addEventListener("popstate",(function(){history.pushState(null,null,location.href)}))}},{key:"mounted",value:function(){var e=this;setTimeout((function(){e.callJSBridage()}),500),this.disableBack(),this.name=localStorage.getItem("name"),this.birthday=localStorage.getItem("birthday");var t=window.atob(decodeURI(String(this.$route.query.id_no))),a={idNo:t};this.$server.EmployeeService.getAgileWorker(a).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,console.log("this.taskRecordList.length=",e.taskRecordList.length),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:"70%"}:{height:"86%"}}},{key:"matchColor",get:function(){return function(e){return"进行中"===e?{color:"#077aec"}:"已拒回"===e?{color:"#FF9100"}:"已完成"===e?{color:"#95989E"}:"已接单"===e?{color:"#077aec"}:void 0}}}]),a}(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=(a("e180"),a("2877")),y=Object(m["a"])(A,i,o,!1,null,null,null);t["default"]=y.exports},ade3:function(e,t,a){"use strict";function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"a",(function(){return i}))},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,a){"use strict";var i=a("119c"),o=a.n(i);o.a},e41f:function(e,t,a){"use strict";var i=a("d282"),o=a("a142"),n=a("6605"),s=a("ad06"),r=Object(i["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(a){return e.$emit(t,a)}};this.onClick=t("click"),this.onOpened=t("opened"),this.onClosed=t("closed")},render:function(){var e,t=arguments[0];if(this.shouldRender){var a=this.round,i=this.position,n=this.duration,r="center"===i,c=this.transition||(r?"van-fade":"van-popup-slide-"+i),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:a},e[i]=i,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-35faaf00.8fdd7872.js.map