pyxis-page/dist/js/chunk-5755f9c8.80478408.js
2021-06-07 20:16:03 +08:00

2 lines
20 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5755f9c8"],{"04a9":function(t,e,n){},"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:{background:t.background,"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=[],i=n("d4ec"),o=n("bee2"),u=n("262e"),s=n("2caf"),c=n("9ab4"),l=n("1b40"),p=(n("4795"),function(t,e,n,r){return t/=r/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)}),f=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}(),d=function(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t},h=function(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop},m=function(t,e,n){var r=h(),a=t-r,i=20,o=0;e="undefined"===typeof e?500:e;var u=function t(){o+=i;var u=p(o,r,a,e);d(u),o<e?f(t):n&&"function"===typeof n&&n()};u()},v=function(t){Object(u["a"])(n,t);var e=Object(s["a"])(n);function n(){return Object(i["a"])(this,n),e.apply(this,arguments)}return Object(o["a"])(n,[{key:"currentPage",get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},{key:"pageSize",get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}},{key:"handleSizeChange",value:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&m(0,800)}},{key:"handleCurrentChange",value:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&m(0,800)}}]),n}(l["c"]);Object(c["a"])([Object(l["b"])({required:!0})],v.prototype,"total",void 0),Object(c["a"])([Object(l["b"])({default:1})],v.prototype,"page",void 0),Object(c["a"])([Object(l["b"])({default:20})],v.prototype,"limit",void 0),Object(c["a"])([Object(l["b"])({default:function(){return[10,20,30,50]}})],v.prototype,"pageSizes",void 0),Object(c["a"])([Object(l["b"])({default:"total, sizes, prev, pager, next, jumper"})],v.prototype,"layout",void 0),Object(c["a"])([Object(l["b"])({default:!0})],v.prototype,"background",void 0),Object(c["a"])([Object(l["b"])({default:!0})],v.prototype,"autoScroll",void 0),Object(c["a"])([Object(l["b"])({default:!1})],v.prototype,"hidden",void 0),v=Object(c["a"])([Object(l["a"])({name:"Pagination"})],v);var b=v,g=b,y=(n("34cc"),n("0c7c")),O=Object(y["a"])(g,r,a,!1,null,"2f4afb68",null);e["a"]=O.exports},"34cc":function(t,e,n){"use strict";n("04a9")},3649: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:"app-container"},[n("el-form",{ref:"filterForm",staticClass:"filter",attrs:{inline:!0,model:t.filterForm}},[n("el-form-item",{attrs:{label:"关键字",prop:"key"}},[n("el-input",{attrs:{placeholder:"关键字"},model:{value:t.filterForm.key,callback:function(e){t.$set(t.filterForm,"key",e)},expression:"filterForm.key"}})],1),1===t.userLevel?n("el-form-item",{attrs:{label:t.$t("main.shop"),prop:"key"}},[n("el-select",{staticClass:"w100",attrs:{placeholder:"选择"+t.$t("main.shop"),name:"shop",required:""},model:{value:t.filterForm.shop,callback:function(e){t.$set(t.filterForm,"shop",e)},expression:"filterForm.shop"}},t._l(t.allDepts,(function(t){return n("el-option",{key:t._id,attrs:{label:t.name,value:t._id}})})),1)],1):t._e(),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.search}},[t._v("查询")]),n("el-button",{on:{click:t.resetFilterForm}},[t._v("重置")])],1)],1),n("router-link",{attrs:{to:"/shop/exam_new"}},[n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:["shopexam:edit"],expression:"['shopexam:edit']"}],attrs:{type:"primary",icon:"el-icon-edit"}},[t._v(" 添加 ")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%","margin-top":"30px"},attrs:{data:t.list,border:"",fit:"",stripe:"","highlight-current-row":""}},[n("el-table-column",{attrs:{width:"180px",align:"center",label:"添加时间"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[n("span",[t._v(t._s(t._f("parseTime")(r.createdAt)))])]}}])}),1===t.userLevel?n("el-table-column",{attrs:{label:t.$t("main.shop"),prop:"shop",formatter:t.formatDept}}):t._e(),n("el-table-column",{attrs:{"min-width":"200px",label:"名称"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[n("router-link",{staticClass:"link-type",attrs:{to:"/shop/exam_edit/"+r._id}},[n("span",[t._v(t._s(r.name))])])]}}])}),n("el-table-column",{attrs:{label:"是否启用",prop:"active",formatter:t.formatBool}}),n("el-table-column",{attrs:{label:"题目类型",prop:"source",formatter:t.formatSource}}),n("el-table-column",{attrs:{align:"center",width:"180",label:"操作",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{attrs:{to:"/shop/exam_edit/"+e.row._id}},[n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:["shopexam:edit"],expression:"['shopexam:edit']"}],attrs:{type:"primary",size:"small",icon:"el-icon-edit"}},[t._v(" 编辑 ")])],1),n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:["shopexam:delete"],expression:"['shopexam:delete']"}],staticStyle:{"margin-left":"10px"},attrs:{type:"danger",size:"small"},on:{click:function(n){return t.handleDelete(e)}}},[t._v(" "+t._s(t.$t("permission.delete"))+" ")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},a=[],i=n("b85c"),o=n("1da1"),u=n("d4ec"),s=n("bee2"),c=n("262e"),l=n("2caf"),p=(n("96cf"),n("d3b7"),n("6062b"),n("3ca3"),n("ddb0"),n("a434"),n("b0c0"),n("9ab4")),f=n("1b40"),d=n("333d"),h=n("db85"),m=n("d257"),v=n("63a2"),b=n("fabe"),g=n("9dba"),y=n("4c9b"),O=n("6ebf"),j=function(t){Object(c["a"])(n,t);var e=Object(l["a"])(n);function n(){var t;return Object(u["a"])(this,n),t=e.apply(this,arguments),t.total=0,t.list=[],t.listLoading=!0,t.allDepts=[],t.listQuery={page:1,limit:20,key:"",shop:""},t.typeOptions=[],t.tagSet=new Set,t.tagOptions=[],t.filterForm={key:"",shop:""},t}return Object(s["a"])(n,[{key:"userLevel",get:function(){return g["a"].level}},{key:"created",value:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(1!==g["a"].level){t.next=6;break}return t.next=3,this.getRemoteDeptList();case 3:y["i"].$on(y["h"],(function(){e.getRemoteDeptList()})),t.next=8;break;case 6:this.filterForm.shop=g["a"].department,this.listQuery.shop=g["a"].department;case 8:return t.next=10,this.getRemoteCategory();case 10:return t.next=12,this.getList();case 12:y["i"].$on(y["c"],(function(){e.getList()}));case 13:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"beforeDestory",value:function(){y["i"].$off(y["c"]),1===g["a"].level&&y["i"].$off(y["h"])}},{key:"getList",value:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.listLoading=!0,t.next=3,Object(b["d"])(this.listQuery);case 3:e=t.sent,n=e.data,this.listLoading=!1,this.list=n.records,this.total=n.total;case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"handleDelete",value:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$index,r=e.row,t.next=3,this.$confirm("确认删除该记录?","Warning",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 3:return t.next=5,Object(b["b"])(r._id);case 5:this.list.splice(n,1),this.$message({type:"success",message:"删除成功!"});case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"search",value:function(){this.filterData()}},{key:"filterData",value:function(){this.listQuery.key=this.filterForm.key,this.listQuery.shop=this.filterForm.shop,this.listQuery.page=1,this.getList()}},{key:"resetFilterForm",value:function(){this.$refs.filterForm.resetFields()}},{key:"getRemoteDeptList",value:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(h["j"])({});case 2:if(e=t.sent,n=e.data,n.records){t.next=6;break}return t.abrupt("return");case 6:this.allDepts=n.records;case 7:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getRemoteTags",value:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(v["e"])();case 2:e=t.sent,n=e.data,console.log(n),this.tagSet=new Set(n),this.tagOptions=n;case 7:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getRemoteCategory",value:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,n,r,a,o,u,s,c,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(v["d"])();case 2:e=t.sent,n=e.data,r=Object(i["a"])(n);try{for(r.s();!(a=r.n()).done;){o=a.value,u=[],s=Object(i["a"])(o.children);try{for(s.s();!(c=s.n()).done;)l=c.value,u.push({value:l._id,label:l.name})}catch(p){s.e(p)}finally{s.f()}this.typeOptions.push({value:o._id,label:o.name,children:u})}}catch(p){r.e(p)}finally{r.f()}case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"formatDept",value:function(t,e,n){var r,a="未指定",o=Object(i["a"])(this.allDepts);try{for(o.s();!(r=o.n()).done;){var u=r.value;if(u._id===n){a=u.name;break}}}catch(s){o.e(s)}finally{o.f()}return a}},{key:"formatBool",value:function(t,e,n){return n?"是":"否"}},{key:"formatSource",value:function(t,e,n){switch(n){case 0:return"系统题库";case 1:return"自定义";case 2:return O["a"].tc("main.shop")+"题库";case 3:return"混合题库"}}}]),n}(f["c"]);j=Object(p["a"])([Object(f["a"])({name:"ExamList",components:{Pagination:d["a"]},filters:{parseTime:function(t){return Object(m["c"])(t)},parseDate:function(t){return t?Object(m["c"])(t,"{y}-{m}-{d}"):"-"},formatCount:function(t){return t||0}}})],j);var x=j,w=x,k=n("0c7c"),_=Object(k["a"])(w,r,a,!1,null,null,null);e["default"]=_.exports},4795:function(t,e,n){var r=n("23e7"),a=n("da84"),i=n("342f"),o=[].slice,u=/MSIE .\./.test(i),s=function(t){return function(e,n){var r=arguments.length>2,a=r?o.call(arguments,2):void 0;return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,a)}:e,n)}};r({global:!0,bind:!0,forced:u},{setTimeout:s(a.setTimeout),setInterval:s(a.setInterval)})},"4c9b":function(t,e,n){"use strict";n.d(e,"i",(function(){return a})),n.d(e,"g",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return c})),n.d(e,"e",(function(){return l})),n.d(e,"h",(function(){return p})),n.d(e,"f",(function(){return f}));var r=n("2b0e"),a=new r["default"],i="event_shop_puzzles_update",o="event_activity_update",u="event_exam_update",s="event_game_update",c="event_coupon_update",l="event_puzzle_update",p="event_shop_update",f="event_role_update"},"6062b":function(t,e,n){"use strict";var r=n("6d61"),a=n("6566");t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),a)},"63a2":function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"g",(function(){return o})),n.d(e,"f",(function(){return u})),n.d(e,"h",(function(){return s})),n.d(e,"i",(function(){return c})),n.d(e,"b",(function(){return l})),n.d(e,"e",(function(){return p})),n.d(e,"j",(function(){return f})),n.d(e,"d",(function(){return d}));var r=n("b32d"),a={withNext:!1,quality:3,a1:"",question:""};function i(t){switch(t){case 1:return"普通";case 2:return"图片";case 3:return"问卷";default:return"未知"}}var o=function(t){return Object(r["a"])({url:"/api/puzzles",method:"post",params:t})},u=function(t,e){return Object(r["a"])({url:"/api/puzzle/".concat(t),method:"get",params:e})},s=function(t){return Object(r["a"])({url:"/api/nextpuzzle",method:"post",data:{id:t}})},c=function(t){return Object(r["a"])({url:"/api/puzzle/save",method:"post",data:t})},l=function(t){return Object(r["a"])({url:"/api/puzzle/".concat(t,"/delete"),method:"post"})},p=function(){return Object(r["a"])({url:"/api/tags",method:"get"})},f=function(t){return Object(r["a"])({url:"/api/tag/save",method:"post",data:{name:t}})},d=function(){return Object(r["a"])({url:"/api/question/categorys",method:"get"})}},6566:function(t,e,n){"use strict";var r=n("9bf2").f,a=n("7c73"),i=n("e2cc"),o=n("0366"),u=n("19aa"),s=n("2266"),c=n("7dd0"),l=n("2626"),p=n("83ab"),f=n("f183").fastKey,d=n("69f3"),h=d.set,m=d.getterFor;t.exports={getConstructor:function(t,e,n,c){var l=t((function(t,r){u(t,l,e),h(t,{type:e,index:a(null),first:void 0,last:void 0,size:0}),p||(t.size=0),void 0!=r&&s(r,t[c],{that:t,AS_ENTRIES:n})})),d=m(e),v=function(t,e,n){var r,a,i=d(t),o=b(t,e);return o?o.value=n:(i.last=o={index:a=f(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=o),r&&(r.next=o),p?i.size++:t.size++,"F"!==a&&(i.index[a]=o)),t},b=function(t,e){var n,r=d(t),a=f(e);if("F"!==a)return r.index[a];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(l.prototype,{clear:function(){var t=this,e=d(t),n=e.index,r=e.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;e.first=e.last=void 0,p?e.size=0:t.size=0},delete:function(t){var e=this,n=d(e),r=b(e,t);if(r){var a=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=a),a&&(a.previous=i),n.first==r&&(n.first=a),n.last==r&&(n.last=i),p?n.size--:e.size--}return!!r},forEach:function(t){var e,n=d(this),r=o(t,arguments.length>1?arguments[1]:void 0,3);while(e=e?e.next:n.first){r(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!b(this,t)}}),i(l.prototype,n?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return v(this,0===t?0:t,e)}}:{add:function(t){return v(this,t=0===t?0:t,t)}}),p&&r(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(t,e,n){var r=e+" Iterator",a=m(e),i=m(r);c(t,e,(function(t,e){h(this,{type:r,target:t,state:a(t),kind:e,last:void 0})}),(function(){var t=i(this),e=t.kind,n=t.last;while(n&&n.removed)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(e)}}},"6d61":function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("94ca"),o=n("6eeb"),u=n("f183"),s=n("2266"),c=n("19aa"),l=n("861d"),p=n("d039"),f=n("1c7e"),d=n("d44e"),h=n("7156");t.exports=function(t,e,n){var m=-1!==t.indexOf("Map"),v=-1!==t.indexOf("Weak"),b=m?"set":"add",g=a[t],y=g&&g.prototype,O=g,j={},x=function(t){var e=y[t];o(y,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})},w=i(t,"function"!=typeof g||!(v||y.forEach&&!p((function(){(new g).entries().next()}))));if(w)O=n.getConstructor(e,t,m,b),u.REQUIRED=!0;else if(i(t,!0)){var k=new O,_=k[b](v?{}:-0,1)!=k,z=p((function(){k.has(1)})),S=f((function(t){new g(t)})),R=!v&&p((function(){var t=new g,e=5;while(e--)t[b](e,e);return!t.has(-0)}));S||(O=e((function(e,n){c(e,O,t);var r=h(new g,e,O);return void 0!=n&&s(n,r[b],{that:r,AS_ENTRIES:m}),r})),O.prototype=y,y.constructor=O),(z||R)&&(x("delete"),x("has"),m&&x("get")),(R||_)&&x(b),v&&y.clear&&delete y.clear}return j[t]=O,r({global:!0,forced:O!=g},j),d(O,t),v||n.setStrong(O,t,m),O}},bb2f:function(t,e,n){var r=n("d039");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},db85:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"j",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"d",(function(){return u})),n.d(e,"l",(function(){return s})),n.d(e,"b",(function(){return c})),n.d(e,"m",(function(){return l})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return f})),n.d(e,"p",(function(){return d})),n.d(e,"o",(function(){return h})),n.d(e,"c",(function(){return m})),n.d(e,"k",(function(){return v})),n.d(e,"h",(function(){return b})),n.d(e,"n",(function(){return g})),n.d(e,"i",(function(){return y})),n.d(e,"q",(function(){return O}));var r=n("b32d"),a={name:"",address:"",logo:"",qtypes:[]},i=function(t){return Object(r["a"])({url:"/api/shops",method:"post",params:t})},o=function(t,e){return Object(r["a"])({url:"/api/shop/".concat(t),method:"get",params:e})},u=function(){return Object(r["a"])({url:"/api/myshop",method:"get"})},s=function(t){return Object(r["a"])({url:"/api/shop/save",method:"post",data:t})},c=function(t){return Object(r["a"])({url:"/api/shop/".concat(t,"/delete"),method:"post"})},l=function(t){return Object(r["a"])({url:"/api/shop/gameinfo/save",method:"post",data:t})},p=function(t){return Object(r["a"])({url:"/api/shop/gameinfo",method:"post",data:t})},f=function(t){return Object(r["a"])({url:"/api/shop/gameqr",method:"post",data:t})},d=function(t){return Object(r["a"])({url:"/api/shop/save_qtype",method:"post",data:t})},h=function(t){return Object(r["a"])({url:"/api/shop/publish",method:"post",data:t})},m=function(t){return Object(r["a"])({url:"/api/shop/gametheme",method:"post",data:t})},v=function(t){return Object(r["a"])({url:"/api/shop/gametheme/save",method:"post",data:t})},b=function(t){return Object(r["a"])({url:"/api/shop/lottery",method:"post",data:t})},g=function(t){return Object(r["a"])({url:"/api/shop/lottery_update",method:"post",data:t})},y=function(t){return Object(r["a"])({url:"/api/shop/share",method:"post",data:t})},O=function(t){return Object(r["a"])({url:"/api/shop/share_update",method:"post",data:t})}},f183:function(t,e,n){var r=n("d012"),a=n("861d"),i=n("5135"),o=n("9bf2").f,u=n("90e3"),s=n("bb2f"),c=u("meta"),l=0,p=Object.isExtensible||function(){return!0},f=function(t){o(t,c,{value:{objectID:"O"+ ++l,weakData:{}}})},d=function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,c)){if(!p(t))return"F";if(!e)return"E";f(t)}return t[c].objectID},h=function(t,e){if(!i(t,c)){if(!p(t))return!0;if(!e)return!1;f(t)}return t[c].weakData},m=function(t){return s&&v.REQUIRED&&p(t)&&!i(t,c)&&f(t),t},v=t.exports={REQUIRED:!1,fastKey:d,getWeakData:h,onFreeze:m};r[c]=!0},fabe:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"e",(function(){return u})),n.d(e,"b",(function(){return s}));var r=n("b32d"),a={active:0,beginTime:0,endTime:1924963201e3,timeone:5,name:"",qcount:10,qtypes:[],shop:"",source:0,rewardInfo:[],shopCates:[],questions:[],qrate:0},i=function(t){return Object(r["a"])({url:"/api/exams",method:"post",params:t})},o=function(t,e){return Object(r["a"])({url:"/api/exam/".concat(t),method:"get",params:e})},u=function(t){return Object(r["a"])({url:"/api/exam/save",method:"post",data:t})},s=function(t){return Object(r["a"])({url:"/api/exam/".concat(t,"/delete"),method:"post"})}}}]);
//# sourceMappingURL=chunk-5755f9c8.80478408.js.map