mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 21:59:12 +08:00
优化代码
This commit is contained in:
parent
e9761cc768
commit
0809cbc03a
@ -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">
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user