add
This commit is contained in:
@@ -100,16 +100,6 @@ var render = function() {
|
||||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
if (!_vm._isMounted) {
|
||||
_vm.e0 = function($event) {
|
||||
return _vm.$yrouter.push({
|
||||
path: "/pages/user/CustomerService/index",
|
||||
query: {
|
||||
id: _vm.item.uid
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
var recyclableRender = false
|
||||
var staticRenderFns = []
|
||||
@@ -174,7 +164,13 @@ var _user = __webpack_require__(/*! @/api/user */ 19); //
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = { name: "CustomerList", data: function data() {return { list: [] };}, methods: { getList: function getList() {var _this = this;(0, _user.serviceList)().then(function (res) {_this.list = res.data;});} },
|
||||
var _default = { name: "CustomerList", data: function data() {return { list: [] };}, methods: { goCustomerService: function goCustomerService(item) {this.$yrouter.push({ path: "/pages/user/CustomerService/index", query: { id: item.uid } });},
|
||||
getList: function getList() {var _this = this;
|
||||
(0, _user.serviceList)().then(function (res) {
|
||||
_this.list = res.data;
|
||||
});
|
||||
} },
|
||||
|
||||
mounted: function mounted() {
|
||||
this.getList();
|
||||
} };exports.default = _default;
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="CustomerList _div data-v-668f00fd"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="item acea-row row-between-wrapper _div data-v-668f00fd" bindtap="__e"><view class="pictrue _div data-v-668f00fd"><image src="{{item.avatar}}" class="_img data-v-668f00fd"></image></view><view class="text line1 _div data-v-668f00fd">{{item.nickname}}</view></view></block></view>
|
||||
<view class="CustomerList _div data-v-668f00fd"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['goCustomerService',['$0'],[[['list','id',item.id]]]]]]]}}" class="item acea-row row-between-wrapper _div data-v-668f00fd" bindtap="__e"><view class="pictrue _div data-v-668f00fd"><image src="{{item.avatar}}" class="_img data-v-668f00fd"></image></view><view class="text line1 _div data-v-668f00fd">{{item.nickname}}</view></view></block></view>
|
||||
Reference in New Issue
Block a user