bi-element-ui 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +0,0 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{"3a43":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"free-table"},[t("div",{staticClass:"example-table-box"},[t("p",[e._v("基础日期-"+e._s(e.date))]),t("BiDatePicker",{attrs:{type:"date",placeholder:"选择日期"},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}})],1),t("div",{staticClass:"example-table-box"},[t("p",[e._v("基础周-"+e._s(e.date1))]),t("BiDatePicker",{attrs:{type:"week",placeholder:"选择周"},model:{value:e.date1,callback:function(t){e.date1=t},expression:"date1"}})],1),t("div",{staticClass:"example-table-box"},[t("p",[e._v("基础月-"+e._s(e.date2))]),t("BiDatePicker",{attrs:{type:"month",placeholder:"选择周"},model:{value:e.date2,callback:function(t){e.date2=t},expression:"date2"}})],1),t("div",{staticClass:"example-table-box"},[t("p",[e._v("范围日期-"+e._s(e.date3))]),t("BiDatePicker",{attrs:{type:"daterange",placeholder:"选择日期1","picker-option":e.pickerOptions1},model:{value:e.date3,callback:function(t){e.date3=t},expression:"date3"}}),t("p",[e._v("范围日期-"+e._s(e.date7))]),t("BiDatePicker",{attrs:{type:"daterange",placeholder:"选择日期2","picker-option":e.pickerOptions2},model:{value:e.date7,callback:function(t){e.date7=t},expression:"date7"}})],1),t("div",{staticClass:"example-table-box"},[t("p",[e._v("范围月-"+e._s(e.date5))]),t("BiDatePicker",{attrs:{type:"monthrange",placeholder:"选择日期",format:"yyyy-MM"},model:{value:e.date5,callback:function(t){e.date5=t},expression:"date5"}})],1),t("div",{staticClass:"example-table-box"},[t("p",[e._v("范围日期时间-"+e._s(e.date6))]),t("BiDatePicker",{attrs:{type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"],"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.date6,callback:function(t){e.date6=t},expression:"date6"}})],1)])},s=[],l=a("bb03"),o=a.n(l),r={components:{},data(){return{date:"",date1:"",date2:"",date3:[],date4:[],date5:[],date6:[],date7:[],columnsProps:{width:"auto"},total:0,listQuery:{page:2,limit:20},editForm:{},dialogVisible:!1,pickerOptions1:{firstDayOfWeek:1,onPick:({minDate:e,maxDate:t})=>{console.log(1,o()(e).format("YYYY-MM-DD"))}},pickerOptions2:{firstDayOfWeek:1,onPick:({minDate:e,maxDate:t})=>{console.log(2,o()(e).format("YYYY-MM-DD"))}}}},methods:{selectionChange(e){console.log("selected",e)},getList(){},openDialog({row:e}){this.editForm=Object.assign({},e),this.dialogVisible=!0}}},d=r,c=(a("e12d"),a("4a4e")),n=Object(c["a"])(d,i,s,!1,null,"49a6bb0c",null);t["default"]=n.exports},"3f0e":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"example-table-box",staticStyle:{"padding-top":"20px"}},[t("p",[e._v("测试表格")]),t("div",{staticClass:"test"},[t("el-table",{directives:[{name:"sticky-header",rawName:"v-sticky-header",value:{offsetTop:0},expression:"{offsetTop:0}"},{name:"sticky-footer",rawName:"v-sticky-footer"}],attrs:{data:e.data,"show-summary":""}},[t("el-table-column",{attrs:{label:"日期",prop:"date",width:"160"}}),t("el-table-column",{attrs:{label:"姓名",prop:"name"}}),t("el-table-column",{attrs:{label:"省份",prop:"province"}}),t("el-table-column",{attrs:{label:"市区",prop:"city"}}),t("el-table-column",{attrs:{label:"地址",prop:"address","min-width":"200"}}),t("el-table-column",{attrs:{label:"地址",prop:"address2","min-width":"200"}}),t("el-table-column",{attrs:{label:"邮编",prop:"zip",fixed:"right"}})],1)],1),t("bi-table",{attrs:{border:"",stripe:"",data:e.data,column:e.basicColumn,"show-summary":"","summary-method":e.getSummaries}})],1),t("el-button",{attrs:{type:""},on:{click:e.search}},[e._v("搜索")]),t("div",{staticClass:"example-table-box",staticStyle:{"padding-top":"20px"}},[t("p",[e._v("sticky表格")]),t("bi-table",{ref:"table",attrs:{border:"",stripe:"",fixed:"sticky",data:e.data,column:e.basicColumn,"show-summary":"","summary-method":e.getSummaries}})],1)],1)},s=[],l=a("ee74"),o={components:{},mixins:[l["a"]],data(){return{basicData2:[],basicColumn:[{label:"日期",prop:"date",sortable:!0,fixed:!0},{label:"姓名",prop:"name"},{label:"省份",prop:"province"},{label:"市区",prop:"city"},{label:"地址",prop:"address",width:()=>this.aaWidth},{label:"地址2",prop:"address2",minWidth:()=>"100"},{label:"邮编",prop:"zip"},{label:"v-model",prop:"other",fixed:"right",render:(e,t)=>e("input",{on:{input(e){t.row.name=e.target.value}},domProps:{value:t.row.name},style:{width:"100%",minHeight:"30px",color:"red",border:"1px solid #ddd"}})}],tableLoading:!1,columnsProps:{width:"auto"},total:0,listQuery:{page:2,limit:20},editForm:{},dialogVisible:!1}},computed:{aaWidth(){return 400}},methods:{selectionChange(e){console.log("selected",e)},getList(){},openDialog({row:e}){this.editForm=Object.assign({},e),this.dialogVisible=!0},setTableColumn(e){this.$set(this,"basicColumn",[]),setTimeout(()=>{this.$set(this,"basicColumn",e)},10)},getSummaries(){return["合计","2016-05-03","王小虎","上海","普陀区","上海市普陀区金沙江路 1518 弄","上海市普陀区金沙江路 1518 弄",200333]},search(){const e=JSON.parse(JSON.stringify(this.data));this.data=e.splice(0,7),this.$nextTick(()=>{this.$refs.table.resetHeaderFooter&&this.$refs.table.resetHeaderFooter()})}}},r=o,d=(a("5582"),a("4a4e")),c=Object(d["a"])(r,i,s,!1,null,"3589ac10",null);t["default"]=c.exports},5582:function(e,t,a){"use strict";a("935f")},"68d2":function(e,t,a){},"88e9":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"box"},[t("header",[t("BiNavbarTool",{attrs:{token:e.token,avatar:e.avatar}})],1)])},s=[],l={data(){return{token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIxNTc1NzE4NTMyMiIsImxvZ2luX2VudiI6IiIsImlhdCI6MTY5NzExNTUzMCwiZXhwIjoxNjk3NzIwMzMwLCJuYmYiOjE2OTcxMTU1MzAsInN1YiI6InRva2Vu6K6k6K-BIiwianRpIjoiYzMzYTMzZDQyMTcyMWRmNzVhNWUzYjIwYzY3NGRlMGMifQ.Oc14XCMuGjQLVPzxp3QNnlzty28f_TmQhbjMEvV6GNE",avatar:"https://static-legacy.dingtalk.com/media/lADPBbCc1SE7SD7NAuzNAug_744_748.jpg?imageView2/1/w/80/h/80"}},methods:{}},o=l,r=(a("ce3c"),a("4a4e")),d=Object(r["a"])(o,i,s,!1,null,"f24ce6bc",null);t["default"]=d.exports},"935f":function(e,t,a){},cad6:function(e,t,a){},ce3c:function(e,t,a){"use strict";a("cad6")},e12d:function(e,t,a){"use strict";a("68d2")},f45b:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("bi-home-data")},s=[],l=a("4a4e"),o={},r=Object(l["a"])(o,i,s,!1,null,null,null);t["default"]=r.exports}}]);
2
- //# sourceMappingURL=about.d71b6783.js.map