mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-10 00:40:30 +08:00
86fc4eb695
Former-commit-id: 227ec9664fa803a11a731cf5336437c497f17066
1 line
55 KiB
JavaScript
1 line
55 KiB
JavaScript
(window["webpackJsonp_ninca-crk-access-control"]=window["webpackJsonp_ninca-crk-access-control"]||[]).push([["chunk-commons"],{"00a7":function(t,e,n){"use strict";n("b0c0"),n("9911");var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"cw-table",class:{"height-hundred":t.heightHundred&&t.data&&t.data.length<=0,"is-bottom":t.isBottom,"is-nodata":t.isNoData}},[e("div",{staticClass:"cw-table-wrap"},[e("el-table",t._g(t._b({ref:"table",staticClass:"cw-common-table",attrs:{data:t.data},on:{"selection-change":t.selectionChange},scopedSlots:t._u([{key:"empty",fn:function(){return[t._t("empty",(function(){return[e("CwNoData",{attrs:{show:t.isNoData,noDataProps:t.noDataProps}})]}))]},proxy:!0}],null,!0)},"el-table",t.tableAttrs,!1),t.$listeners),[t._t("default"),t._t("prepend"),t._l(t.columns,(function(n,i){return["slot"===n.type?t._t(n.name):t._e(),"slotColumn"===n.type?e("el-table-column",t._b({key:i,scopedSlots:t._u([{key:"default",fn:function(e){return[t._t(n.name,null,{row:e.row,index:e.$index})]}}],null,!0)},"el-table-column",n.cloumn,!1)):t._e(),"index"===n.type?e("el-table-column",t._b({key:i,attrs:{type:"index",index:t.indexMethod}},"el-table-column",n.cloumn,!1)):t._e(),"selection"===n.type?e("el-table-column",t._b({key:i,attrs:{type:"selection"}},"el-table-column",n.cloumn,!1)):t._e(),n.type&&"normal"!==n.type?t._e():e("el-table-column",t._b({key:i},"el-table-column",n.cloumn,!1)),"text"===n.type?e("el-table-column",t._b({key:i,scopedSlots:t._u([{key:"default",fn:function(i){var a=i.row;return[n.link?e("router-link",t._b({staticStyle:{cursor:"pointer"}},"router-link",n.link,!1),[e("CwMutilText",{attrs:{item:n,data:a}})],1):e("CwMutilText",{attrs:{item:n,data:a}})]}}],null,!0)},"el-table-column",n.cloumn,!1)):t._e(),"img"===n.type?e("el-table-column",t._b({key:i,scopedSlots:t._u([{key:"default",fn:function(i){var a=i.row;return[e("div",t._b({style:{width:n.imgAttrs.width,height:n.imgAttrs.height}},"div",n.imgAttrs,!1),[e("CwBigimg",t._b({attrs:{src:a[n.cloumn.prop]}},"CwBigimg",n.bigimgAttrs,!1))],1)]}}],null,!0)},"el-table-column",n.cloumn,!1)):t._e(),"colorText"===n.type?e("el-table-column",t._b({key:i,scopedSlots:t._u([{key:"default",fn:function(i){var a=i.row;return[e("CwTag",t._b({},"CwTag",n.actions[t.getData(a,n.cloumn.value||n.cloumn.prop)],!1))]}}],null,!0)},"el-table-column",n.cloumn,!1)):t._e(),"colorTextDot"===n.type?e("el-table-column",t._b({key:i,scopedSlots:t._u([{key:"default",fn:function(i){var a=i.row;return[e("CwTagDot",t._b({},"CwTagDot",n.actions[t.getData(a,n.cloumn.value||n.cloumn.prop)],!1))]}}],null,!0)},"el-table-column",n.cloumn,!1)):t._e(),"actions"===n.type?e("el-table-column",t._b({key:i,scopedSlots:t._u([{key:"default",fn:function(i){var a=i.row;return[e("div",{staticClass:"btns-box"},[t._l(t.changeAction(n.actions,a),(function(n,i){return[n.hidden?t._e():e("span",{directives:[{name:"show",rawName:"v-show",value:!n.showHidden,expression:"!action.showHidden"}],key:i,staticClass:"btn-wrap"},["button"===n.bType?e("el-button",t._b({on:{click:function(e){return t.handllerOp(n,a,e)}}},"el-button",n,!1),[t._v(" "+t._s(n.render&&n.render(a)||n.value)+" ")]):t._e(),"switch"===n.bType?e("el-switch",t._b({on:{change:function(e){return t.handllerOp(n,a,e)}},model:{value:a[n.model],callback:function(e){t.$set(a,n.model,e)},expression:"row[action.model]"}},"el-switch",n,!1),[t._v(" 开 ")]):t._e(),"dropdown"===n.bType?e("el-dropdown",t._b({on:{command:function(e,n){t.handllerOp({command:e},a,n)}}},"el-dropdown",n.dropdown,!1),[e("span",{staticClass:"el-dropdown-link"},[t._v(" "+t._s(n.value||"更多")+" "),e("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e("el-dropdown-menu",{style:{width:n.width},attrs:{slot:"dropdown"},slot:"dropdown"},t._l(n.dpitems,(function(n,i){return e("el-dropdown-item",t._b({key:i,staticClass:"cw-table-dropdown-item"},"el-dropdown-item",n,!1),[t._v(" "+t._s(n.render&&n.render(a)||n.value)+" ")])})),1)],1):t._e()],1)]}))],2)]}}],null,!0)},"el-table-column",n.cloumn,!1)):t._e()]}))],2)],1),e("CwPagination",{staticClass:"cw-pagination",attrs:{query:t.query,minTotal:t.minTotal,paginationAttrs:t.$attrs.paginationAttrs},on:{"pagination-change":t.paginationChange}})],1)},a=[],o=(n("a9e3"),n("d81d"),n("d3b7"),n("159b"),n("14d9"),n("2909")),r=n("53ca"),s=(n("4de4"),n("caad"),n("2532"),n("99af"),n("2b0e")),l=function(t,e){var n=e,i=t,a=null,l=null,c=[];if(e){if("object"===Object(r["a"])(e)&&(n=e.value,a=e.filter,c=e.params||[],l=e.render||null),n.includes("."))for(var u=n.split("."),d=0;d<u.length;d++)i=i&&i[u[d]];else i=t[n];return l?l(i,t):a&&s["default"].filter(a)?s["default"].filter(a).apply(void 0,[i].concat(Object(o["a"])(c))):i}},c=n("8655"),u=function(){var t=this,e=t._self._c;return e("div",{ref:"tag",staticClass:"cw-tag-dot",style:{color:t.cColor}},[e("i",{staticClass:"dot",style:{backgroundColor:t.cColor}}),e("span",{staticClass:"text"},[t._v(t._s(t.text||t.label))])])},d=[],m={name:"CwTagDot",mixins:[],components:{},props:{color:{type:String},label:{type:String,default:""},text:{type:String,default:""},type:{type:String,validator:function(t){return["warning","success","info","primary","danger"].includes(t)}}},data:function(){return{colorType:{primary:"#0078d4",danger:"#F56C6C",success:"#67C23A",warning:"#E6A23C",info:"#909399"}}},created:function(){},mounted:function(){},computed:{cColor:function(){return this.color||this.colorType[this.type]}},watch:{},methods:{}},f=m,p=(n("6228"),n("2877")),h=Object(p["a"])(f,u,d,!1,null,"272d92ae",null),g=h.exports,y=n("27cf"),b=n("ab86"),w=n("3c4e"),v=n.n(w),A=function(){var t=this,e=t._self._c;return e("div",{staticClass:"cw-mutil-text"},[t.isArray(t.item.cloumn.value)?e("div",t._b({},"div",t.item.other,!1),t._l(t.item.cloumn.value,(function(n,i){return e("div",{key:i,staticClass:"v"},[t.isArray(n)?e("div",{staticClass:"v2"},t._l(n,(function(n,i){return e("span",{key:i},[t._v(t._s(t.getData(t.data,n)))])})),0):e("div",{staticClass:"v"},[e("div",{staticClass:"v2"},[t._v(t._s(t.getData(t.data,n)))])])])})),0):e("div",t._b({attrs:{title:t.getTitle(t.item)}},"div",t.item.other,!1),[t._v(t._s(t.getD(t.data,t.item)))])])},_=[],C={inheritAttrs:!1,name:"CwMutilText",mixins:[],components:{},props:{item:{type:Object},data:{type:Object}},data:function(){return{}},created:function(){},mounted:function(){},computed:{},watch:{},methods:{isArray:function(t){return t instanceof Array},getData:l,getTitle:function(t){return t.other&&t.other.showTitle?this.getData(this.data,t.cloumn.value)||this.getData(this.data,t.cloumn.prop):""},getD:function(t,e){var n=this.getData(t,e.cloumn.value);return n||0===n?n:(n=this.getData(t,e.cloumn.prop),n||0===n?n:"-")}}},x=C,k=Object(p["a"])(x,A,_,!1,null,"e851ee3e",null),S=k.exports,O=n("99bd"),T=n("e9c2"),M=function(t,e,n){return e},F={inheritAttrs:!1,name:"CwTable",mixins:[O["a"]],components:{CwMutilText:S,CwPagination:b["default"],CwTag:c["a"],CwTagDot:g,CwBigimg:y["default"],CwNoData:T["default"]},props:{data:{type:Array,default:function(){return[]}},minTotal:{type:Number,default:10},query:{type:Object,default:function(){return{}}},isAuto:{type:Boolean,default:!0},isBottom:{type:Boolean,default:!0},noDataProps:{type:Object,default:function(){}},heightHundred:{type:Boolean,default:!0}},data:function(){return{defaultTableAttrs:{ref:"table",border:!1,stripe:!0,"show-header":!0,"highlight-current-row":!0},defaultColumns:{selection:{type:"selection",cloumn:{width:"64",align:"left"}},text:{type:"text",cloumn:{prop:"name",label:"综合2",align:"left"}},img:{type:"img",cloumn:{width:100,align:"left"},imgAttrs:{width:"56px",height:"56px"}},index:{type:"index",cloumn:{width:50,label:"序号",align:"left"}},colorText:{type:"colorText",cloumn:{align:"left"}},actions:{type:"actions",cloumn:{label:"操作",width:"100",align:"left"},divider:!0}}}},created:function(){},mounted:function(){},computed:{isNoData:function(){return this.data&&this.data.length<=0},refTable:function(){return this.$refs.table},tableAttrs:function(){return v()(this.defaultTableAttrs,this.$attrs.tableAttrs||{})},columns:function(){var t=this;return this.$attrs.columns.map((function(e){var n=t.defaultColumns[e.type];return v()(n||{},e,{arrayMerge:M})}))}},watch:{},methods:{indexMethod:function(t){var e=this.query,n=e.rowsOfPage,i=e.currentPage;return t+1+n*(i-1)},changeAction:function(t,e){return"function"===typeof t?t(e):t},isdivider:function(t,e,n,i){var a=this.changeAction(e.actions,i)||[];return n.divider?t!==a.length-1&&n.divider:!1!==n.divider&&(t!==a.length-1&&e.divider)},getData:l,selectionChange:function(t){var e=[];t.forEach((function(t){e.push(t.id)})),this.$emit("selectd",e,t)},handllerOp:function(t,e,n){this.isAuto&&this.parentOp(t.command,t,e,n),this.$emit("actions-click",{command:t.command,item:t,row:e,event:n})},parentOp:function(t,e,n,i){var a=t+"Click";this.emitMethod(a,{type:t,item:e,row:n,event:i})},paginationChange:function(t){this.$emit("pagination-change",this.$attrs.query)}}},j=F,B=(n("d500"),Object(p["a"])(j,i,a,!1,null,null,null));e["a"]=B.exports},1077:function(t,e,n){},"144b":function(t,e,n){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"cw-modal-wap"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showModal,expression:"showModal"}],staticClass:"cover",on:{click:function(e){return e.stopPropagation(),t.coverClose.apply(null,arguments)}}}),e("transition",{attrs:{name:"confirm-fade"}},[t.showModal?e("div",{staticClass:"cw-modala"},[e("div",{directives:[{name:"drag",rawName:"v-drag:[isUseDrag]",value:".header",expression:"'.header'",arg:t.isUseDrag}],staticClass:"content",on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.confirm.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.cancel.apply(null,arguments)}]}},[e("div",{staticClass:"header clear-float"},[e("div",{staticClass:"text cw-lf"},[t._t("title",(function(){return[t._v(t._s(t.title))]}))],2),e("i",{staticClass:"el-icon-close cw-rt",on:{click:t.close}})]),e("div",{staticClass:"body",style:{width:t.width}},[t._t("default")],2),t.showFooter?e("div",{staticClass:"footer"},[t.needCancelBtn?e("el-button",{staticClass:"cancel-btn",attrs:{disabled:t.useDisabledBtn&&!t.showModal,loading:t.cancelLoading},on:{click:t.cancel}},[t._v(" "+t._s(t.cancelBtnText)+" ")]):t._e(),t.needConfirmBtn?e("el-button",{staticClass:"confirm-btn",attrs:{disabled:t.useDisabledBtn&&!t.showModal,type:"primary",loading:t.submitLoading},on:{click:t.confirm}},[t._v(" "+t._s(t.confirmBtnText)+" ")]):t._e()],1):t._e()])]):t._e()])],1)},a=[],o=(n("d3b7"),{name:"CwModal",inject:{mkey:{default:function(){}}},props:{useDisabledBtn:{type:Boolean,default:!0},width:{type:String,default:"600px"},title:{type:String,default:""},useCoverClose:{type:Boolean,default:!1},confirmBtnText:{type:String,default:"确定"},cancelBtnText:{type:String,default:"取消"},showFooter:{type:Boolean,default:!0},needConfirmBtn:{type:Boolean,default:!0},needCancelBtn:{type:Boolean,default:!0},submitLoading:{type:Boolean,default:!1},isFlashModalKey:{type:Boolean,default:!0},isDarg:{type:Boolean,default:!1}},data:function(){return{showModal:!1,cancelLoading:!1}},computed:{isUseDrag:function(){return this.isDarg?"":"close"}},watch:{showModal:function(t){var e=this;!t&&this.isFlashModalKey&&setTimeout((function(){e.falshModalKey()}),500)}},methods:{falshModalKey:function(){this.mkey&&this.mkey()},show:function(){this.showModal=!0},hide:function(){return this.showModal=!1,new Promise((function(t){setTimeout((function(){t()}),300)}))},coverClose:function(){this.useCoverClose&&this.close()},close:function(){this.hide(),this.$emit("close"),this.$emit("closes")},cancel:function(){this.showModal=!1,this.$emit("cancel"),this.$emit("closes")},confirm:function(){this.$emit("confirm")},keydownEnter:function(){},ContentClick:function(){},showCancelBtnLoading:function(){this.cancelLoading=!0},hideCancelBtnLoading:function(){this.cancelLoading=!1}}}),r=o,s=(n("f0695"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,null,null);e["a"]=l.exports},1744:function(t,e,n){},"256b":function(t,e,n){"use strict";n("da3f")},"25c9":function(t,e,n){},"27cf":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("div",t._g({ref:"wrap",staticClass:"cw-bigimg",class:{"cw-border":t.border,"is-zoom":t.isZoom},on:{click:function(e){return e.stopPropagation(),t.imgClick.apply(null,arguments)}}},t.$listeners),[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.src,expression:"src"}],ref:"img",style:{width:t.width||t.cwidth,height:t.height||t.cheight},on:{load:t.load}}),t.maskText?e("div",{staticClass:"mask cw-no-wrap",attrs:{title:t.maskText}},[t._v(t._s(t.maskText))]):t._e(),t.isZoom?e("BigImg",t._b({ref:"bigimg",attrs:{src:t.imgSrc,show:t.showPic,rect:t.rect},on:{"update:show":function(e){t.showPic=e}}},"BigImg",t.$attrs,!1)):t._e()],1)},a=[],o=n("c7eb"),r=n("1da1"),s=(n("d3b7"),function(){var t=this,e=t._self._c;return e("transition",{on:{"before-enter":t.beforeEnter,enter:t.enter,leave:t.leave}},[t.show?e("div",{ref:"big_img_div",staticClass:"big-img-wrapper-div",on:{click:t.close}},[e("img",{ref:"big_img",staticClass:"big-img-wrapper",attrs:{src:t.src}})]):t._e()])}),l=[],c=(n("a9e3"),{props:{src:{type:String,default:""},rect:{type:Object,default:{}},wspace:{type:Number,default:100},hspace:{type:Number,default:100},show:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0}},data:function(){return{width:600,height:552}},mounted:function(){this.appendToBody&&this.show&&document.body.appendChild(this.$el)},watch:{show:function(t){t?this.appendToBody&&document.body.appendChild(this.$el):this.removeElement()}},destroyed:function(){this.removeElement()},methods:{removeElement:function(){var t=this;this.appendToBody&&this.$el&&this.$el.parentNode&&setTimeout((function(){t.$el.parentNode.removeChild(t.$el)}),200)},close:function(){this.$emit("update:show",!1)},beforeEnter:function(t){var e=this;this.$nextTick((function(){t=e.$refs.big_img,e.$refs.big_img_div.style["backgroundColor"]="rgba(0, 0, 0, 0.9)",t.style["left"]=e.rect.left+"px",t.style["top"]=e.rect.top+"px",t.style["width"]=e.rect.width+"px",t.style["height"]=e.rect.height+"px"}))},enter:function(t,e){var n=this;this.$nextTick((function(){t=n.$refs.big_img;var i=document.body.clientWidth,a=document.body.clientHeight,o=n.hspace<1?a*n.hspace:n.hspace,r=n.wspace<1?i*n.wspace:n.wspace;n.width=i-r,n.height=n.width*n.rect.height/n.rect.width,n.height>a-o&&(n.height=a-o,n.width=n.height*n.rect.width/n.rect.height),n.$refs.big_img_div.style["backgroundColor"]="rgba(0, 0, 0, 0.3)",t.style["left"]=i/2-n.width/2+"px",t.style["top"]=a/2-n.height/2+"px",t.style["width"]=n.width+"px",t.style["height"]=n.height+"px",t.style["transition"]="all 0.4s",t.style["webkitTransition"]="all 0.4s",t.style["mozTransition"]="all 0.4s",setTimeout((function(){e()}),400)}))},leave:function(t,e){t=this.$refs.big_img,this.$refs.big_img_div.style["backgroundColor"]="rgba(0, 0, 0, 0)",t.style["left"]=this.rect.left+"px",t.style["top"]=this.rect.top+"px",t.style["width"]=this.rect.width+"px",t.style["height"]=this.rect.height+"px",t.style["transition"]="all 0.2s",t.style["webkitTransition"]="all 0.2s",t.style["mozTransition"]="all 0.2s",setTimeout((function(){e()}),200)}}}),u=c,d=(n("db3d"),n("2877")),m=Object(d["a"])(u,s,l,!1,null,"a340e9e6",null),f=m.exports,p={name:"CwBigimg",mixins:[],components:{BigImg:f},props:{src:{type:String,default:""},largeSrc:{type:String,default:""},isAutoScaleLarge:{type:Boolean,default:!0},width:String,height:String,maskText:String,border:{type:Boolean,default:!0},isZoom:{type:Boolean,default:!0}},data:function(){return{rect:{},cwidth:"auto",cheight:"auto",imgSrc:"",imgSrcTemp:"",lazysrc:"",showPic:!1}},created:function(){},mounted:function(){},computed:{},watch:{},methods:{load:function(t){var e=t.target||{},n=e.naturalWidth,i=e.naturalHeight;if(this.imgSrcTemp=t.target.src,!(n<=1||i<=1)){var a=this.calc(n,i),o=a.width,r=a.height;this.cwidth=o+"px",this.cheight=r+"px"}},calc:function(t,e){if(!this.$refs.wrap)return{width:t,height:e};var n=this.$refs.wrap.getBoundingClientRect()||{},i=n.width,a=n.height,o=n.left,r=n.top,s=i/a,l=t/e;if(s<=l){var c=e*i/t;return{width:i,height:c,left:o,top:(a-c)/2+r}}if(s>l){var u=t*a/e;return{width:u,height:a,left:(i-u)/2+o,top:r}}},loadImg:function(t){var e=this;return new Promise((function(n,i){var a=new Image,o=e.$loading({lock:!0,text:"加载中",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});a.onload=function(){o.close(),n(a)},a.onerror=function(){o.close(),i("图片加载出错")},a.src=t}))},show:function(){var t=arguments,e=this;return Object(r["a"])(Object(o["a"])().mark((function n(){var i,a,r,s,l,c,u,d,m,f,p,h;return Object(o["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.length>0&&void 0!==t[0]?t[0]:{},i=t.length>1&&void 0!==t[1]&&t[1],a=e.$refs.img&&e.$refs.img.getBoundingClientRect()||{},r=a.width,s=a.height,l=a.top,c=a.left,!(!i||e.isAutoScaleLarge&&i)||!e.largeSrc){n.next=21;break}return n.prev=4,n.next=7,e.loadImg(e.largeSrc);case 7:u=n.sent,d=e.calc(u.width,u.height),m=d.width,f=d.height,p=d.left,h=d.top,r=m,s=f,c=p,l=h,e.imgSrc=u.src,n.next=19;break;case 16:n.prev=16,n.t0=n["catch"](4),e.$message.error("图片加载失败");case 19:n.next=22;break;case 21:e.imgSrc=e.imgSrcTemp;case 22:e.rect={width:r,height:s,top:l,left:c},e.showPic=!0;case 24:case"end":return n.stop()}}),n,null,[[4,16]])})))()},imgClick:function(t){this.$emit("imgClick"),this.isZoom&&this.show(t,!0)}}},h=p,g=(n("775d"),Object(d["a"])(h,i,a,!1,null,"69045dd2",null));e["default"]=g.exports},"2bec":function(t,e,n){},"338c":function(t,e,n){},3598:function(t,e,n){"use strict";var i=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"cw-data-table",style:{width:t.width}},[t._t("default")],2)},a=[],o=n("bee2"),r=n("d4ec"),s=n("262e"),l=n("2caf"),c=n("9ab4"),u=n("60a3"),d=function(t){Object(s["a"])(n,t);var e=Object(l["a"])(n);function n(){return Object(r["a"])(this,n),e.apply(this,arguments)}return Object(o["a"])(n)}(u["h"]);Object(c["a"])([Object(u["e"])({type:String,default:"100%"})],d.prototype,"width",void 0),d=Object(c["a"])([u["a"]],d);var m=d,f=m,p=(n("7e09"),n("2877")),h=Object(p["a"])(f,i,a,!1,null,"6bab537e",null);e["a"]=h.exports},"3bae":function(t,e,n){},"3bd1":function(t,e,n){"use strict";n("91a7")},"568b":function(t,e,n){},"58d8":function(t,e,n){"use strict";var i=function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-enter":t.afterEnter,"after-leave":t.afterLeave}},[t.$parent.show?e("div",{staticClass:"device-detail",style:t.deviceStyle},[e("CwMainLayout",t._b({scopedSlots:t._u([{key:"header",fn:function(){return[e("div",{staticClass:"header-title"},[e("div",{staticClass:"header-return-wrap"},[e("i",{staticClass:"el-icon-back header-return-icon",on:{click:t.returnClick}}),e("div",{staticClass:"header-return-title"},[t._t("title",(function(){return[t._v(t._s(t.title))]}))],2)]),e("div",{staticClass:"op"},[t._t("op")],2)])]},proxy:!0},{key:"op-header",fn:function(){return[t._t("op-header")]},proxy:!0}],null,!0)},"CwMainLayout",t.$attrs,!1),[t.$parent.showContent?t._t("default"):t._e()],2)],1):t._e()])},a=[],o=n("d257"),r={name:"CwReturnPage",mixins:[],components:{},props:{title:{type:String,default:""}},data:function(){return{deviceStyle:{left:0,top:0}}},created:function(){},mounted:function(){var t=Object(o["a"])("cw-app-main","px"),e=t.left,n=t.top;e&&n&&(this.deviceStyle={left:e,top:n})},computed:{},watch:{},methods:{afterEnter:function(){this.$parent.showContentFn&&this.$parent.showContentFn()},afterLeave:function(){this.$parent.afterLeave&&this.$parent.afterLeave()},returnClick:function(){this.$emit("close"),this.$parent.close&&this.$parent.close()}}},s=r,l=(n("fd17"),n("2877")),c=Object(l["a"])(s,i,a,!1,null,"bf7dfb8e",null);e["a"]=c.exports},6228:function(t,e,n){"use strict";n("2bec")},"7168e":function(t,e,n){"use strict";n("b882")},"71cc":function(t,e,n){},7294:function(t,e,n){"use strict";var i=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"cw-data-table-item"},[e("div",{staticClass:"cell-left",style:{width:t.leftWidth}},[e("div",{staticClass:"text"},[t._t("left",(function(){return[t._v(t._s(t.leftText))]}))],2)]),e("div",{staticClass:"cell-right"},[e("div",{staticClass:"text"},[t._t("default")],2)])])},a=[],o=n("bee2"),r=n("d4ec"),s=n("262e"),l=n("2caf"),c=n("9ab4"),u=n("60a3"),d=function(t){Object(s["a"])(n,t);var e=Object(l["a"])(n);function n(){return Object(r["a"])(this,n),e.apply(this,arguments)}return Object(o["a"])(n)}(u["h"]);Object(c["a"])([Object(u["e"])({type:String,default:""})],d.prototype,"leftText",void 0),Object(c["a"])([Object(u["e"])({type:String,default:"150px"})],d.prototype,"leftWidth",void 0),d=Object(c["a"])([u["a"]],d);var m=d,f=m,p=(n("f449"),n("2877")),h=Object(p["a"])(f,i,a,!1,null,"7f14fbe2",null);e["a"]=h.exports},"775d":function(t,e,n){"use strict";n("1077")},"7e09":function(t,e,n){"use strict";n("71cc")},8083:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANS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r3OGsKQ2E8lo6ZzSgMhTGz8j3OmsJQGI+lY2YzCkNhzKx8j7OmMBTGY+mY2YzCUBgzK9/jrCkMhfFYOmY2ozAUxszK9zhrCkNhPJaOmc0oDIUxs/I9zprCUBiPpWNmMwpDYcysfI+zpjAUxmPpmNmMwlAYMyvf46wpDIXxWDpmNqMwM6z7k88ddH96acvmOhQVJs2sDs56CoGR0TReP9zm/GWC3vvu2l4ZBTyR+VtVTz73UpOUcsfihfOxtmYFpYlCdeRwDI4srZ3vof/CJQgh9t931ycbczicK11HRpinf9hclc5kDgO4JgpgOIbIEDiXTCQ23/u7DakojCgywjgwHGkytv1NQNY7l2dRAMQx5IaAcxkGiJaEZf1FVGRxSERKmNwsDXslAXUCFEadFSNJgDsMa4AEdAhwh9GhxVjjCVAY40uAAHQIUBgdWow1ngCFMb4ECECHAIXRocVY4wlQGONLgAB0CFAYHVqMNZ4AhTG+BAhAhwCF0aHFWOMJUBjjS4AAdAhQGB1ajDWeAIUxvgQIQIcAhdGhxVjjCVAY40uAAHQIUBgdWow1ngCFMb4ECECHAIXRocVY4wlQGONLgAB0CFAYHVqMNZ4AhTG+BAhAhwCF0aHFWOMJUBjjS4AAdAhQGB1ajDWeAIUxvgQIQIcAhdGhxVjjCVAY40uAAHQIUBgdWow1ngCFMb4ECECHAIXRocVY4wlQGONLgAB0CFAYHVqMNZ7A/wNZlxBUwChL6QAAAABJRU5ErkJggg=="},"80cf":function(t,e,n){},"823c":function(t,e,n){"use strict";n("3bae")},8655:function(t,e,n){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{ref:"tag",staticClass:"cw-tag",style:{color:t.cColor,backgroundColor:t.cBgColor}},[t._v(t._s(t.text||t.label))])},a=[],o=(n("caad"),{name:"CwTag",mixins:[],components:{},props:{color:{type:String},bgColor:{type:String},label:{type:String,default:""},text:{type:String,default:""},type:{type:String,validator:function(t){return["warning","success","info","primary","danger"].includes(t)}}},data:function(){return{colorType:{primary:["#0078d4","rgba(0,120,212,0.2)"],danger:["#F56C6C","rgba(245,34,45,0.2)"],success:["#67C23A","rgba(49,184,154,0.2)"],warning:["#E6A23C","rgba(230,162,60,0.2)"],info:["#909399","rgba(0,0,0,0.1)"]},initFinish:!1}},created:function(){},mounted:function(){this.initFinish=!0},computed:{cColor:function(){return this.color||this.colorType[this.type][0]||"red"},cBgColor:function(){return this.bgColor||this.colorType[this.type][1]||"red"}},watch:{},methods:{}}),r=o,s=(n("823c"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,"10e8895a",null);e["a"]=l.exports},"91a7":function(t,e,n){},a53c:function(t,e,n){"use strict";n("b0c0");var i,a,o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"cw-form"},[e("el-form",t._g(t._b({ref:"form",attrs:{model:t.ruleForm,rules:t.$attrs.rules}},"el-form",t.formAttrs,!1),t.$listeners),[e("el-row",t._b({},"el-row",t.rowAttrs,!1),[t._l(t.formItems,(function(n,i){return[n.hidden?t._e():e("el-col",t._b({directives:[{name:"show",rawName:"v-show",value:!n.showHidden,expression:"!item.showHidden"}],key:i,style:t.getElColStyle(n.colAttrs,t.formAttrs.inline)},"el-col",n.colAttrs,!1),["slot"===n.type?t._t(n.name):t._e(),"slotItem"===n.type?e("el-form-item",t._g(t._b({key:i,scopedSlots:t._u([n.itemAttrs.label&&(n.itemAttrs.justify||t.formAttrs.justify)&&"0"!=n.itemAttrs["label-width"]?{key:"label",fn:function(){return[e("span",t._b({},"span",n.itemAttrs.justify||t.formAttrs.justify,!1),[t._v(t._s(n.itemAttrs.label))])]},proxy:!0}:null],null,!0)},"el-form-item",n.itemAttrs,!1),n.itemListeners),[t._t(n.name)],2):t._e(),"slot"!==n.type&&"slotItem"!==n.type?e("el-form-item",t._g(t._b({scopedSlots:t._u([n.itemAttrs.label&&(n.itemAttrs.justify||t.formAttrs.justify)&&"0"!=n.itemAttrs["label-width"]?{key:"label",fn:function(){return[e("span",t._b({},"span",n.itemAttrs.justify||t.formAttrs.justify,!1),[t._v(t._s(n.itemAttrs.label))])]},proxy:!0}:null],null,!0)},"el-form-item",n.itemAttrs,!1),n.itemListeners),["text"==n.type?e("span",t._g(t._b({class:[{"text-disabled":n.contentAttrs.disabled||t.formAttrs.disabled}]},"span",n.contentAttrs,!1),n.contentListeners),[t._v(" "+t._s(t.ruleForm[n.name])+" ")]):t._e(),"input"===n.type?e("el-input",t._g(t._b({nativeOn:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.inputKeydown(e,n)}},scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-input",n.contentAttrs,!1),n.contentListeners)):t._e(),"radio"===n.type?e("el-radio",t._g(t._b({scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-radio",n.contentAttrs,!1),n.contentListeners),[t._v(" "+t._s(n.contentAttrs.text)+" ")]):t._e(),"radioG"===n.type?e("el-radio-group",t._g(t._b({model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-radio-group",n.contentAttrs,!1),n.contentListeners),t._l(t.options[n.name],(function(i,a){return e("el-radio",t._b({key:a,scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:i,item:n})]},proxy:!0}}))],null,!0)},"el-radio",i,!1),[t._v(" "+t._s(i.text)+" ")])})),1):t._e(),"radioBtn"===n.type?e("el-radio-group",t._g(t._b({model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-radio-group",n.contentAttrs,!1),n.contentListeners),t._l(t.options[n.name],(function(i,a){return e("el-radio-button",t._b({key:a,scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:i,item:n})]},proxy:!0}}))],null,!0)},"el-radio-button",i,!1),[t._v(" "+t._s(i.text||i.label)+" ")])})),1):t._e(),"checkbox"===n.type?e("el-checkbox",t._g(t._b({scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-checkbox",n.contentAttrs,!1),n.contentListeners),[t._v(" "+t._s(n.contentAttrs.text)+" ")]):t._e(),"checkboxG"===n.type?e("el-checkbox-group",t._g(t._b({model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-checkbox-group",n.contentAttrs,!1),n.contentListeners),t._l(t.options[n.name],(function(i,a){return e("el-checkbox",t._b({key:a,scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:i,item:n})]},proxy:!0}}))],null,!0)},"el-checkbox",i,!1),[t._v(" "+t._s(i.text)+" ")])})),1):t._e(),"inputNumber"===n.type?e("el-input-number",t._g(t._b({model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-input-number",n.contentAttrs,!1),n.contentListeners)):t._e(),"select"===n.type?e("el-select",t._g(t._b({class:{"select-inline":t.formAttrs.inline},model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-select",n.contentAttrs,!1),n.contentListeners),t._l(t.options[n.name],(function(i){return e("el-option",t._b({key:i.key||i.value,scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:i,item:n})]},proxy:!0}}))],null,!0)},"el-option",i,!1))})),1):t._e(),"cascader"===n.type?e("el-cascader",t._g(t._b({attrs:{options:t.options[n.name]},scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:t.options[n.name],item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-cascader",n.contentAttrs,!1),n.contentListeners)):t._e(),"switch"===n.type?e("el-switch",t._g(t._b({scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-switch",n.contentAttrs,!1),n.contentListeners)):t._e(),"slider"===n.type?e("el-slider",t._g(t._b({scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-slider",n.contentAttrs,!1),n.contentListeners)):t._e(),"time"===n.type?e("el-time-select",t._g(t._b({scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-time-select",n.contentAttrs,!1),n.contentListeners)):t._e(),"timePicker"===n.type?e("el-time-picker",t._g(t._b({scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-time-picker",n.contentAttrs,!1),n.contentListeners)):t._e(),"date"===n.type?e("el-date-picker",t._g(t._b({scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-date-picker",n.contentAttrs,!1),n.contentListeners)):t._e(),"treeselect"===n.type?e("Treeselect",t._g(t._b({staticClass:"tree-select",staticStyle:{height:"32px"},attrs:{disabled:n.contentAttrs.disabled||t.formAttrs.disabled,options:t.options[n.name]},nativeOn:{click:function(e){return t.treesleectClick.apply(null,arguments)}},scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:t.options[n.name],item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"Treeselect",n.contentAttrs,!1),n.contentListeners)):t._e(),"rate"===n.type?e("el-rate",t._g(t._b({scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"el-rate",n.contentAttrs,!1),n.contentListeners)):t._e(),"progress"===n.type?e("el-progress",t._g(t._b({staticClass:"lh32",attrs:{percentage:t.ruleForm[n.name]},scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0)},"el-progress",n.contentAttrs,!1),n.contentListeners)):t._e(),"selectday"===n.type?e("cw-selectday",t._g(t._b({scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"cw-selectday",n.contentAttrs,!1),n.contentListeners)):t._e(),"upload"===n.type?e("CwUpload",t._g(t._b({scopedSlots:t._u([t._l(n.slot,(function(e){return{key:e,fn:function(){return[t._t(n.name+e,null,{data:n.contentAttrs,item:n})]},proxy:!0}}))],null,!0),model:{value:t.ruleForm[n.name],callback:function(e){t.$set(t.ruleForm,n.name,e)},expression:"ruleForm[item.name]"}},"CwUpload",n.contentAttrs,!1),n.contentListeners)):t._e(),t._t(n.name+"-append",(function(){return[n.append&&n.append.text?e("span",t._b({},"span",n.append,!1),[t._v(t._s(n.append.text))]):t._e()]}))],2):t._e()],2)]}))],2)],1)],1)},r=[],s=(n("d81d"),n("d3b7"),n("159b"),n("99af"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"cw-selectday"},[e("el-radio-group",{directives:[{name:"show",rawName:"v-show",value:t.isShowRadio,expression:"isShowRadio"}],on:{change:t.radioChange},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._l(t.items,(function(n){return e("el-radio-button",{key:n.label,attrs:{label:n.label}},[t._v(t._s(n.text))])})),e("el-radio-button",{directives:[{name:"show",rawName:"v-show",value:t.isSHowCustomize,expression:"isSHowCustomize"}],attrs:{label:-1}},[t._v("自定义")])],2),e("el-date-picker",{staticStyle:{width:"375px"},attrs:{"value-format":"timestamp",type:t.showTime?"datetimerange":"daterange",align:"right",clearable:!1,"default-time":["00:00:00","23:59:59"],"picker-options":t.pickerOptions,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.dateChange,focus:t.dateFocus},model:{value:t.dateArr,callback:function(e){t.dateArr=e},expression:"dateArr"}})],1)}),l=[],c=n("3835"),u=(n("a9e3"),n("caad"),n("2532"),n("5a0c")),d=n.n(u),m={name:"CwSelectday",mixins:[],components:{},props:{value:{type:Array,default:function(){return[]}},isShowRadio:{type:Boolean,default:!0},isShowShortcuts:{type:Boolean,default:!1},isSHowCustomize:{type:Boolean,default:!1},disabledStartLength:{type:Number,default:30},disabledEndLength:{type:Number,default:30},showTime:{type:Boolean,default:!0},items:{type:Array,default:function(){return[{type:"day",label:1,text:"今天"},{type:"day",label:-2,text:"昨天"},{type:"day",label:7,text:"最近7天"},{type:"day",label:15,text:"最近15天"},{type:"day",label:30,text:"最近30天"}]}},valueFormat:{type:String,default:"timestamp"},disabledDateStart:{type:Number},disabledDateEnd:{type:Number,default:0},disabledDate:{type:Function}},data:function(){return{radio:1,dateArr:[],tempDate:[],pickDate:{minDate:Date.now()},isopen:!1}},computed:{pickerOptions:function(){var t=this;return{shortcuts:this.isShowShortcuts&&[{text:"今天",onClick:function(t){var e=d()().valueOf(),n=d()().subtract(0,"day").valueOf();t.$emit("pick",[n,e])}},{text:"最近一周",onClick:function(t){var e=d()().valueOf(),n=d()().subtract(7,"day").valueOf();t.$emit("pick",[n,e])}},{text:"最近一个月",onClick:function(t){var e=d()().valueOf(),n=d()().subtract(1,"month").valueOf();t.$emit("pick",[n,e])}},{text:"最近三个月",onClick:function(t){var e=d()().valueOf(),n=d()().subtract(3,"month").valueOf();t.$emit("pick",[n,e])}}],disabledDate:this.disabledDate||this.disabledDateDefault,onPick:function(e){var n=e.minDate;e.maxDate;t.isopen=!1,t.pickDate.minDate=n.getTime()}}},getDay:function(){return this.items.map((function(t){return t.label}))}},watch:{value:{immediate:!0,deep:!0,handler:function(t){0===t.length&&(this.radio=-2),this.compare(this.tempDate,t)||this.valChangeRadio(t),this.tempDate=[],this.dateArr=t}}},methods:{disabledDateDefault:function(t){var e=t.getTime();return e>d()().endOf("day").valueOf()},compare:function(t,e){var n=Object(c["a"])(t,2),i=n[0],a=n[1],o=Object(c["a"])(e,2),r=o[0],s=o[1];return d()(i).valueOf()===d()(r).valueOf()&&d()(a).valueOf()===d()(s).valueOf()},dateChange:function(t){this.radio=-1,this.send(t[0],t[1])},dateFocus:function(){this.isopen=!0},valChangeRadio:function(t){var e=d()(t[0]).valueOf(),n=d()(t[1]).valueOf(),i=Math.ceil((n-e)/864e5);i<=1?i=1:this.getDay.includes(i)||(i=-1),this.radio=i},send:function(t,e){var n="",i="";"timestamp"===this.valueFormat?this.showTime&&-1===this.radio?(n=d()(t).valueOf(),i=d()(e).valueOf()):(n=d()(t).startOf("day").valueOf(),i=d()(e).endOf("day").valueOf()):(n=d()(t).format(this.valueFormat),i=d()(e).format(this.valueFormat)),this.tempDate=[n,i],this.$emit("input",[n,i])},radioChange:function(t,e){this.$emit("change",t);var n=d()();if(-2!==t){if(-1!==t){var i=n.valueOf(),a=n.subtract(t-1,"day").valueOf();this.send(a,i)}}else{var o=n.subtract(1,"day").valueOf();this.send(o,o)}}}},f=m,p=(n("b620"),n("2877")),h=Object(p["a"])(f,s,l,!1,null,"c2bc2f9c",null),g=h.exports,y=function(){var t=this,e=t._self._c;return e("div",{staticClass:"cw-upload"},[e("input",{ref:"batchUploader",staticClass:"batch-uploader",attrs:{type:"file"},on:{change:t.batchChange}}),e("div",{staticClass:"zip-upload-div"},[t._v(t._s(t.batchPlaceholder))])])},b=[],w=n("df7c"),v={name:"CwUpload",components:{},props:{value:{type:File},maxSize:{type:Number,default:51200},minSize:{type:Number,default:0},ext:{type:Array,default:function(){return[".zip"]}}},data:function(){return{batchPlaceholder:"点这里上传文件"}},computed:{file:{get:function(){return this.value},set:function(t){var e=t;this.$emit("input",e),this.$emit("change",e)}}},methods:{batchChange:function(t){var e=t.target.files;if(0!==e.length){var n=e[0],i=n.size,a=(n.name,w.extname(n.name));if(i<1024*this.minSize)return this.$message({showClose:!0,message:"请上传大于".concat(this.showKBorMB(this.minSize),"的文件!"),type:"warning"}),void this.clearFile(event);if(i>1024*this.maxSize)return this.$message({showClose:!0,message:"请上传小于".concat(this.showKBorMB(this.maxSize),"的文件!"),type:"warning"}),void this.clearFile(event);if(!this.ext.includes(a))return this.$message({showClose:!0,message:"请上传正确格式的文件",type:"warning"}),void this.clearFile(event);this.file=n,this.batchPlaceholder=this.$refs.batchUploader.files[0].name}else this.clearFile(event)},clearFile:function(t){this.file=null,t.target.value="",this.batchPlaceholder="点这里上传文件"},showKBorMB:function(t){return t>1024?t/1024+"MB":t+"KB"}}},A=v,_=(n("7168e"),Object(p["a"])(A,y,b,!1,null,"3312b237",null)),C=_.exports,x=n("3c4e"),k=n.n(x),S=n("5530"),O=(n("13d5"),n("b64b"),n("75acf")),T=n.n(O),M=(n("89db"),{name:"CwTreeselect",mixins:[],components:{Treeselect:T.a},props:{},data:function(){return{defaultAttrs:{noOptionsText:"没有数据",appendToBody:!1,zIndex:9999,clearAllText:"清空",clearValueText:"清空",loadingText:"加载中...",noChildrenText:"没有下级了",noResultsText:"未搜索到结果",clearable:!0,limit:1,limitText:function(t){return"+ ".concat(t)}}}},created:function(){},mounted:function(){},computed:{attrs:function(){return k()(this.defaultAttrs,this.$attrs)}},watch:{},methods:{},render:function(t){var e=this,n=Object.keys(this.$slots).reduce((function(t,n){return t.concat(e.$slots[n])}),[]).map((function(t){return t.context=e._self,t}));return t("Treeselect",{attrs:Object(S["a"])({},this.attrs),scopedSlots:this.$scopedSlots,on:this.$listeners,props:this.$props},n)}}),F=M,j=(n("3bd1"),Object(p["a"])(F,i,a,!1,null,null,null)),B=j.exports,D=function(t,e,n){return e},z={inheritAttrs:!1,name:"CwForm",mixins:[],components:{Treeselect:B,CwSelectday:g,CwUpload:C},props:{focusName:{default:"focus"},ruleForm:{type:Object,default:function(){return{}}}},data:function(){return{defaultFormAttrs:{"status-icon":!1,"label-width":"80px",inline:!0,justify:{width:4,height:32}},defaultOptions:{},isEnd:!1}},created:function(){},mounted:function(){this.initFocus()},activated:function(){},computed:{defaultFormItems:function(){return{input:{type:"input",itemAttrs:{},contentAttrs:{style:"width:".concat(this.formAttrs.inline?"192px":"100%")},colAttrs:{}},radio:{type:"radio",itemAttrs:{},contentAttrs:{},colAttrs:{}},radioG:{type:"radioG",itemAttrs:{},contentAttrs:{},colAttrs:{}},radioBtn:{type:"radioBtn",itemAttrs:{},contentAttrs:{},colAttrs:{}},checkbox:{type:"checkbox",itemAttrs:{},contentAttrs:{},colAttrs:{}},checkboxG:{type:"checkboxG",colAttrs:{style:"height:54.5px"},itemAttrs:{},contentAttrs:{}},inputNumber:{type:"inputNumber",contentAttrs:{style:"width:".concat(this.formAttrs.inline?"192px":"100%")},colAttrs:{}},select:{type:"select",itemAttrs:{},contentAttrs:{ref:"elSelect",style:"width:".concat(this.formAttrs.inline?"192px":"100%")},colAttrs:{}},treeselect:{type:"treeselect",itemAttrs:{},contentAttrs:{noOptionsText:"没有数据",style:"width:".concat(this.formAttrs.inline?"192px":"100%")},colAttrs:{style:"height:auto"}},cascader:{type:"cascader",itemAttrs:{},contentAttrs:{style:"width:".concat(this.formAttrs.inline?"192px":"100%")},colAttrs:{}},switch:{type:"switch",itemAttrs:{},contentAttrs:{},colAttrs:{}},slider:{type:"slider",contentAttrs:{style:"width:450px"},colAttrs:{}},time:{type:"time",itemAttrs:{},contentAttrs:{style:"width:".concat(this.formAttrs.inline?"192px":"100%")},colAttrs:{}},date:{type:"date",itemAttrs:{},contentAttrs:{style:"width:".concat(this.formAttrs.inline?"192px":"100%")},colAttrs:{}},rate:{type:"rate",itemAttrs:{},contentAttrs:{},colAttrs:{}},upload:{type:"upload",itemAttrs:{},contentAttrs:{},colAttrs:{}},progress:{type:"progress",itemAttrs:{},contentAttrs:{},colAttrs:{}},slot:{type:"slot",itemAttrs:{},contentAttrs:{},colAttrs:{}}}},defaultRowAttrs:function(){return{gutter:this.formAttrs.inline?0:20}},rowAttrs:function(){return k()(this.defaultRowAttrs,this.$attrs.rowAttrs||{})},formAttrs:function(){return k()(this.defaultFormAttrs,this.$attrs.formAttrs||{})},options:function(){return k()(this.defaultOptions,this.$attrs.options||{})},formItems:function(){var t=this;return this.$attrs.formItems.map((function(e){!t.isEnd&&"input"===e.type&&t.focusName&&e.contentAttrs&&(e.contentAttrs.ref=t.focusName,t.isEnd=!0);var n=t.defaultFormItems[e.type];if(e&&e.itemAttrs){var i=n&&n.itemAttrs&&n.itemAttrs.justify;e.itemAttrs.justify=Object.assign({},t.formAttrs.justify,i,e.itemAttrs.justify)}var a=k()(n||{},e,{arrayMerge:D});return a.itemAttrs.prop||(a.itemAttrs.prop=a.name),a}))}},watch:{},methods:{treesleectClick:function(){var t=this.$refs.elSelect;t&&Array.isArray(t)?t.forEach((function(t){t.blur()})):t&&t&&t.blur()},initFocus:function(){var t=this.focusName;this.$refs[t]&&this.$refs[t].focus&&this.$refs[t].focus()},resetForm:function(){this.$refs.form.resetFields()},clearValidate:function(t){this.$refs.form.clearValidate(t)},getForm:function(){return this.$refs.form},getElColStyle:function(t,e){var n=!e||t.span?"":"auto",i="auto";return"width:".concat(n,";height:").concat(i,";").concat(t&&t.style||"")},validate:function(){var t=this;return new Promise((function(e,n){t.$refs.form.validate((function(i,a){var o=t.ruleForm;if(!i)return n({valid:i,obj:a,ruleForm:o}),!1;e(o,{valid:i,obj:a})}))}))},inputKeydown:function(t,e){var n=e.contentAttrs.type;"textarea"===n&&t.stopPropagation()}}},N=z,L=(n("b398"),Object(p["a"])(N,o,r,!1,null,null,null));e["a"]=L.exports},a705:function(t,e,n){"use strict";n("b0c0");var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"add-upload"},[e("el-upload",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"img-uploader cw-component-upload",class:{disabled:t.disabled},style:"width:"+t.width+"px;height:"+t.height+"px",attrs:{action:"","on-change":t.change,"auto-upload":!1,"show-file-list":!1,accept:"image/*","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.5)",disabled:t.disabled}},[t.imageUrl?e("div",{staticClass:"img-box",class:{"img-box-show-close":t.showDelbtn}},[e("img",{style:"width:"+(t.width-2)+"px;height:"+(t.height-2)+"px",attrs:{src:t.GFgetImg(t.imageUrl)}}),t.showDelbtn?e("i",{staticClass:"cw-icon el-icon-circle-close",on:{click:function(e){return e.stopPropagation(),t.delUploadImg.apply(null,arguments)}}}):t._e()]):e("div",{staticClass:"img-default"},[e("div",{staticClass:"plus"},[t._v("+")]),e("p",{staticClass:"tips"},[t._v(t._s(t.tips||t.defaultTips))])])]),t.name?e("div",{staticClass:"name",class:{required:t.required}},[t._v(t._s(t.name))]):t._e()],1)},a=[],o=n("5530"),r=(n("a9e3"),n("99af"),{name:"ImgUploader",mixins:[],props:{value:{type:String,default:""},id:{type:[String,Number],default:null},name:{type:String,default:""},required:{type:Boolean,default:!1},width:{type:Number,default:150},height:{type:Number,default:194},showDelbtn:{type:Boolean,default:!0},useUploadUrl:{type:Boolean,default:!1},uploadMore:{type:Boolean,default:!1},uploadUrl:{type:String},uploadFile:{type:Boolean,default:!1},tips:{type:String,default:""},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},sendParameter:{type:Object,default:function(){return{photoType:1,sceneId:1}}},maxSize:{type:Number,default:10240},minSize:{type:Number,default:5},maxFileName:{type:Number,default:32}},components:{},data:function(){return{httpReg:/^(http|data)/}},created:function(){},mounted:function(){},computed:{defaultTips:function(){return"请上传".concat(this.showKBorMB(this.minSize),"-").concat(this.showKBorMB(this.maxSize),"大小的人脸照片(限jpg,png,bmp格式)")},imageUrl:{get:function(){return this.value},set:function(t){var e=t;this.$emit("input",e),this.$emit("change",e)}}},watch:{},methods:{blobToDataURI:function(t,e){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.readAsDataURL(t)},change:function(t,e){var n=this;if(this.beforeUpload(t.raw)){if(this.uploadMore)return void this.uploadMoreFile(t.raw);if(this.uploadFile)return void this.uploadByFile(t.raw);this.blobToDataURI(t.raw,(function(t){n.useUploadUrl?n.$ajax(n.uploadUrl,{img:t},{base64:"img"}).then((function(){n.imageUrl=t,n.$emit("update:id",t)})):(n.imageUrl=t,n.$emit("update:id",t))}))}},uploadMoreFile:function(t){var e=this;this.blobToDataURI(t,(function(n){var i=Object(o["a"])({img:n,fileName:t.name},e.sendParameter);e.$ajax("/api/photo/add",i,{base64:"img",tip:!1}).then((function(t){var n=t.data;e.imageUrl=n.fullPath,e.$emit("update:id",n.path)}))}))},uploadByFile:function(t){var e=this;this.$ajax(this.uploadUrl,{file:t},{formData:!0,baseURL:"/"}).then((function(n){e.blobToDataURI(t,(function(t){e.imageUrl=t})),e.$emit("update:id",n.data)}))},beforeUpload:function(t){var e={"image/png":!0,"image/jpeg":!0,"image/bmp":!0},n=t.name.substring(0,t.name.lastIndexOf(".")),i=e[t.type]||!1,a=t.size<1024*this.maxSize,o=t.size>1024*this.minSize,r=n.length<=this.maxFileName;if(r||this.$message({showClose:!0,message:"文件名不能大于".concat(this.maxFileName,"个字符"),type:"warning"}),!a){var s="请上传小于".concat(this.showKBorMB(this.maxSize),"的图片!");this.$message({showClose:!0,message:s,type:"warning"})}return o||this.$message({showClose:!0,message:"请上传大于".concat(this.minSize,"KB的图片!"),type:"warning"}),i||this.$message({showClose:!0,message:"上传内容只能是图片格式!",type:"error"}),i&&a&&o&&r},delUploadImg:function(){this.imageUrl="",this.$emit("update:id","")},showKBorMB:function(t){return t>1024?t/1024+"MB":t+"KB"}}}),s=r,l=(n("fc23"),n("2877")),c=Object(l["a"])(s,i,a,!1,null,null,null);e["a"]=c.exports},ab86:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("el-pagination",t._b({directives:[{name:"show",rawName:"v-show",value:t.paginationAttrs.total>t.minTotal,expression:"paginationAttrs.total > minTotal"}],staticClass:"cw-pagination",attrs:{"page-size":t.query.rowsOfPage,"current-page":t.query.currentPage},on:{"update:pageSize":function(e){return t.$set(t.query,"rowsOfPage",e)},"update:page-size":function(e){return t.$set(t.query,"rowsOfPage",e)},"update:currentPage":function(e){return t.$set(t.query,"currentPage",e)},"update:current-page":function(e){return t.$set(t.query,"currentPage",e)},"size-change":t.sizeChange,"current-change":t.currentChange}},"el-pagination",t.paginationAttrs,!1))},a=[],o=(n("a9e3"),n("3c4e")),r=n.n(o),s=function(t,e,n){return e},l={name:"CwPagination",mixins:[],components:{},props:{minTotal:{type:Number,default:10},query:{type:Object,default:function(){return{rowsOfPage:10,currentPage:1}}}},data:function(){return{defaultPaginationAttrs:{"page-sizes":[10,30,50,100],total:0,background:!0,layout:"total, sizes, prev, pager, next, jumper"}}},created:function(){},computed:{paginationAttrs:function(){var t=r()(this.defaultPaginationAttrs,this.$attrs.paginationAttrs||{},{arrayMerge:s});return t}},watch:{},methods:{sizeChange:function(t){var e=this.$attrs.paginationAttrs.total,n=t,i=this.query.currentPage;(e>=n*i||1===i)&&this.$emit("pagination-change",this.query)},setPagination:function(){var t=getLeftLayoutWidth(this.domClass).left+20,e=getLeftLayoutWidth(this.domClass).right+20;t&&e&&this.$set(this.defaultPaginationAttrs,"style",{left:t+"px",right:e+"px"})},currentChange:function(){this.$emit("pagination-change",this.query)}}},c=l,u=(n("bebe"),n("2877")),d=Object(u["a"])(c,i,a,!1,null,"4d6fcf93",null);e["default"]=d.exports},b301:function(t,e,n){},b398:function(t,e,n){"use strict";n("1744")},b620:function(t,e,n){"use strict";n("b301")},b882:function(t,e,n){},bebe:function(t,e,n){"use strict";n("cbe8")},cbe8:function(t,e,n){},d500:function(t,e,n){"use strict";n("568b")},d56f:function(t,e,n){},da3f:function(t,e,n){},db3d:function(t,e,n){"use strict";n("80cf")},e935:function(t,e,n){},e9c2:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"cw-no-data"},[e("div",{staticClass:"content-wrapper"},[e("img",{staticClass:"icon",attrs:{src:t.cSrc,alt:""}}),e("div",{staticClass:"text"},[t._v(t._s(t.text||"暂无数据"))])])])},a=[],o={name:"CwNoData",props:{show:{type:Boolean,default:!1},text:{type:String},src:{type:String,default:""}},data:function(){return{}},computed:{cSrc:function(){return this.src||n("8083")}}},r=o,s=(n("256b"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,"33cfc3b2",null);e["default"]=l.exports},f0695:function(t,e,n){"use strict";n("e935")},f449:function(t,e,n){"use strict";n("d56f")},fc23:function(t,e,n){"use strict";n("25c9")},fd17:function(t,e,n){"use strict";n("338c")}}]); |