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-46a057bb.11e8a5a2.js

1 line
22 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-46a057bb"],{"1c16":function(e,a,t){},"58f4":function(e,a,t){"use strict";t("1c16")},b856:function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"divBox"},[t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("div",{staticClass:"container"},[t("el-form",{attrs:{size:"small","label-width":"100px",inline:""}},[t("el-form-item",{staticClass:"width100",attrs:{label:"等级名称:"}},[t("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入等级名称",size:"small",clearable:""},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.getList(1)}},model:{value:e.tableFrom.brokerage_name,callback:function(a){e.$set(e.tableFrom,"brokerage_name",a)},expression:"tableFrom.brokerage_name"}},[t("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search",size:"small"},on:{click:function(a){return e.getList(1)}},slot:"append"})],1)],1),e._v(" "),t("el-button",{staticClass:"filter-item",attrs:{type:"primary",size:"small"},on:{click:e.groupAdd}},[e._v("添加分销员等级")])],1)],1)]),e._v(" "),t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:e.tableData.data,size:"mini","highlight-current-row":""}},[t("el-table-column",{attrs:{prop:"user_brokerage_id",label:"ID",width:"60"}}),e._v(" "),t("el-table-column",{attrs:{label:"图标","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(e){return[t("div",{staticClass:"demo-image__preview"},[t("el-image",{attrs:{src:e.row.brokerage_icon||"","preview-src-list":[e.row.brokerage_icon||""]}})],1)]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"brokerage_name",label:"名称","min-width":"120"}}),e._v(" "),t("el-table-column",{attrs:{label:"等级","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v("Lv "+e._s(a.row.brokerage_level))])]}}])}),e._v(" "),t("el-table-column",{attrs:{label:"任务描述","min-width":"160"},scopedSlots:e._u([{key:"default",fn:function(a){return e._l(a.row.brokerage_rule,(function(a,n){return t("div",{key:n},[a.num>0?t("div",["spread_user"==n?t("div",[e._v("推广人数"+e._s(a.num)+"人")]):e._e(),e._v(" "),"pay_num"==n?t("div",[e._v("自身下单"+e._s(a.num)+"个")]):e._e(),e._v(" "),"spread_money"==n?t("div",[e._v("推广订单金额"+e._s(a.num)+"元")]):e._e(),e._v(" "),"pay_money"==n?t("div",[e._v("自身消费金额"+e._s(a.num)+"元")]):e._e(),e._v(" "),"spread_pay_num"==n?t("div",[e._v("推广订单"+e._s(a.num)+"个")]):e._e()]):e._e()])}))}}])}),e._v(" "),t("el-table-column",{attrs:{label:"分销员人数","min-width":"100",prop:"user_num"}}),e._v(" "),t("el-table-column",{attrs:{prop:"extension_one",label:"一级返佣上浮比例(%)","min-width":"120"}}),e._v(" "),t("el-table-column",{attrs:{prop:"extension_two",label:"二级返佣上浮比例(%)","min-width":"120"}}),e._v(" "),t("el-table-column",{attrs:{label:"操作","min-width":"150",fixed:"right",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(t){return e.onDetail(a.row.user_brokerage_id)}}},[e._v("详情")]),e._v(" "),t("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(t){return e.onEdit(a.row.user_brokerage_id)}}},[e._v("编辑")]),e._v(" "),t("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(t){return e.onDelete(a.row.user_brokerage_id,a.$index)}}},[e._v("删除")])]}}])})],1),e._v(" "),t("div",{staticClass:"block"},[t("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"page-size":e.tableFrom.limit,"current-page":e.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:e.tableData.total},on:{"size-change":e.handleSizeChange,"current-change":e.pageChange}})],1)],1),e