|
@@ -315,6 +315,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
//
|
|
//
|
|
|
//
|
|
//
|
|
|
//
|
|
//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
|
|
|
var that;var _default =
|
|
var that;var _default =
|
|
|
{
|
|
{
|
|
@@ -448,8 +457,9 @@ var that;var _default =
|
|
|
loadingText: '努力加载中',
|
|
loadingText: '努力加载中',
|
|
|
defaultText: '轻轻上拉 查看更多',
|
|
defaultText: '轻轻上拉 查看更多',
|
|
|
nomoreText: '实在没有了',
|
|
nomoreText: '实在没有了',
|
|
|
- currnetPage: 1 } };
|
|
|
|
|
|
|
+ currnetPage: 1 },
|
|
|
|
|
|
|
|
|
|
+ curRoles: '' };
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
onLoad: function onLoad(params) {
|
|
onLoad: function onLoad(params) {
|
|
@@ -482,7 +492,6 @@ var that;var _default =
|
|
|
// 项目筛选
|
|
// 项目筛选
|
|
|
uni.api.estate.apiestatelist({ page_size: 100 }).then(function (res) {
|
|
uni.api.estate.apiestatelist({ page_size: 100 }).then(function (res) {
|
|
|
var propertyList = res.list || [];
|
|
var propertyList = res.list || [];
|
|
|
- console.log(res);
|
|
|
|
|
if (propertyList.length > 0) {
|
|
if (propertyList.length > 0) {
|
|
|
that.filterData[1]['submenu'] = propertyList.map(function (val, index) {
|
|
that.filterData[1]['submenu'] = propertyList.map(function (val, index) {
|
|
|
return { name: val.estate_name, value: val.estate_id };
|
|
return { name: val.estate_name, value: val.estate_id };
|
|
@@ -492,6 +501,8 @@ var that;var _default =
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
this.getDataList();
|
|
this.getDataList();
|
|
|
|
|
+
|
|
|
|
|
+ this.curRoles = uni.getStorageSync('MD_userInfo2') ? uni.getStorageSync('MD_userInfo2').roles : '';
|
|
|
},
|
|
},
|
|
|
onReachBottom: function onReachBottom() {
|
|
onReachBottom: function onReachBottom() {
|
|
|
if (that.loadmore.status == 'nomore') return;
|
|
if (that.loadmore.status == 'nomore') return;
|