优化代码

This commit is contained in:
java110 2021-01-03 01:04:24 +08:00
parent e9761cc768
commit 0809cbc03a
2 changed files with 7 additions and 7 deletions

View File

@ -63,9 +63,9 @@
</thead>
<tbody>
<tr v-for="listProperty in listPropertyManageInfo.listPropertys">
<td class="text-center">{{listProperty.name}}</td>
<td class="text-center">{{listProperty.storeName}}</td>
<td class="text-center">{{listProperty.staffName}}</td>
<td class="text-center">{{listProperty.tel}}</td>
<td class="text-center">{{listProperty.staffTel}}</td>
<td class="text-center">{{listProperty.staffId}}</td>
<td class="text-center">{{listProperty.createTime}}</td>
<td class="text-right">

View File

@ -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);