chunk-7f001938.8cbb9776.js 9.2 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7f001938"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),Math.easeInOutQuad=function(t,e,n,a){return t/=a/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function r(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);r(o),d<e?a(t):n&&"function"===typeof n&&n()};s()}},"295d":function(t,e,n){"use strict";n.r(e);var a=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:"/branchActiveOperationAdd",expression:"'/branchActiveOperationAdd'"}],staticClass:"newBand",on:{click:function(e){return t.openActive("create")}}},[t._v("新建")]),t._v(" "),n("div",{staticClass:"tableWrap"},[n("el-table",{attrs:{data:t.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[n("el-table-column",{attrs:{align:"center",prop:"name",label:"分部活动名"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"rewardMode",label:"分部活动类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s("PER"==e.row.rewardMode?"累计奖励":"阶梯奖励")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"organNameList",label:"适用分部"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"/branchActiveOperationUpdate",expression:"'/branchActiveOperationUpdate'"}],attrs:{type:"text"},on:{click:function(n){return t.openActive("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)])])},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h2",[n("div",{staticClass:"squrt"}),t._v("VIP分部活动列表\n ")])}],o=n("333d"),u=n("99b4"),i=(n("4360"),{components:{pagination:o["a"]},data:function(){return{searchForm:{status:""},organId:null,searchLsit:[],tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},created:function(){this.$route.query.rules&&(this.$route.query.rules instanceof Object?this.pageInfo=this.$route.query.rules:this.pageInfo=JSON.parse(this.$route.query.rules))},mounted:function(){this.getList()},methods:{getList:function(){var t=this;Object(u["d"])({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)}))},openActive:function(t,e){var n=JSON.stringify(this.pageInfo),a={path:"/vipClassSet/branchActiveOperation",query:{type:t,pageInfo:n}};e&&(a.query.id=e.id),this.$router.push(a)},onFormClose:function(t){this.$refs[t].clearValidate()}}}),c=i,d=(n("f6d3"),n("2877")),s=Object(d["a"])(c,a,r,!1,null,null,null);e["default"]=s.exports},"333d":function(t,e,n){"use strict";var a=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)},r=[],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,a,r,!1,null,"31cb099a",null);e["a"]=d.exports},"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,"x",(function(){return s})),n.d(e,"v",(function(){return l})),n.d(e,"C",(function(){return p})),n.d(e,"B",(function(){return f})),n.d(e,"D",(function(){return g})),n.d(e,"w",(function(){return m})),n.d(e,"h",(function(){return h})),n.d(e,"j",(function(){return b})),n.d(e,"m",(function(){return y})),n.d(e,"i",(function(){return O})),n.d(e,"z",(function(){return v})),n.d(e,"k",(function(){return j})),n.d(e,"A",(function(){return w})),n.d(e,"y",(function(){return q})),n.d(e,"d",(function(){return I})),n.d(e,"f",(function(){return S})),n.d(e,"e",(function(){return _})),n.d(e,"g",(function(){return z})),n.d(e,"n",(function(){return C})),n.d(e,"o",(function(){return P})),n.d(e,"q",(function(){return $})),n.d(e,"p",(function(){return A})),n.d(e,"l",(function(){return L})),n.d(e,"t",(function(){return k})),n.d(e,"r",(function(){return E})),n.d(e,"u",(function(){return N})),n.d(e,"s",(function(){return B}));var a=n("b775"),r=n("4328"),o=n.n(r),u="/api-web";function i(t){return Object(a["a"])({url:u+"/cooperationOrgan/add",method:"post",data:o.a.stringify(t)})}function c(t){return Object(a["a"])({url:u+"/cooperationOrgan/update",method:"put",data:o.a.stringify(t)})}function d(t){return Object(a["a"])({url:u+"/cooperationOrgan/del/".concat(t),method:"post"})}function s(t){return Object(a["a"])({url:u+"/cooperationOrgan/queryPage",method:"get",params:t})}function l(t){return Object(a["a"])({url:u+"/cooperationOrgan/queryByOrganId",method:"get",params:t})}function p(t){return Object(a["a"])({url:u+"/school/queryPage",method:"get",params:t})}function f(t){return Object(a["a"])({url:u+"/school/add",method:"post",data:o.a.stringify(t)})}function g(t){return Object(a["a"])({url:u+"/school/update",method:"post",data:o.a.stringify(t)})}function m(t){return Object(a["a"])({url:u+"/employee/queryEmployByOrganId",method:"get",params:t})}function h(t){return Object(a["a"])({url:u+"/employee/add",method:"post",data:t})}function b(t){return Object(a["a"])({url:u+"/employee/update",method:"post",data:t})}function y(t){return Object(a["a"])({url:"/api-auth/role/queryPage",method:"get",params:t})}function O(t){return Object(a["a"])({url:u+"/employee/employeeOperate",method:"post",data:o.a.stringify(t)})}function v(t){return Object(a["a"])({url:"/api-auth/role/queryPage",method:"get",params:t})}function j(t){return Object(a["a"])({url:"/api-auth/role/".concat(t.id),method:"get"})}function w(t){return Object(a["a"])({url:"/api-auth/role/update",method:"post",data:t})}function q(t){return Object(a["a"])({url:"/api-auth/role/add",method:"post",data:t})}function I(t){return Object(a["a"])({url:u+"/courseScheduleRewards/queryPage",method:"get",params:t})}function S(t){return Object(a["a"])({url:u+"/courseScheduleRewards/query",method:"get",params:t})}function _(t){return Object(a["a"])({url:u+"/courseScheduleRewards/add",method:"post",data:o.a.stringify(t)})}function z(t){return Object(a["a"])({url:u+"/courseScheduleRewards/update",method:"post",data:o.a.stringify(t)})}function C(t){return Object(a["a"])({url:u+"/hotWordLabelManage/queryPage",method:"get",params:t})}function P(t){return Object(a["a"])({url:u+"/hotWordLabelManage/add",method:"post",data:o.a.stringify(t)})}function $(t){return Object(a["a"])({url:u+"/hotWordLabelManage/update",method:"post",data:o.a.stringify(t)})}function A(t){return Object(a["a"])({url:u+"/hotWordLabelManage/del/".concat(t),method:"post"})}function L(t){return Object(a["a"])({url:u+"/school/queryByOrganId",method:"get",params:t})}function k(t){return Object(a["a"])({url:u+"/paymentConfig/queryPage",method:"get",params:t})}function E(t){return Object(a["a"])({url:u+"/paymentConfig/add",method:"post",data:o.a.stringify(t)})}function N(t){return Object(a["a"])({url:u+"/paymentConfig/update",method:"post",data:o.a.stringify(t)})}function B(t){return Object(a["a"])({url:u+"/paymentConfig/del/"+t.id,method:"post"})}},c0b9:function(t,e,n){"use strict";var a=n("de4e"),r=n.n(a);r.a},d2c1:function(t,e,n){},de4e:function(t,e,n){},f6d3:function(t,e,n){"use strict";var a=n("d2c1"),r=n.n(a);r.a}}]);