You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crmeb_php/public/system/js/chunk-242aeaf3.9eb16a1f.js

1 line
18 KiB

12 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-242aeaf3"],{ae25:function(t,e,a){"use strict";a("f8c0")},cc3c:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"divBox"},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("div",{staticClass:"container"},[r("el-form",{attrs:{size:"small","label-width":"100px",inline:""}},[r("el-form-item",{staticClass:"width100",attrs:{label:"时间选择:"}},[r("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small"},on:{change:function(e){return t.selectChange(t.tableFrom.date)}},model:{value:t.tableFrom.date,callback:function(e){t.$set(t.tableFrom,"date",e)},expression:"tableFrom.date"}},t._l(t.fromList.fromTxt,(function(e,a){return r("el-radio-button",{key:a,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),t._v(" "),r("el-date-picker",{staticStyle:{width:"250px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间"},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),r("el-form-item",{attrs:{label:"分销等级:"}},[r("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.brokerage_level,callback:function(e){t.$set(t.tableFrom,"brokerage_level",e)},expression:"tableFrom.brokerage_level"}},t._l(t.levelList,(function(t){return r("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),r("el-form-item",{staticClass:"width100",attrs:{label:"关键字:"}},[r("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入姓名、电话、UID",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(e)}},model:{value:t.tableFrom.keyword,callback:function(e){t.$set(t.tableFrom,"keyword",e)},expression:"tableFrom.keyword"}},[r("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search",size:"small"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1)],1)],1),t._v(" "),r("cards-data",{attrs:{"card-lists":t.cardLists}})],1),t._v(" "),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini","highlight-current-row":""}},[r("el-table-column",{attrs:{prop:"uid",label:"ID",width:"60"}}),t._v(" "),r("el-table-column",{attrs:{label:"头像","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"demo-image__preview"},[r("el-image",{attrs:{src:e.row.avatar||t.moren,"preview-src-list":[e.row.avatar||t.moren]}})],1)]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"用户信息","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v("昵称:"+t._s(e.row.nickname))]),t._v(" "),r("div",[t._v("电话:"+t._s(e.row.phone))])]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"spread_count",label:"推广用户数量","min-width":"120"}}),t._v(" "),r("el-table-column",{attrs:{label:"分销等级","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.brokerage?e.row.brokerage.brokerage_name:""))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"推广订单数量","min-width":"120",prop:"spread_pay_count"}}),t._v(" "),r("el-table-column",{attrs:{label:"推广订单金额","min-width":"120",prop:"spread_pay_price"}}),t._v(" "),r("el-table-column",{attrs:{label:"佣金金额","min-width":"120",sortable:"","sort-method":function(t,e){return t.total_brokerage_price-e.total_brokerage_price},prop:"total_brokerage_price"}}),t._v(" "),r("el-table-column",{attrs:{label:"已提现金额","min-width":"120",sortable:"","sort-method":function(t,e){return t.total_extract_price-e.total_extract_pr