1 line
15 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-d601da3c"],{"6afa":function(t,e,n){},"8c03":function(t,e,n){"use strict";n.r(e);var r=n("c7eb"),a=n("1da1"),o=(n("a15b"),n("d81d"),n("c73d"),n("90e7")),u={name:"index",data:function(){return{formValidate:{page:1,limit:15,data:"",nickname:""},tableList2:[],timeVal:[],fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},currentid:0,productRow:{},loading2:!1,total2:0}},created:function(){},mounted:function(){this.getListService()},methods:{onchangeTime:function(t){this.timeVal=t,this.formValidate.data=this.timeVal?this.timeVal.join("-"):"",this.getListService()},selectChange:function(t){this.formValidate.data=t,this.timeVal=[],this.getListService()},getListService:function(){var t=this;this.loading2=!0,Object(o.D)(this.formValidate).then(function(){var e=Object(a.a)(Object(r.a)().mark((function e(n){var a;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=n.data,t.tableList2=a.list,t.total2=a.count,t.tableList2.map((function(t){t._isChecked=!1})),t.loading2=!1;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading2=!1,t.$message.error(e.msg)}))},userSearchs:function(){this.formValidate.page=1,this.getListService()},currentidRadio:function(t){self.currentid=t.uid,this.productRow=t,this.productRow.uid?"image"===this.$route.query.fodder?(t={image:this.productRow.headimgurl,uid:this.productRow.uid},form_create_helper.set("image",t),form_create_helper.close("image")):this.$emit("imageObject",{image:this.productRow.headimgurl,uid:this.productRow.uid}):this.$message.warning("请先选择商品")}}};n("faae"),n=n("2877"),n=Object(n.a)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"customer"},[e("el-form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":"80px",inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[e("el-form-item",{attrs:{label:"搜索日期:"}},[e("el-date-picker",{staticStyle:{width:"250px"},attrs:{editable:!1,"value-format":"yyyy/MM/dd",type:"daterange",placement:"bottom-end","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),e("el-form-item",{attrs:{label:"用户名称:"}},[e("el-input",{staticClass:"form_content_width",attrs:{clearable:"",placeholder:"请输入用户名称"},model:{value:t.formValidate.nickname,callback:function(e){t.$set(t.formValidate,"nickname",e)},expression:"formValidate.nickname"}})],1),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:t.userSearchs}},[t._v("查询")])],1)],1),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading2,expression:"loading2"}],ref:"selection",staticClass:"mt15",attrs:{"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果",data:t.tableList2,height:"450"}},[e("el-table-column",{attrs:{width:"50"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("el-radio",{attrs:{disabled:!!n.row.is_del,label:n.row.uid},on:{input:function(){return t.currentidRadio(n.row)}},model:{value:t.currentid,callback:function(e){t.currentid=e},expression:"currentid"}},[t._v(" ")])]}}])}),e("el-table-column",{attrs:{label:"ID",width:"80"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.uid))])]}}])}),e("el-table-column",{attrs:{label:"微信用户名称","min-width":"180"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("div",[t._v(t._s(n.row.nickname))]),e("div",{staticStyle:{color:"red"}},[t._v(t._s(n.row.is_del?"用户已注销":""))])]}}])}),e("el-table-column",{attrs:{label:"客服头像","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(t){return[e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.row.headimgurl,expression:"scope.row.headimgurl"}]})])]}}])}),e("el-table-column",{attrs:{label:"用户类型","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(n){return["wechat"===n.row.user_type?e("span",[t._v("公众号")]):"routine"===n.row.user_type?e("span",[t._v("小程序")]):"h5"===n.row.user_type?e("span",[t._v("H5")]):"pc"===n.row.user_type?e("span",[t._v("PC")]):e("span",[t._v("--")])]}}])}),e("el-table-column",{attrs:{label:"性别","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",{directives:[{name:"show",rawName:"v-show",value:1===n.row.sex,expression:"scope.row.sex === 1"}]},[t._v("男")]),e("span",{directives:[{name:"show",rawName:"v-show",value:2===n.row.sex,expression:"scope.row.sex === 2"}]},[t._v("女")]),e("span",{directives:[{name:"show",rawName:"v-show",value:0===n.row.sex,expression:"scope.row.sex === 0"}]},[t._v("保密")]),e("span",{directives:[{name:"show",rawName:"v-show",value:null===n.row.sex,expression:"scope.row.sex === null"}]},[t._v("--")])]}}])}),e("el-table-column",{attrs:{label:"是否关注公众号","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",{domProps:{textContent:t._s(1===n.row.subscribe?"关注":"未关注")}})]}}])})],1),e("div",{staticClass:"acea-row row-right page"},[t.total2?e("pagination",{attrs:{total:t.total2,page:t.formValidate.page,limit:t.formValidate.limit},on:{"update:page":function(e){return t.$set(t.formValidate,"page",e)},"update:limit":function(e){return t.$set(t.formValidate,"limit",e)},pagination:t.getListService}}):t._e()],1)],1)}),[],!1,null,"1ce641b4",null);e.default=n.exports},"90e7":function(t,e,n){"use strict";n.d(e,"u",(function(){return o})),n.d(e,"k",(function(){return u})),n.d(e,"tb",(function(){return c})),n.d(e,"sb",(function(){return i})),n.d(e,"j",(function(){return s})),n.d(e,"db",(function(){return d})),n.d(e,"xb",(function(){return l})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return m})),n.d(e,"T",(function(){return p})),n.d(e,"cb",(function(){return h})),n.d(e,"ib",(function(){return g})),n.d(e,"A",(function(){return b})),n.d(e,"m",(function(){return v})),n.d(e,"eb",(function(){return j})),n.d(e,"n",(function(){return O})),n.d(e,"hb",(function(){return w})),n.d(e,"gb",(function(){return _})),n.d(e,"fb",(function(){return y})),n.d(e,"jb",(function(){return x})),n.d(e,"lb",(function(){return k})),n.d(e,"Q",(function(){return V})),n.d(e,"mb",(function(){return S})),n.d(e,"r",(function(){return T})),n.d(e,"p",(function(){return L})),n.d(e,"q",(function(){return C})),n.d(e,"s",(function(){return R})),n.d(e,"t",(function(){return N})),n.d(e,"W",(function(){return E})),n.d(e,"X",(function(){return G})),n.d(e,"U",(function(){return P})),n.d(e,"V",(function(){return $})),n.d(e,"P",(function(){return U})),n.d(e,"z",(function(){return q})),n.d(e,"D",(function(){return z})),n.d(e,"C",(function(){return B})),n.d(e,"w",(function(){return D})),n.d(e,"E",(function(){return F})),n.d(e,"y",(function(){return J})),n.d(e,"B",(function(){return M})),n.d(e,"x",(function(){return A})),n.d(e,"v",(function(){return H})),n.d(e,"O",(function(){return I})),n.d(e,"h",(function(){return K})),n.d(e,"e",(function(){return Q})),n.d(e,"f",(function(){return W})),n.d(e,"ub",(function(){return X})),n.d(e,"vb",(function(){return Y})),n.d(e,"wb",(function(){return Z})),n.d(e,"kb",(function(){return tt})),n.d(e,"g",(function(){return et})),n.d(e,"nb",(function(){return nt})),n.d(e,"qb",(function(){return rt})),n.d(e,"a",(function(){return at})),n.d(e,"b",(function(){return ot})),n.d(e,"ob",(function(){return ut})),n.d(e,"rb",(function(){return ct})),n.d(e,"pb",(function(){return it})),n.d(e,"l",(function(){return st})),n.d(e,"R",(function(){return dt})),n.d(e,"S",(function(){return lt})),n.d(e,"Y",(function(){return ft})),n.d(e,"M",(function(){return mt})),n.d(e,"L",(function(){return pt})),n.d(e,"G",(function(){return ht})),n.d(e,"F",(function(){return gt})),n.d(e,"H",(function(){return bt})),n.d(e,"K",(function(){return vt})),n.d(e,"J",(function(){return jt})),n.d(e,"N",(function(){return Ot})),n.d(e,"I",(function(){return wt})),n.d(e,"i",(function(){return _t})),n.d(e,"bb",(function(){return yt})),n.d(e,"ab",(function(){return xt})),n.d(e,"o",(function(){return kt})),n.d(e,"Z",(function(){return Vt})),n("99af");var r=n("6b6c"),a=n("c276");function o(t){return Object(r.a)({url:"setting/config/header_basics",method:"get",params:t})}function u(t,e){return Object(r.a)({url:e,method:"get",params:t})}function c(t){return Object(r.a)({url:t.url,method:"get",params:t.data})}function i(){return Object(r.a)({url:"notify/sms/temp/create",method:"get"})}function s(t){return Object(r.a)({url:"serve/login",method:"post",data:t})}function d(t){return Object(r.a)({url:"serve/modify",method:"post",data:t})}function l(t){return Object(r.a)({url:"serve/update_phone",method:"post",data:t})}function f(t){return Object(r.a)({url:"serve/captcha",method:"post",data:t})}function m(t){return Object(r.a)({url:"serve/checkCode",method:"post",data:t})}function p(t){return Object(r.a)({url:"serve/register",method:"post",data:t})}function h(){return Object(r.a)({url:"serve/info",method:"get"})}function g(t){return Object(r.a)({url:"serve/sms/sign",method:"PUT",data:t})}function b(t){return Object(r.a)({url:"app/wechat/kefu/login/".concat(t),method:"get"})}function v(){return Object(r.a)({url:"serve/export_all",method:"get"})}function j(){return Object(r.a)({url:"serve/open",method:"get"})}function O(t){return Object(r.a)({url:"serve/export_temp",method:"get",params:t})}function w(t){return Object(r.a)({url:"serve/record",method:"get",params:t})}function _(t){return Object(r.a)({url:"serve/open",method:"get",params:t})}function y(t){return Object(r.a)({url:"serve/opn_express",method:"post",data:t})}function x(t){return Object(r.a)({url:"serve/sms/open",method:"get",params:t})}function k(t){return Object(r.a)({url:"serve/meal_list",method:"get",params:t})}function V(t){return Object(r.a)({url:"serve/pay_meal",method:"post",data:t})}function S(t){return Object(r.a)({url:"notify/sms/record",method:"get",params:t})}function T(t){return Object(r.a)({url:"freight/express",method:"get",params:t})}function L(){return Object(r.a)({url:"/freight/express/create",method:"get"})}function C(t){return Object(r.a)({url:"freight/express/".concat(t,"/edit"),method:"get"})}function R(t){return Object(r.a)({url:"freight/express/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function N(){return Object(r.a)({url:"freight/express/sync_express",method:"get"})}function E(t){return Object(r.a)({url:"setting/role",method:"GET",params:t})}function G(t){return Object(r.a)({url:"setting/role/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function P(t){return Object(r.a)({url:"setting/role/".concat(t.id),method:"post",data:t})}function $(t){return Object(r.a)({url:"setting/role/".concat(t,"/edit"),method:"get"})}function U(){return Object(r.a)({url:"setting/role/create",method:"get"})}function q(t){return Object(r.a)({url:"app/wechat/kefu",method:"get",params:t})}function z(t){return Object(r.a)({url:"app/wechat/kefu/create",method:"get",params:t})}function B(){return Object(r.a)({url:"app/wechat/kefu/add",method:"get"})}function D(t){return Object(r.a)({url:"app/wechat/kefu",method:"post",data:t})}function F(t){return Object(r.a)({url:"app/wechat/kefu/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function J(t){return Object(r.a)({url:"app/wechat/kefu/".concat(t,"/edit"),method:"GET"})}function M(t,e){return Object(r.a)({url:"app/wechat/kefu/record/".concat(e),method:"GET",params:t})}function A(t){return Object(r.a)({url:"app/wechat/kefu/chat_list",method:"GET",params:t})}function H(){return Object(r.a)({url:"notify/sms/is_login",method:"GET"})}function I(){return Object(r.a)({url:"notify/sms/logout",method:"GET"})}function K(t){return Object(r.a)({url:"setting/city/list/".concat(t),method:"get"})}function Q(t){return Object(r.a)({url:"setting/city/add/".concat(t),method:"get"})}function W(t){return Object(r.a)({url:"setting/city/".concat(t,"/edit"),method:"get"})}function X(t){return Object(r.a)({url:"setting/shipping_templates/list",method:"get",params:t})}function Y(t){return Object(r.a)({url:"setting/shipping_templates/city_list",method:"get"})}function Z(t,e){return Object(r.a)({url:"setting/shipping_templates/save/".concat(t),method:"post",data:e})}function tt(t){return Object(r.a)({url:"setting/shipping_templates/".concat(t,"/edit"),method:"get"})}function et(){return Object(r.a)({url:"setting/city/clean_cache",method:"get"})}function nt(){return Object(r.a)({url:"system/config/storage/config",method:"get"})}function rt(t){return Object(r.a)({url:"system/config/storage/config",method:"post",data:t})}function at(t){return Object(r.a)({url:"system/config/storage/form/".concat(t),method:"get"})}function ot(t){return Object(r.a)({url:"system/config/storage/create/".concat(t),method:"get"})}function ut(t){return Object(r.a)({url:"system/config/storage",method:"get",params:t})}function ct(t){return Object(r.a)({url:"system/config/storage/synch/".concat(t),method:"put"})}function it(t){return Object(r.a)({url:"system/config/storage/status/".concat(t),method:"put"})}function st(t){return Object(r.a)({url:"system/config/storage/domain/".concat(t),method:"get"})}function dt(){return Object(r.a)({url:"setting/config_list/31",method:"get"})}function lt(t){return Object(r.a)({url:"setting/config/save_basics",method:"post",data:t})}function ft(t){return Object(r.a)({url:"system/config/storage/save_type/".concat(t),method:"get"})}function mt(t){return Object(r.a)({url:"setting/lang_type/list",method:"get",params:t})}function pt(t){return Object(r.a)({url:"setting/lang_type/form/".concat(t),method:"get"})}function ht(t){return Object(r.a)({url:"setting/lang_code/list",method:"get",params:t})}function gt(t){return Object(r.a)({url:"setting/lang_code/info",method:"get",params:t})}function bt(t){return Object(r.a)({url:"setting/lang_code/save",method:"post",data:t})}function vt(t){return Object(r.a)({url:"setting/lang_country/list",method:"get",params:t})}function jt(t){return Object(r.a)({url:"setting/lang_country/form/".concat(t),method:"get"})}function Ot(t,e){return Object(r.a)({url:"setting/lang_type/status/".concat(t,"/").concat(e),method:"put"})}function wt(t){return Object(r.a)({url:"setting/lang_code/translate",method:"post",data:t})}function _t(t){return Object(r.a)({url:"system/crud",method:"post",data:t})}function yt(t){return Object(r.a)({url:"file/scan_upload/qrcode?pid=".concat(t),method:"get"})}function xt(t){return Object(r.a)({url:"file/scan_upload/image/".concat(t),method:"get"})}function kt(t){return Object(r.a)({url:"file/upload",method:"post",headers:{"Authori-zation":"Bearer "+Object(a.c)("token"),"content-type":"multipart/form-data;Bearer "+Object(a.c)("token")},data:t})}function Vt(t){return Object(r.a)({url:"image/scan_upload",method:"post",headers:{"content-type":"multipart/form-data;"},data:t})}},faae:function(t,e,n){"use strict";n("6afa")}}]);