Commit 65c544e3 by cocomilk2012

update

parent 46368c4c
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title></title><link href=/css/chunk-19e87806.f544a705.css rel=prefetch><link href=/css/chunk-335a4254.9845d6c1.css rel=prefetch><link href=/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/css/chunk-35faaf00.47888678.css rel=prefetch><link href=/css/chunk-70204596.2509e660.css rel=prefetch><link href=/css/chunk-79c85055.82976e65.css rel=prefetch><link href=/css/chunk-80379f08.0035f549.css rel=prefetch><link href=/css/chunk-84a78220.82976e65.css rel=prefetch><link href=/css/chunk-8789f142.6f40ff2b.css rel=prefetch><link href=/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/css/chunk-f37f02b6.ec1c8960.css rel=prefetch><link href=/css/chunk-f59847e6.dc9f4765.css rel=prefetch><link href=/js/chunk-0cb1789e.5116890e.js rel=prefetch><link href=/js/chunk-19e87806.22a91e6e.js rel=prefetch><link href=/js/chunk-335a4254.827488f9.js rel=prefetch><link href=/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/js/chunk-35faaf00.e682be69.js rel=prefetch><link href=/js/chunk-3f4d721c.592a5462.js rel=prefetch><link href=/js/chunk-4635e66c.44ffb30b.js rel=prefetch><link href=/js/chunk-70204596.c8e34564.js rel=prefetch><link href=/js/chunk-7052aa18.701e060a.js rel=prefetch><link href=/js/chunk-79c85055.3fcf6d5b.js rel=prefetch><link href=/js/chunk-80379f08.a3a36ff8.js rel=prefetch><link href=/js/chunk-84a78220.7c958afd.js rel=prefetch><link href=/js/chunk-8789f142.d25b03fd.js rel=prefetch><link href=/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/js/chunk-f37f02b6.9eeb8b8d.js rel=prefetch><link href=/js/chunk-f59847e6.58a1d28a.js rel=prefetch><link href=/css/app.1c666bb8.css rel=preload as=style><link href=/js/app.8ab87873.js rel=preload as=script><link href=/js/chunk-vendors.d7070df8.js rel=preload as=script><link rel="shortcut icon" href=/favicon.ico><link href=/css/app.1c666bb8.css rel=stylesheet></head><body><noscript><strong>We're sorry but typescript doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.d7070df8.js></script><script src=/js/app.8ab87873.js></script></body></html>
\ 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.47888678.css rel=prefetch><link href=/css/chunk-70204596.2509e660.css rel=prefetch><link href=/css/chunk-79c85055.82976e65.css rel=prefetch><link href=/css/chunk-80379f08.0035f549.css rel=prefetch><link href=/css/chunk-84a78220.82976e65.css rel=prefetch><link href=/css/chunk-8789f142.6f40ff2b.css rel=prefetch><link href=/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/css/chunk-f37f02b6.ec1c8960.css rel=prefetch><link href=/css/chunk-f59847e6.dc9f4765.css rel=prefetch><link href=/js/chunk-0cb1789e.5116890e.js rel=prefetch><link href=/js/chunk-19e87806.22a91e6e.js rel=prefetch><link href=/js/chunk-335a4254.827488f9.js rel=prefetch><link href=/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/js/chunk-35faaf00.81c9133b.js rel=prefetch><link href=/js/chunk-3f4d721c.592a5462.js rel=prefetch><link href=/js/chunk-4635e66c.44ffb30b.js rel=prefetch><link href=/js/chunk-70204596.c8e34564.js rel=prefetch><link href=/js/chunk-7052aa18.701e060a.js rel=prefetch><link href=/js/chunk-79c85055.3fcf6d5b.js rel=prefetch><link href=/js/chunk-80379f08.a3a36ff8.js rel=prefetch><link href=/js/chunk-84a78220.7c958afd.js rel=prefetch><link href=/js/chunk-8789f142.d25b03fd.js rel=prefetch><link href=/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/js/chunk-f37f02b6.9eeb8b8d.js rel=prefetch><link href=/js/chunk-f59847e6.58a1d28a.js rel=prefetch><link href=/css/app.1c666bb8.css rel=preload as=style><link href=/js/app.ff6c9080.js rel=preload as=script><link href=/js/chunk-vendors.d7070df8.js rel=preload as=script><link rel="shortcut icon" href=/favicon.ico><link href=/css/app.1c666bb8.css rel=stylesheet></head><body><noscript><strong>We're sorry but typescript doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.d7070df8.js></script><script src=/js/app.ff6c9080.js></script></body></html>
\ No newline at end of file
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-35faaf00"],{"119c":function(t,e,i){},"1af0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAICAYAAABJYvnfAAAAXElEQVRIie2VuwnAMAxEbxpvry2MPpADT2LQBEmVMm0EUYrXvxOSDgAQsYY6ZRpz6nF+GmOqUyLWwB1+Kne52OtwR6wBdUq9TA3qFLRY+yeM+Q+g/Qm0f4Lda/ACKuKTl1XlVvgAAAAASUVORK5CYII="},"52ca":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fe-bigbox"},[1==t.showList?a("div",[a("div",{staticClass:"person-information"},[a("div",{staticClass:"person-information-top"},[a("div",{staticClass:"person-information-left"},[a("h3",[t._v(t._s(t.name))]),a("p",[t._v(t._s(t.birthday))])])]),a("div",{staticClass:"info-card-bottom"},[a("p",[a("label",[t._v("已接任务")]),a("span",[t._v(t._s(t.accept_work))])]),a("p",[a("label",[t._v("完成任务")]),a("span",[t._v(t._s(t.perform_work))])]),a("p",[a("label",[t._v("应收报酬")]),a("span",[t._v("¥"+t._s(t._f("get_thousand_num")(t.Payment_receivable?Number(t.Payment_receivable).toFixed(2):0)))])]),a("p",[a("label",[t._v("已收报酬")]),a("span",[t._v("¥"+t._s(t._f("get_thousand_num")(t.receive_receivable?Number(t.receive_receivable).toFixed(2):0)))])])])]),a("van-popup",{style:t.popupStyle,attrs:{overlay:!t.showPopup,"close-on-click-overlay":!t.showPopup,round:"",position:"bottom","get-container":"body"},model:{value:t.showPopup,callback:function(e){t.showPopup=e},expression:"showPopup"}},[a("div",{staticClass:"close-box",on:{click:t.expand_click}},[a("img",{attrs:{src:i("1af0")}})]),a("div",{staticClass:"green-bg"},[a("div",{staticClass:"fe-list-box"},[a("div",{staticClass:"fe-list-title"},[a("h3",[t._v("任务记录")])]),t._l(t.taskRecordList,(function(e){return a("a",{key:e.id,staticClass:"fe-list-child",attrs:{href:"javascript:void(0)"},on:{click:function(i){return t.toDetail(e.id)}}},[a("div",{staticClass:"fe-list-child-left"},[a("h3",[t._v("\n "+t._s(e.title.length>16?e.title.substring(0,15)+"...":e.title)+"\n ")]),a("p",[t._v(t._s(t._f("format")(e.createTime)))])]),a("div",{staticClass:"fe-list-child-right"},[a("div",{staticClass:"fe-list-child-right-desc"},[a("h3",[t._v("\n ¥"+t._s(t._f("get_thousand_num")(Number(e.paidSalary)?Number(e.paidSalary).toFixed(2):0))+"\n ")]),a("p",{style:t.matchColor(e.billStatus)},[t._v("\n "+t._s(e.billStatus)+"\n ")])]),a("img",{attrs:{src:i("c6ec"),alt:""}})])])}))],2)])])],1):t._e(),0==t.showList?a("div",{staticClass:"empty_data"},[t._m(0)]):t._e(),a("div",{staticClass:"white_slide"})])},n=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",[t._v("\n 您在亲亲小保未从事灵活用工的相关任务\n "),i("br"),t._v("暂无相关记录\n ")])}],o=(i("6b54"),i("2397"),i("ade3")),s=(i("7f7f"),i("d4ec")),r=i("bee2"),c=i("262e"),l=i("99de"),u=i("7e84"),d=i("9ab4"),f=i("e41f"),p=i("60a3");function v(t){var e=h();return function(){var i,a=Object(u["a"])(t);if(e){var n=Object(u["a"])(this).constructor;i=Reflect.construct(a,arguments,n)}else i=a.apply(this,arguments);return Object(l["a"])(this,i)}}function h(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var b=function(){var t=function(t){Object(c["a"])(i,t);var e=v(i);function i(){var t;return Object(s["a"])(this,i),t=e.apply(this,arguments),t.name="",t.birthday="",t.accept_work="0",t.perform_work="0",t.Payment_receivable="0.00",t.receive_receivable="0.00",t.fullName="",t.taskRecordList=null,t.showList=-1,t.showPopup=!0,t.expand=!0,t}return Object(r["a"])(i,[{key:"expand_click",value:function(){this.expand=!this.expand}},{key:"toDetail",value:function(t){this.$router.push({name:"FlexEmployeeDetial",query:{id:t}})}},{key:"mounted",value:function(){var t=this;this.name=localStorage.getItem("name"),this.birthday=localStorage.getItem("birthday");var e=window.atob(decodeURI(String(this.$route.query.id_no))),i={idNo:e};this.$server.EmployeeService.getAgileWorker(i).then((function(e){console.log("res=",e),t.accept_work=e.alCount,t.perform_work=e.comCount,t.Payment_receivable=e.receivableSalary?e.receivableSalary.toFixed(2):0,t.receive_receivable=e.receivedSalary?e.receivedSalary.toFixed(2):0,t.taskRecordList=null==e.taskList?[]:e.taskList,t.taskRecordList.length>0?t.showList=1:t.showList=0,t.taskRecordList.length>=3?t.expand=!1:t.expand=!0;var i=t.taskRecordList[0];t.taskRecordList=[],t.taskRecordList[0]=i,localStorage.setItem("taskList",JSON.stringify(t.taskRecordList))}))}},{key:"popupStyle",get:function(){return this.expand?{height:"63%"}:{height:"86%"}}},{key:"matchColor",get:function(){return function(t){return"进行中"===t?{color:"#077aec"}:"已拒回"===t?{color:"#FF9100"}:"已完成"===t?{color:"#95989E"}:"已接单"===t?{color:"#077aec"}:void 0}}}]),i}(p["c"]);return t=Object(d["a"])([Object(p["a"])({components:Object(o["a"])({},f["a"].name,f["a"])})],t),t}(),m=b,A=m,g=(i("e180"),i("2877")),_=Object(g["a"])(A,a,n,!1,null,null,null);e["default"]=_.exports},ade3:function(t,e,i){"use strict";function a(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return a}))},c6ec:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaCAYAAAC+aNwHAAABqUlEQVQ4T7WVu0sDQRDGv7nLnYgiCEoe5jaxtrGysRLxgaBgoY0WFuKjsLTzX7AVLBRBbURsBBEfYGWVRhuLCJocJiGgIIgYY25kI8pGzUMWtxzm++3O7Oy3BADX13eObRubPp81Hwq1XMlYrYtubzPtRN4pgHYAWcMw+xzHf1kzwHXTJ57HvYrggQgDQoRitUDo5iYbMM3CCTN3KIJHZnMoGvWfV4OQTEilUi35PI4BdCqCJ8OgYccJnlWCFAFyJRKJZiL7kJm7FMEzkTkqhP+oHOQLIBPi8fsm284dAOhWBC+AMR6JBPZ/g5QAZEImk2nI5TyZ3KMIXgGaiESCu98hPwAywXXdembfHjMPfgqI6I2IpxwntK1CfgV8lBOvs+3GHYBHFEgBoBkhAutfsUodjsViVmtrcccxBeIBWBAiuCJjZU/wKWBmM5lMbwCYVDZjIloUIrhcFSBFzGwkk+lVANMl9ROW/h+gVYJWE8tdo+d5s9Fo21rFa9QaJK1R1npMWs9Zy1C0LU3bVEttnbKmWegPh8MX1cy0ZA7kx2JZtGVZ9txfP5Z3rkvaZf5cmJMAAAAASUVORK5CYII="},e180:function(t,e,i){"use strict";var a=i("119c"),n=i.n(a);n.a},e41f:function(t,e,i){"use strict";var a=i("d282"),n=i("a142"),o=i("6605"),s=i("ad06"),r=Object(a["a"])("popup"),c=r[0],l=r[1];e["a"]=c({mixins:[Object(o["a"])()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){var t=this,e=function(e){return function(i){return t.$emit(e,i)}};this.onClick=e("click"),this.onOpened=e("opened"),this.onClosed=e("closed")},render:function(){var t,e=arguments[0];if(this.shouldRender){var i=this.round,a=this.position,o=this.duration,r="center"===a,c=this.transition||(r?"van-fade":"van-popup-slide-"+a),u={};if(Object(n["b"])(o)){var d=r?"animationDuration":"transitionDuration";u[d]=o+"s"}return e("transition",{attrs:{name:c},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],style:u,class:l((t={round:i},t[a]=a,t["safe-area-inset-bottom"]=this.safeAreaInsetBottom,t)),on:{click:this.onClick}},[this.slots(),this.closeable&&e(s["a"],{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:l("close-icon",this.closeIconPosition),on:{click:this.close}})])])}}})}}]);
//# sourceMappingURL=chunk-35faaf00.81c9133b.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-35faaf00"],{"119c":function(t,e,i){},"1af0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAICAYAAABJYvnfAAAAXElEQVRIie2VuwnAMAxEbxpvry2MPpADT2LQBEmVMm0EUYrXvxOSDgAQsYY6ZRpz6nF+GmOqUyLWwB1+Kne52OtwR6wBdUq9TA3qFLRY+yeM+Q+g/Qm0f4Lda/ACKuKTl1XlVvgAAAAASUVORK5CYII="},"52ca":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fe-bigbox"},[1==t.showList?a("div",[a("div",{staticClass:"person-information"},[a("div",{staticClass:"person-information-top"},[a("div",{staticClass:"person-information-left"},[a("h3",[t._v(t._s(t.name))]),a("p",[t._v(t._s(t.birthday))])])]),a("div",{staticClass:"info-card-bottom"},[a("p",[a("label",[t._v("已接任务")]),a("span",[t._v(t._s(t.accept_work))])]),a("p",[a("label",[t._v("完成任务")]),a("span",[t._v(t._s(t.perform_work))])]),a("p",[a("label",[t._v("应收报酬")]),a("span",[t._v("¥"+t._s(t._f("get_thousand_num")(t.Payment_receivable?Number(t.Payment_receivable).toFixed(2):0)))])]),a("p",[a("label",[t._v("已收报酬")]),a("span",[t._v("¥"+t._s(t._f("get_thousand_num")(t.receive_receivable?Number(t.receive_receivable).toFixed(2):0)))])])])]),a("van-popup",{style:t.popupStyle,attrs:{overlay:!t.showPopup,"close-on-click-overlay":!t.showPopup,round:"",position:"bottom"},model:{value:t.showPopup,callback:function(e){t.showPopup=e},expression:"showPopup"}},[a("div",{staticClass:"close-box",on:{click:t.expand_click}},[a("img",{attrs:{src:i("1af0")}})]),a("div",{staticClass:"green-bg"},[a("div",{staticClass:"fe-list-box"},[a("div",{staticClass:"fe-list-title"},[a("h3",[t._v("任务记录")])]),t._l(t.taskRecordList,(function(e){return a("a",{key:e.id,staticClass:"fe-list-child",attrs:{href:"javascript:void(0)"},on:{click:function(i){return t.toDetail(e.id)}}},[a("div",{staticClass:"fe-list-child-left"},[a("h3",[t._v("\n "+t._s(e.title.length>20?e.title.substring(0,19)+"...":e.title)+"\n ")]),a("p",[t._v(t._s(t._f("format")(e.createTime)))])]),a("div",{staticClass:"fe-list-child-right"},[a("div",{staticClass:"fe-list-child-right-desc"},[a("h3",[t._v("\n ¥"+t._s(t._f("get_thousand_num")(Number(e.paidSalary)?Number(e.paidSalary).toFixed(2):0))+"\n ")]),a("p",{style:t.matchColor(e.billStatus)},[t._v("\n "+t._s(e.billStatus)+"\n ")])]),a("img",{attrs:{src:i("c6ec"),alt:""}})])])}))],2)])])],1):t._e(),0==t.showList?a("div",{staticClass:"empty_data"},[t._m(0)]):t._e(),a("div",{staticClass:"white_slide"})])},n=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",[t._v("\n 您在亲亲小保未从事灵活用工的相关任务\n "),i("br"),t._v("暂无相关记录\n ")])}],o=(i("6b54"),i("2397"),i("ade3")),s=(i("7f7f"),i("d4ec")),r=i("bee2"),c=i("262e"),l=i("99de"),u=i("7e84"),d=i("9ab4"),f=i("e41f"),p=i("60a3");function v(t){var e=h();return function(){var i,a=Object(u["a"])(t);if(e){var n=Object(u["a"])(this).constructor;i=Reflect.construct(a,arguments,n)}else i=a.apply(this,arguments);return Object(l["a"])(this,i)}}function h(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var b=function(){var t=function(t){Object(c["a"])(i,t);var e=v(i);function i(){var t;return Object(s["a"])(this,i),t=e.apply(this,arguments),t.name="",t.birthday="",t.accept_work="0",t.perform_work="0",t.Payment_receivable="0.00",t.receive_receivable="0.00",t.fullName="",t.taskRecordList=null,t.showList=-1,t.showPopup=!0,t.expand=!0,t}return Object(r["a"])(i,[{key:"expand_click",value:function(){this.expand=!this.expand}},{key:"toDetail",value:function(t){this.$router.push({name:"FlexEmployeeDetial",query:{id:t}})}},{key:"mounted",value:function(){var t=this;this.name=localStorage.getItem("name"),this.birthday=localStorage.getItem("birthday");var e=window.atob(decodeURI(String(this.$route.query.id_no))),i={idNo:e};this.$server.EmployeeService.getAgileWorker(i).then((function(e){console.log("res=",e),t.accept_work=e.alCount,t.perform_work=e.comCount,t.Payment_receivable=e.receivableSalary?e.receivableSalary.toFixed(2):0,t.receive_receivable=e.receivedSalary?e.receivedSalary.toFixed(2):0,t.taskRecordList=null==e.taskList?[]:e.taskList,t.taskRecordList.length>0?t.showList=1:t.showList=0,console.log("taskRecordList=",t.taskRecordList),t.taskRecordList.length>=3?t.expand=!1:t.expand=!0,localStorage.setItem("taskList",JSON.stringify(e.taskList))}))}},{key:"popupStyle",get:function(){return this.expand?{height:"63%"}:{height:"86%"}}},{key:"matchColor",get:function(){return function(t){return"进行中"===t?{color:"#077aec"}:"已拒回"===t?{color:"#FF9100"}:"已完成"===t?{color:"#95989E"}:"已接单"===t?{color:"#077aec"}:void 0}}}]),i}(p["c"]);return t=Object(d["a"])([Object(p["a"])({components:Object(o["a"])({},f["a"].name,f["a"])})],t),t}(),m=b,A=m,g=(i("e180"),i("2877")),_=Object(g["a"])(A,a,n,!1,null,null,null);e["default"]=_.exports},ade3:function(t,e,i){"use strict";function a(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return a}))},c6ec:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaCAYAAAC+aNwHAAABqUlEQVQ4T7WVu0sDQRDGv7nLnYgiCEoe5jaxtrGysRLxgaBgoY0WFuKjsLTzX7AVLBRBbURsBBEfYGWVRhuLCJocJiGgIIgYY25kI8pGzUMWtxzm++3O7Oy3BADX13eObRubPp81Hwq1XMlYrYtubzPtRN4pgHYAWcMw+xzHf1kzwHXTJ57HvYrggQgDQoRitUDo5iYbMM3CCTN3KIJHZnMoGvWfV4OQTEilUi35PI4BdCqCJ8OgYccJnlWCFAFyJRKJZiL7kJm7FMEzkTkqhP+oHOQLIBPi8fsm284dAOhWBC+AMR6JBPZ/g5QAZEImk2nI5TyZ3KMIXgGaiESCu98hPwAywXXdembfHjMPfgqI6I2IpxwntK1CfgV8lBOvs+3GHYBHFEgBoBkhAutfsUodjsViVmtrcccxBeIBWBAiuCJjZU/wKWBmM5lMbwCYVDZjIloUIrhcFSBFzGwkk+lVANMl9ROW/h+gVYJWE8tdo+d5s9Fo21rFa9QaJK1R1npMWs9Zy1C0LU3bVEttnbKmWegPh8MX1cy0ZA7kx2JZtGVZ9txfP5Z3rkvaZf5cmJMAAAAASUVORK5CYII="},e180:function(t,e,i){"use strict";var a=i("119c"),n=i.n(a);n.a},e41f:function(t,e,i){"use strict";var a=i("d282"),n=i("a142"),o=i("6605"),s=i("ad06"),r=Object(a["a"])("popup"),c=r[0],l=r[1];e["a"]=c({mixins:[Object(o["a"])()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){var t=this,e=function(e){return function(i){return t.$emit(e,i)}};this.onClick=e("click"),this.onOpened=e("opened"),this.onClosed=e("closed")},render:function(){var t,e=arguments[0];if(this.shouldRender){var i=this.round,a=this.position,o=this.duration,r="center"===a,c=this.transition||(r?"van-fade":"van-popup-slide-"+a),u={};if(Object(n["b"])(o)){var d=r?"animationDuration":"transitionDuration";u[d]=o+"s"}return e("transition",{attrs:{name:c},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],style:u,class:l((t={round:i},t[a]=a,t["safe-area-inset-bottom"]=this.safeAreaInsetBottom,t)),on:{click:this.onClick}},[this.slots(),this.closeable&&e(s["a"],{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:l("close-icon",this.closeIconPosition),on:{click:this.close}})])])}}})}}]);
//# sourceMappingURL=chunk-35faaf00.e682be69.js.map
\ No newline at end of file
......@@ -47,6 +47,7 @@
round
position="bottom"
:style="popupStyle"
get-container="body"
>
<div class="close-box" @click="expand_click">
<img src="../assets/images/ic_unfold@2x.png" />
......@@ -66,8 +67,8 @@
<div class="fe-list-child-left">
<h3>
{{
item.title.length > 20
? item.title.substring(0, 19) + "..."
item.title.length > 16
? item.title.substring(0, 15) + "..."
: item.title
}}
</h3>
......@@ -173,13 +174,16 @@ export default class FlexEmployee extends Vue {
: 0.0; // 已收报酬
this.taskRecordList = res.taskList==null?[]:res.taskList; // 任务记录
this.taskRecordList.length > 0 ? (this.showList = 1) : (this.showList = 0);
console.log("taskRecordList=", this.taskRecordList);
if (this.taskRecordList.length >= 3) {
this.expand = false;
} else {
this.expand = true;
}
localStorage.setItem("taskList", JSON.stringify(res.taskList));
const temp=this.taskRecordList[0]
this.taskRecordList=[];
this.taskRecordList[0]=temp;
localStorage.setItem("taskList", JSON.stringify(this.taskRecordList));
});
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment