(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-22c94016"],{"3f48":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"pre-setting"},[e("CommonTable",{ref:"xTable1",attrs:{showCheckbox:!0,showSeq:!1,titles:t.titles,tableData:t.tableData,filterConfig:t.filterConfig,optButton:t.optButton},on:{optClick:t.optClick},scopedSlots:t._u([{key:"delete",fn:function(i){var a=i.row;return[e("a-popconfirm",{attrs:{placement:"topRight"},on:{confirm:function(e){return t.deleteUser(a)}}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v("确定删除当前角色吗?")]),e("a-button",{staticStyle:{padding:"0"},attrs:{type:"link"}},[t._v("删除")])],1)]}}])},[e("template",{slot:"extraBtns"},[e("a-button",{attrs:{type:"primary"},on:{click:t.addNew}},[t._v("新增")]),e("a-button",{attrs:{type:"danger",ghost:""},on:{click:t.deleteBatch}},[t._v("删除")])],1)],2),e("UserDetail",{attrs:{detailId:t.detailId,show:t.showDetail},on:{close:t.closeDetail}})],1)},n=[],s=i("ea13"),l=i("4f14"),o={components:{CommonTable:s["a"],UserDetail:l["a"]},name:"sysManagerUser",data:function(){return{optButton:[{id:"detail",name:"详情"},{id:"edit",name:"编辑"},{id:"delete",name:"删除"}],filterConfig:[{label:"角色名称",field:"name",type:"input"},{label:"别名",field:"other_name",type:"input"},{label:"手机号码",field:"phone",type:"input"}],titles:[{field:"name",title:"角色名称",width:100,fixed:!0},{field:"other_name",title:"别名",width:100},{field:"des",title:"备注",width:200},{field:"createTime",title:"创建时间",width:100}],tableData:[{name:"超级管理员",other_name:"SA",des:"程序定义管理员, 管理员管控应用所有权限",createTime:"2023-8-25 11:41:10"},{name:"业务管理员",other_name:"Business Administrator",des:"",createTime:"2023-8-25 11:41:10"}],detailId:null,showDetail:!1,showEdit:!1}},methods:{optClick:function(t,e){this.detailId=t.id,"edit"==e?(this.showDetail=!0,this.showEdit=!0):"detail"==e&&(this.showDetail=!0)},deleteUser:function(){this.$message.success("点击删除")},closeDetail:function(){this.showDetail=!1,this.detailId=null},addNew:function(){this.showDetail=!0},deleteBatch:function(){var t=this,e=this.$refs.xTable1.getCheckboxRecords();e.length>0?this.$confirm({title:"数据删除无法复原，确认删除？",onOk:function(){t.$message.success("批量删除")}}):this.$message.warning("请先选择数据！")}}},d=o,r=(i("6e55"),i("2877")),c=Object(r["a"])(d,a,n,!1,null,"a09a9362",null);e["default"]=c.exports},"6e55":function(t,e,i){"use strict";i("d9fc")},d9fc:function(t,e,i){}}]);