1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5c645b36"],{"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 o(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function a(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function u(t,e,n){var u=a(),s=t-u,c=20,i=0;e="undefined"===typeof e?500:e;var d=function t(){i+=c;var a=Math.easeInOutQuad(i,u,s,e);o(a),i<e?r(t):n&&"function"===typeof n&&n()};d()}},2543:function(t,e,n){"use strict";n.d(e,"q",(function(){return c})),n.d(e,"r",(function(){return i})),n.d(e,"u",(function(){return d})),n.d(e,"n",(function(){return l})),n.d(e,"o",(function(){return f})),n.d(e,"s",(function(){return p})),n.d(e,"p",(function(){return m})),n.d(e,"f",(function(){return g})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return b})),n.d(e,"m",(function(){return y})),n.d(e,"t",(function(){return v})),n.d(e,"k",(function(){return _})),n.d(e,"i",(function(){return O})),n.d(e,"j",(function(){return j})),n.d(e,"l",(function(){return w})),n.d(e,"d",(function(){return I})),n.d(e,"e",(function(){return F})),n.d(e,"c",(function(){return T})),n.d(e,"b",(function(){return L})),n.d(e,"a",(function(){return E}));var r=n("b775"),o=n("829b"),a=n("4328"),u=n.n(a),s="/api-web";function c(t){return Object(r["a"])({url:s+"/goods/queryPage",method:"get",params:t})}function i(t){return Object(r["a"])({url:s+"/goods/get/".concat(t),method:"get"})}function d(t){return Object(r["a"])({url:s+"/goods/updateGoodsStatus",method:"post",data:u.a.stringify(t)})}function l(t){return Object(r["a"])({url:s+"/goods/add",method:"post",data:t})}function f(t){return Object(r["a"])({url:s+"/goods/addBatch",method:"post",data:t})}function p(t){return Object(r["a"])({url:s+"/goods/update",method:"post",data:t})}function m(t){return Object(r["a"])({url:s+"/goods/del/".concat(t),method:"post"})}function g(t){return Object(r["a"])({url:s+"/category/queryPage",method:"get",params:t})}function h(t){return Object(r["a"])({url:s+"/category/upset",method:"post",data:t})}function b(t){return Object(r["a"])({url:s+"/category/del",method:"post",data:u.a.stringify(t)})}function y(t){return Object(r["a"])({url:s+"/subjectChange/queryPage",method:"get",params:t})}function v(t){return Object(r["a"])({url:s+"/subjectChange/updateCostMargin",method:"post",data:u.a.stringify(t)})}function _(t){return Object(r["a"])({url:s+"/goodsProcurement/queryGoodsProcurements",method:"get",params:t})}function O(t){return Object(r["a"])({url:s+"/goods/addGoodsProcurement",method:"post",params:t})}function j(t){return Object(r["a"])({url:s+"/swTempJc/queryPageForCourseSchedule",method:"get",params:t})}function w(t){return Object(r["a"])({url:s+"/swTempJc/queryPageForExtensionOrder",method:"get",params:t})}function I(t){return Object(o["a"])({url:s+"/goods/queryGoodsSubByPage",method:"GET",params:t,data:{}})}function F(t){return Object(o["a"])({url:s+"/goods/queryGoodsTypeList",method:"GET",params:t,data:{}})}function T(t){return Object(o["a"])({url:s+"/goods/queryGoodsCategoryList",method:"GET",params:t,data:{}})}function L(t){return Object(o["a"])({url:s+"/goods/queryGoodsBrandList",method:"GET",params:t,data:{}})}function E(t){return Object(o["a"])({url:s+"/goods/get/"+t.id,method:"GET",data:{}})}},e29f: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("save-form",{ref:"searchForm",attrs:{inline:!0,model:t.searchForm},on:{submit:t.search,reset:t.onReSet}},[n("el-form-item",{attrs:{prop:"courseStatus"}},[n("el-input",{attrs:{placeholder:"请输入订单编号"},model:{value:t.searchForm.orderNo,callback:function(e){t.$set(t.searchForm,"orderNo",e)},expression:"searchForm.orderNo"}})],1),t._v(" "),n("el-form-item",{attrs:{prop:"extensionUserId"}},[n("remote-search",{attrs:{ariaPlaceholder:"请选择推广人员",commit:"setTeachers",demissionFlag:!0,isForzenWithQueryCondition:!0},model:{value:t.searchForm.extensionUserId,callback:function(e){t.$set(t.searchForm,"extensionUserId",e)},expression:"searchForm.extensionUserId"}})],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{"native-type":"submit",type:"primary"}},[t._v("搜索")]),t._v(" "),n("el-button",{attrs:{"native-type":"reset",type:"danger"}},[t._v("重置")])],1)],1),t._v(" "),n("div",{staticClass:"tableWrap"},[n("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:t.tableList}},[n("el-table-column",{attrs:{align:"center",prop:"orderNo",label:"订单编号"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"orderType",label:"订单类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t.getOrderType(e.row.orderType))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"orderAmount",label:"订单金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("moneyFormat")(e.row.orderAmount))+"元\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"orderAmount",label:"支付时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.payTime)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"extensionUser",label:"推广人员"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.extensionUser)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"extensionFee",label:"绩效金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("moneyFormat")(e.row.extensionFee))+"元\n ")]}}])})],1),t._v(" "),n("pagination",{attrs:{sync:"",total:t.pageInfo.total,page:t.pageInfo.page,limit:t.pageInfo.limit,"page-sizes":t.pageInfo.page_size},on:{"update:total":function(e){return t.$set(t.pageInfo,"total",e)},"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)],1)])},o=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h2",[n("div",{staticClass:"squrt"}),t._v("\n 推广订单\n ")])}],a=n("c7eb"),u=n("5530"),s=n("15fd"),c=(n("96cf"),n("1da1")),i=(n("bc3a"),n("5f87"),n("333d")),d=n("2543"),l=(n("1cc7"),n("ed08"),n("3908"),["timer"]),f={COURSE_SALE:"课包销售",MUSICAL_SALE:"乐器销售",REPAIR:"维修订单",GROUP_SALE:"开团销售","":"--"},p={components:{pagination:i["a"]},data:function(){return{searchForm:{extensionUserId:null,orderNo:""},soundLists:[],organList:[],tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},categoryList:[]}},created:function(){},mounted:function(){this.$store.dispatch("setBranchs"),this.init(),this.getList()},methods:{init:function(){},search:function(){this.pageInfo.page=1,this.getList()},onReSet:function(){this.pageInfo.page=1,this.searchForm={search:null,organId:"",teacherIdList:"",timer:[],courseStatus:"",teachMode:""},this.getList()},getList:function(){var t=Object(c["a"])(Object(a["a"])().mark((function t(){var e,n,r,o;return Object(a["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e=this.searchForm,e.timer,n=Object(s["a"])(e,l),r=Object(u["a"])({page:this.pageInfo.page,rows:this.pageInfo.limit},n),t.next=5,Object(d["l"])(r);case 5:o=t.sent,this.tableList=o.data.rows,this.pageInfo.total=o.data.total,t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](0),console.log(t.t0);case 13:case"end":return t.stop()}}),t,this,[[0,10]])})));function e(){return t.apply(this,arguments)}return e}(),getOrderType:function(t){return t?f[t]:"--"}}},m=p,g=n("2877"),h=Object(g["a"])(m,r,o,!1,null,"d0a434ac",null);e["default"]=h.exports}}]);
|