canyin-project/ybcy/views/channel/index/static/js/chunk-6035bd5f.de92e571.js

1 line
12 KiB
JavaScript
Raw Normal View History

2024-11-01 16:07:54 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6035bd5f"],{"3bbe":function(t,e,r){var n=r("861d");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"4c8d":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"outmain ba_f"},[r("div",{staticClass:"ba_f t_c"},[t._m(0),r("div",{staticClass:"flex-g-1 pad_20"},[r("ul",{staticClass:"flex-bet pad_lr_30"},[r("li",{staticClass:"flex-col"},[r("p",{staticClass:"color_9 fon_12"},[t._v("累计消费金额")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 color_3 font_w700"},[r("a",{attrs:{href:"#"}},[t._v(t._s(t.form.money||0))])])])]),r("li",{staticClass:"flex-col"},[r("p",{staticClass:"color_9 fon_12"},[t._v("累计订单数")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 color_3 font_w700"},[r("a",{attrs:{href:"#"}},[t._v(t._s(t.form.count||0))])])])]),r("li",{staticClass:"flex-col"},[r("p",{staticClass:"color_9 fon_12"},[t._v("累计维权订单数")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 color_3 font_w700"},[r("a",{attrs:{href:"#"}},[t._v(t._s(t.form.weicount||0))])])])]),r("li",{staticClass:"flex-col"},[r("p",{staticClass:"color_9 fon_12"},[t._v("累计退款金额")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 color_3 font_w700"},[r("a",{attrs:{href:"#"}},[t._v(t._s(t.form.reundcount||0))])])])])])])]),t._m(1),r("div",{staticClass:"nameinfo fon_12 bor_rad4 flex"},[r("div",{staticClass:"flex-y-top flex-g-0"},[r("img",{staticClass:"namelogo",attrs:{src:t.form.portrait}}),r("span",{staticClass:"mar_l15 mar_t10"},[t._v(t._s(t.form.userName))]),r("span",{staticClass:"mar_l15 mar_t10"},[t._v("userId"+t._s(t.form.id))])]),r("div",{staticClass:"mar_l140 flex-g-1"},[r("ul",{staticClass:"flex"},[r("li",{staticClass:"bdt flex-col mar_l140"},[r("p",[t._v("余额")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 mar_r8 color_3 font_w700 subjectcolor2"},[t._v(t._s(t.form.balance||0))])])]),r("li",{staticClass:"bdt flex-col mar_l140"},[r("p",[t._v("积分")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 mar_r8 color_3 font_w700 subjectcolor2"},[t._v(t._s(t.form.integral||0))])])])])])]),r("el-form",{ref:"form",staticClass:"mar_t20",attrs:{model:t.form,"label-width":"180px"}},[r("el-form-item",{attrs:{label:"用户标签"}},[r("el-select",{attrs:{placeholder:"用户标签"},model:{value:t.form.vipLabel,callback:function(e){t.$set(t.form,"vipLabel",e)},expression:"form.vipLabel"}},t._l(t.labelData,(function(t){return r("el-option",{key:t.id,attrs:{label:t.labelName,value:t.id}})})),1)],1)],1)],1),r("div",{staticClass:"mar_t20 ba_f pad_20 t_c"},[r("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("保存")])],1)])},a=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"shuju_title mar_b20"},[r("div",{staticClass:"shuju_title_text"},[r("span",[t._v("交易统计")])])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"shuju_title mar_b20 mar_t10"},[r("div",{staticClass:"shuju_title_text"},[r("span",[t._v("用户详情")])])])}],o=(r("96cf"),r("1da1")),c=r("5530"),s=r("ed08"),u=r("c24f"),i=r("2f62"),l={computed:Object(c["a"])({},Object(i["d"])(["storeId"])),created:function(){this.init(),this.$route.query.id&&(this.id=this.$route.query.id,this.edit())},name:"userquery",data:function(){return{form:{realName:"",portrait:"",userName:"",vipLabel:"",userTel:"",openId:"",balance:"",integral:"",createdAt:"",birthday:"",id:"",weicount:"",reundcount:""},form2:{},labelData:[]}},methods:{edit:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["i"])({id:t.id,storeId:t.storeId});case 2:r=e.sent,n=r.data,t.form2=t.form,t.form=Object.assign(t.form2,n);case 6:case"end":return e.stop()}}),e)})))()},init:function(){var t=this;