1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-10467d40"],{"0678":function(t,e,n){},"09f4":function(t,e,n){"use strict";n.d(e,"a",function(){return u}),Math.easeInOutQuad=function(t,e,n,r){return t/=r/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function u(t,e,n){var u=o(),i=t-u,c=20,d=0;e="undefined"===typeof e?500:e;var s=function t(){d+=c;var o=Math.easeInOutQuad(d,u,i,e);a(o),d<e?r(t):n&&"function"===typeof n&&n()};s()}},"11e9":function(t,e,n){var r=n("52a7"),a=n("4630"),o=n("6821"),u=n("6a99"),i=n("69a8"),c=n("c69a"),d=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?d:function(t,e){if(t=o(t),e=u(e,!0),c)try{return d(t,e)}catch(n){}if(i(t,e))return a(!r.f.call(t,e),t[e])}},"333d":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pagination-container",class:{hidden:t.hidden}},[n("el-pagination",t._b({attrs:{"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},a=[],o=(n("c5f6"),n("09f4")),u={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:10},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total,sizes,prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&Object(o["a"])(0,800)},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&Object(o["a"])(0,800)}}},i=u,c=(n("c0b9"),n("2877")),d=Object(c["a"])(i,r,a,!1,null,"31cb099a",null);e["a"]=d.exports},"5dbc":function(t,e,n){var r=n("d3f4"),a=n("8b97").set;t.exports=function(t,e,n){var o,u=e.constructor;return u!==n&&"function"==typeof u&&(o=u.prototype)!==n.prototype&&r(o)&&a&&a(t,o),t}},"87ac":function(t,e,n){"use strict";var r=n("0678"),a=n.n(r);a.a},"8b97":function(t,e,n){var r=n("d3f4"),a=n("cb7c"),o=function(t,e){if(a(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(a){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},9093:function(t,e,n){var r=n("ce10"),a=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,a)}},"99b4":function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"c",function(){return c}),n.d(e,"b",function(){return d}),n.d(e,"s",function(){return s}),n.d(e,"q",function(){return p}),n.d(e,"x",function(){return f}),n.d(e,"w",function(){return l}),n.d(e,"y",function(){return g}),n.d(e,"r",function(){return m}),n.d(e,"h",function(){return h}),n.d(e,"j",function(){return b}),n.d(e,"l",function(){return y}),n.d(e,"i",function(){return O}),n.d(e,"u",function(){return v}),n.d(e,"k",function(){return j}),n.d(e,"v",function(){return I}),n.d(e,"t",function(){return _}),n.d(e,"d",function(){return w}),n.d(e,"f",function(){return S}),n.d(e,"e",function(){return N}),n.d(e,"g",function(){return E}),n.d(e,"m",function(){return z}),n.d(e,"n",function(){return A}),n.d(e,"p",function(){return P}),n.d(e,"o",function(){return q});var r=n("b775"),a=n("4328"),o=n.n(a),u="/api-web";function i(t){return Object(r["a"])({url:u+"/cooperationOrgan/add",method:"post",data:o.a.stringify(t)})}function c(t){return Object(r["a"])({url:u+"/cooperationOrgan/update",method:"put",data:o.a.stringify(t)})}function d(t){return Object(r["a"])({url:u+"/cooperationOrgan/del/".concat(t),method:"post"})}function s(t){return Object(r["a"])({url:u+"/cooperationOrgan/queryPage",method:"get",params:t})}function p(t){return Object(r["a"])({url:u+"/cooperationOrgan/queryByOrganId",method:"get",params:t})}function f(t){return Object(r["a"])({url:u+"/school/queryPage",method:"get",params:t})}function l(t){return Object(r["a"])({url:u+"/school/add",method:"post",data:o.a.stringify(t)})}function g(t){return Object(r["a"])({url:u+"/school/update",method:"post",data:o.a.stringify(t)})}function m(t){return Object(r["a"])({url:u+"/employee/queryEmployByOrganId",method:"get",params:t})}function h(t){return Object(r["a"])({url:u+"/employee/add",method:"post",data:t})}function b(t){return Object(r["a"])({url:u+"/employee/update",method:"post",data:t})}function y(t){return Object(r["a"])({url:"/api-auth/role/queryPage",method:"get",params:t})}function O(t){return Object(r["a"])({url:u+"/employee/employeeOperate",method:"post",data:o.a.stringify(t)})}function v(t){return Object(r["a"])({url:"/api-auth/role/queryPage",method:"get",params:t})}function j(t){return Object(r["a"])({url:"/api-auth/role/".concat(t.id),method:"get"})}function I(t){return Object(r["a"])({url:"/api-auth/role/update",method:"post",data:t})}function _(t){return Object(r["a"])({url:"/api-auth/role/add",method:"post",data:t})}function w(t){return Object(r["a"])({url:u+"/courseScheduleRewards/queryPage",method:"get",params:t})}function S(t){return Object(r["a"])({url:u+"/courseScheduleRewards/query",method:"get",params:t})}function N(t){return Object(r["a"])({url:u+"/courseScheduleRewards/add",method:"post",data:o.a.stringify(t)})}function E(t){return Object(r["a"])({url:u+"/courseScheduleRewards/update",method:"post",data:o.a.stringify(t)})}function z(t){return Object(r["a"])({url:u+"/hotWordLabelManage/queryPage",method:"get",params:t})}function A(t){return Object(r["a"])({url:u+"/hotWordLabelManage/add",method:"post",data:o.a.stringify(t)})}function P(t){return Object(r["a"])({url:u+"/hotWordLabelManage/update",method:"post",data:o.a.stringify(t)})}function q(t){return Object(r["a"])({url:u+"/hotWordLabelManage/del/".concat(t),method:"post"})}},aa77:function(t,e,n){var r=n("5ca1"),a=n("be13"),o=n("79e5"),u=n("fdef"),i="["+u+"]",c="
",d=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),p=function(t,e,n){var a={},i=o(function(){return!!u[t]()||c[t]()!=c}),d=a[t]=i?e(f):u[t];n&&(a[n]=d),r(r.P+r.F*i,"String",a)},f=p.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(d,"")),2&e&&(t=t.replace(s,"")),t};t.exports=p},c0b9:function(t,e,n){"use strict";var r=n("de4e"),a=n.n(r);a.a},c5f6:function(t,e,n){"use strict";var r=n("7726"),a=n("69a8"),o=n("2d95"),u=n("5dbc"),i=n("6a99"),c=n("79e5"),d=n("9093").f,s=n("11e9").f,p=n("86cc").f,f=n("aa77").trim,l="Number",g=r[l],m=g,h=g.prototype,b=o(n("2aeb")(h))==l,y="trim"in String.prototype,O=function(t){var e=i(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():f(e,3);var n,r,a,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+e}for(var u,c=e.slice(2),d=0,s=c.length;d<s;d++)if(u=c.charCodeAt(d),u<48||u>a)return NaN;return parseInt(c,r)}}return+e};if(!g(" 0o1")||!g("0b1")||g("+0x1")){g=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof g&&(b?c(function(){h.valueOf.call(n)}):o(n)!=l)?u(new m(O(e)),n,g):O(e)};for(var v,j=n("9e1e")?d(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),I=0;j.length>I;I++)a(m,v=j[I])&&!a(g,v)&&p(g,v,s(m,v));g.prototype=h,h.constructor=g,n("2aba")(r,l,g)}},de4e:function(t,e,n){},fb00:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-container"},[n("h2",[t._v("系统角色权限管理")]),t._v(" "),n("div",{staticClass:"m-core"},[n("div",{staticClass:"newBand",on:{click:function(e){return t.onAdminOperation("create")}}},[t._v("添加")]),t._v(" "),n("div",{staticClass:"tableWrap"},[n("el-table",{attrs:{data:t.tableList,"header-cell-class-name":"headerName"}},[n("el-table-column",{attrs:{align:"center",prop:"roleName",label:"角色类型"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"roleDesc",label:"角色描述"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(n){return t.onAdminOperation("update",e.row)}}},[t._v("修改")])]}}])})],1),t._v(" "),n("pagination",{attrs:{total:t.pageInfo.total,page:t.pageInfo.page,limit:t.pageInfo.limit,"page-sizes":t.pageInfo.page_size},on:{"update:page":function(e){return t.$set(t.pageInfo,"page",e)},"update:limit":function(e){return t.$set(t.pageInfo,"limit",e)},pagination:t.getList}})],1)])])},a=[],o=n("333d"),u=n("99b4"),i=n("4360"),c={components:{pagination:o["a"]},name:"adminManager",data:function(){return{tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},organId:i["a"].getters.organ}},mounted:function(){this.getList()},methods:{getList:function(){var t=this;Object(u["u"])({organId:this.organId,rows:this.pageInfo.limit,page:this.pageInfo.page}).then(function(e){200==e.code&&e.data&&(t.tableList=e.data.rows,t.pageInfo.total=e.data.total)})},onAdminOperation:function(t,e){var n={path:"/specialSetup/adminoperation",query:{type:t}};e&&(n.query.id=e.id),this.$router.push(n)}}},d=c,s=(n("87ac"),n("2877")),p=Object(s["a"])(d,r,a,!1,null,null,null);e["default"]=p.exports},fdef:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"}}]);
|