(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["OwnershipList"],{"3b06":function(t,e,a){"use strict";a("b0dc")},"47db":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ant-card",attrs:{id:"course_category"}},[t.$route.meta.isShow?a("a-spin",{attrs:{spinning:t.spinning,size:"large"}},[a("div",{staticClass:"ant-card-body"},[a("div",{staticClass:"head-box"},[a("div",{staticClass:"table-operator"},[a("treeselectCode",{staticClass:"margin_right20",staticStyle:{width:"210px"},attrs:{isDateShow:t.isDateShow,placeholder:t.placeholderstar},on:{treeDataChange:t.treeDataChange}}),a("a-input",{staticClass:"margin_right20",staticStyle:{width:"210px"},attrs:{placeholder:"请输入用户手机号"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}}),a("a-range-picker",{staticClass:"margin_right20",staticStyle:{width:"210px"},on:{change:t.onChangeDate},model:{value:t.form.dateTime,callback:function(e){t.$set(t.form,"dateTime",e)},expression:"form.dateTime"}}),a("a-button",{staticClass:"margin_right20",attrs:{type:"primary"},on:{click:t.queryClick}},[t._v("查询")]),a("a-button",{attrs:{type:"primary"},on:{click:t.resetClick}},[t._v("重置")])],1)]),a("div",{staticClass:"contant-box"},[a("a-table",{ref:"table",attrs:{columns:t.columns,"data-source":t.tableList,"row-key":function(t){return t.phone},loading:t.tableLoading,pagination:!1}})],1),a("MyPagination",{directives:[{name:"show",rawName:"v-show",value:!t.tableLoading,expression:"!tableLoading"}],attrs:{count:t.count,pageNo:t.pageNo},on:{showSizeChangeFn:t.showSizeChangeFn}})],1)]):t._e(),a("router-view")],1)},n=[],s=a("6ffe"),o=a("b893"),r=a("425c"),c=a("eb76"),h={components:{MyPagination:s["a"],treeselectCode:c["a"]},created:function(){Object(o["a"])("addCategory")&&(this.isShowAdd=!0),Object(o["a"])("/admin/course/label/updLabel")&&(this.isShowUpd=!0),Object(o["a"])("/admin/course/label/delLabel")&&(this.isShowDel=!0)},data:function(){return{name:"",spinning:!1,tableLoading:!1,form:{afterAgentCode:"",phone:"",startTime:"",endTime:"",dateTime:[]},columns:[{title:"用户姓名",dataIndex:"nickName",key:"nickName"},{title:"用户手机",dataIndex:"phone",key:"phone"},{title:"变更后渠道",dataIndex:"afterAgentName",key:"afterAgentName"},{title:"变更时间",dataIndex:"createTime",key:"createTime"}],tableList:[],pageNo:1,pageSize:20,count:0,isDateShow:!0,placeholderstar:"请选择变更来源",isShowAdd:!1,isShowUpd:!1,isShowDel:!1}},mounted:function(){this.getTagList()},methods:{treeDataChange:function(t){this.form.afterAgentCode=t,this.isDateShow=!0},onChangeDate:function(t,e){""!=e[0]?(this.form.startTime=e[0],this.form.endTime=e[1]):(this.form.startTime="",this.form.endTime="")},queryClick:function(){this.pageNo=1,this.pageSize=this.pageSize,this.getTagList()},resetClick:function(){this.pageNo=1,this.pageSize=this.pageSize,this.isDateShow=!1,this.form.afterAgentCode="",this.form.phone="",this.form.dateTime=[],this.form.startTime="",this.form.endTime="",this.getTagList()},showSizeChangeFn:function(t,e){this.pageNo=t,this.pageSize=e,this.getTagList()},getTagList:function(){var t=this;this.tableLoading=!0,Object(r["c"])({afterAgentCode:this.form.afterAgentCode,phone:this.form.phone,startTime:this.form.startTime,endTime:this.form.endTime,pageNo:this.pageNo,pageSize:this.pageSize}).then((function(e){200===e.code&&(t.tableList=e.data.list,t.count=e.data.count),t.tableLoading=!1}))},onEdit:function(t){this.$router.push("/userManage/ownershipList/OwnershipDetails/".concat(t.id))},targetFn:function(){return document.querySelector("#course")}}},d=h,l=(a("3b06"),a("2877")),g=Object(l["a"])(d,i,n,!1,null,"e33bb2b4",null);e["default"]=g.exports},b0dc:function(t,e,a){}}]); //# sourceMappingURL=OwnershipList.117fb999.js.map