12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b06c9b54"],{"2cf7":function(t,r,e){"use strict";var s=e("a850"),d=e.n(s);d.a},a850:function(t,r,e){},f191:function(t,r,e){"use strict";e.r(r);var s=function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("div",{staticClass:"CustomerList"},t._l(t.list,(function(r){return e("div",{key:r.id,staticClass:"item acea-row row-between-wrapper",on:{click:function(e){t.$router.push("/customer/chat/"+r.uid+"/"+t.productId+(t.orderId?"?orderId="+t.orderId:""))}}},[e("div",{staticClass:"pictrue"},[e("img",{attrs:{src:r.avatar}})]),e("div",{staticClass:"text line1"},[t._v(t._s(r.nickname))])])})),0)},d=[],i=(e("cc57"),e("c24f")),o={name:"CustomerList",data:function(){return{list:[],productId:0,orderId:""}},watch:{$route:function(t){"CustomerList"===t.name&&(t.params.productId?this.productId=t.params.productId:this.productId=0,t.query.orderId?this.orderId=t.query.orderId:this.orderId="")}},methods:{getList:function(){var t=this;Object(i["V"])().then((function(r){t.list=r.data}))}},mounted:function(){this.getList(),this.$route.params.productId&&(this.productId=this.$route.params.productId),this.$route.query.orderId&&(this.orderId=this.$route.query.orderId)}},c=o,u=(e("2cf7"),e("623f")),a=Object(u["a"])(c,s,d,!1,null,"e76b0d8c",null);r["default"]=a.exports}}]);
|