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
16 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b9b6f892"],{"2bc6":function(e,t,a){"use strict";a("4ebf")},"3feb":function(e,t,a){},"46bc":function(e,t,a){"use strict";a.d(t,"c",(function(){return o})),a.d(t,"e",(function(){return i})),a.d(t,"d",(function(){return r})),a.d(t,"b",(function(){return l})),a.d(t,"a",(function(){return s}));var n=a("b775");function o(e){return Object(n["a"])({url:"/admin/apiadmin/sysmenu/listAllVoForSourceG",method:"POST",data:e,headers:{"Content-Type":"application/json"}})}function i(e){return Object(n["a"])({url:"/admin/apiadmin/sysmenu/save",method:"POST",data:e,headers:{"Content-Type":"application/json"}})}function r(e){return Object(n["a"])({url:"/admin/apiadmin/sysmenu/update/"+e.sid,method:"POST",data:e,headers:{"Content-Type":"application/json"}})}function l(e){return Object(n["a"])({url:"/admin/apiadmin/sysmenu/delBySids/"+e.sid,method:"get",data:e,headers:{"Content-Type":"application/json"}})}function s(e){return Object(n["a"])({url:"/admin/apiadmin/sysmenu/updateIsEnable/"+e.sid+"/"+e.isEnable,method:"POST",headers:{"Content-Type":"application/json"}})}},"4ebf":function(e,t,a){},ddcc:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("el-tabs",{staticClass:"my-tabs",attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"菜单列表",name:"roleList"}},[t("div",{staticClass:"content"},[t("div",{staticClass:"table-describe clearfix"},[t("h4",{staticStyle:{color:"#000"}},[e._v("菜单列表")])]),t("div",{staticClass:"listconadd"},[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%","margin-bottom":"100px"},attrs:{data:e.tableData,border:"","row-key":"sid","tree-props":{children:"children",hasChildren:"hasChildren"}}},[t("el-table-column",{attrs:{prop:"name",label:"菜单名称",width:"220"}}),t("el-table-column",{attrs:{label:"操作",width:"260",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.add(a.row)}}},[e._v(" 添加子菜单 ")]),"0"==a.row.isSource?t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.editRow(a.row)}}},[e._v(" 修改 ")]):e._e(),"0"==a.row.isSource?t("el-button",{attrs:{type:"danger",size:"mini"},nativeOn:{click:function(t){return t.preventDefault(),e.deleteRow(a.row)}}},[e._v(" 删除 ")]):e._e()]}}])}),t("el-table-column",{attrs:{prop:"menuTypeValue",width:"120",label:"类型",align:"center"}}),t("el-table-column",{attrs:{prop:"menuUrl",label:"路由名称",align:"center"}}),t("el-table-column",{attrs:{prop:"pageUrl",label:"路由路径",align:"center"}}),t("el-table-column",{attrs:{prop:"pageName",label:"组件路径",align:"center"}}),t("el-table-column",{attrs:{prop:"cid",label:"权限标识",align:"center"}}),t("el-table-column",{attrs:{prop:"isEnable",label:"状态",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949","active-value":"1","inactive-value":"0"},on:{change:function(t){return e.enabledChange(a.row.isEnable,a.row)}},model:{value:a.row.isEnable,callback:function(t){e.$set(a.row,"isEnable",t)},expression:"scope.row.isEnable"}})]}}])}),t("el-table-column",{attrs:{prop:"sortNo",label:"排序",align:"center"}})],1)],1)]),t("el-dialog",{attrs:{title:e.dialogTitle+"功能信息",visible:e.editDialog,width:"40%"},on:{"update:visible":function(t){e.editDialog=t}}},[t("table",{staticClass:"e-table",attrs:{cellspacing:"0"}},[t("tr",[t("td",[e._v("资源名称")]),t("td",[t("el-input",{staticStyle:{width:"300px"},attrs:{disabled:!0},model:{value:e.form.sourceName,callback:function(t){e.$set(e.form,"sourceName",t)},expression:"form.sourceName"}})],1)]),t("tr",[t("td",[e._v("上级菜单")]),t("td",[t("el-select",{staticStyle:{width:"300px"},attrs:{placeholder:"请选择",disa