(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1679d7ce"],{"09fe":function(t,o,e){},"0afc":function(t,o,e){t.exports=e.p+"img/noneData.919a3c84.png"},4056:function(t,o,e){"use strict";e("68ef"),e("9d70"),e("3743"),e("09fe")},"44bf":function(t,o,e){"use strict";var n=e("2638"),s=e.n(n),i=e("d282"),a=e("a142"),r=e("ea8e"),l=e("ad06"),c=Object(i["a"])("image"),p=c[0],d=c[1];o["a"]=p({props:{src:String,fit:String,alt:String,round:Boolean,width:[Number,String],height:[Number,String],radius:[Number,String],lazyLoad:Boolean,iconPrefix:String,showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},errorIcon:{type:String,default:"photo-fail"},loadingIcon:{type:String,default:"photo"}},data:function(){return{loading:!0,error:!1}},watch:{src:function(){this.loading=!0,this.error=!1}},computed:{style:function(){var t={};return Object(a["c"])(this.width)&&(t.width=Object(r["a"])(this.width)),Object(a["c"])(this.height)&&(t.height=Object(r["a"])(this.height)),Object(a["c"])(this.radius)&&(t.overflow="hidden",t.borderRadius=Object(r["a"])(this.radius)),t}},created:function(){var t=this.$Lazyload;t&&a["b"]&&(t.$on("loaded",this.onLazyLoaded),t.$on("error",this.onLazyLoadError))},beforeDestroy:function(){var t=this.$Lazyload;t&&(t.$off("loaded",this.onLazyLoaded),t.$off("error",this.onLazyLoadError))},methods:{onLoad:function(t){this.loading=!1,this.$emit("load",t)},onLazyLoaded:function(t){var o=t.el;o===this.$refs.image&&this.loading&&this.onLoad()},onLazyLoadError:function(t){var o=t.el;o!==this.$refs.image||this.error||this.onError()},onError:function(t){this.error=!0,this.loading=!1,this.$emit("error",t)},onClick:function(t){this.$emit("click",t)},genPlaceholder:function(){var t=this.$createElement;return this.loading&&this.showLoading?t("div",{class:d("loading")},[this.slots("loading")||t(l["a"],{attrs:{name:this.loadingIcon,classPrefix:this.iconPrefix},class:d("loading-icon")})]):this.error&&this.showError?t("div",{class:d("error")},[this.slots("error")||t(l["a"],{attrs:{name:this.errorIcon,classPrefix:this.iconPrefix},class:d("error-icon")})]):void 0},genImage:function(){var t=this.$createElement,o={class:d("img"),attrs:{alt:this.alt},style:{objectFit:this.fit}};if(!this.error)return this.lazyLoad?t("img",s()([{ref:"image",directives:[{name:"lazy",value:this.src}]},o])):t("img",s()([{attrs:{src:this.src},on:{load:this.onLoad,error:this.onError}},o]))}},render:function(){var t=arguments[0];return t("div",{class:d({round:this.round}),style:this.style,on:{click:this.onClick}},[this.genImage(),this.genPlaceholder(),this.slots()])}})},"66b9":function(t,o,e){"use strict";e("68ef"),e("9d70"),e("3743"),e("e3b3"),e("bc1b")},8402:function(t,o,e){},"8d6b":function(t,o,e){"use strict";var n=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{ref:"mescroll",staticClass:"mescroll"},[e("div",[t._t("default")],2)])},s=[],i=e("f868"),a=e.n(i),r=(e("f2fd"),{name:"MeScrollVue",data:function(){return{mescroll:null,lastScrollTop:0,lastBounce:null}},props:{up:Object,down:Object},mounted:function(){this.mescroll=new a.a(this.$refs.mescroll,{up:this.up,down:this.down}),this.$emit("init",this.mescroll)},methods:{beforeRouteEnter:function(){var t=this;this.mescroll&&(this.lastScrollTop&&(this.mescroll.setScrollTop(this.lastScrollTop),setTimeout((function(){t.mescroll.setTopBtnFadeDuration(0)}),16)),null!=this.lastBounce&&this.mescroll.setBounce(this.lastBounce))},beforeRouteLeave:function(){this.mescroll&&(this.lastScrollTop=this.mescroll.getScrollTop(),this.mescroll.hideTopBtn(0),this.lastBounce=this.mescroll.optUp.isBounce,this.mescroll.setBounce(!0))}}}),l=r,c=e("2877"),p=Object(c["a"])(l,n,s,!1,null,null,null);o["a"]=p.exports},9099:function(t,o,e){"use strict";e("8402")},a92e:function(t,o,e){"use strict";var n=function(){var t=this,o=t.$createElement,n=t._self._c||o;return n("div",{staticClass:"nonedata",staticStyle:{margin:"auto"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:"0"==t.len&&t.datashow,expression:"len == '0' && datashow"}],staticClass:"noneDataBox"},[n("img",{attrs:{src:e("0afc")}}),n("div",[t._v(t._s(t.text))])])])},s=[],i=(e("a9e3"),{name:"nonedata",props:{len:{type:Number,default:0},datashow:{type:Boolean,default:!1},text:{type:String,default:"暂无数据展示"}},data:function(){return{}},created:function(){},methods:{},mounted:function(){}}),a=i,r=(e("bf10"),e("2877")),l=Object(r["a"])(a,n,s,!1,null,"e6e9b0c4",null);o["a"]=l.exports},bcc1:function(t,o,e){"use strict";e.d(o,"c",(function(){return s})),e.d(o,"f",(function(){return i})),e.d(o,"e",(function(){return a})),e.d(o,"b",(function(){return r})),e.d(o,"d",(function(){return l})),e.d(o,"a",(function(){return c}));var n=e("b775");function s(t){return Object(n["a"])({url:"/api/dailyWork/reporting_object",method:"post",data:t})}function i(t){return Object(n["a"])({url:"/api/dailyWork/submit_daily",method:"post",data:t})}function a(t){return Object(n["a"])({url:"/api/dailyWork/send_record",method:"post",data:t})}function r(t){return Object(n["a"])({url:"/api/dailyWork/details",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/api/dailyWork/send_comments",method:"post",data:t})}function c(t){return Object(n["a"])({url:"/api/dailyWork/comment_list",method:"post",data:t})}},bf10:function(t,o,e){"use strict";e("c93c")},c93c:function(t,o,e){},d0bb:function(t,o,e){"use strict";e.r(o);var n,s=function(){var t=this,o=t.$createElement,n=t._self._c||o;return n("div",{staticClass:"page"},[t.detail.id?[n("div",{staticClass:"daily-name flex-row justify-between align-center"},[n("div",{staticClass:"flex-row align-center"},[n("van-image",{attrs:{width:"34px",height:"34px",radius:"5",src:t.detail.headimgurl}}),n("span",{staticClass:"font38 color333 ml20"},[t._v(t._s(t.detail.name))])],1),n("span",{staticClass:"font28 color-aaaaaa"},[t._v(t._s(t.detail.addtime.split(" ")[1]))])]),n("div",{staticClass:"padding-sm flex-column"},[n("span",{staticClass:"color999 font28 mt10"},[t._v(t._s(t.getWorkType(t.detail.type))+"工作")]),n("pre",{staticClass:"font34 mt20"},[t._v(t._s(t.detail.current_work||"无"))])]),n("div",{staticClass:"padding-sm flex-column"},[n("span",{staticClass:"color999 font28 mt10"},[t._v(t._s(t.getNextWorkType(t.detail.type))+"计划")]),n("pre",{staticClass:"font34 mt20"},[t._v(t._s(t.detail.next_plan||"无"))])]),n("div",{staticClass:"padding-sm flex-column"},[n("span",{staticClass:"color999 font28 mt10"},[t._v("其他事项")]),n("pre",{staticClass:"font34 mt20"},[t._v(t._s(t.detail.other_matters||"无"))])]),t.detail.enclosure_file?n("div",{staticClass:"padding-sm flex-column"},[n("span",{staticClass:"color999 font28 mt10"},[t._v("附件")]),n("div",{staticClass:"mt20"},[n("div",{staticClass:"flex-row flex-nowrap overflowAuto"},t._l(t.detail.enclosure_file,(function(t,o){return n("van-image",{key:o,staticStyle:{flex:"none","margin-right":"10px",border:"1px dashed #d7e6ee"},attrs:{width:"80px",height:"80px",radius:"5",src:t}})})),1)])]):t._e(),t.detail.reporting_object&&t.detail.reporting_object.length&&"sendout"==t.type?n("div",{staticClass:"padding-sm border-top flex-row align-center mt20"},[n("span",{staticClass:"coloraaa font26"},[t._v("已汇报给:")]),t._l(t.detail.reporting_object,(function(o,e){return n("div",{key:e,staticClass:"flex-row align-center"},[n("van-image",{staticClass:"mr10",attrs:{width:"27px",height:"27px",radius:"5",src:o.user.headimgurl}}),n("span",{staticClass:"coloraaa font26"},[t._v(t._s(o.name)+"、")])],1)}))],2):t._e(),n("div",{staticClass:"bgF6F6F6 h60"}),n("div",{staticClass:"padding-sm",staticStyle:{"margin-bottom":"60px"}},[n("mescroll-vue",{ref:"wordListBox",staticClass:"managementmescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[t._l(t.commentsList,(function(o){return n("div",{key:o.id,staticClass:"flex-row mt20 border-bottom paddingTopBottom",on:{click:function(e){return t.replyComment(o)}}},[n("van-image",{attrs:{width:"40px",height:"40px",radius:"5",src:o.headimgurl}}),n("div",{staticClass:"flex-sub pl20"},[n("span",{staticClass:"coloraaa font26"},[t._v(t._s(o.name)+"回复"+t._s(o.reply_name))]),n("div",{staticClass:"color333 font34 mtb10"},[t._v(t._s(o.comment))]),n("span",{staticClass:"coloraaa font26"},[t._v(t._s(o.addtime.split(" ")[1]))])])],1)})),t.loadFlag||t.commentsList.length?t._e():n("nonedata",{attrs:{datashow:t.datashow,text:"暂无更多评论"}})],2)],1),n("div",{staticClass:"fixedBottom zindex"},[n("van-field",{staticStyle:{width:"100%",flex:"1"},attrs:{readonly:"",placeholder:"请发表你的评论"},on:{click:function(o){t.showMask=!0,t.parent_uid=0,t.parent_id=0}}})],1),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showMask,expression:"showMask"}],staticClass:"mask",on:{click:function(o){return o.stopPropagation(),t.hiddenMask.apply(null,arguments)}}},[n("div",{staticClass:"sendComment",on:{click:function(t){t.stopPropagation()}}},[n("van-field",{staticStyle:{width:"100%",flex:"1"},attrs:{placeholder:"请发表你的评论"},model:{value:t.value,callback:function(o){t.value=o},expression:"value"}}),n("img",{staticClass:"mlr20",attrs:{src:e("fbe7"),alt:"发送",width:"27px",height:"27px"},on:{click:t.sendMsg}})],1)])]:t._e(),n("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]})],2)},i=[],a=(e("e7e5"),e("d399")),r=e("ade3"),l=(e("66b9"),e("b650")),c=(e("be7f"),e("565f")),p=(e("4056"),e("44bf")),d=(e("b0c0"),e("99af"),e("8d6b")),u=e("bcc1"),h=e("a92e"),m={components:(n={},Object(r["a"])(n,p["a"].name,p["a"]),Object(r["a"])(n,c["a"].name,c["a"]),Object(r["a"])(n,l["a"].name,l["a"]),Object(r["a"])(n,"MescrollVue",d["a"]),Object(r["a"])(n,"nonedata",h["a"]),n),data:function(){return{showMask:!1,loadFlag:!1,datashow:!1,id:"",value:"",type:"",detail:{},commentsList:[],parent_id:0,parent_uid:0,mescroll:null,mescrollDown:{},mescrollUp:{callback:this.upCallback,page:{num:0,size:10},htmlNodata:"",noMoreSize:5}}},mounted:function(){var t=this.utils.getQueryStringArgs(window.location.href);t.id&&(this.id=t.id),t.type&&(this.type=t.type),this.getData()},methods:{mescrollInit:function(t){this.mescroll=t},upCallback:function(t,o){var e=this;this.datashow=!1,u["a"]({id:this.id,page:t.num}).then((function(n){e.datashow=!0,0==n.data.code&&(1===t.num&&(e.commentsList=[]),e.commentsList=e.commentsList.concat(n.data.data),e.$nextTick((function(){o.endSuccess(n.data.data.length)})))})).catch((function(t){e.datashow=!0}))},getData:function(){var t=this;this.loadFlag=!0,u["b"]({id:this.id}).then((function(o){t.loadFlag=!1,0==o.data.code&&(t.detail=o.data.data)})).catch((function(o){t.loadFlag=!1}))},sendMsg:function(){var t=this;if(this.value){var o=a["a"].loading({message:"发送中...",forbidClick:!0,duration:0});u["d"]({daily_work_id:this.id,comment:this.value,parent_id:this.parent_id,parent_uid:this.parent_uid}).then((function(e){o.clear(),0==e.data.code&&(t.value="",Object(a["a"])({message:e.data.msg}),t.showMask=!1,t.mescroll.resetUpScroll())}))}else Object(a["a"])({message:"评论内容不能为空!"})},hiddenMask:function(){this.showMask=!1,this.value=""},replyComment:function(t){this.parent_id=t.id,this.parent_uid=t.uid,this.showMask=!0},getWorkType:function(t){switch(t){case"day":return"今日";case"week":return"本周";case"month":return"本月"}},getNextWorkType:function(t){switch(t){case"day":return"明日";case"week":return"下周";case"month":return"下月"}}}},f=m,w=(e("9099"),e("2877")),g=Object(w["a"])(f,s,i,!1,null,"2061f9af",null);o["default"]=g.exports},f2fd:function(t,o,e){},f868:function(t,o,e){var n,s;(function(i,a){n=a,s="function"===typeof n?n.call(o,e,o,t):n,void 0===s||(t.exports=s)})(0,(function(){var t=function(t,o){var e=this;if(e.version="1.4.0",e.isScrollBody=!t||"body"===t,e.scrollDom=e.isScrollBody?document.body:e.getDomById(t),e.scrollDom){e.options=o||{};var n=navigator.userAgent,s=!!n.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),i="undefined"===typeof window.orientation,a=n.indexOf("Android")>-1||n.indexOf("Adr")>-1;e.os={ios:s,pc:i,android:a},e.isDownScrolling=!1,e.isUpScrolling=!1;var r=e.options.down&&e.options.down.callback;e.initDownScroll(),e.initUpScroll(),setTimeout((function(){e.optDown.use&&e.optDown.auto&&r&&(e.optDown.autoShowLoading?e.triggerDownScroll():e.optDown.callback&&e.optDown.callback(e)),e.optUp.use&&e.optUp.auto&&!e.isUpAutoLoad&&e.triggerUpScroll()}),30)}};return t.prototype.extendDownScroll=function(o){t.extend(o,{use:!0,auto:!0,autoShowLoading:!1,isLock:!1,isBoth:!1,offset:80,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,hardwareClass:"mescroll-hardware",mustToTop:!1,warpId:null,warpClass:"mescroll-downwarp",resetClass:"mescroll-downwarp-reset",textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",htmlContent:'
',inited:function(t,o){t.downTipDom=o.getElementsByClassName("downwarp-tip")[0],t.downProgressDom=o.getElementsByClassName("downwarp-progress")[0]},inOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textInOffset),t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},outOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textOutOffset)},onMoving:function(t,o,e){if(t.downProgressDom){var n=360*o;t.downProgressDom.style.webkitTransform="rotate("+n+"deg)",t.downProgressDom.style.transform="rotate("+n+"deg)"}},beforeLoading:function(t,o){return!1},showLoading:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textLoading),t.downProgressDom&&t.downProgressDom.classList.add("mescroll-rotate")},afterLoading:function(t){return 0},callback:function(t){t.resetUpScroll()}})},t.prototype.extendUpScroll=function(o){var e=this.os.pc;t.extend(o,{use:!0,auto:!0,isLock:!1,isBoth:!1,isBounce:!0,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:100,toTop:{warpId:null,src:null,html:null,offset:1e3,warpClass:"mescroll-totop",showClass:"mescroll-fade-in",hideClass:"mescroll-fade-out",fadeDuration:.5,duration:300,supportTap:!1,btnClick:null},loadFull:{use:!1,delay:500},empty:{warpId:null,icon:null,tip:"暂无相关数据~",btntext:"",btnClick:null,supportTap:!1},clearId:null,clearEmptyId:null,hardwareClass:"mescroll-hardware",warpId:null,warpClass:"mescroll-upwarp",htmlLoading:'加载中..
',htmlNodata:'-- END --
',inited:function(t,o){},showLoading:function(t,o){o.innerHTML=t.optUp.htmlLoading},showNoMore:function(t,o){o.innerHTML=t.optUp.htmlNodata},onScroll:null,scrollbar:{use:e,barClass:"mescroll-bar"},lazyLoad:{use:!1,attr:"imgurl",showClass:"mescroll-lazy-in",delay:500,offset:200}})},t.extend=function(o,e){if(!o)return e;for(var n in e)null==o[n]?o[n]=e[n]:"object"===typeof o[n]&&t.extend(o[n],e[n]);return o},t.prototype.initDownScroll=function(){var t=this;if(t.optDown=t.options.down||{},t.extendDownScroll(t.optDown),t.touchstartEvent=function(o){t.isScrollTo&&t.preventDefault(o),t.startPoint=t.getPoint(o),t.lastPoint=t.startPoint,t.maxTouchmoveY=t.getBodyHeight()-t.optDown.bottomOffset,t.inTouchend=!1;var e=t.getScrollTop();t.isKeepTop=0===e,t.os.pc&&e<=0&&(t.scrollDom.addEventListener("mousemove",t.touchmoveEvent,{passive:!1}),document.ondragstart=function(){return!1})},t.scrollDom.addEventListener("mousedown",t.touchstartEvent),t.scrollDom.addEventListener("touchstart",t.touchstartEvent),t.touchmoveEvent=function(o){if(t.startPoint){var e=t.getScrollTop();e>0&&(t.isKeepTop=!1);var n=t.getPoint(o),s=n.y-t.startPoint.y;if(s>0){if(e<=0&&(t.preventDefault(o),t.optDown.use&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth))){if(t.optDown.mustToTop&&!t.isKeepTop)return;var i=Math.abs(t.lastPoint.x-n.x),a=Math.abs(t.lastPoint.y-n.y),r=Math.sqrt(i*i+a*a);if(0!==r){var l=Math.asin(a/r)/Math.PI*180;if(l'+o.tip+"
"),o.btntext&&(s+=''+o.btntext+"
"),t.emptyDom=document.createElement("div"),t.emptyDom.className="mescroll-empty",t.emptyDom.innerHTML=s,n.appendChild(t.emptyDom),o.btnClick){var i=t.emptyDom.getElementsByClassName("empty-btn")[0];o.supportTap?i.addEventListener("tap",(function(e){e.stopPropagation(),t.preventDefault(e),o.btnClick()})):i.onclick=function(){o.btnClick()}}}}},t.prototype.removeEmpty=function(){this.removeChild(this.emptyDom)},t.prototype.showTopBtn=function(t){if(!this.topBtnShow){this.topBtnShow=!0;var o,e=this,n=e.optUp.toTop;if(null==e.toTopBtn)n.html?(e.toTopBtn=document.createElement("div"),e.toTopBtn.innerHTML=n.html):(e.toTopBtn=document.createElement("img"),e.toTopBtn.src=n.src),e.toTopBtn.className=n.warpClass,n.supportTap?e.toTopBtn.addEventListener("tap",(function(t){t.stopPropagation(),e.preventDefault(t);var o=n.btnClick&&n.btnClick();!0!==o&&e.scrollTo(0,e.optUp.toTop.duration)})):e.toTopBtn.onclick=function(){var t=n.btnClick&&n.btnClick();!0!==t&&e.scrollTo(0,e.optUp.toTop.duration)},n.warpId&&(o=e.getDomById(n.warpId)),o||(o=document.body),o.appendChild(e.toTopBtn);e.toTopBtn.classList.remove(n.hideClass),e.toTopBtn.classList.add(n.showClass),e.setTopBtnFadeDuration(t)}},t.prototype.hideTopBtn=function(t){this.topBtnShow&&this.toTopBtn&&(this.topBtnShow=!1,this.toTopBtn.classList.remove(this.optUp.toTop.showClass),this.toTopBtn.classList.add(this.optUp.toTop.hideClass),this.setTopBtnFadeDuration(t))},t.prototype.setTopBtnFadeDuration=function(t){if(this.toTopBtn){var o=(null!=t?t:this.optUp.toTop.fadeDuration)+"s";this.toTopBtn.style.animationDuration=o,this.toTopBtn.style.webkitAnimationDuration=o}},t.prototype.scrollTo=function(t,o){var e=this,n=e.getScrollTop(),s=t;if(s>0){var i=e.getScrollHeight()-e.getClientHeight();s>i&&(s=i)}else s=0;e.isScrollTo=!0,e.scrollDom.style.webkitOverflowScrolling="auto",e.getStep(n,s,(function(t){e.setScrollTop(t),t===s&&(e.scrollDom.style.webkitOverflowScrolling="touch",e.isScrollTo=!1)}),o)},t.prototype.getStep=function(t,o,e,n,s){var i=o-t;if(0!==n&&0!==i){n=n||300,s=s||30;var a=n/s,r=i/a,l=0,c=window.setInterval((function(){l