EMS2.0-Documents/7.部署文档/Linux安装/项目前端文件/IEMS/js/chunk-259f2063.59c8a86f.js

2 lines
14 KiB
JavaScript
Raw Normal View History

2024-11-28 09:29:02 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-259f2063"],{"1f27":function(e,t,n){"use strict";n.d(t,"h",(function(){return o})),n.d(t,"f",(function(){return r})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"e",(function(){return m})),n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return d}));n("e9c4");var i=n("b775"),s=n("4328"),a=n.n(s);function o(){return Object(i["a"])({url:"user-service/permission/getDeptPermissionTree",method:"get"})}function r(e){var t=JSON.stringify(e);return Object(i["a"])({headers:{"Content-Type":"application/json"},url:"user-service/permission/updatePermission",method:"post",data:t})}function l(e){var t=JSON.stringify(e);return Object(i["a"])({headers:{"Content-Type":"application/json"},url:"user-service/permission/savePermission",method:"post",data:t})}function c(e){var t={permissionIds:e};return Object(i["a"])({url:"user-service/permission/removePermission",method:"get",params:t})}function u(){return Object(i["a"])({url:"user-service/appPermission/getAppDeptPermissionTree",method:"get"})}function m(e){var t=a.a.stringify(e);return Object(i["a"])({url:"user-service/appPermission/updatePermission",method:"post",data:t})}function p(e){var t=a.a.stringify(e);return Object(i["a"])({url:"user-service/appPermission/savePermission",method:"post",data:t})}function d(e){var t={permissionIds:e};return Object(i["a"])({headers:{"Content-Type":"application/json"},url:"user-service/appPermission/removePermission",method:"get",params:t})}},3439:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"decorate"}),n("div",{staticClass:"filter-container"},[e._t("default"),n("div",{staticClass:"btn-box"},[n("span",{staticClass:"btn-item long",on:{click:function(t){return e.handleCreate(0)}}},[n("i",{staticClass:"iconfont icon-a-"}),e._v(e._s(e.$t("menu.addToplevel")))]),n("span",{staticClass:"btn-item long",on:{click:function(t){return e.handleCreate(1)}}},[n("i",{staticClass:"iconfont icon-a-"}),e._v(e._s(e.$t("menu.addChild")))])])],2),n("div",{staticClass:"table-container"},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],attrs:{"default-expand-all":!1,data:e.data,"row-key":"permissionId","max-height":"680","header-row-class-name":"table-header","row-class-name":"table-row","highlight-current-row":"","tree-props":{children:"children",hasChildren:"hasChildren"}},on:{"current-change":e.handleCurrentChange}},[n("el-table-column",{attrs:{prop:"permissionName",align:"left",label:e.$t("menu.permissionName")}}),n("el-table-column",{attrs:{label:e.$t("menu.permissionType"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.permissionType?n("span",[e._v(e._s(e.$t("permissionType.list")))]):e._e(),1===t.row.permissionType?n("span",[e._v(e._s(e.$t("permissionType.menu")))]):e._e(),2===t.row.permissionType?n("span",[e._v(e._s(e.$t("permissionType.button")))]):e._e(),3===t.row.permissionType?n("span",[e._v(e._s(e.$t("permissionType.joggle")))]):e._e()]}}])}),n("el-table-column",{attrs:{prop:"title",align:"left",label:e.$t("menu.permissionNameEn")}}),n("el-table-column",{attrs:{prop:"path",align:"left",label:e.$t("menu.path")}}),n("el-table-column",{attrs:{prop:"component",align:"left",label:e.$t("menu.component")}}),n("el-table-column",{attrs:{prop:"icon",align:"left",label:e.$t("menu.icon"),width:"120"}}),n("el-table-column",{attrs:{prop:"buttonCode",align:"left",label:e.$t("menu.buttonCode")}}),n("el-table-column",{attrs:{prop:"",label:e.$t("menu.alwaysShow"),align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",{staticClass:"btn",class:{red:1!==t.row.alwaysShow}},[e._v(" "+e._s(e._f("showStatusFilter")(t.row.alwaysShow,e.that)))])]}}])}),n("el-table-column",{attrs:{prop:"",label:e.$t("menu.noCache"),align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",{s
//# sourceMappingURL=chunk-259f2063.59c8a86f.js.map