chunk-06335b5a.f27d6041.js.map 25 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/system/Role.vue?3b4b","webpack:///src/views/system/Role.vue","webpack:///./src/views/system/Role.vue?478e","webpack:///./src/views/system/Role.vue","webpack:///./src/components/Page.vue?61f7","webpack:///./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js","webpack:///./src/components/Page.vue?5a44","webpack:///src/components/Page.vue","webpack:///./src/components/Page.vue?7e0d","webpack:///./src/components/Page.vue","webpack:///./src/views/system/Role.vue?986e"],"names":["render","_vm","this","_h","$createElement","_c","_self","_m","staticClass","attrs","model","value","form","callback","$$v","$set","expression","on","search","_v","staticStyle","$event","dialogVisible","dialogTitle","directives","name","rawName","list","scopedSlots","_u","key","fn","scope","edit","row","id","del","ref","page","page_size","total","gopage","form1","data","defaultProps","handleCheckChange","slot","save","staticRenderFns","components","loading","input","selected","methods","created","component","$iterators","getKeys","redefine","global","hide","Iterators","wks","ITERATOR","TO_STRING_TAG","ArrayValues","Array","DOMIterables","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","collections","i","length","NAME","explicit","Collection","proto","prototype","current","getData","handleSizeChange"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACJ,EAAIM,GAAG,GAAGF,EAAG,MAAM,CAACG,YAAY,WAAW,CAACH,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,UAAU,CAACI,MAAM,CAAC,KAAO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AW1B,IAAM,K,yDCvDjG,IAAI9B,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAAgB,CAACI,MAAM,CAAC,WAAa,GAAG,YAAYR,EAAIsC,UAAUtC,EAAIsC,UAAU,GAAG,eAAetC,EAAI0G,QAAQ,aAAa,CAAC,GAAG,GAAI,GAAI,GAAI,GAAG,GAAG,GAAG,GAAG,GAAG,KAAK,OAAS,gCAAgC,MAAQ1G,EAAIuC,OAAOvB,GAAG,CAAC,iBAAiBhB,EAAI2G,QAAQ,cAAc3G,EAAI4G,qBAC7W7D,EAAkB,GCwBtB,GACE,KADF,WAEI,MAAJ,CACM,KAAN,IAGE,MAAF,CACI,MAAJ,GACI,UAAJ,GACI,QAAJ,IAEE,QAAF,CACI,QADJ,SACA,GAMM,KAAN,OACM,KAAN,qBAEI,iBAVJ,SAUA,GACM,KAAN,wBAGE,QAzBF,cCzBkb,I,wBCQ9aO,EAAY,eACd,EACAvD,EACAgD,GACA,EACA,KACA,KACA,MAIa,OAAAO,E,kECnBf","file":"js/chunk-06335b5a.f27d6041.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_vm._m(0),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"filter\"},[_c('el-form',{attrs:{\"size\":\"small\",\"label-width\":\"70px\",\"inline\":true,\"label-position\":\"left\"}},[_c('el-form-item',{attrs:{\"label\":\"\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入角色名称\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.search}},[_vm._v(\"搜索\")])],1),_c('el-form-item',{staticStyle:{\"float\":\"right\"}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.dialogVisible=true,_vm.dialogTitle='新增角色'}}},[_vm._v(\"新增角色\")])],1)],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"table\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.list,\"height\":\"50vh\",\"border\":\"\",\"default-expand-all\":\"\",\"row-key\":\"id\"}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"width\":\"300\",\"label\":\"角色名称\"}}),_c('el-table-column',{attrs:{\"prop\":\"permstr\",\"label\":\"角色权限\"}}),_c('el-table-column',{attrs:{\"prop\":\"zip\",\"width\":\"150\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{staticClass:\"edit\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.edit(scope.row.id)}}},[_vm._v(\"编辑\")]),_c('el-button',{staticClass:\"del\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.del(scope.row.id)}}},[_vm._v(\"删除\")])]}}])})],1),_c('Page',{ref:\"pageButton\",attrs:{\"current\":_vm.form.page,\"page_size\":_vm.form.page_size,\"total\":_vm.total},on:{\"pageChange\":_vm.gopage}})],1),_c('el-dialog',{attrs:{\"title\":_vm.dialogTitle,\"close-on-click-modal\":false,\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{staticClass:\"preview\",attrs:{\"size\":\"small\",\"inline\":false,\"label-width\":\"80px\"}},[_c('el-form-item',{attrs:{\"label\":\"角色名称\"}},[_c('el-input',{model:{value:(_vm.form1.name),callback:function ($$v) {_vm.$set(_vm.form1, \"name\", $$v)},expression:\"form1.name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"角色权限\"}},[_c('el-tree',{ref:\"tree\",attrs:{\"data\":_vm.data,\"show-checkbox\":\"\",\"node-key\":\"id\",\"default-expand-all\":\"\",\"props\":_vm.defaultProps},on:{\"check-change\":_vm.handleCheckChange}})],1)],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"确 定\")])],1)],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',[_vm._v(\"系统管理>\")]),_vm._v(\"角色管理\")])}]\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n .preview{\r\n .el-form-item{\r\n margin-bottom:15px;\r\n }\r\n label,p{\r\n line-height: 25px !important;\r\n }\r\n }\r\n</style>\r\n<template>\r\n <section>\r\n <p><span>系统管理></span>角色管理</p>\r\n <div class=\"content\">\r\n <div class=\"filter\">\r\n <el-form size=\"small\" label-width=\"70px\" :inline=\"true\" label-position=\"left\">\r\n <el-form-item label=\"\">\r\n <el-input clearable placeholder=\"请输入角色名称\" v-model=\"form.name\"></el-input>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" @click=\"search\">搜索</el-button>\r\n </el-form-item>\r\n <el-form-item style=\"float:right\" >\r\n <el-button @click=\"dialogVisible=true,dialogTitle='新增角色'\" type=\"primary\">新增角色</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n <el-table\r\n class=\"table\"\r\n :data=\"list\" height=\"50vh\"\r\n border v-loading=\"loading\"\r\n default-expand-all row-key=\"id\"\r\n style=\"width: 100%\">\r\n <el-table-column\r\n prop=\"name\" width=\"300\"\r\n label=\"角色名称\">\r\n </el-table-column>\r\n <el-table-column\r\n prop=\"permstr\" \r\n label=\"角色权限\">\r\n </el-table-column>\r\n <!-- <el-table-column\r\n prop=\"username\" \r\n label=\"角色描述\">\r\n </el-table-column> -->\r\n <el-table-column \r\n prop=\"zip\" width=\"150\"\r\n label=\"操作\">\r\n <template slot-scope=\"scope\">\r\n <el-button class=\"edit\" type=\"text\" @click=\"edit(scope.row.id)\">编辑</el-button>\r\n <el-button class=\"del\" @click=\"del(scope.row.id)\" type=\"text\">删除</el-button>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <Page ref=\"pageButton\" :current='form.page' :page_size='form.page_size' :total='total' @pageChange='gopage'/>\r\n </div>\r\n\r\n <el-dialog\r\n :title=\"dialogTitle\" :close-on-click-modal='false'\r\n :visible.sync=\"dialogVisible\">\r\n <el-form size=\"small\" class=\"preview\" :inline='false' label-width=\"80px\">\r\n <el-form-item label=\"角色名称\">\r\n <el-input v-model=\"form1.name\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"角色权限\">\r\n <!-- <el-input placeholder=\"请输入内容\" v-model=\"input\" class=\"input-with-select\">\r\n <el-button slot=\"append\" icon=\"el-icon-search\"></el-button>\r\n </el-input> -->\r\n <el-tree\r\n ref=\"tree\"\r\n :data=\"data\"\r\n show-checkbox\r\n node-key=\"id\" default-expand-all\r\n :props=\"defaultProps\"\r\n @check-change=\"handleCheckChange\">\r\n </el-tree>\r\n </el-form-item>\r\n <!-- <el-form-item label=\"角色描述\">\r\n <el-input v-model=\"form1.desc\"></el-input>\r\n </el-form-item> -->\r\n </el-form>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <el-button size=\"small\" type=\"primary\" @click=\"save\">确 定</el-button>\r\n </span>\r\n </el-dialog>\r\n </section>\r\n</template>\r\n<script>\r\nimport Page from '../../components/Page';\r\nexport default {\r\n components:{\r\n Page\r\n },\r\n data(){\r\n return{\r\n form:{name:'',page:1,page_size:20},\r\n form1:{},\r\n total:1,\r\n list:[{name:'2333'}],\r\n loading:false,\r\n input:'',\r\n dialogVisible:false,\r\n dialogTitle:\"\",\r\n defaultProps:{},\r\n data: [],\r\n selected:[]\r\n }\r\n },\r\n methods:{\r\n getPermissions(){\r\n this.$api.getUserPermissions().then(res=>{\r\n this.data = res.data.data\r\n })\r\n },\r\n handleCheckChange(data, checked, indeterminate) {\r\n this.selected = this.$refs.tree.getCheckedNodes()\r\n },\r\n search(){\r\n let parm = this.form\r\n this.getData()\r\n },\r\n getData(){\r\n var parm=this.form; \r\n this.loading=true\r\n this.$api.getRoleList(parm).then(res=>{\r\n let list = res.data.data.list;\r\n list.forEach(item => {\r\n let perms = []\r\n let permissions = JSON.parse(item.permissions)\r\n if(permissions){\r\n permissions.forEach(iitem=>{\r\n perms.push(iitem.label)\r\n })\r\n item.permstr = perms.join(\",\")\r\n }\r\n });\r\n this.list = list\r\n this.total = res.data.data.total\r\n this.loading = false\r\n })\r\n },\r\n edit(id){\r\n this.getData()\r\n this.$api.getRoleInfo({id:id}).then((res)=>{\r\n this.form1 = res.data.data\r\n let perms = JSON.parse(res.data.data.permissions)\r\n this.$refs.tree.setCheckedNodes(perms)\r\n this.selected = perms\r\n })\r\n this.dialogVisible = true;\r\n },\r\n del(id){\r\n this.$confirm('确定删除吗', '提示', {\r\n type: 'warning'\r\n }).then(() => {\r\n this.$api.delRole({id:id}).then((res)=>{\r\n this.$message({\r\n message: '删除成功',\r\n type: 'success'\r\n })\r\n this.getData()\r\n })\r\n })\r\n },\r\n save(){\r\n let parm = this.form1\r\n parm.permissions = JSON.stringify(this.selected)\r\n if(parm.id){\r\n this.$api.editRole(parm).then(res=>{\r\n if(res.data.code==0){\r\n this.$message({\r\n type:\"success\",\r\n message:\"保存成功!\"\r\n })\r\n this.getData()\r\n }else{\r\n this.$message.error(\"失败!\");\r\n }\r\n })\r\n }else{\r\n this.$api.addRole(parm).then(res=>{\r\n if(res.data.code==0){\r\n this.$message({\r\n type:\"success\",\r\n message:\"保存成功!\"\r\n })\r\n this.getData()\r\n }else{\r\n this.$message.error(\"失败!\");\r\n }\r\n })\r\n }\r\n this.dialogVisible = false;\r\n }\r\n },\r\n created(){\r\n this.getPermissions()\r\n this.getData()\r\n }\r\n}\r\n</script>\r\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Role.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Role.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Role.vue?vue&type=template&id=119a52d6&\"\nimport script from \"./Role.vue?vue&type=script&lang=js&\"\nexport * from \"./Role.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Role.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=style&index=0&lang=scss&\"","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-pagination',{attrs:{\"background\":\"\",\"page-size\":_vm.page_size?_vm.page_size:20,\"current-page\":_vm.current,\"page-sizes\":[10,20, 30, 40, 50,60,70,80,90,100],\"layout\":\"total,sizes,prev, pager, next\",\"total\":_vm.total},on:{\"current-change\":_vm.getData,\"size-change\":_vm.handleSizeChange}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n @import '../style/style.scss';\r\n .el-pagination{\r\n li,button{\r\n border: 1px solid #CACACA !important;\r\n background-color: #fff !important;\r\n }\r\n .active{\r\n border:none !important;\r\n background: #3895FE !important;\r\n }\r\n }\r\n</style>\r\n<template>\r\n <el-pagination\r\n @current-change=\"getData\"\r\n background :page-size='page_size?page_size:20'\r\n @size-change=\"handleSizeChange\"\r\n :current-page=\"current\"\r\n :page-sizes=\"[10,20, 30, 40, 50,60,70,80,90,100]\"\r\n layout=\"total,sizes,prev, pager, next\"\r\n :total=\"total\">\r\n </el-pagination>\r\n</template>\r\n<script>\r\nexport default {\r\n data(){\r\n return{\r\n page:1\r\n }\r\n },\r\n props: {\r\n total:'',\r\n page_size:'',\r\n current:''\r\n },\r\n methods:{\r\n getData(type){\r\n // if(type == 1){\r\n // this.data.pageNumber=this.data.pageNumber-1\r\n // }else if(type == 2){\r\n // this.data.pageNumber=this.data.pageNumber+1\r\n // }\r\n this.page=type\r\n this.$emit('pageChange')\r\n },\r\n handleSizeChange(val){\r\n this.$emit('pageChange',val)\r\n }\r\n },\r\n created(){\r\n }\r\n}\r\n</script>","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Page.vue?vue&type=template&id=df237d3a&\"\nimport script from \"./Page.vue?vue&type=script&lang=js&\"\nexport * from \"./Page.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Page.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Role.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}