(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7a6a7f92"],{2026: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",[n("a-alert",{staticClass:"info",attrs:{type:"info"}},[n("div",{attrs:{slot:"description"},slot:"description"},[n("div",[n("span",{staticClass:"label"},[t._v("用户姓名:")]),n("span",[t._v(t._s(t.userInfo.userName))])]),n("div",[n("span",{staticClass:"label"},[t._v("用户手机号:")]),n("span",[t._v(t._s(t.userInfo.nickName))])])])]),n("a-table",{attrs:{columns:t.IntegralDetailColumns,"data-source":t.tabledData,pagination:!1,loading:t.tableLoading,"row-key":function(t){return t.createTime}},scopedSlots:t._u([{key:"actionType",fn:function(e,a){return n("span",{},[t._v(t._s(t.actionTypeMap.get(a.actionType)))])}},{key:"actions",fn:function(e,a){return n("span",{},[t.operation.edit?n("a",{staticStyle:{"margin-right":"10px"},on:{click:function(e){return t.editClick(a)}}},[t._v("编辑")]):t._e(),t.operation.frozen?n("a",{staticStyle:{"margin-right":"10px"}},[t._v("冻结/解冻")]):t._e(),t.operation.check?n("router-link",{attrs:{to:"/operateCenter/userIntegralList/detail/"+a.id}},[t._v("查看变更")]):t._e()],1)}}])}),n("MyPagination",{directives:[{name:"show",rawName:"v-show",value:!t.tableLoading,expression:"!tableLoading"}],attrs:{count:t.total,pageNo:t.pageNo},on:{showSizeChangeFn:t.paginationCallBack}})],1)},i=[],r=n("1da1"),o=(n("96cf"),n("4ec9"),n("d3b7"),n("3ca3"),n("ddb0"),n("fdb4")),s=n("cc25"),c=n("6ffe"),u=new Map([[1,"增加"],[2,"减少"],[3,"冻结"],[4,"解除冻结"]]),d={components:{MyPagination:c["a"]},data:function(){return{actionTypeMap:u,total:0,pageNo:1,pageSize:20,IntegralDetailColumns:s["a"],tabledData:[],tableLoading:!0,userInfo:{}}},created:function(){this.fetchData()},methods:{fetchData:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var n,a,i,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n={userNo:t.$route.params.userNo,pageNo:t.pageNo,pageSize:t.pageSize},e.next=3,Object(o["c"])(n);case 3:if(a=e.sent,i=a.code,r=a.data,t.tableLoading=!1,200===i){e.next=9;break}return e.abrupt("return");case 9:t.tabledData=r.list,t.total=r.count,t.userInfo=r.userInfo;case 12:case"end":return e.stop()}}),e)})))()},paginationCallBack:function(t,e){this.pageNo=t,this.pageSize=e,this.fetchData()}}},l=d,f=(n("20fc"),n("2877")),p=Object(f["a"])(l,a,i,!1,null,"dd36502a",null);e["default"]=p.exports},"20fc":function(t,e,n){"use strict";n("4a6b")},"4a6b":function(t,e,n){},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var a=n("1d80"),i=n("5899"),r="["+i+"]",o=RegExp("^"+r+r+"*"),s=RegExp(r+r+"*$"),c=function(t){return function(e){var n=String(a(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(s,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},"6ffe":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"},[n("a-pagination",{attrs:{"page-size-options":t.pageSizeOptions,total:t.count,"show-total":function(t,e){return"总共"+t+"条"},"page-size":t.pageSize,showQuickJumper:"",showSizeChanger:t.showSizeChanger},on:{showSizeChange:t.onShowSizeChange,change:t.onchange},scopedSlots:t._u([{key:"buildOptionText",fn:function(e){return["99"!==e.value?n("span",[t._v(t._s(e.value)+"条/页")]):t._e()]}}]),model:{value:t.current,callback:function(e){t.current=e},expression:"current"}})],1)},i=[],r=(n("a9e3"),{props:{count:{type:Number,defaule:0},pageNo:{type:Number,default:1},showSizeChanger:{type:Boolean,default:!0}},data:function(){return{pageSizeOptions:["20","30","40","50","100","200"],current:1,pageSize:20}},watch:{pageNo:function(t){this.current=t}},created:function(){this.current=this.pageNo},methods:{onShowSizeChange:function(t,e){this.current=1,this.$emit("showSizeChangeFn",t,e),this.pageSize=e},onchange:function(t,e){this.$emit("showSizeChangeFn",t,e)}}}),o=r,s=(n("ae61"),n("2877")),c=Object(s["a"])(o,a,i,!1,null,"ae5bacaa",null);e["a"]=c.exports},7156:function(t,e,n){var a=n("861d"),i=n("d2bb");t.exports=function(t,e,n){var r,o;return i&&"function"==typeof(r=e.constructor)&&r!==n&&a(o=r.prototype)&&o!==n.prototype&&i(t,o),t}},"96b4":function(t,e,n){},a9e3:function(t,e,n){"use strict";var a=n("83ab"),i=n("da84"),r=n("94ca"),o=n("6eeb"),s=n("5135"),c=n("c6b6"),u=n("7156"),d=n("c04e"),l=n("d039"),f=n("7c73"),p=n("241c").f,g=n("06cf").f,h=n("9bf2").f,m=n("58a8").trim,k="Number",b=i[k],I=b.prototype,v=c(f(I))==k,y=function(t){var e,n,a,i,r,o,s,c,u=d(t,!1);if("string"==typeof u&&u.length>2)if(u=m(u),e=u.charCodeAt(0),43===e||45===e){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:a=2,i=49;break;case 79:case 111:a=8,i=55;break;default:return+u}for(r=u.slice(2),o=r.length,s=0;si)return NaN;return parseInt(r,a)}return+u};if(r(k,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var N,x=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof x&&(v?l((function(){I.valueOf.call(n)})):c(n)!=k)?u(new b(y(e)),n,x):y(e)},S=a?p(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),w=0;S.length>w;w++)s(b,N=S[w])&&!s(x,N)&&h(x,N,g(b,N));x.prototype=I,I.constructor=x,o(i,k,x)}},ae61:function(t,e,n){"use strict";n("96b4")},cc25:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var a=[{title:"积分获取行为",dataIndex:"taskName",key:"taskName"},{title:"积分获取数量",dataIndex:"number",key:"number",scopedSlots:{customRender:"number"}},{title:"状态",dataIndex:"state",key:"state",scopedSlots:{customRender:"state"}},{title:"操作",key:"action",dataIndex:"action",width:"5%",scopedSlots:{customRender:"action"}}],i=[{title:"任务名称",dataIndex:"taskName",key:"taskName"},{title:"任务分类",dataIndex:"taskType",key:"taskType"},{title:"任务周期",dataIndex:"taskCycle",key:"taskCycle"},{title:"奖励周期",dataIndex:"rewardCycle",key:"rewardCycle"}],r=[{title:"手机号",dataIndex:"userName",key:"userName"},{title:"用户姓名",dataIndex:"nickName",key:"nickName"},{title:"所属渠道",dataIndex:"agentName",key:"agentName"},{title:"已消耗积分",key:"totalUse",dataIndex:"totalUse"},{title:"可用积分",key:"total_credit",dataIndex:"totalCredit",sorter:!0},{title:"积分状态",dataIndex:"status",key:"status",scopedSlots:{customRender:"status"}},{title:"操作",key:"actions",dataIndex:"actions",width:200,scopedSlots:{customRender:"actions"}}],o=[{title:"操作时间",dataIndex:"createTime",width:200},{title:"操作人",dataIndex:"adminer"},{title:"操作类型",dataIndex:"actionType",scopedSlots:{customRender:"actionType"}},{title:"操作前可用积分",dataIndex:"numBeforeAct"},{title:"操作后可用积分",dataIndex:"numAfterAct"},{title:"描述",dataIndex:"reason",width:350}]},fdb4:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"f",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"e",(function(){return s})),n.d(e,"g",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return d}));var a=n("284b"),i=function(t){return a["a"].post("/adminv2/shoptask/addTaskConfig",t)},r=function(t){return a["a"].post("/adminv2/shoptask/taskConfigLists",t)},o=function(t){return a["a"].post("/adminv2/shoptask/editTaskConfig",t)},s=function(t){return a["a"].post("/adminv2/credit/list",t)},c=function(t){return a["a"].post("/adminv2/credit/status",t)},u=function(t){return a["a"].post("/adminv2/credit/changeRecord",t)},d=function(t){return a["a"].post("/adminv2/credit/change",t)}}}]); //# sourceMappingURL=chunk-7a6a7f92.ba7cbda4.js.map