mirror of
https://github.com/iczer/vue-antd-admin.git
synced 2025-04-06 03:57:44 +08:00
1 line
1.7 KiB
JavaScript
1 line
1.7 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4dc51b4e"],{"3f97":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-card",[n("a-space",{staticClass:"operator"},[n("a-button",{attrs:{type:"primary"}},[e._v("新建")]),n("a-button",[e._v("批量操作")]),n("a-button",[e._v("删除")])],1),n("a-table",{attrs:{columns:e.columns,"data-source":e.list,pagination:!1,loading:e.loading,rowKey:"id",rowSelection:{selectedRowKeys:e.selectedRowKeys,onSelect:e.onSelect,onSelectAll:e.onSelectAll}},scopedSlots:e._u([{key:"headerCell",fn:function(t){var a=t.column;return["icon"===a.key?[e._v(" 图标 ")]:"action"===a.key?[n("span",[n("a",[e._v("编辑")]),n("a-divider",{attrs:{type:"vertical"}}),n("a",[e._v("删除")])],1)]:e._e()]}}])})],1)},c=[],o=n("7424"),i=n("b775"),l=[{title:"ID",dataIndex:"id",key:"id"},{title:"标题",dataIndex:"title",key:"title"},{title:"图标",dataIndex:"icon",key:"icon"},{title:"规则",dataIndex:"name",key:"name"},{title:"权重",dataIndex:"weigh",key:"weigh"},{title:"状态",dataIndex:"status",key:"status"},{title:"菜单",dataIndex:"ismenu",key:"ismenu"},{title:"操作",scopedSlots:{customRender:"action"}}],s={name:"Rule",data:function(){return{columns:l,list:[],loading:!0,selectedRows:[]}},computed:{selectedRowKeys:function(){return!0}},created:function(){var e=this;Object(i["e"])(o["RULE"],"get").then((function(t){e.list=t.data.data,e.loading=!1}))},methods:{onSelect:function(){},onSelectAll:function(){}}},d=s,u=(n("6f4f1"),n("0c7c")),r=Object(u["a"])(d,a,c,!1,null,"373a01c9",null);t["default"]=r.exports},"6e9c":function(e,t,n){},"6f4f1":function(e,t,n){"use strict";var a=n("6e9c"),c=n.n(a);c.a}}]); |