1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d72814e4"],{"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()}},"87ac":function(t,e,n){"use strict";var r=n("0678"),a=n.n(r);a.a},"99b4":function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"e",(function(){return c})),n.d(e,"d",(function(){return d})),n.d(e,"B",(function(){return s})),n.d(e,"z",(function(){return p})),n.d(e,"H",(function(){return f})),n.d(e,"G",(function(){return l})),n.d(e,"I",(function(){return m})),n.d(e,"A",(function(){return g})),n.d(e,"j",(function(){return h})),n.d(e,"l",(function(){return b})),n.d(e,"p",(function(){return O})),n.d(e,"k",(function(){return y})),n.d(e,"E",(function(){return j})),n.d(e,"n",(function(){return v})),n.d(e,"F",(function(){return w})),n.d(e,"D",(function(){return I})),n.d(e,"f",(function(){return q})),n.d(e,"h",(function(){return _})),n.d(e,"g",(function(){return C})),n.d(e,"i",(function(){return L})),n.d(e,"r",(function(){return T})),n.d(e,"s",(function(){return k})),n.d(e,"u",(function(){return E})),n.d(e,"t",(function(){return A})),n.d(e,"o",(function(){return M})),n.d(e,"x",(function(){return P})),n.d(e,"v",(function(){return R})),n.d(e,"y",(function(){return $})),n.d(e,"w",(function(){return B})),n.d(e,"m",(function(){return N})),n.d(e,"b",(function(){return S})),n.d(e,"a",(function(){return x})),n.d(e,"C",(function(){return z})),n.d(e,"q",(function(){return W})),n.d(e,"J",(function(){return F}));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 m(t){return Object(r["a"])({url:u+"/school/update",method:"post",data:o.a.stringify(t)})}function g(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 O(t){return Object(r["a"])({url:"/api-auth/role/queryPage",method:"get",params:t})}function y(t){return Object(r["a"])({url:u+"/employee/employeeOperate",method:"post",data:o.a.stringify(t)})}function j(t){return Object(r["a"])({url:"/api-auth/role/queryPage",method:"get",params:t})}function v(t){return Object(r["a"])({url:"/api-auth/role/".concat(t.id),method:"get"})}function w(t){return Object(r["a"])({url:"/api-auth/role/update",method:"post",data:t})}function I(t){return Object(r["a"])({url:"/api-auth/role/add",method:"post",data:t})}function q(t){return Object(r["a"])({url:u+"/courseScheduleRewards/queryPage",method:"get",params:t})}function _(t){return Object(r["a"])({url:u+"/courseScheduleRewards/query",method:"get",params:t})}function C(t){return Object(r["a"])({url:u+"/courseScheduleRewards/add",method:"post",data:o.a.stringify(t)})}function L(t){return Object(r["a"])({url:u+"/courseScheduleRewards/update",method:"post",data:o.a.stringify(t)})}function T(t){return Object(r["a"])({url:u+"/hotWordLabelManage/queryPage",method:"get",params:t})}function k(t){return Object(r["a"])({url:u+"/hotWordLabelManage/add",method:"post",data:o.a.stringify(t)})}function E(t){return Object(r["a"])({url:u+"/hotWordLabelManage/update",method:"post",data:o.a.stringify(t)})}function A(t){return Object(r["a"])({url:u+"/hotWordLabelManage/del/".concat(t),method:"post"})}function M(t){return Object(r["a"])({url:u+"/school/queryByOrganId",method:"get",params:t})}function P(t){return Object(r["a"])({url:u+"/paymentConfig/queryPage",method:"get",params:t})}function R(t){return Object(r["a"])({url:u+"/paymentConfig/add",method:"post",data:o.a.stringify(t)})}function $(t){return Object(r["a"])({url:u+"/paymentConfig/update",method:"post",data:o.a.stringify(t)})}function B(t){return Object(r["a"])({url:u+"/paymentConfig/del/"+t.id,method:"post"})}function N(t){return Object(r["a"])({url:u+"/teacher/findTeacherByOrganId",method:"get",params:t})}function S(t){return Object(r["a"])({url:u+"/appVersionInfo/list",method:"get",params:t})}function x(t){return Object(r["a"])({url:u+"/appVersionInfo/add",method:"post",data:o.a.stringify(t)})}function z(t){return Object(r["a"])({url:u+"/appVersionInfo/update",method:"post",data:o.a.stringify(t)})}function W(t){return Object(r["a"])({url:u+"/employee/hasCourseGroupRelation",method:"post",data:o.a.stringify(t)})}function F(t){return Object(r["a"])({url:u+"/employee/updateEducationTeacherId",method:"post",data:o.a.stringify(t)})}},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"},[t._m(0),t._v(" "),n("div",{staticClass:"m-core"},[n("div",{directives:[{name:"permission",rawName:"v-permission",value:"/adminOperation",expression:"'/adminOperation'"}],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",{directives:[{name:"permission",rawName:"v-permission",value:"/adminOperation",expression:"'/adminOperation'"}],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=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h2",[n("div",{staticClass:"squrt"}),t._v("系统角色权限管理\n ")])}],o=n("333d"),u=n("99b4"),i={name:"adminManager",components:{pagination:o["a"]},data:function(){return{tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},created:function(){this.init()},activated:function(){this.init()},mounted:function(){},methods:{init:function(){this.$route.query.page?this.pageInfo.page=parseInt(this.$route.query.page):this.pageInfo.page=1,this.getList()},getList:function(){var t=this;Object(u["E"])({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,page:this.pageInfo.page}};e&&(n.query.id=e.id),this.$router.push(n)}}},c=i,d=(n("87ac"),n("2877")),s=Object(d["a"])(c,r,a,!1,null,null,null);e["default"]=s.exports}}]);
|