element-assits 0.0.32 → 0.0.33

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 +0,0 @@
1
- import{n as t,_}from"./index.0ba6ca94.js";const r={methods:{handleClick(){this.$asyncLoad(()=>_(()=>import("./TestModal.d6be1294.js"),["assets/TestModal.d6be1294.js","assets/index.0ba6ca94.js","assets/index.4fcff5e0.css"]))}}};var a=function(){var n=this,e=n._self._c;return e("el-button",{attrs:{type:"primary"},on:{click:n.handleClick}},[n._v("\u6D4B\u8BD5\u5F39\u7A97")])},l=[],o=t(r,a,l,!1,null,null,null,null);const i=o.exports;export{i as default};
@@ -1 +0,0 @@
1
- import{n as r}from"./index.0ba6ca94.js";const s=new Array(400).fill(0).map((t,e)=>({label:"\u5355\u9879"+e,value:e})),a={data(){return{list:s}}};var l=function(){var e=this,n=e._self._c;return n("div",{staticClass:"box"},[n("EaVirtualScroll",{attrs:{options:e.list,"item-size":30}})],1)},_=[],c=r(a,l,_,!1,null,"4cb96ec3",null,null);const i=c.exports;export{i as default};
@@ -1 +0,0 @@
1
- import{n as a}from"./index.0ba6ca94.js";const l=new Array(3e3).fill(0).map((n,e)=>({userId:"123",username:"zhangsan",userCnName:"\u5F20\u4E09",password:"******",deptId:"123",phone:"133****4566",roleList:[],lockFlag:e})),s=[{label:"\u6240\u5C5E\u90E8\u95E8",prop:"deptId",component:"EaSelect",bind:n=>({props:{desc:"desc"},filterable:!0,data:new Array(1e3).fill(0).map((e,t)=>({label:"\u67D0\u67D0\u94F6\u884C"+t,value:t,desc:"\u6BD4\u8F83\u957F\u7684\u63CF\u8FF0"+t}))})},{label:"\u7528\u6237\u540D",prop:"username"},{label:"\u65E5\u671F",prop:"date",exclusiveDoubleCells:!0},{label:"\u7528\u6237\u4E2D\u6587\u540D",prop:"userCnName"},{label:"\u5BC6\u7801",prop:"password"},{label:"\u624B\u673A\u53F7",prop:"phone"},{label:"\u89D2\u8272",prop:"roleList"},{label:"\u72B6\u6001",prop:"lockFlag"}],p=[{label:"id",prop:"userId",key:0,show:!1},{label:"\u7528\u6237\u540D",prop:"username"},{label:"\u7528\u6237\u4E2D\u6587\u540D",prop:"userCnName"},{label:"\u5BC6\u7801",prop:"password"},{label:"\u6240\u5C5E\u90E8\u95E8",prop:"deptId"},{label:"\u624B\u673A\u53F7",prop:"phone"},{label:"\u89D2\u8272",prop:"roleList"},{label:"\u72B6\u6001",prop:"lockFlag",component:"el-switch"}],c={data(){return{i:2,data:l,column:p,searchForm:{a:1},searchColumn:s,selectedRows:[]}},methods:{handleTest(){this.searchForm.deptId=999},handleEdit(n){console.log(n)},handleDel(n){console.log(n)},pageRequest(){return Promise.resolve({data:l,total:l.length*5e9})}}};var i=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{margin:"0 auto"}},[t("EaTable",{attrs:{column:e.column,data:e.data,"inner-form":{column:e.searchColumn,model:e.searchForm},"inner-pagination":!0,"inner-operation":{maxNumOfBtn:3},"inner-selection":{data:e.selectedRows}},scopedSlots:e._u([{key:"top-menu",fn:function(){return[t("el-button",{attrs:{type:"primary"},on:{click:e.handleTest}},[e._v("\u6D4B\u8BD5")]),t("el-button",{attrs:{type:"primary",icon:"el-icon-plus"}},[e._v("\u65B0\u589E")])]},proxy:!0},{key:"row-menu",fn:function(o){return[t("el-button",{attrs:{type:"text",icon:"el-icon-view"}},[e._v("\u67E5\u770B")]),t("el-button",{attrs:{type:"text",icon:"el-icon-edit"},on:{click:function(r){return e.handleEdit(o)}}},[e._v("\u7F16\u8F91")]),t("el-button",{attrs:{type:"text",icon:"el-icon-delete"},on:{click:function(r){return e.handleDel(o)}}},[e._v("\u5220\u9664")]),t("el-button",{attrs:{type:"text",icon:"el-icon-reading"}},[e._v("\u6BD4\u8F83")]),t("el-button",{attrs:{type:"text",icon:"el-icon-s-operation"}},[e._v("\u5386\u53F2\u8BB0\u5F55")])]}},{key:"bottom-menu",fn:function(){return[t("el-button",{attrs:{type:"primary",disabled:!e.selectedRows.length,icon:"el-icon-delete"}},[e._v("\u6279\u91CF\u5220\u9664")])]},proxy:!0}])})],1)},u=[],d=a(c,i,u,!1,null,null,null,null);const b=d.exports;export{b as default};