You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
164 KiB

3 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1301e318","chunk-2b812ece","chunk-22cea610"],{"087e":function(t,e,a){},"0d67":function(t,e,a){"use strict";a("3158")},"0e31":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{ref:"lxHeader"},[a("lx-header",{staticStyle:{"margin-bottom":"10px",border:"0px","margin-top":"15px"},attrs:{icon:"md-apps",text:"日志"}},[a("div",{attrs:{slot:"content"},slot:"content"}),t._t("default",[a("header-content",{attrs:{auths:t.auths_auth_mixin},scopedSlots:t._u([{key:"search",fn:function(){return[a("el-input",{staticStyle:{width:"160px","margin-right":"6px"},attrs:{placeholder:"请输入关键词",size:"mini"},model:{value:t.select.keywords,callback:function(e){t.$set(t.select,"keywords",e)},expression:"select.keywords"}}),a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(e){return t.$refs["xyTable"].getTableData(!0)}}},[t._v("搜索")])]},proxy:!0}])})])],2)],1),a("xy-table",{ref:"xyTable",attrs:{"req-opt":t.select,"res-prop":"list.data",action:t.logs,"table-item":t.table,auths:t.auths_auth_mixin}})],1)},r=[],n=a("69c6"),o=a("18f3"),s={mixins:[o["a"]],data:function(){return{select:{keywords:""},table:[{prop:"name",label:"姓名",width:160},{prop:"idcard",label:"身份证号",width:200},{prop:"year",label:"年份",width:140},{prop:"way",label:"操作",align:"left",minWidth:200},{prop:"created_at",label:"操作时间",width:200}]}},methods:{logs:n["e"]},computed:{}},l=s,c=a("2877"),u=Object(c["a"])(l,i,r,!1,null,"e8c4d6b2",null);e["default"]=u.exports},"0e6d":function(t,e,a){"use strict";a("eea9")},"0eb1":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"container"},[a("div",[a("div",{ref:"lxHeader"},[a("LxHeader",{staticStyle:{"margin-bottom":"10px",border:"0px","margin-top":"15px"},attrs:{icon:"md-apps",text:"权限管理"}},[a("div",{attrs:{slot:"content"},slot:"content"}),t._t("default")],2)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:3}},[a("Card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",staticStyle:{height:"32px","line-height":"32px"},attrs:{slot:"title"},slot:"title"},[a("span",[t._v("角色列表")])]),a("div",{staticStyle:{overflow:"auto"},style:{height:t.height+"px"}},[a("el-scrollbar",{staticStyle:{flex:"1"}},[a("el-tabs",{attrs:{"tab-position":"left"},on:{"tab-click":t.roleChange},model:{value:t.activeRole,callback:function(e){t.activeRole=e},expression:"activeRole"}},t._l(t.rolelist,(function(t,e){return a("el-tab-pane",{key:t.id,attrs:{label:t.name,name:t.rowid}})})),1)],1)],1)])],1),a("el-col",{attrs:{span:21}},[a("Card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",staticStyle:{height:"32px","line-height":"32px"},attrs:{slot:"title"},slot:"title"},[a("span",[t._v("菜单列表")]),a("Button",{staticStyle:{float:"right"},attrs:{type:"primary"},on:{click:t.savepermission}},[t._v("保存")])],1),a("div",{staticStyle:{overflow:"auto"},style:{height:t.height+"px"}},[a("el-scrollbar",{staticStyle:{flex:"1"}},[a("el-tree",{ref:"tree",staticStyle:{padding:"15px"},attrs:{data:t.tree,"expand-on-click-node":!1,"default-expand-all":"","node-key":"id","show-checkbox":""},scopedSlots:t._u([{key:"default",fn:function(e){e.node;var i=e.data;return a("div",{staticClass:"action-group"},[a("div",{staticClass:"action-text",style:{width:18*(4-i.lv)+150+"px"}},[t._v(" "+t._s(i.name)+" ")]),a("div",{staticClass:"action-item"},t._l(i.auth_node_tags_array,(function(e,i){return a("el-checkbox",{key:i,on:{change:function(){}},model:{value:e.checked,callback:function(a){t.$set(e,"checked",a)},expression:"item.checked"}},[t._v(" "+t._s(e.name)+" ")])})),1)])}}])})],1)],1)])],1)],1)],1)])},r=[],n=a("b85c"),o=(a("4de4"),a("a15b"),a("d81d"),a("b0c0"),a("e9c4"),a("b64b"),a("d3b7"),a("25f0"),a("0643"),a("2382"),a("4e3e"),a("a573"),a("159b"),a("548e")),s=a("3528"),l=a("a6dc"),c=a("b775");function u(t){return Object(c["a"])({url:"/api/admin/role/set-permissions",method:"post",da