|
@@ -471,7 +471,8 @@ var that;var _default =
|
|
|
currnetPage: 1 },
|
|
|
|
|
|
curRoles: '',
|
|
|
- userInfo2: {} };
|
|
|
+ userInfo2: {},
|
|
|
+ curTotal: 0 };
|
|
|
|
|
|
},
|
|
|
onLoad: function onLoad(params) {
|
|
@@ -552,13 +553,11 @@ var that;var _default =
|
|
|
console.log(item);
|
|
|
// return
|
|
|
(0, _uniCopy.default)({
|
|
|
- content: "\n\u9879\u76EE\uFF1A".concat(
|
|
|
- item.estate_name, "\n\u5BA2\u6237\u59D3\u6C0F\uFF1A").concat(
|
|
|
+ content: "\u9879\u76EE\uFF1A".concat(item.estate_name, "\n\u5BA2\u6237\u59D3\u6C0F\uFF1A").concat(
|
|
|
item.name).concat(item.sex == 'male' ? '先生' : '女士', "\n\u5BA2\u6237\u8054\u7CFB\u65B9\u5F0F\uFF1A").concat(
|
|
|
item.phone, "\n\u7ECF\u7EAA\u4EBA\u59D3\u6C0F\uFF1A").concat(
|
|
|
item.create_user.nickname, "\n\u7ECF\u7EAA\u4EBA\u8054\u7CFB\u65B9\u5F0F\uFF1A").concat(
|
|
|
- item.create_user.phone, "\n\u9884\u8BA1\u5230\u8BBF\u65F6\u95F4\uFF1A\u5C3D\u5FEB\n\t\t\t\t"),
|
|
|
-
|
|
|
+ item.create_user.phone, "\n\u9884\u8BA1\u5230\u8BBF\u65F6\u95F4\uFF1A\u5C3D\u5FEB"),
|
|
|
|
|
|
success: function success(res) {
|
|
|
uni.showToast({
|
|
@@ -575,7 +574,7 @@ var that;var _default =
|
|
|
} });
|
|
|
|
|
|
},
|
|
|
- getDataList: function getDataList(bc) {
|
|
|
+ getDataList: function getDataList(bc) {var _this = this;
|
|
|
var that = this;
|
|
|
var params = _objectSpread({},
|
|
|
this.searchFormData);
|
|
@@ -613,6 +612,7 @@ var that;var _default =
|
|
|
page: that.loadmore.currnetPage },
|
|
|
params)).
|
|
|
then(function (res) {
|
|
|
+ _this.curTotal = res.total || 0;
|
|
|
var list = res.list || [];
|
|
|
if (list.length < 10) {
|
|
|
that.loadmore.status = 'nomore';
|
|
@@ -651,10 +651,10 @@ var that;var _default =
|
|
|
} });
|
|
|
|
|
|
},
|
|
|
- searchHandle: function searchHandle() {var _this = this;
|
|
|
+ searchHandle: function searchHandle() {var _this2 = this;
|
|
|
this.loadmore.currnetPage = 1;
|
|
|
this.getDataList(function () {
|
|
|
- _this.searchPopupShow = false;
|
|
|
+ _this2.searchPopupShow = false;
|
|
|
});
|
|
|
},
|
|
|
// 筛选
|