From 0809cbc03aef34dd3f6e9391be4ba77437a6aadf Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Sun, 3 Jan 2021 01:04:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/listPropertyManage/listPropertyManage.html | 4 ++-- .../admin/listPropertyManage/listPropertyManage.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/pages/admin/listPropertyManage/listPropertyManage.html b/public/pages/admin/listPropertyManage/listPropertyManage.html index 1487e8156..8fe2a5cf9 100644 --- a/public/pages/admin/listPropertyManage/listPropertyManage.html +++ b/public/pages/admin/listPropertyManage/listPropertyManage.html @@ -63,9 +63,9 @@ - {{listProperty.name}} + {{listProperty.storeName}} {{listProperty.staffName}} - {{listProperty.tel}} + {{listProperty.staffTel}} {{listProperty.staffId}} {{listProperty.createTime}} diff --git a/public/pages/admin/listPropertyManage/listPropertyManage.js b/public/pages/admin/listPropertyManage/listPropertyManage.js index 59f4b70b2..e83faac41 100644 --- a/public/pages/admin/listPropertyManage/listPropertyManage.js +++ b/public/pages/admin/listPropertyManage/listPropertyManage.js @@ -14,7 +14,8 @@ conditions: { name: '', staffName: '', - tel: '' + tel: '', + relCd:'600311000001' } } }, @@ -39,14 +40,13 @@ }; //发送get请求 - vc.http.get('listStoreManage', - 'list', + vc.http.apiGet('/storeStaff/getPropertyStaffs', param, function (json, res) { var _listPropertyManageInfo = JSON.parse(json); vc.component.listPropertyManageInfo.total = _listPropertyManageInfo.total; vc.component.listPropertyManageInfo.records = _listPropertyManageInfo.records; - vc.component.listPropertyManageInfo.listPropertys = _listPropertyManageInfo.stores; + vc.component.listPropertyManageInfo.listPropertys = _listPropertyManageInfo.data; vc.emit('pagination', 'init', { total: vc.component.listPropertyManageInfo.records, currentPage: _page @@ -57,7 +57,7 @@ ); }, _openPropertysCommunityModel: function (_listProperty) { - vc.emit('storesCommunity','openStoresCommunity', _listProperty); + vc.emit('storesCommunity', 'openStoresCommunity', _listProperty); }, _queryListPropertyMethod: function () { vc.component._listListPropertys(DEFAULT_PAGE, DEFAULT_ROWS);