(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["AttributedToDetails"],{"38b7":function(e,t,a){},"432b":function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a("5530"),r=a("2f62"),i={computed:Object(n["a"])({},Object(r["b"])({sideCollapsed:function(e){return e.app.sideCollapsed}}))}},"4de4":function(e,t,a){"use strict";var n=a("23e7"),r=a("b727").filter,i=a("1dde"),o=i("filter");n({target:"Array",proto:!0,forced:!o},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},5530:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));a("b64b"),a("a4d3"),a("4de4"),a("e439"),a("159b"),a("dbb4");var n=a("ade3");function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t2)if(l=g(l),t=l.charCodeAt(0),43===t||45===t){if(a=l.charCodeAt(2),88===a||120===a)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+l}for(i=l.slice(2),o=i.length,s=0;sr)return NaN;return parseInt(i,n)}return+l};if(i(m,!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var C,x=function(e){var t=arguments.length<1?0:e,a=this;return a instanceof x&&(S?f((function(){y.valueOf.call(a)})):c(a)!=m)?l(new v(w(t)),a,x):w(t)},k=n?p(v):"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(","),N=0;k.length>N;N++)s(v,C=k[N])&&!s(x,C)&&b(x,C,h(v,C));x.prototype=y,y.constructor=x,o(r,m,x)}},ade3:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"a",(function(){return n}))},ae61:function(e,t,a){"use strict";a("96b4")},b64b:function(e,t,a){var n=a("23e7"),r=a("7b0b"),i=a("df75"),o=a("d039"),s=o((function(){i(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return i(r(e))}})},d8f4:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"positionT0L0"},[a("div",{staticClass:"header"},[a("div",{staticClass:"headerBox"},[a("a-date-picker",{staticClass:"margin_right20",staticStyle:{width:"210px"},attrs:{placeholder:"操作日期"},on:{change:e.registerChange},model:{value:e.form.datePicker,callback:function(t){e.$set(e.form,"datePicker",t)},expression:"form.datePicker"}}),a("a-input",{staticClass:"margin_right20",staticStyle:{width:"210px"},attrs:{placeholder:"请输入操作人"},model:{value:e.form.user,callback:function(t){e.$set(e.form,"user",t)},expression:"form.user"}}),a("treeselectIdRadio",{staticClass:"margin_right20",staticStyle:{width:"210px"},attrs:{isDateShow:e.isDateShow,placeholder:e.placeholderstar},on:{treeDataChange:e.treeDataChange}}),a("treeselectIdRadio2",{staticStyle:{width:"210px"},attrs:{isDateShow:e.isDateShows,placeholder:e.placeholderend},on:{treeDataChange:e.treeDataChangeNew}})],1),a("div",{staticClass:"headerBtn"},[a("a-button",{staticClass:"margin_right20",attrs:{type:"primary"},on:{click:e.queryClick}},[e._v("查询")]),a("a-button",{attrs:{type:"primary"},on:{click:e.queryClick}},[e._v("刷新")])],1)]),a("div",{staticClass:"contant-box"},[a("a-table",{ref:"table",attrs:{columns:e.columns,"data-source":e.tableList,"row-key":function(e){return e.id},loading:e.tableLoading,pagination:!1},scopedSlots:e._u([{key:"status",fn:function(t,n){return[0==n.status?a("span",[e._v("未完成")]):a("span",[e._v("已完成")])]}},{key:"action",fn:function(t,n){return a("span",{},[0!=n.status?a("a",{on:{click:function(t){return e.downloadClick(n)}}},[e._v("下载")]):a("a")])}}])})],1),a("MyPagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length>0,expression:"tableList.length>0"}],attrs:{count:e.count,pageNo:e.pageNo},on:{showSizeChangeFn:e.showSizeChangeFn}}),a("footer-tool-bar",{attrs:{collapsed:e.sideCollapsed}},[a("a-button",{on:{click:function(t){return e.$router.go(-1)}}},[e._v("返回")])],1),a("a-modal",{attrs:{title:"导出"},scopedSlots:e._u([{key:"footer",fn:function(){return[a("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[a("a-button",{staticClass:"margin_right20",on:{click:function(t){e.visible=!1}}},[e._v("取消")]),a("download-excel",{attrs:{data:e.exportList,fields:e.tableDataName,name:"用户归属划分记录.xls"}},[a("a-button",{attrs:{type:"primary"},on:{click:function(t){e.visible=!1}}},[e._v("确定")])],1)],1)]},proxy:!0}]),model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[a("p",[a("a-icon",{style:{fontSize:"16px",color:"#FF8200"},attrs:{type:"info-circle"}}),a("span",{staticStyle:{"margin-left":"10px"}},[e._v("确定要下载此数据吗?")])],1)])],1)},r=[],i=a("6ffe"),o=a("432b"),s=a("5a70"),c=a("425c"),l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"treeselect"},[a("treeselect",{ref:"deptPost",attrs:{placeholder:e.placeholder,options:e.options,normalizer:e.normalizer,searchable:!1},on:{input:e.treeselectChange},model:{value:e.treeselectArr,callback:function(t){e.treeselectArr=t},expression:"treeselectArr"}})],1)},u=[],f=(a("159b"),a("ca17")),d=a.n(f),p=(a("542c"),{components:{Treeselect:d.a},props:{isDateShow:{type:Boolean,default:!0},placeholder:{type:String,default:"请选择渠道"}},data:function(){return{depts:"",options:[],treeselectArr:null,normalizer:function(e){return{id:e.agentNo,label:e.agentName,children:e.childs}}}},watch:{isDateShow:function(e){this.treeselectChange(),this.treeselectArr=null}},created:function(){var e=this;Object(c["a"])({}).then((function(t){200===t.code&&(e.options=t.data.lists)}))},methods:{treeselectChange:function(e){if(void 0!=e){var t="";this.$refs.deptPost.selectedNodes.forEach((function(e){t=e.label})),this.$emit("treeDataChange",e,t)}else this.$emit("treeDataChange",e)}}}),h=p,b=a("2877"),g=Object(b["a"])(h,l,u,!1,null,"0427b0bf",null),m=g.exports,v={mixins:[o["a"]],components:{MyPagination:i["a"],FooterToolBar:s["a"],treeselectIdRadio:m,treeselectIdRadio2:m},created:function(){this.getTagList()},data:function(){return{visible:!1,isDateShow:!0,isDateShows:!1,tableLoading:!1,form:{startTime:"",datePicker:"",user:"",before:"",after:""},columns:[{title:"序号",dataIndex:"id",key:"id"},{title:"变更前渠道",dataIndex:"before",key:"before"},{title:"变更后渠道",dataIndex:"after",key:"after"},{title:"变更数量",dataIndex:"count",key:"count"},{title:"操作人",dataIndex:"admin",key:"admin"},{title:"操作时间",dataIndex:"createTime",key:"createTime"},{title:"批次状态",dataIndex:"status",key:"status",scopedSlots:{customRender:"status"}},{title:"操作",dataIndex:"action",key:"action",width:"80px",scopedSlots:{customRender:"action"}}],tableList:[],pageNo:1,pageSize:20,count:0,placeholderstar:"请选择变更前渠道",placeholderend:"请选择变更后渠道",exportList:[],tableDataName:{"用户姓名":"nickName","用户手机":"userName","注册来源":{field:"source",callback:function(e){return 1==e?"APP_Android":2==e?"APP_iOS":3==e?"直播_视频号":4==e?"直播_抖音":5==e?"直播预约小程序":6==e||6==e?"H5阅读大使推广二维码":7==e?"H5大使推广二维码":8==e?"人工操作":9==e?"历史注册":99==e?"其他":"--"}},"注册时间":"createTime"}}},methods:{treeDataChange:function(e){this.form.before=e},treeDataChangeNew:function(e){this.form.after=e},registerChange:function(e,t){this.form.startTime=t||""},queryClick:function(){this.pageNo=1,this.pageSize=this.pageSize,this.getTagList()},resetClick:function(){this.pageNo=1,this.pageSize=this.pageSize,this.isDateShow=!1,this.isDateShows=!1,this.form.startTime="",this.form.datePicker="",this.form.user="",this.form.before="",this.form.after="",this.getTagList()},downloadClick:function(e){var t=this;Object(c["o"])({batchId:e.id}).then((function(e){200===e.code&&(t.visible=!0,t.exportList=e.data)}))},showSizeChangeFn:function(e,t){this.pageNo=e,this.pageSize=t,this.getTagList()},getTagList:function(){var e=this;this.tableLoading=!0,Object(c["b"])({batchDate:e.form.startTime,adminer:e.form.user,beforeAgentNo:void 0==e.form.before?"":e.form.before,afterAgentNo:void 0==e.form.after?"":e.form.after,pageNo:e.pageNo,pageSize:e.pageSize}).then((function(t){200===t.code&&(e.tableList=t.data.list,e.count=t.data.count),e.tableLoading=!1}))}}},y=v,S=(a("70f5"),Object(b["a"])(y,n,r,!1,null,"092565b4",null));t["default"]=S.exports},dbb4:function(e,t,a){var n=a("23e7"),r=a("83ab"),i=a("56ef"),o=a("fc6a"),s=a("06cf"),c=a("8418");n({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){var t,a,n=o(e),r=s.f,l=i(n),u={},f=0;while(l.length>f)a=r(n,t=l[f++]),void 0!==a&&c(u,t,a);return u}})},e439:function(e,t,a){var n=a("23e7"),r=a("d039"),i=a("fc6a"),o=a("06cf").f,s=a("83ab"),c=r((function(){o(1)})),l=!s||c;n({target:"Object",stat:!0,forced:l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(i(e),t)}})},e481:function(e,t,a){"use strict";a("9940")}}]); //# sourceMappingURL=AttributedToDetails.1e65d22f.js.map