(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21da80"],{d1da:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"68px"}},[a("el-form-item",{attrs:{label:"类型",prop:"type"}},[a("el-select",{attrs:{placeholder:"请选择类型",clearable:""},model:{value:e.queryParams.type,callback:function(t){e.$set(e.queryParams,"type",t)},expression:"queryParams.type"}},e._l(e.dict.type.socre_flow_type,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.flowList}},[a("el-table-column",{attrs:{label:"用户标识",align:"center",prop:"userId"}}),a("el-table-column",{attrs:{label:"类型",align:"center",prop:"type"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("dict-tag",{attrs:{options:e.dict.type.socre_flow_type,value:t.row.type}})]}}])}),a("el-table-column",{attrs:{label:"积分变更",align:"center",prop:"socre"}}),a("el-table-column",{attrs:{label:"变更时间",align:"center",prop:"createTime"}})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}})],1)},l=[],s=a("b775");function n(e){return Object(s["a"])({url:"/system/flow/list",method:"get",params:e})}var i={name:"Flow",dicts:["socre_flow_type"],data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,flowList:[],title:"",open:!1,queryParams:{pageNum:1,pageSize:10,userId:null,type:null,socre:null},form:{},rules:{}}},created:function(){this.queryParams.userId=this.$route.params.userId,this.queryParams.appId=this.$route.params.appId,this.getList()},methods:{getList:function(){var e=this;this.loading=!0,n(this.queryParams).then((function(t){e.flowList=t.rows,e.total=t.total,e.loading=!1}))},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={type:null,socre:null,createTime:null},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()}}},o=i,u=a("2877"),c=Object(u["a"])(o,r,l,!1,null,null,null);t["default"]=c.exports}}]);