webpackJsonp([52],{10:function(t,e,a){e=t.exports=a(1)(),e.push([t.i,'@charset "UTF-8";.lj-card__header[data-v-633a7004]{padding:5px 10px;background-color:unset;overflow:auto}.lj-card__header .van-cell__title[data-v-633a7004]{font-size:16px}.lj-card__header .van-cell__title .van-cell__label[data-v-633a7004]{margin-top:0}.lj-card__header .van-cell__value[data-v-633a7004]{display:flex;align-items:flex-end;justify-content:center;flex-direction:column}.lj-card__header .van-cell__value .lj-status-badge[data-v-633a7004]{position:relative;padding:0}.lj-card__header .jc-card-label[data-v-633a7004]{display:flex}.lj-card__header .jc-card-label .title[data-v-633a7004]{padding-right:6px;font-size:12px;color:rgba(60,60,67,.3)}.lj-card__header .card-default .card-status[data-v-633a7004]{display:flex;justify-content:flex-end}.lj-card__header .card-default .count-down[data-v-633a7004]{font-size:12px;color:#ff3b30;line-height:18px}.lj-card__header .field[data-v-633a7004]{color:rgba(60,60,67,.3);margin-right:2px}.lj-card__header .field-value[data-v-633a7004]{color:rgba(60,60,67,.6)}.eventmx-tag[data-v-633a7004]{display:flex}.eventmx-tag .eventmx-tag-left[data-v-633a7004]{flex:1}.eventmx-tag .eventmx-tag-left span[data-v-633a7004]{font-size:12px}.eventmx-tag .checkpoint-tag[data-v-633a7004]{background-color:hsla(240,4%,48%,.08);color:#000;margin-left:2px}.eventmx-tag .eventmx-tag-right[data-v-633a7004]{flex-shrink:0}.eventmx-tag .eventmx-tag-right .iconfont[data-v-633a7004]{font-size:12px;padding-right:1px}.eventmx-tag .duty-tag[data-v-633a7004]{background-color:rgba(255,69,58,.05);color:#ff3b30}.eventmx-tag .duty-tag .iconfont[data-v-633a7004]{font-size:12px;padding-right:1px}.eventmx-tag .duty-tag-item[data-v-633a7004]{margin-left:2px;background-color:#fff;border:1px solid rgba(255,69,58,.05);color:#ff3b30}.reason-rel-cell[data-v-633a7004]{margin-bottom:2px}.reason-rel-cell.van-cell[data-v-633a7004]{background-color:hsla(240,4%,48%,.12);padding:4px 8px;border-radius:4px}.reason-rel-cell .iconfont[data-v-633a7004]{font-size:16px;margin-right:4px}.reason-rel-cell .van-cell__label[data-v-633a7004]{margin-top:0}.reason-rel-cell .rel-right[data-v-633a7004]{display:inline-flex;flex-direction:column}.reason-rel-cell .rel-right .rel-right-tag[data-v-633a7004]{display:inline-block;justify-content:flex-end;font-size:12px;color:rgba(60,60,67,.6);line-height:16px}.reason-rel-cell .rel-right .rel-right-tag+.rel-right-tag[data-v-633a7004]{margin-top:3px}.lj-file-show_and_update[data-v-633a7004]{position:relative}.lj-file-show_and_update .add-fj[data-v-633a7004],.lj-file-show_and_update .file-rel-item[data-v-633a7004]{float:left;display:inline-flex;justify-content:center;align-items:center;margin:0 5px;margin-bottom:10px;border-radius:4px;width:-moz-calc(33.33vw - 25px);width:-webkit-calc(33.33vw - 25px);width:calc(33.33vw - 25px);height:-moz-calc(33.33vw - 25px);height:-webkit-calc(33.33vw - 25px);height:calc(33.33vw - 25px);background-color:hsla(240,3%,49%,.16);color:#000;overflow:hidden}.lj-file-show_and_update .add-fj .iconfont[data-v-633a7004]{font-size:36px}.lj-picture_and_video[data-v-633a7004]{position:relative;display:inline-block}.lj-picture_and_video .bottom-nav[data-v-633a7004]{display:inline-block;position:absolute;bottom:0;left:0;right:0;padding:0 2px;background-color:rgba(0,0,0,.4);color:#fff;transition:all .2s ease-in-out;text-align:center}.lj-picture_and_video .bottom-nav .iconfont[data-v-633a7004]{font-size:14px}.lj-picture_and_video .bottom-nav-status[data-v-633a7004]{display:inline-block;position:absolute;bottom:100%;left:0;right:0;background-color:#8e8e93;color:#fff;transition:all .2s ease-in-out;text-align:center}.lj-picture_and_video .bottom-nav-status.show[data-v-633a7004]{bottom:0}.lj-picture_and_video .bottom-nav-status .iconfont[data-v-633a7004]{font-size:14px}.lj-picture_and_video .bottom-nav-status .dl-success[data-v-633a7004]{background-color:#4caf50}.lj-picture_and_video .bottom-nav-status .dl-fail[data-v-633a7004]{background-color:#f44336}.lj-picture_and_video .bottom-nav-text[data-v-633a7004]{font-weight:400;font-size:12px}.lj-picture_and_video .control-bar[data-v-633a7004]{position:absolute;right:2px;top:2px;display:flex}.lj-picture_and_video .control-bar .van-tag[data-v-633a7004]{margin-left:2px}.lj-picture_and_video .control-bar.center[data-v-633a7004]{top:50%;right:unset;left:50%;transform:translate(-50%,-50%)}.lj-picture_and_video .control-bar.center .van-tag[data-v-633a7004]{margin-left:0}.lj-picture_and_video .control-bar .tag-item[data-v-633a7004]{margin-left:2px;display:flex;align-items:center;justify-content:center;padding:2px 6px;background-color:rgba(0,0,0,.4);color:#fff;transition:all .2s ease-in-out;text-align:center;min-height:18px}.lj-picture_and_video .control-bar .tag-item .iconfont[data-v-633a7004]{font-size:16px}.lj-picture_and_video .control-bar .tag-item.del-item[data-v-633a7004]{background-color:#ff3b30}.lj-picture_and_video .control-bar .tag-item.download-item[data-v-633a7004]{background-color:#219653}.lj-picture_and_video .control-bar .tag-item.error-item[data-v-633a7004]{background-color:#ff3b30;opacity:.6}.lj-picture_and_video .control-bar .tag-item.text-btn[data-v-633a7004]{color:#2196f3}.lj-picture_and_video .control-bar .tag-item.loading[data-v-633a7004]{background-color:transparent}.file-rel[data-v-633a7004]{position:relative;margin:0 -5px}.file-rel .file-rel-item[data-v-633a7004]{display:inline-block;margin:0 5px;margin-bottom:5px;border-radius:4px;overflow:hidden;width:-moz-calc(33.33vw - 32px);width:-webkit-calc(33.33vw - 32px);width:calc(33.33vw - 32px);height:-moz-calc(33.33vw - 32px);height:-webkit-calc(33.33vw - 32px);height:calc(33.33vw - 32px)}.fj-box[data-v-633a7004]{position:relative}.fj-box .add-fj[data-v-633a7004],.fj-box .file-rel-item[data-v-633a7004]{float:left;display:inline-flex;justify-content:center;align-items:center;margin:0 5px;margin-bottom:10px;border-radius:4px;width:-moz-calc(33.33vw - 34px);width:-webkit-calc(33.33vw - 34px);width:calc(33.33vw - 34px);height:-moz-calc(33.33vw - 34px);height:-webkit-calc(33.33vw - 34px);height:calc(33.33vw - 34px);background-color:hsla(240,3%,49%,.16);color:#000;overflow:hidden}.fj-box .add-fj .iconfont[data-v-633a7004]{font-size:36px}body[data-v-633a7004]{font-family:\\\\5FAE\\8F6F\\96C5\\9ED1;-webkit-overflow-scrolling:touch}.lj-background-color-primary[data-v-633a7004]{background-color:#fc4e2c}.lj-card-item[data-v-633a7004]{background-color:#fff;margin-bottom:8px;padding:5px}.lj-card-summary[data-v-633a7004]{padding:5px;background-color:#f5f4f4;border-radius:10px;margin-bottom:5px}.lj-card-summary-heavy-text[data-v-633a7004]{color:#000}.lj-card-summary-light-text[data-v-633a7004]{color:#888}.lj-card-summary-icon[data-v-633a7004]{font-size:16px!important;vertical-align:-2px}.lj-card-tag[data-v-633a7004]{background-color:#f5f4f4;border-radius:5px;width:fit-content;width:-webkit-fit-content;width:-moz-fit-content;padding:0 10px;margin-right:5px}.lj-card-tag-text[data-v-633a7004]{font-size:12px}.lj-card-detail-button[data-v-633a7004]{position:absolute;right:20px}.lj-card-primary-title[data-v-633a7004]{font-size:20px;font-weight:700}.lj-card-secondary-title[data-v-633a7004]{font-size:14px;font-weight:700;text-align:right}.lj-card-secondary-content[data-v-633a7004]{font-size:14px}.lj-card-tertiary-title[data-v-633a7004]{font-size:14px;font-weight:700;text-align:right}.lj-card-tertiary-content[data-v-633a7004]{font-size:14px}.lj-card-quaternary-title[data-v-633a7004]{font-size:12px;font-weight:700;text-align:right}.lj-card-quaternary-content[data-v-633a7004]{font-size:12px}.lj-sharp-red-text[data-v-633a7004]{color:#f44336}.lj-detail-status-header[data-v-633a7004]{height:80px;padding:10px;color:#fff}.lj-detail-content[data-v-633a7004]{margin-top:-30px}.lj-detail-content-top[data-v-633a7004]{border-top-left-radius:20px;border-top-right-radius:20px}.lj-detail-are-title[data-v-633a7004]{font-size:17px}.lj-detail-are-title-two[data-v-633a7004],.lj-detail-are-title[data-v-633a7004]{font-weight:700;text-align:center;margin-left:20px;margin-right:20px;margin-top:-5px;height:42px;line-height:43px;border-bottom:1px solid #f0f0f0}.lj-detail-mx-list-content[data-v-633a7004]{padding:10px 0}.lj-detail-mx-item[data-v-633a7004]{line-height:30px}.lj-oa-detail-status-header[data-v-633a7004]{font-size:16px;font-weight:700;align-items:center;height:35px;padding:5px 20px;color:#fff}.lj-bottom-sheet[data-v-633a7004]{border-top-left-radius:15px;border-top-right-radius:15px;padding:10px 20px 0}.lj-bottom-sheet-button[data-v-633a7004]{color:#fff;font-size:16px;text-align:center;padding:8px 0;margin:0 -20px;background-color:#fc4e2c}.lj-textarea-border[data-v-633a7004]{width:100%;font-size:15px;margin:10px 0}.lj-status-alert[data-v-633a7004]{background-color:#fc4e2c}.lj-status-alert-sec[data-v-633a7004]{background-color:#fd8e78}.lj-status-alert-thr[data-v-633a7004]{background-color:#ffdbd4}.lj-status-warn[data-v-633a7004]{background-color:#fdd835}.lj-status-normal[data-v-633a7004]{background-color:#8dc026}.lj-status-normal-sec[data-v-633a7004]{background-color:#bbe26e}.lj-status-normal-thr[data-v-633a7004]{background-color:#e3f8b8}.lj-status-pass[data-v-633a7004]{background-color:#46a4da}.lj-status-pass-sec[data-v-633a7004]{background-color:#90cef1}.lj-status-pass-thr[data-v-633a7004]{background-color:#d1edfd}.lj-status-text[data-v-633a7004]{color:#fff;font-size:12px;font-weight:700}.vux-number-input[data-v-633a7004],.vux-number-selector[data-v-633a7004]{box-sizing:content-box}body[data-v-633a7004]{margin:0;font-family:微软雅黑}.icon[data-v-633a7004]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.iconfont[data-v-633a7004]{font-size:24px}.flex[data-v-633a7004]{display:flex}.flex-column[data-v-633a7004]{display:flex;flex-direction:column}.flex-1[data-v-633a7004]{flex:1}.flex_shrink-0[data-v-633a7004]{flex-shrink:0}.lj-divider[data-v-633a7004]{background-color:#eee;height:1px}.lj-summary-area[data-v-633a7004]{background-color:#f5f4f4;margin:5px;border-radius:10px}.lj-color-orange[data-v-633a7004]{color:#ffa726}.lj-color-green[data-v-633a7004]{color:#66bb6a}.lj-color-blue[data-v-633a7004]{color:#29b6f6}.lj-color-pink[data-v-633a7004]{color:#ef5350}.lj-color-red[data-v-633a7004]{color:red}.lj-group[data-v-633a7004]{margin-bottom:12px;background-color:#fff}.lj-group-title[data-v-633a7004]{background-color:#90a4ae;padding-left:10px}.lj-cell[data-v-633a7004]{padding-left:10px;padding-right:10px}.lj-group-sub-font[data-v-633a7004]{font-weight:700;font-size:14px}.lj-home-module[data-v-633a7004]{margin:8px 5px 10px;padding-bottom:10px;border-radius:10px;overflow:hidden;background-color:#fff}.lj-home-module-title[data-v-633a7004]{position:relative;background-color:#f5f5f5;color:#8b8b8b;font-weight:700;font-size:17px;padding:8px 20px}.lj-home-module-title .tips[data-v-633a7004]{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#999;font-size:14px;font-weight:400}.lj-home-module-title .tips .iconfont[data-v-633a7004]{color:#999;font-size:14px}.lj-home-module-title .iconfont[data-v-633a7004]{font-weight:400!important}.lj-home-module-title .hide-eye[data-v-633a7004]{padding-left:8px}.lj-home-module-content-label[data-v-633a7004]{padding-top:5px;font-size:13px;color:#999}.lj-home-module-data-margin[data-v-633a7004]{margin-left:20px;margin-top:10px}.lj-home-module-content-value[data-v-633a7004]{font-size:25px;font-weight:700;color:#ff801a}.lj-input-center[data-v-633a7004]{text-align:center;width:100%}.lj-muse-data-table td[data-v-633a7004]{padding:0}.lj-muse-data-table th[data-v-633a7004]{background-color:#d3d3d3;padding:0;font-size:14px;height:20px;line-height:1;font-weight:700}.lj-muse-data-table .mu-checkbox-col[data-v-633a7004]{text-align:center}.lj-input-box[data-v-633a7004]{border:1px solid #000;border-radius:5px}.lj-topDate[data-v-633a7004]{background-color:#9cf;padding:5px;border-radius:5px}.lj-taskinfo-title[data-v-633a7004]{font-weight:700;width:80px;text-align:right;display:inline-block}.lj-taskinfo-content[data-v-633a7004]{color:#333}.lj-peizhi-justify[data-v-633a7004]{display:block;float:left;width:70%;text-align:justify}.text-ellipsis-one[data-v-633a7004]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-ellipsis-one_2[data-v-633a7004]{-webkit-line-clamp:1;line-clamp:1}.text-ellipsis-one_2[data-v-633a7004],.text-ellipsis-two[data-v-633a7004]{text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.text-ellipsis-two[data-v-633a7004]{-webkit-line-clamp:2;line-clamp:2}.shadow[data-v-633a7004]{box-shadow:0 4px 4px 0 rgba(0,0,0,.04),0 0 6px 0 rgba(0,0,0,.12)}.mu-elevation-4[data-v-633a7004]{box-shadow:0 2px 5px 0 rgba(0,0,0,.04),0 0 3px 0 rgba(0,0,0,.08)}.mu-elevation-3[data-v-633a7004]{box-shadow:0 2px 5px 0 rgba(0,0,0,.06),0 0 3px 0 rgba(0,0,0,.1)}.clearfix[data-v-633a7004]:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.lj-icon[data-v-633a7004]{position:relative;width:16px;height:16px;text-align:center;line-height:16px;border-radius:4px;border:1px solid rgba(60,60,67,.3);transition:all .2s ease-in-out}.lj-icon.single[data-v-633a7004]{border-radius:50%}.lj-icon.checked[data-v-633a7004]{border-color:#2196f3;background-color:#2196f3}.lj-icon .iconfont[data-v-633a7004]{margin-right:0!important;font-size:12px!important;color:#fff}.lj-status-red[data-v-633a7004]{background-color:#ff3b30}.lj-status-orange[data-v-633a7004]{background-color:#ff9500}.lj-status-yellow[data-v-633a7004]{background-color:#fc0}.lj-status-indigo[data-v-633a7004]{background-color:#5856d6}.lj-status-green1[data-v-633a7004]{background-color:#219653}.lj-status-green2[data-v-633a7004]{background-color:#34c759}.lj-status-green3[data-v-633a7004]{background-color:#6fcf97}.lj-status-teal[data-v-633a7004]{background-color:#5ac8fa}.lj-status-blue[data-v-633a7004]{background-color:#007aff}.lj-status-pink[data-v-633a7004]{background-color:#ff2d55}.lj-status-gray1[data-v-633a7004]{background-color:#8e8e93}.lj-linear-status-blue[data-v-633a7004]{background:linear-gradient(138.09deg,#1890ff 19.93%,#0052d4 77.42%)}.lj-linear-status-red[data-v-633a7004]{background:linear-gradient(138.09deg,#ff3b30 19.93%,#da0000 77.42%)}.lj-linear-status-indigo[data-v-633a7004]{background:linear-gradient(138.09deg,#8886ff 19.93%,#5856d6 77.42%)}.event-icon-status[data-v-633a7004]{border-radius:50%;width:24px;height:24px;border:2px solid #fff;box-shadow:0 2px 4px rgba(0,0,0,.1),inset 1px 1px 2px rgba(0,0,0,.05);text-align:center}.event-icon-status.status-plus[data-v-633a7004]{background-color:#ffde3b}.event-icon-status.status-send[data-v-633a7004]{background-color:#ffd599}.event-icon-status.status-check[data-v-633a7004]{background-color:#7ac098}.event-icon-status.status-audit[data-v-633a7004]{background-color:#66b5ff}.event-icon-status.status-stop[data-v-633a7004]{background-color:#bdbdbd}.event-icon-status.status-chat[data-v-633a7004]{background-color:#a9e2c1}.event-icon-status.status-danger[data-v-633a7004]{background-color:#bebef5}.event-icon-status.status-close[data-v-633a7004]{background-color:#ffb1ac}.event-icon-status .iconfont[data-v-633a7004]{margin:auto;font-size:14px;color:#fff}@-webkit-keyframes long-press{0%{transform:scale(1)}10%{transform:scale(1.3)}20%{transform:scale(.9)}35%{transform:scale(1)}}@keyframes long-press{0%{transform:scale(1)}10%{transform:scale(1.3)}20%{transform:scale(.9)}35%{transform:scale(1)}}@-webkit-keyframes ball-scale-multiple{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}5%{opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@keyframes ball-scale-multiple{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}5%{opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.version-confirm[data-v-633a7004]{position:relative;display:flex;justify-content:center;align-items:center;flex:1}.version-confirm .check-btn[data-v-633a7004]{flex:1}.version-confirm .progress-btn[data-v-633a7004]{position:absolute;left:0;right:0;top:0;bottom:0;margin:auto;height:44px}.version-confirm .confirm-btn[data-v-633a7004]{flex:1;transition:all .2s ease-in-out;transform-origin:100% 50%;height:44px}.version-confirm .confirm-btn .van-progress__pivot[data-v-633a7004],.version-confirm .confirm-btn .van-progress__portion[data-v-633a7004]{transition:all .2s ease-in-out}.version-confirm .btn+.btn[data-v-633a7004]{margin-left:10px}.version-confirm.hasdownload .confirm-btn[data-v-633a7004]{margin-left:0;width:100%}.version-confirm.hasdownload .close-btn[data-v-633a7004]{margin-right:0;width:0;opacity:0}.van-cell-group--inset[data-v-633a7004]{margin:0 5px}.van-cell-group--inset .van-cell-group__title--inset[data-v-633a7004]{padding:16px 16px 8px}.lj-van-cell-group+.lj-van-cell-group[data-v-633a7004]{margin-top:16px}.header[data-v-633a7004]{width:100%;position:fixed;top:0;background-color:#fff;z-index:999}.content[data-v-633a7004]{width:100%;margin:0 auto}.background-color[data-v-633a7004]{background-color:#eee}.drawer-content[data-v-633a7004]{padding:2rem}.footer[data-v-633a7004]{position:fixed;bottom:0;width:100%;z-index:99}.header-sub[data-v-633a7004]{position:fixed;width:100%;height:auto;background:#fff;z-index:100}',""])},108:function(t,e,a){t.exports={default:a(110),__esModule:!0}},109:function(t,e,a){"use strict";e.__esModule=!0;var r=a(108),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){if(Array.isArray(t)){for(var e=0,a=Array(t.length);e1?arguments[1]:void 0,v=void 0!==g,m=0,x=d(h);if(v&&(g=r(g,p>2?arguments[2]:void 0,2)),void 0==x||f==Array&&s(x))for(e=l(h.length),a=new f(e);e>m;m++)c(a,m,v?g(h[m],m):h[m]);else for(u=x.call(h),a=new f;!(i=u.next()).done;m++)c(a,m,v?o(u,g,[i.value,m],!0):i.value);return a.length=m,a}})},115:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(7),i=a.n(r),n=a(118),o=a.n(n),s=a(116);e.default={name:"lj-calendar",props:{markDate:{type:Array,default:function(){return[]}},markDateMore:{type:Array,default:function(){return[]}},textTop:{type:Array,default:function(){return["一","二","三","四","五","六","日"]}},sundayStart:{type:Boolean,default:function(){return!1}},agoDayHide:{type:String,default:"0"},futureDayHide:{type:String,default:"2554387200"},monthTopHide:{type:Boolean,default:!1},range:{type:Array},value:{}},data:function(){return{myDate:[],list:[],historyChose:[],dateTop:"",currentValue:void 0}},created:function(){this.intStart(),this.value?this.myDate=new Date(this.value):this.myDate=new Date},mounted:function(){this.getList(this.myDate,s.a.dateFormat(this.myDate))},methods:{intStart:function(){s.a.sundayStart=this.sundayStart},setClass:function(t){var e={};return e[t.markClassName]=t.markClassName,e},clickDay:function(t,e){"nowMonth"!==t.otherMonth||t.dayHide||this.getList(this.myDate,t.date),"nowMonth"!==t.otherMonth&&("preMonth"===t.otherMonth?this.PreMonth(t.date):this.NextMonth(t.date))},ChoseMonth:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t=s.a.dateFormat(t),this.myDate=new Date(t),this.$emit("changeMonth",s.a.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate)},PreMonth:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t=s.a.dateFormat(t),this.myDate=s.a.getOtherMonth(this.myDate,"preMonth"),this.$emit("changeMonth",s.a.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate)},NextMonth:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t=s.a.dateFormat(t),this.myDate=s.a.getOtherMonth(this.myDate,"nextMonth"),this.$emit("changeMonth",s.a.dateFormat(this.myDate)),e?this.getList(this.myDate,t,e):this.getList(this.myDate)},forMatArgs:function(){var t=this.markDate,e=this.markDateMore;return t=t.map(function(t){return s.a.dateFormat(t)}),e=e.map(function(t){return t.date=s.a.dateFormat(t.date),t}),[t,e]},getList:function(t,e){!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e&&this.handleChooseDayChanged(e),console.log(this.currentValue);var a=this.forMatArgs(),r=o()(a,2),n=r[0],l=r[1];this.dateTop=t.getFullYear()+"年"+(t.getMonth()+1)+"月";var c=s.a.getMonthList(this.myDate),d=[],u=this.range&&this.range[0]?new Date(s.a.dateFormat(this.range[0])):void 0,h=this.range&&this.range[1]?new Date(s.a.dateFormat(this.range[1])):void 0;if(this.sundayStart){if(u&&0!==u.getDay())return void console.error("lj-calendar:开始日期必须为星期天");if(h&&6!==h.getDay())return void console.error("lj-calendar:结束日期必须为星期六")}else{if(u&&1!==u.getDay())return void console.error("lj-calendar:开始日期必须为星期一");if(h&&0!==h.getDay())return void console.error("lj-calendar:结束日期必须为星期天")}for(var f=0;f-1,g.dayHide=xthis.futureDayHide,g.isToday&&this.$emit("isToday",v);var j=!g.dayHide&&"nowMonth"===g.otherMonth;e&&e===v&&j?(this.$emit("choseDay",v),this.historyChose.push(v),g.chooseDay=!0):this.historyChose[this.historyChose.length-1]===v&&!e&&j&&(g.chooseDay=!0),d.push(g)}}this.list=d,this.$emit("display-range-changed",{startDay:this.list[0].date,endDay:this.list[this.list.length-1].date,list:this.list})},handleChooseDayChanged:function(t){var e=new Date(t);this.currentValue&&this.currentValue.toString()===e.toString()||(this.currentValue=e,this.$emit("input",this.currentValue),this.$emit("change",this.currentValue))}},watch:{value:{handler:function(t,e){t!==e&&t!==this.currentValue&&(this.currentValue=t,this.getList(this.myDate,s.a.dateFormat(this.currentValue)))},deep:!0},range:{handler:function(t,e){console.log("range changed"),this.getList(this.myDate,s.a.dateFormat(this.currentValue))},deep:!0},markDate:{handler:function(t,e){this.getList(this.myDate)},deep:!0},markDateMore:{handler:function(t,e){this.getList(this.myDate)},deep:!0},agoDayHide:{handler:function(t,e){this.getList(this.myDate)},deep:!0},futureDayHide:{handler:function(t,e){this.getList(this.myDate)},deep:!0},sundayStart:{handler:function(t,e){this.intStart(),this.getList(this.myDate)},deep:!0}}}},116:function(t,e,a){"use strict";var r=a(109),i=a.n(r);e.a={getDaysInOneMonth:function(t){var e=t.getFullYear(),a=t.getMonth()+1;return new Date(e,a,0).getDate()},getMonthweek:function(t){var e=t.getFullYear(),a=t.getMonth()+1,r=new Date(e+"/"+a+"/1");return this.sundayStart?0==r.getDay()?7:r.getDay():0==r.getDay()?6:r.getDay()-1},getOtherMonth:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nextMonth",a=this.dateFormat(t).split("/"),r=a[0],i=a[1],n=a[2],o=r,s=void 0;"nextMonth"===e?13==(s=parseInt(i)+1)&&(o=parseInt(o)+1,s=1):0==(s=parseInt(i)-1)&&(o=parseInt(o)-1,s=12);var l=n,c=new Date(o,s,0).getDate();l>c&&(l=c),s<10&&(s="0"+s),l<10&&(l="0"+l);var d=o+"/"+s+"/"+l;return new Date(d)},getLeftArr:function(t){for(var e=[],a=this.getMonthweek(t),r=this.getDaysInOneMonth(this.getOtherMonth(t,"preMonth"))-a+1,i=this.getOtherMonth(t,"preMonth"),n=0;n.wh_isMark[data-v-76d46bc0]{margin:auto;border-radius:100px;background:#42a5f5;z-index:2}.wh_content_item .wh_other_dayhide[data-v-76d46bc0],.wh_content_item .wh_want_dayhide[data-v-76d46bc0]{color:#bfbfbf}.wh_content_item .wh_isToday[data-v-76d46bc0]{color:#26a69a;border-radius:100px}.wh_content_item .wh_chose_day[data-v-76d46bc0]{background:#42a5f5;border-radius:100px;color:#fff!important}.wh_content_item .wh_isNotify[data-v-76d46bc0]{text-decoration:underline}",""])},122:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"wh_container"},[a("div",{staticClass:"wh_content_all"},[t.monthTopHide?t._e():a("div",{staticClass:"wh_top_changge"},[a("li",{on:{click:function(e){return t.PreMonth(t.myDate,!1)}}},[a("div",{staticClass:"wh_jiantou1"})]),t._v(" "),a("li",{staticClass:"wh_content_li"},[t._v(t._s(t.dateTop))]),t._v(" "),a("li",{on:{click:function(e){return t.NextMonth(t.myDate,!1)}}},[a("div",{staticClass:"wh_jiantou2"})])]),t._v(" "),a("div",{staticClass:"wh_content"},t._l(t.textTop,function(e){return a("div",{staticClass:"wh_content_item"},[a("div",{staticClass:"wh_top_tag",style:{color:"六"===e||"日"===e?"#ff9800":"#757575"}},[t._v("\n "+t._s(e)+"\n ")])])}),0),t._v(" "),a("div",{staticClass:"wh_content"},t._l(t.list,function(e,r){return a("div",{staticClass:"wh_content_item",on:{click:function(a){return t.clickDay(e,r)}}},[a("div",{staticClass:"wh_item_date",class:[{wh_isMark:e.isMark},{wh_other_dayhide:"nowMonth"!==e.otherMonth},{wh_want_dayhide:e.dayHide},{wh_isToday:e.isToday},{wh_chose_day:e.chooseDay},{wh_isNotify:e.isNotify},t.setClass(e)]},[t._v(t._s(e.id)+"\n ")])])}),0)])])},staticRenderFns:[]}},123:function(t,e,a){var r=a(121);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a(2)("1a9aea89",r,!0)},124:function(t,e,a){a(123);var r=a(0)(a(115),a(122),"data-v-76d46bc0",null);t.exports=r.exports},130:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(15),i=a.n(r),n=a(8),o=a.n(n),s=a(124),l=a.n(s),c=a(34),d=a.n(c),u=a(274),h=a.n(u),f=a(193),p=a.n(f),g=a(255),v=a.n(g);e.default={name:"lj-win-report",components:{LjWinCommon:o.a,DatetimeView:h.a,Popup:p.a,PopupHeader:v.a,LjCalendar:l.a,LjQueryList:d.a},props:{title:{type:String,required:!0,default:"报表"},rptype:{type:Number,default:0},ifUseTime:{type:Boolean,default:!1},queryFields:{type:Array},queryHardParms:{type:Object},bindingParms:{type:Object},rightDrawerInitOpen:{type:Boolean,default:!1},beforeDate:{type:String,default:""},afterDate:{type:String,default:""},rpmxtype:{type:Number,default:1},closeWinHandler:{type:Function},habitKey:{type:String},showday:{type:Number,default:0}},data:function(){return{beforeDateTemp:"",afterDateTemp:"",queryParams:{}}},created:function(){if(this.beforeDateTemp=this.beforeDate,this.afterDateTemp=this.afterDate,this.habitKey){var t=$lj.getStorage("reportHabit");t||(t={},this.habitKey&&(t[this.habitKey]={beforeDate:this.beforeDate,afterDate:this.afterDate},$lj.setStorage("reportHabit",t)))}},methods:{openRightDrawer:function(){this.$refs.baseWin.openRightDrawer()},handleQuerySubmit:function(t){this.queryParams=t,this.$refs.baseWin.closeRightDrawer(),this.refresh()},refresh:function(){var t={beforeDate:this.beforeDateTemp,afterDate:this.afterDateTemp};t=i()(this.queryParams,t),this.$emit("refresh",t)},handleClickDateSelect:function(){var t=this;$lj.removeEventListener("rp_date_select"),$lj.addEventListener("rp_date_select",function(e){if(e.value){if(t.beforeDateTemp=e.value.begindate,t.afterDateTemp=e.value.enddate,t.habitKey){var a=$lj.getStorage("reportHabit");a[t.habitKey]={beforeDate:t.beforeDateTemp,afterDate:t.afterDateTemp},$lj.setStorage("reportHabit",a)}t.refresh()}}),$lj.openWin("rp-date-select",{begindate:this.beforeDateTemp,enddate:this.afterDateTemp,mode:this.showday})},showThisYear:function(){var t=new Date,e={};if(e.beforeDate=t.getFullYear()+"-1-1",e.afterDate=t.getFullYear()+"-12-31",e.beforeDate=$lj.dateformat(e.beforeDate,"yyyy-MM"),e.afterDate=$lj.dateformat(e.afterDate,"yyyy-MM"),this.beforeDateTemp=e.beforeDate,this.afterDateTemp=e.afterDate,this.habitKey){var a=$lj.getStorage("reportHabit");a[this.habitKey]={beforeDate:this.beforeDateTemp,afterDate:this.afterDateTemp},$lj.setStorage("reportHabit",a)}this.refresh()},showLastYear:function(){var t=new Date,e={};if(e.beforeDate=t.getFullYear()-1+"-1-1",e.afterDate=t.getFullYear()-1+"-12-31",e.beforeDate=$lj.dateformat(e.beforeDate,"yyyy-MM"),e.afterDate=$lj.dateformat(e.afterDate,"yyyy-MM"),this.beforeDateTemp=e.beforeDate,this.afterDateTemp=e.afterDate,this.habitKey){var a=$lj.getStorage("reportHabit");a[this.habitKey]={beforeDate:this.beforeDateTemp,afterDate:this.afterDateTemp},$lj.setStorage("reportHabit",a)}this.refresh()},showThisMonth:function(){var t=new Date,e={},a=t.getMonth(),r=(t.getMonth(),t.getFullYear());if(e.beforeDate=new Date(r,a,1),e.afterDate=new Date(r,a+1,0),e.beforeDate=$lj.dateformat(e.beforeDate,"yyyy-MM-dd"),e.afterDate=$lj.dateformat(e.afterDate,"yyyy-MM-dd"),this.beforeDateTemp=e.beforeDate,this.afterDateTemp=e.afterDate,this.habitKey){var i=$lj.getStorage("reportHabit");i[this.habitKey]={beforeDate:this.beforeDateTemp,afterDate:this.afterDateTemp},$lj.setStorage("reportHabit",i)}this.refresh()},showLastMonth:function(){var t=new Date,e={},a=(t.getMonth(),t.getMonth()-1),r=t.getFullYear();if(e.beforeDate=new Date(r,a,1),e.afterDate=new Date(r,a+1,0),e.beforeDate=$lj.dateformat(e.beforeDate,"yyyy-MM-dd"),e.afterDate=$lj.dateformat(e.afterDate,"yyyy-MM-dd"),this.beforeDateTemp=e.beforeDate,this.afterDateTemp=e.afterDate,this.habitKey){var i=$lj.getStorage("reportHabit");i[this.habitKey]={beforeDate:this.beforeDateTemp,afterDate:this.afterDateTemp},$lj.setStorage("reportHabit",i)}this.refresh()},refreshCurDate:function(){}},computed:{showFilter:function(){return this.queryFields&&this.queryFields.length>0},colortop:function(){return{kindred:1==this.rpmxtype,kindblue:2==this.rpmxtype,kindgreen:3==this.rpmxtype,kindpurple:4==this.rpmxtype,kindgold:5==this.rpmxtype,kindcyan:6==this.rpmxtype}},colortitle:function(){return{bgred:1==this.rpmxtype,bgblue:2==this.rpmxtype,bggreen:3==this.rpmxtype,bgpurple:4==this.rpmxtype,bggold:5==this.rpmxtype,bgcyan:6==this.rpmxtype}}}}},131:function(t,e,a){e=t.exports=a(1)(),e.push([t.i,".reportcom-header-wap{width:100%;height:150px;overflow:hidden}.reportcom-header{width:120%;height:115px;background-color:#fd9153;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:50%;border-bottom-left-radius:50%;position:relative;left:-10%;padding:10px 0;margin-bottom:10px;z-index:9998}.reportcom-header-sub{width:130%;background-color:#ffba92;top:-120px;left:-23%;z-index:9997}.reportcom-header-sub,.reportcom-header-sub-two{height:125px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:50%;border-bottom-left-radius:50%;position:relative;padding:10px 0;margin-bottom:10px}.reportcom-header-sub-two{width:140%;background-color:#fddecc;top:-240px;left:-35%;z-index:9996}.reportcom-header-title{color:#fff;font-size:20px;margin-left:10%}.reportdetail_mx_title{color:#fff;font-size:15px;font-weight:700;padding:3px 8px;margin-left:20px;border-bottom-left-radius:8px;border-bottom-right-radius:8px}.reportdetail_mx_subtitle{position:absolute;right:10px;padding:3px;font-size:15px;font-weight:700;line-height:20px;color:grey;margin-top:3px}.rpdate_ch{margin-left:10px;padding:8px 15px;color:#fff;font-size:12px;background-color:#6495ed;border-radius:10px}.kindblue{border-top:8px solid #0195da}.kindgreen{border-top:8px solid #88b04b}.kindred{border-top:8px solid #ff6f61}.kindpurple{border-top:8px solid #ba68c8}.kindgold{border-top:8px solid gold}.kindcyan{border-top:8px solid #40e0d0}.bgblue{background-color:#0195da}.bggreen{background-color:#88b04b}.bgred{background-color:#ff6f61}.bgpurple{background-color:#ba68c8}.bggold{background-color:gold}.bgcyan{background-color:#40e0d0}.rpdate{padding:15px 8px;width:100%;background-color:#f6f6f6}",""])},132:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("lj-win-common",{ref:"baseWin",attrs:{title:t.title,closeWinHandler:t.closeWinHandler,"right-drawer-title":"搜索",rightDrawerInitOpen:t.rightDrawerInitOpen}},[t.showFilter?a("mu-button",{attrs:{slot:"header_right",icon:""},on:{click:t.openRightDrawer},slot:"header_right"},[a("i",{staticClass:"iconfont icon-filter"})]):t._e(),t._v(" "),a("div",{staticStyle:{"background-color":"#ffffff",padding:"0px 0px 10px 0px"},attrs:{slot:"body"},slot:"body"},[0==t.rptype?a("div",[t.ifUseTime?a("div",{staticClass:"rpdate"},[a("span",{staticStyle:{"font-size":"18px"},on:{click:t.handleClickDateSelect}},[a("span",[t._v(t._s(t.beforeDateTemp)+"~")]),t._v(" "),a("span",[t._v(t._s(t.afterDateTemp))]),t._v(" "),a("span",{staticStyle:{"font-size":"15px"}},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-xuanze1"}})])])]),t._v(" "),0==t.showday?a("span",{staticClass:"rpdate_ch",on:{click:t.showThisYear}},[t._v("本年")]):t._e(),t._v(" "),0==t.showday?a("span",{staticClass:"rpdate_ch",on:{click:t.showLastYear}},[t._v("上年")]):t._e()]):t._e()]):a("div",[a("div",{class:t.colortop}),t._v(" "),a("div",{staticStyle:{display:"flex"}},[a("div",{staticClass:"reportdetail_mx_title",class:t.colortitle},[t._v(t._s(t.title))]),t._v(" "),t.ifUseTime?a("div",{staticClass:"reportdetail_mx_subtitle",on:{click:t.handleClickDateSelect}},[a("span",[t._v(t._s(t.beforeDateTemp)+" ~ "+t._s(t.afterDateTemp))]),t._v(" "),a("span",{attrs:{icon:""}},[a("i",{staticClass:"iconfont icon-xiala2"})])]):t._e()])]),t._v(" "),a("div",[t._t("content")],2)]),t._v(" "),t.showFilter?a("lj-query-list",{ref:"queryList",attrs:{slot:"drawer_right","query-fields":t.queryFields,"hard-parms":t.queryHardParms,"binding-parms":t.bindingParms},on:{"on-query-submit":t.handleQuerySubmit},slot:"drawer_right"}):t._e()],1)},staticRenderFns:[]}},133:function(t,e,a){var r=a(131);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a(2)("56bcd136",r,!0)},134:function(t,e,a){a(133);var r=a(0)(a(130),a(132),null,null);t.exports=r.exports},146:function(t,e,a){var r=a(70),i=Array.isArray?Array.isArray:function(t){return r(t,"Array")};t.exports=i},147:function(t,e,a){function r(t){return 1===t[0]&&0===t[1]&&0===t[2]&&1===t[3]&&0===t[4]&&0===t[5]}var i=a(4),n=a(148),o=a(60),s=a(357),l={stroke:"strokeStyle",fill:"fillStyle",opacity:"globalAlpha"},c=["fillStyle","font","globalAlpha","lineCap","lineWidth","lineJoin","miterLimit","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","strokeStyle","textAlign","textBaseline","lineDash","shadow"],d=["circle","sector","polygon","rect","polyline"],u=function(){function t(t){this._initProperties(),i.mix(this._attrs,t);var e=this._attrs.attrs;e&&this.initAttrs(e),this.initTransform()}var e=t.prototype;return e._initProperties=function(){this._attrs={zIndex:0,visible:!0,destroyed:!1}},e.get=function(t){return this._attrs[t]},e.set=function(t,e){this._attrs[t]=e},e.isGroup=function(){return this.get("isGroup")},e.isShape=function(){return this.get("isShape")},e.initAttrs=function(t){this.attr(i.mix(this.getDefaultAttrs(),t))},e.getDefaultAttrs=function(){return{}},e._setAttr=function(t,e){var a=this._attrs.attrs;if("clip"===t)e=this._setAttrClip(e);else{var r=l[t];r&&(a[r]=e)}a[t]=e},e._getAttr=function(t){return this._attrs.attrs[t]},e._setAttrClip=function(t){return t&&d.indexOf(t._attrs.type)>-1?(null===t.get("canvas")&&(t=Object.assign({},t)),t.set("parent",this.get("parent")),t.set("context",this.get("context")),t):null},e.attr=function(t,e){var a=this;if(a.get("destroyed"))return null;var r=arguments.length;if(0===r)return a._attrs.attrs;if(i.isObject(t)){this._attrs.bbox=null;for(var n in t)a._setAttr(n,t[n]);return a._afterAttrsSet&&a._afterAttrsSet(),a}return 2===r?(this._attrs.bbox=null,a._setAttr(t,e),a._afterAttrsSet&&a._afterAttrsSet(),a):a._getAttr(t)},e.getParent=function(){return this.get("parent")},e.draw=function(t){this.get("destroyed")||this.get("visible")&&(this.setContext(t),this.drawInner(t),this.restoreContext(t))},e.setContext=function(t){var e=this._attrs.attrs.clip;t.save(),e&&(e.resetTransform(t),e.createPath(t),t.clip()),this.resetContext(t),this.resetTransform(t)},e.restoreContext=function(t){t.restore()},e.resetContext=function(t){var e=this._attrs.attrs;if(!this._attrs.isGroup)for(var a in e)if(c.indexOf(a)>-1){var r=e[a];"fillStyle"!==a&&"strokeStyle"!==a||(r=s.parseStyle(r,this,t)),"lineDash"===a&&t.setLineDash&&i.isArray(r)?t.setLineDash(r):t[a]=r}},e.hasFill=function(){return this.get("canFill")&&this._attrs.attrs.fillStyle},e.hasStroke=function(){return this.get("canStroke")&&this._attrs.attrs.strokeStyle},e.drawInner=function(){},e.show=function(){return this.set("visible",!0),this},e.hide=function(){return this.set("visible",!1),this},e.isVisible=function(){return this.get("visible")},e._removeFromParent=function(){var t=this.get("parent");if(t){var e=t.get("children");i.Array.remove(e,this)}return this},e.remove=function(t){t?this.destroy():this._removeFromParent()},e.destroy=function(){if(this.get("destroyed"))return null;this._removeFromParent(),this._attrs={},this.set("destroyed",!0)},e.getBBox=function(){return{minX:0,maxX:0,minY:0,maxY:0,width:0,height:0}},e.initTransform=function(){var t=this._attrs.attrs||{};t.matrix||(t.matrix=[1,0,0,1,0,0]),this._attrs.attrs=t},e.getMatrix=function(){return this._attrs.attrs.matrix},e.setMatrix=function(t){this._attrs.attrs.matrix=[t[0],t[1],t[2],t[3],t[4],t[5]]},e.transform=function(t){var e=this._attrs.attrs.matrix;return this._attrs.attrs.matrix=n.transform(e,t),this},e.setTransform=function(t){return this._attrs.attrs.matrix=[1,0,0,1,0,0],this.transform(t)},e.translate=function(t,e){var a=this._attrs.attrs.matrix;n.translate(a,a,[t,e])},e.rotate=function(t){var e=this._attrs.attrs.matrix;n.rotate(e,e,t)},e.scale=function(t,e){var a=this._attrs.attrs.matrix;n.scale(a,a,[t,e])},e.moveTo=function(t,e){var a=this._attrs.x||0,r=this._attrs.y||0;this.translate(t-a,e-r),this.set("x",t),this.set("y",e)},e.apply=function(t){var e=this._attrs.attrs.matrix;return o.transformMat2d(t,t,e),this},e.resetTransform=function(t){var e=this._attrs.attrs.matrix;r(e)||t.transform(e[0],e[1],e[2],e[3],e[4],e[5])},e.isDestroyed=function(){return this.get("destroyed")},t}();t.exports=u},148:function(t,e){var a={multiply:function(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]},scale:function(t,e,a){return t[0]=e[0]*a[0],t[1]=e[1]*a[0],t[2]=e[2]*a[1],t[3]=e[3]*a[1],t[4]=e[4],t[5]=e[5],t},rotate:function(t,e,a){var r=Math.cos(a),i=Math.sin(a),n=e[0]*r+e[2]*i,o=e[1]*r+e[3]*i,s=e[0]*-i+e[2]*r,l=e[1]*-i+e[3]*r;return t[0]=n,t[1]=o,t[2]=s,t[3]=l,t[4]=e[4],t[5]=e[5],t},translate:function(t,e,a){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+e[0]*a[0]+e[2]*a[1],t[5]=e[5]+e[1]*a[0]+e[3]*a[1],t},transform:function(t,e){for(var r=[].concat(t),i=0,n=e.length;i-1},sort:function(){for(var t=this.get("children"),e=0,a=t.length;e0){var o=a.strokeOpacity;i.isNil(o)||1===o||(t.globalAlpha=o),t.stroke()}}},a.getBBox=function(){var t=this._attrs.bbox;return t||(t=this.calculateBox(),t&&(t.x=t.minX,t.y=t.minY,t.width=t.maxX-t.minX,t.height=t.maxY-t.minY),this._attrs.bbox=t),t},a.calculateBox=function(){return null},a.createPath=function(){},e}(n);t.exports=o},258:function(t,e,a){function r(t,e,a){return{x:t.x+a*Math.cos(e),y:t.y+a*Math.sin(e)}}function i(t,e){return eC&&e.splice(C,e.length-C),e.sort(function(t,e){return t.y-e.y});var a=t._antiCollision(e);D=D.concat(a)})}this.drawnLabels=D},e.bindEvents=function(){var t=this.pieLabelCfg,e=t.triggerOn||"touchstart",a=o.wrapBehavior(this,"_handleEvent");o.addEventListener(this.canvasDom,e,a)},e.unBindEvents=function(){var t=this.pieLabelCfg,e=t.triggerOn||"touchstart",a=o.getWrapBehavior(this,"_handleEvent");o.removeEventListener(this.canvasDom,e,a)},e.clear=function(){this.labelGroup&&this.labelGroup.clear(),this.halo&&this.halo.remove(!0),this.lastSelectedData=null,this.drawnLabels=[],this.unBindEvents()},e._drawLabel=function(t){var e=this.pieLabelCfg,a=this.chart,r=a.get("width"),i=e.sidePadding,n=t.y,o=t.textGroup,s=o.get("children"),l={textAlign:"left"===t._side?"left":"right",x:"left"===t._side?i:r-i};return s.forEach(function(t){t.attr(l),t.attr("y",n+t.get("offsetY"))}),o},e._drawLabelLine=function(t,e){var a=this.chart,r=this.pieLabelCfg,i=this.labelGroup,n=a.get("width"),s=r.sidePadding,l=r.adjustOffset,c=r.lineStyle,d=r.anchorStyle,u=r.skipOverlapLabels,h=t._anchor,f=t._inflection,p=t.fill,g=t.y,v={x:"left"===t._side?s:n-s,y:g},m=[h,f,v];if(!u&&f.y!==g)if(f.yx.x)&&(m=[h,b,v])}else m=[h,{x:f.x,y:g},v];i.addShape("Polyline",{attrs:o.mix({points:m,lineWidth:1,stroke:p},c)}),i.addShape("Circle",{attrs:o.mix({x:h.x,y:h.y,r:2,fill:p},d)})},e._antiCollision=function(t){var e,a=this,r=a.chart,i=a.pieLabelCfg,n=r.get("coord"),o=r.get("height"),s=n.center,l=n.circleRadius,c=i.inflectionOffset,d=i.lineHeight,u=s.y-l-c-d,h=!0,f=o,p=0,g=Number.MIN_VALUE,v=0,m=t.map(function(t){var e=t.y;e>p&&(p=e),e=v&&(v=r),{size:d,targets:[e-u]}});p-u>f&&(f=p-u);for(;h;)for(!function(t){t.forEach(function(t){var e=(Math.min.apply(g,t.targets)+Math.max.apply(g,t.targets))/2;t.pos=Math.min(Math.max(g,e-t.size/2),f-t.size)})}(m),h=!1,e=m.length;e--;)if(e>0){var x=m[e-1],y=m[e];x.pos+x.size>y.pos&&(x.size+=y.size,x.targets=x.targets.concat(y.targets),x.pos+x.size>f&&(x.pos=f-x.size),m.splice(e,1),h=!0)}e=0,m.forEach(function(a){var r=u;a.targets.forEach(function(){t[e].y=a.pos+r+d/2,r+=d,e++})});var b=[];return t.forEach(function(t){var e=a._drawLabel(t);a.labelGroup.add(e),a._drawLabelLine(t,v),b.push(e)}),b},e._handleEvent=function(t){for(var e,a=this,r=a.chart,i=a.drawnLabels,n=a.pieLabelCfg,s=n.onClick,l=n.activeShape,c=o.createEvent(t,r),d=c.x,u=c.y,h=0,f=i.length;h=g.minX&&d<=g.maxX&&u>=g.minY&&u<=g.maxY){e=p;break}}var v=r.getSnapRecords({x:d,y:u});e?c.data=e.get("data"):v.length&&(c.data=v[0]._origin),s&&s(c),c.data&&l&&this._activeShape(c.data)},e._getSelectedShapeByData=function(t){var e=null,a=this.chart,r=a.get("geoms")[0],i=r.get("container"),n=i.get("children");return o.each(n,function(a){if(a.get("isShape")&&a.get("className")===r.get("type")){var i=a.get("origin")._origin;if(o.isObjectValueEqual(i,t))return e=a,!1}}),e},e._activeShape=function(t){var e=this.chart,a=this.lastSelectedData,r=this.pieLabelCfg;if(t!==a){this.lastSelectedData=t;var i=r.activeStyle,n=this._getSelectedShapeByData(t),s=n._attrs.attrs,l=s.x,c=s.y,d=s.startAngle,u=s.endAngle,h=s.r,f=s.fill,p=e.get("frontPlot");this.halo&&this.halo.remove(!0);var g=p.addShape("sector",{attrs:o.mix({x:l,y:c,r:h+i.offset+i.appendRadius,r0:h+i.offset,fill:f,startAngle:d,endAngle:u},i)});this.halo=g,e.get("canvas").draw()}},t}();t.exports={init:function(t){var e=t.get("frontPlot"),a=e.addGroup({className:"pie-label",zIndex:0}),r=new d({chart:t,labelGroup:a});t.set("pieLabelController",r),t.pieLabel=function(t){return t=o.deepMix({},c,t),r.pieLabelCfg=t,this}},afterGeomDraw:function(t){var e=t.get("pieLabelController");e.pieLabelCfg&&(e.renderLabels(),e.bindEvents())},clearInner:function(t){var e=t.get("pieLabelController");e.pieLabelCfg&&e.clear()}}},2634:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"rp-saletask-ea-item",components:{},props:{item:{type:Object},itemType:{type:Number}},data:function(){return{}},computed:{typeStr:function(){switch(this.itemType){case 0:return"超期";case 1:return"异常";default:return""}}}}},2635:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(134),i=a.n(r),n=a(295),o=a.n(n),s=a(532),l=a.n(s),c=a(258),d=a.n(c),u=a(5283),h=a.n(u),f=a(487),p=a.n(f),g=a(486),v=a.n(g);e.default={components:{LjWinReport:i.a,ljReportBottomLink:o.a,rpSaletaskEaItem:h.a,Tab:p.a,TabItem:v.a},data:function(){return{openType:1,selected:0,activeTab:1,activeSubTab:1,linkList:[{funcid:5471,name:"销售订单准交率",icon:"icon-write-text",winName:"rp-saletask-ontime"},{funcid:5593,name:"车间产能分析",icon:"icon-yitihuachuxing",winName:"orderzl-analysis"},{funcid:5700,name:"质检统计表",icon:"icon-jiance",winName:"rp-quality-check"}],chartWidth:0,inData:{},outData:{},pageindex:1,pagesize:20,intimeList:[],outtimeList:[],inwrongList:[],outwrongList:[],allintimeList:[],allouttimeList:[],allinwrongList:[],alloutwrongList:[],intimeIndex:10,outtimeIndex:10,inwrongIndex:10,outwrongIndex:10,loadAll1:!1,loadAll2:!1,loadAll3:!1,loadAll4:!1,chart:void 0}},created:function(){this.activeTab=$lj.getStorage("activeTab"),void 0===this.activeTab?(this.activeTab=1,this.selected=0):this.selected=this.activeTab-1},mounted:function(){this.chartWidth=this.$refs.moduleAmt.clientWidth,this.refresh()},methods:{refresh:function(){this.intimeIndex=10,this.outtimeIndex=10,this.inwrongIndex=10,this.outwrongIndex=10,this.loadAll1=!1,this.loadAll2=!1,this.loadAll3=!1,this.loadAll4=!1;var t=this,e={token:$lj.token,pageindex:t.pageindex,pagesize:t.pagesize};$lj.postLJRequest("GetL1APPRpSaletaskEA",e,function(e){if(e){if(e.inRpSaletaskEA){if(e.inRpSaletaskEA.RpSaletaskEmx){var a=0;e.inRpSaletaskEA.RpSaletaskEmx.forEach(function(e){a<10&&t.intimeList.push(e),t.allintimeList.push(e),a++})}if(e.inRpSaletaskEA.RpSaletaskAmx){var r=0;e.inRpSaletaskEA.RpSaletaskAmx.forEach(function(e){r<10&&t.inwrongList.push(e),t.allinwrongList.push(e),r++})}t.inData=e.inRpSaletaskEA}if(e.outRpSaletaskEA){if(e.outRpSaletaskEA.RpSaletaskEmx){var i=0;e.outRpSaletaskEA.RpSaletaskEmx.forEach(function(e){i<10&&t.outtimeList.push(e),t.allouttimeList.push(e),i++})}if(e.outRpSaletaskEA.RpSaletaskAmx){var n=0;e.outRpSaletaskEA.RpSaletaskAmx.forEach(function(e){n<10&&t.outwrongList.push(e),t.alloutwrongList.push(e),n++})}t.outData=e.outRpSaletaskEA}t.updateChart()}})},updateChart:function(){var t=[];if(1==this.activeTab)t.push({name:"超期",percent:Math.round(this.inData.Eamt/this.inData.amt*100*100)/100,sum:this.inData.amt}),t.push({name:"异常",percent:Math.round(this.inData.Aamt/this.inData.amt*100*100)/100,sum:this.inData.amt}),t.push({name:"正常",percent:Math.round((this.inData.amt-this.inData.Eamt-this.inData.Aamt)/this.inData.amt*100*100)/100,sum:this.inData.amt});else{if(2!=this.activeTab)return;t.push({name:"超期",percent:Math.round(this.outData.Eamt/this.outData.amt*100*100)/100,sum:this.outData.amt}),t.push({name:"异常",percent:Math.round(this.outData.Aamt/this.outData.amt*100*100)/100,sum:this.outData.amt}),t.push({name:"正常",percent:Math.round((this.outData.amt-this.outData.Eamt-this.outData.Aamt)/this.outData.amt*100*100)/100,sum:this.outData.amt})}this.chart&&this.chart.clear(),this.chart=new l.a.Chart({id:"amt",width:this.chartWidth,height:this.chartWidth,pixelRatio:window.devicePixelRatio,plugins:d.a}),this.chart.axis(!1),this.chart.coord("polar",{transposed:!0,innerRadius:.3,radius:.75}),this.chart.source(t,{percent:{formatter:function(t){return t+"%"}}}),this.chart.legend(!1),this.chart.interval().position("sum*percent").color("name",function(t){return"正常"==t?"#00FF00":"超期"==t?"#ff0000":"#FF9224"}).adjust("stack"),this.chart.pieLabel({label1:function(t,e){return{text:t.name,fill:"black"}},label2:function(t,e){return{text:"("+t.percent+"%)",fill:e}},sidePadding:10,adjustOffset:30}),this.chart.render()},fineMore:function(){if(1==this.activeTab&&1==this.activeSubTab){for(var t=this.intimeIndex+10>=this.allintimeList.length?this.allintimeList.length:this.intimeIndex+10,e=[],a=this.intimeIndex;a=this.allintimeList.length,this.intimeIndex=t,this.$set(this,"intimeList",this.intimeList.concat(e)),this.loadAll1&&$lj.toast("已加载全部")}else if(1==this.activeTab&&2==this.activeSubTab){for(var r=this.inwrongIndex+10>=this.allinwrongList.length?this.allinwrongList.length:this.inwrongIndex+10,i=[],n=this.inwrongIndex;n=this.allinwrongList.length,this.inwrongIndex=r,this.$set(this,"inwrongList",this.inwrongList.concat(i)),this.loadAll2&&$lj.toast("已加载全部")}else if(2==this.activeTab&&1==this.activeSubTab){for(var o=this.outtimeIndex+10>=this.allouttimeList.length?this.allouttimeList.length:this.outtimeIndex+10,s=[],l=this.outtimeIndex;l=this.allouttimeList.length,this.outtimeIndex=o,this.$set(this,"outtimeList",this.outtimeList.concat(s)),this.loadAll3&&$lj.toast("已加载全部")}else if(2==this.activeTab&&2==this.activeSubTab){for(var c=this.outwrongIndex+10>=this.alloutwrongList.length?this.alloutwrongList.length:this.outwrongIndex+10,d=[],u=this.outwrongIndex;u=this.alloutwrongList.length,this.outwrongIndex=c,this.$set(this,"outwrongList",this.outwrongList.concat(d)),this.loadAll4&&$lj.toast("已加载全部")}},handleItemClick:function(t){},userHabitsave:function(){$lj.setStorage("activeTab",this.activeTab),this.selected=this.activeTab-1}},watch:{activeTab:function(t,e){t!=e&&(this.updateChart(),this.userHabitsave())}}}},283:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"LjReportBottomLink",props:{linkList:{type:Array,default:function(){return[]}},beforeDate:{type:String,default:""},afterDate:{type:String,default:""}},data:function(){return{userFunids:[]}},created:function(){this.userFunids=$lj.getStorage("userInfo").rsltFunids},methods:{goto:function(t){if(t){var e={};e=""===this.beforeDate&&""===this.afterDate?{openType:0}:{openType:1,beginDate:this.beforeDate,afterDate:this.afterDate},$lj.openWin(t,{mainObject:e},!1,!0)}else alert("未定义窗口")}}}},284:function(t,e,a){e=t.exports=a(1)(),e.push([t.i,".report-bottom{background-color:#f6f6f6;padding:10px 15px;margin:20px 10px 0;font-size:14px;border-radius:15px;color:#666}.report-bottom div{padding:4px 0}.report-bottom-link{color:#6495ed;margin-left:18px}",""])},291:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"report-bottom"},[t._m(0),t._v(" "),t._l(t.linkList,function(e){return[t.userFunids.indexOf(e.funcid)>-1?a("div",{staticClass:"report-bottom-link",on:{click:function(a){return t.goto(e.winName)}}},[t._v("\n\t\t\t"+t._s(e.name))]):t._e()]})],2)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("i",{staticClass:"iconfont icon-ic_notifications_active",staticStyle:{"font-size":"14px","padding-right":"5px"}}),t._v("您还可以查看其他报表:\n\t")])}]}},293:function(t,e,a){var r=a(284);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a(2)("0a2e5fcb",r,!0)},295:function(t,e,a){a(293);var r=a(0)(a(283),a(291),null,null);t.exports=r.exports},30:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(5),i=a.n(r),n=a(15),o=a.n(n),s=a(16),l=a.n(s);e.default={name:"lj-query-list",props:{queryFields:{type:Array},habitKey:{type:String},hardParms:{type:Object,default:function(){return{}}},bindingParms:{type:Object},showScan:{type:Boolean,default:!1},autoRefresh:{type:Boolean,default:!0}},mounted:function(){this.hardProperties="";for(var t in this.hardParms)this.hardProperties+=","+t;this.initQueryParams(),this.autoRefresh&&this.submitQueryParams(1)},data:function(){return{initParams:{},currentQueryParams:{},habitFields:[],hardProperties:"",fieldMap:{}}},methods:{resetQueryParms:function(){this.currentQueryParams=o()({},this.initParams,this.hardParms)},initQueryParams:function(){var t=this,e={};if(this.habitKey){var a=$lj.getStorage("userQueryHabit")||{};e=a[this.habitKey]||e,console.log(" userQueryHabit =>.userhabit :>>>>>>>>>>>>>>>>>>>>>",i()(a))}console.log("this.habitKey :>>>>>>>>>>>>>>>>>>>>>",i()(this.habitKey));var r={};this.queryFields.forEach(function(a){t.fieldMap[a.property]=a,t.isHardField(a.property)&&(a.disabled=!0);var i=a.initValue;void 0!==i?r[a.property]=i:void 0!==a.initDateAdd?r[a.property]=$lj.dateAdd(new Date,0,0,a.initDateAdd):t.isHardField(a.property)||(a.selectOptions?(t.habitFields.push(a),void 0!==e[a.property]?r[a.property]=e[a.property]:r[a.property]=void 0):"checkbox"===a.type?(a.valueMap||(a.valueMap=[0,1]),t.habitFields.push(a),void 0!==e[a.property]?r[a.property]=e[a.property]:r[a.property]=!1):"date"===a.type&&(void 0!==e[a.property]?r[a.property]=$lj.dateAdd(new Date,0,0,e[a.property]):r[a.property]=a.staticDateInit?$lj.dateAdd(new Date,0,0,a.staticDateInit):new Date,t.habitFields.push(a))),t.handleFieldChange(a,r[a.property])}),this.initParams=r,this.resetQueryParms()},submitQueryParams:function(t){if(console.log("submitQueryParams this.habitFields :>>>>>>>>>>>>>>>>>>>>>",i()(this.habitFields)),console.log("submitQueryParams this.currentQueryParams :>>>>>>>>>>>>>>>>>>>>>",i()(this.currentQueryParams)),this.habitKey&&this.habitFields.length>0){var e=this,a=$lj.getStorage("userQueryHabit")||{},r=a[this.habitKey]||{};this.habitFields.forEach(function(t){"date"===t.type?r[t.property]=$lj.getDiffDays(new Date,e.currentQueryParams[t.property]):r[t.property]=e.currentQueryParams[t.property]}),a[this.habitKey]=r,console.log("thisHabit :>> ",i()(r)),$lj.setStorage("userQueryHabit",a)}var n=o()({},this.currentQueryParams);for(var s in n)if(this.fieldMap[s]&&"checkbox"===this.fieldMap[s].type){var l=this.fieldMap[s].valueMap;n[s]?n[s]=l[1]:n[s]=l[0]}this.$emit("on-query-submit",n)},isHardField:function(t){return!!t&&this.hardProperties.indexOf(","+t)>=0},setQueryParam:function(t,e){this.$set(this.currentQueryParams,t,e)},handleFieldChange:function(t,e){this.$emit("field-change",{property:t.property,value:e})},handleFieldChangeLabel:function(t,e){this.$emit("change-label",{property:t.property,label:e})},handleScan:function(){this.$emit("scan-click")}},watch:{bindingParms:{handler:function(t,e){if(t)for(var a in t)this.setQueryParam(a,t[a])},deep:!0}},components:{LjSelect:l.a}}},31:function(t,e,a){e=t.exports=a(1)(),e.push([t.i,".row[data-v-1e12aa05]{margin-bottom:0}",""])},32:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t._l(t.queryFields,function(e,r){return[e.selectOptions?a("lj-select",{key:r,staticClass:"row",attrs:{title:e.title,"full-width":"",disabled:e.disabled,options:e.selectOptions.options,"value-map":e.selectOptions.valueMap,"options-api":e.selectOptions.optionsApi,"extra-options":e.selectOptions.extraOptions},on:{change:function(a){return t.handleFieldChange(e,a)},"change-get-label":function(a){return t.handleFieldChangeLabel(e,a)}},nativeOn:{click:function(a){return t.$emit("field-click",{property:e.property})}},model:{value:t.currentQueryParams[e.property],callback:function(a){t.$set(t.currentQueryParams,e.property,a)},expression:"currentQueryParams[field.property]"}}):"date"===e.type?a("mu-date-input",{key:r,staticClass:"row",attrs:{label:e.title,"full-width":"",disabled:e.disabled,type:e.ctype||"date",format:e.format,"value-format":e.format||"YYYY-MM-DD",container:"dialog"},model:{value:t.currentQueryParams[e.property],callback:function(a){t.$set(t.currentQueryParams,e.property,a)},expression:"currentQueryParams[field.property]"}}):"checkbox"===e.type?a("mu-switch",{staticClass:"row",staticStyle:{width:"100%"},attrs:{label:e.title,"label-left":"","full-width":"",disabled:e.disabled},on:{change:function(a){return t.handleFieldChange(e,a)}},model:{value:t.currentQueryParams[e.property],callback:function(a){t.$set(t.currentQueryParams,e.property,a)},expression:"currentQueryParams[field.property]"}}):a("mu-text-field",{key:r,staticClass:"row",attrs:{label:e.title,"full-width":"",placeholder:e.hint,disabled:e.disabled},model:{value:t.currentQueryParams[e.property],callback:function(a){t.$set(t.currentQueryParams,e.property,a)},expression:"currentQueryParams[field.property]"}})]}),t._v(" "),t.showScan?a("div",[a("mu-button",{attrs:{icon:""},on:{click:t.handleScan}},[a("i",{staticClass:"iconfont icon-qrcode-scan"})])],1):t._e(),t._v(" "),a("div",{staticStyle:{"text-align":"center"}},[a("mu-button",{attrs:{color:"primary"},on:{click:t.submitQueryParams}},[t._v("搜索")])],1)],2)},staticRenderFns:[]}},33:function(t,e,a){var r=a(31);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a(2)("e219b15c",r,!0)},3323:function(t,e,a){e=t.exports=a(1)(),e.push([t.i,".liubai{width:100%;height:10px;background-color:#f6f6f6;margin:10px 0}",""])},34:function(t,e,a){a(33);var r=a(0)(a(30),a(32),"data-v-1e12aa05",null);t.exports=r.exports},347:function(t,e,a){var r=a(4),i=a(200),n=a(201),o=a(214),s=o.requestAnimationFrame,l=function(){function t(t){this._attrs=r.mix({type:"canvas",children:[]},t),this._initPixelRatio(),this._initCanvas()}var e=t.prototype;return e.get=function(t){return this._attrs[t]},e.set=function(t,e){this._attrs[t]=e},e._initPixelRatio=function(){this.get("pixelRatio")||this.set("pixelRatio",r.getPixelRatio())},e.beforeDraw=function(){var t=this._attrs.context,e=this._attrs.el;!r.isWx&&!r.isMy&&t&&t.clearRect(0,0,e.width,e.height)},e._initCanvas=function(){var t,e=this,a=e.get("el"),i=e.get("context");if(!(t=i?i.canvas:r.isString(a)?r.getDomById(a):a))throw new Error("Please specify the id or el of the chart!");i&&t&&!t.getContext&&(t.getContext=function(){return i});var n=e.get("width");n||(n=r.getWidth(t));var o=e.get("height");o||(o=r.getHeight(t)),e.set("canvas",this),e.set("el",t),e.set("context",i||t.getContext("2d")),e.changeSize(n,o)},e.changeSize=function(t,e){var a=this.get("pixelRatio"),i=this.get("el");if(r.isBrowser&&(i.style.width=t+"px",i.style.height=e+"px"),!r.isWx&&!r.isMy&&(i.width=t*a,i.height=e*a,1!==a)){this.get("context").scale(a,a)}this.set("width",t),this.set("height",e)},e.getWidth=function(){var t=this.get("pixelRatio");return this.get("width")*t},e.getHeight=function(){var t=this.get("pixelRatio");return this.get("height")*t},e.getPointByClient=function(t,e){var a=this.get("el"),r=a.getBoundingClientRect(),i=r.right-r.left,n=r.bottom-r.top;return{x:(t-r.left)*(a.width/i),y:(e-r.top)*(a.height/n)}},e._beginDraw=function(){this._attrs.toDraw=!0},e._endDraw=function(){this._attrs.toDraw=!1},e.draw=function(){function t(){e.set("animateHandler",s(function(){e.set("animateHandler",void 0),e.get("toDraw")&&t()})),e.beforeDraw();try{for(var a=e._attrs.context,i=e._attrs.children,n=0,o=i.length;n1e-4||0===i&&n<0)&&(t.arc(a,r,o,i,n,l),t.lineTo(Math.cos(n)*s+a,Math.sin(n)*s+r),0!==s&&t.arc(a,r,s,n,i,!l)),t.closePath()},a.calculateBox=function(){var t=this.get("attrs"),e=t.x,a=t.y,r=t.r,i=t.r0,o=t.startAngle,s=t.endAngle,l=t.clockwise,c=n.getBBoxFromArc(e,a,r,o,s,l),d=n.getBBoxFromArc(e,a,i,o,s,l);return{minX:Math.min(c.minX,d.minX),minY:Math.min(c.minY,d.minY),maxX:Math.max(c.maxX,d.maxX),maxY:Math.max(c.maxY,d.maxY)}},e}(i);i.Sector=o,t.exports=o},356:function(t,e,a){function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var i=a(4),n=a(25),o=0,s={},l=function(t){function e(){return t.apply(this,arguments)||this}r(e,t);var a=e.prototype;return a._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="text"},a.getDefaultAttrs=function(){return{lineWidth:0,lineCount:1,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom",lineHeight:null,textArr:null}},a._getFontStyle=function(){var t=this._attrs.attrs,e=t.fontSize,a=t.fontFamily,r=t.fontWeight;return t.fontStyle+" "+t.fontVariant+" "+r+" "+e+"px "+a},a._afterAttrsSet=function(){var t=this._attrs.attrs;if(t.font=this._getFontStyle(),t.text){var e=t.text,a=null,r=1;i.isString(e)&&-1!==e.indexOf("\n")&&(a=e.split("\n"),r=a.length),t.lineCount=r,t.textArr=a}this.set("attrs",t)},a._getTextHeight=function(){var t=this._attrs.attrs;if(t.height)return t.height;var e=t.lineCount,a=1*t.fontSize;if(e>1){return a*e+this._getSpaceingY()*(e-1)}return a},a._getSpaceingY=function(){var t=this._attrs.attrs,e=t.lineHeight,a=1*t.fontSize;return e?e-a:.14*a},a.drawInner=function(t){var e=this,a=e._attrs.attrs,r=a.text,n=a.x,o=a.y;if(!(i.isNil(r)||isNaN(n)||isNaN(o))){var s=a.textArr,l=1*a.fontSize,c=e._getSpaceingY();a.rotate&&(t.translate(n,o),t.rotate(a.rotate),n=0,o=0);var d,u=a.textBaseline;s&&(d=e._getTextHeight());var h;if(e.hasFill()){var f=a.fillOpacity;if(i.isNil(f)||1===f||(t.globalAlpha=f),s)for(var p=0,g=s.length;p5e3&&(o=0,s={}),o++,s[l]=c,c}},e}(n);n.Text=l,t.exports=l},357:function(t,e,a){function r(t,e){return(t%e+e)%e}function i(t,e){s.each(t,function(t){t=t.split(":"),e.addColorStop(Number(t[0]),t[1])})}function n(t,e,a){var n=t.split(" "),o=n[0].slice(2,n[0].length-1);o=r(parseFloat(o)*Math.PI/180,2*Math.PI);var s,l,c=n.slice(1),d=e.getBBox(),u=d.minX,h=d.minY,f=d.maxX,p=d.maxY;o>=0&&o<.5*Math.PI?(s={x:u,y:h},l={x:f,y:p}):.5*Math.PI<=o&&o0?(n.x=o[0].clientX,n.y=o[0].clientY):(n.x=t.clientX,n.y=t.clientY);var s=e.get("canvas"),l=i.getRelativePosition(n,s);return a(r,e,l.x,l.y,t)}var i,n=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}(),o=!!n&&{passive:!0};i={isWx:"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync,isMy:"object"==typeof my&&"function"==typeof my.getSystemInfoSync,isNode:void 0!==t&&void 0!==t.exports,isBrowser:"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.sessionStorage,getPixelRatio:function(){return window&&window.devicePixelRatio||1},getStyle:function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},getWidth:function(t){var e=this.getStyle(t,"width");return"auto"===e&&(e=t.offsetWidth),parseFloat(e)},getHeight:function(t){var e=this.getStyle(t,"height");return"auto"===e&&(e=t.offsetHeight),parseFloat(e)},getDomById:function(t){return t?document.getElementById(t):null},getRelativePosition:function(t,e){var a=e.get("el"),r=a.getBoundingClientRect(),i=r.top,n=r.right,o=r.bottom,s=r.left,l=parseFloat(this.getStyle(a,"padding-left")),c=parseFloat(this.getStyle(a,"padding-top")),d=parseFloat(this.getStyle(a,"padding-right")),u=parseFloat(this.getStyle(a,"padding-bottom")),h=n-s-l-d,f=o-i-c-u,p=e.get("pixelRatio");return{x:(t.x-s-l)/h*a.width/p,y:(t.y-i-c)/f*a.height/p}},addEventListener:function(t,e,a){i.isBrowser&&t.addEventListener(e,a,o)},removeEventListener:function(t,e,a){i.isBrowser&&t.removeEventListener(e,a,o)},createEvent:function(t,e){return r(t,e)},measureText:function(t,e,a){return a||(a=document.createElement("canvas").getContext("2d")),a.font=e||"12px sans-serif",a.measureText(t)}},t.exports=i},359:function(t,e,a){var r=a(365),i=Array.prototype.indexOf,n=function(t,e){return!!r(t)&&i.call(t,e)>-1};t.exports=n},360:function(t,e,a){var r=a(202),i=a(359),n=function(t){var e=[];return r(t,function(t){i(e,t)||e.push(t)}),e};t.exports=n},361:function(t,e,a){function r(t,e,a,s){a=a||0,s=s||o;for(var l in e)if(e.hasOwnProperty(l)){var c=e[l];null!==c&&i(c)?(i(t[l])||(t[l]={}),a=0;return a?i?2*Math.PI-r:r:i?r:2*Math.PI-r},zero:function(t){return 0===t[0]&&0===t[1]},distance:function(t,e){var a=e[0]-t[0],r=e[1]-t[1];return Math.sqrt(a*a+r*r)},clone:function(t){return[t[0],t[1]]},min:function(t,e,a){return t[0]=Math.min(e[0],a[0]),t[1]=Math.min(e[1],a[1]),t},max:function(t,e,a){return t[0]=Math.max(e[0],a[0]),t[1]=Math.max(e[1],a[1]),t},transformMat2d:function(t,e,a){var r=e[0],i=e[1];return t[0]=a[0]*r+a[2]*i+a[4],t[1]=a[1]*r+a[3]*i+a[5],t}}},70:function(t,e){var a={}.toString,r=function(t,e){return a.call(t)==="[object "+e+"]"};t.exports=r},78:function(t,e,a){function r(t,e,a,r,n){return{x:i(n,t.x,e.x,a.x,r.x),y:i(n,t.y,e.y,a.y,r.y)}}function i(t,e,a,r,i){var n=t*t;return e+(3*-e+t*(3*e-e*t))*t+(3*a+t*(-6*a+3*a*t))*t+(3*r-3*r*t)*n+i*(n*t)}function n(t){for(var e=1/0,a=-1/0,i=1/0,n=-1/0,o={x:t[0],y:t[1]},s={x:t[2],y:t[3]},l={x:t[4],y:t[5]},c={x:t[6],y:t[7]},d=0;d<100;d++){var u=r(o,s,l,c,d/100);u.xa&&(a=u.x),u.yn&&(n=u.y)}return{minX:e,minY:i,maxX:a,maxY:n}}var o=a(60),s=o.create(),l=o.create(),c=o.create();t.exports={getBBoxFromPoints:function(t,e){if(0!==t.length){for(var a=t[0],r=a.x,i=a.x,n=a.y,o=a.y,s=t.length,l=1;l1e-4)return{minX:t-a,minY:e-a,maxX:t+a,maxY:e+a};s[0]=Math.cos(r)*a+t,s[1]=Math.sin(r)*a+e,l[0]=Math.cos(i)*a+t,l[1]=Math.sin(i)*a+e;var u=[0,0],h=[0,0];if(o.min(u,s,l),o.max(h,s,l),r%=2*Math.PI,r<0&&(r+=2*Math.PI),i%=2*Math.PI,i<0&&(i+=2*Math.PI),r>i&&!n?i+=2*Math.PI:rr&&(c[0]=Math.cos(p)*a+t,c[1]=Math.sin(p)*a+e,o.min(u,c,u),o.max(h,c,h));return{minX:u[0],minY:u[1],maxX:h[0],maxY:h[1]}},getBBoxFromBezierGroup:function(t,e){for(var a=1/0,r=-1/0,i=1/0,o=-1/0,s=0,l=t.length;sr&&(r=c.maxX),c.minYo&&(o=c.maxY)}return e=e/2||0,{minX:a-e,minY:i-e,maxX:r+e,maxY:o+e}}}},8:function(t,e,a){a(12);var r=a(0)(a(9),a(11),"data-v-633a7004",null);t.exports=r.exports},9:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(5),i=a.n(r),n=a(7),o=a.n(n),s=a(21),l=a.n(s);e.default={name:"lj-win-common",components:{sticky:l.a},props:{title:{type:String,default:"龙嘉软件"},bodyClass:{type:[String,Array,Object]},rightDrawerTitle:{type:String,default:""},rightDrawerInitOpen:{type:Boolean,default:!1},showBack:{type:Boolean,default:!0},hideAppBar:{type:Boolean,default:!1},closeWinHandler:{type:Function},hideHeaderSub:{type:Boolean,default:!1}},data:function(){return{rightDrawerOpen:!1,contentStyle:{marginTop:"0px",marginBottom:"0px"},headerSubStyle:{top:"0"},drawerStyle:{},stickyOffset:40}},created:function(){this.rightDrawerOpen=this.rightDrawerInitOpen},mounted:function(){this.initStyle()},updated:function(){this.initStyle()},methods:{initStyle:function(){var t=this,e=0;if($lj.fixStatusBar(this.$refs.headerDom.$el),$lj.fixStatusBar(this.$refs.headerLeft),$lj.fixStatusBar(this.$refs.headerRight),e=$lj.getAppBarHeight(),this.$refs.headerDom.$el.style.height=e+"px","ios"===api.systemType&&this.$slots.footer){var a=void 0,r=!0,n=!1,s=void 0;try{for(var l,c=o()(this.$slots.footer.reverse());!(r=(l=c.next()).done);r=!0){var d=l.value;if(d.tag){a=d;break}}}catch(t){n=!0,s=t}finally{try{!r&&c.return&&c.return()}finally{if(n)throw s}}a&&$lj.fixTabBar(a.elm)}var u=0,h=0;if(this.$refs.headerDom.$el&&(e=this.$refs.headerDom.$el.offsetHeight),document.getElementById("headerSub")&&(h=document.getElementById("headerSub").offsetHeight),this.stickyOffset=e,this.$slots.footer){var f=[];this.$slots.footer.forEach(function(t){t.elm.offsetHeight&&f.push(t.elm.offsetHeight)}),u=Math.max.apply(null,f)}var p=80;window.api&&(p=api.winHeight),this.headerSubStyle.top=e+"px",this.contentStyle.minHeight=p-e-u-h+"px",this.contentStyle.marginTop=e+h+"px",this.contentStyle.marginBottom=u+"px",console.log(" this.contentStyle :>>>>>>>>>>>>>>>>>>>>>!!!!!!!!!!!!!!!!!____________________________",i()(this.contentStyle)),this.$nextTick(function(){t.$emit("fix-body",t.contentStyle)})},openRightDrawer:function(){this.rightDrawerOpen=!0},closeRightDrawer:function(){this.rightDrawerOpen=!1},closeWin:function(){this.closeWinHandler?this.closeWinHandler():$lj.closeWin()}}}}},[5864]);