diff --git a/public/pages/property/reportInfoAnswerValueManage/reportInfoAnswerValueManage.html b/public/pages/property/reportInfoAnswerValueManage/reportInfoAnswerValueManage.html index 227fd908d..378e11fe6 100644 --- a/public/pages/property/reportInfoAnswerValueManage/reportInfoAnswerValueManage.html +++ b/public/pages/property/reportInfoAnswerValueManage/reportInfoAnswerValueManage.html @@ -16,11 +16,14 @@ v-model="reportInfoAnswerValueManageInfo.conditions.userName" class=" form-control"> -
-
- -
+
+
diff --git a/public/pages/property/reportInfoAnswerValueManage/reportInfoAnswerValueManage.js b/public/pages/property/reportInfoAnswerValueManage/reportInfoAnswerValueManage.js index ac834cc1b..b0bbc0dc5 100644 --- a/public/pages/property/reportInfoAnswerValueManage/reportInfoAnswerValueManage.js +++ b/public/pages/property/reportInfoAnswerValueManage/reportInfoAnswerValueManage.js @@ -9,6 +9,7 @@ reportInfoAnswerValueManageInfo: { values: [], total: 0, + reportInfoSettings:[], records: 1, moreCondition: false, titleId: '', @@ -24,6 +25,7 @@ }, _initMethod: function () { vc.component._listQuestionAnswerTitles(DEFAULT_PAGE, DEFAULT_ROWS); + vc.component._listReportInfoSettings(DEFAULT_PAGE, DEFAULT_ROWS); }, _initEvent: function () { vc.on('pagination', 'page_event', function (_currentPage) { @@ -57,6 +59,27 @@ } ); }, + _listReportInfoSettings: function (_page, _rows) { + var param = { + params: { + page: _page, + row: _rows, + communityId:vc.getCurrentCommunity().communityId + } + }; + + vc.http.apiGet('/reportInfoSetting/queryReportInfoSetting', + param, + function (json, res) { + var _reportInfoSettingManageInfo = JSON.parse(json); + vc.component.reportInfoAnswerValueManageInfo.total = _reportInfoSettingManageInfo.total; + vc.component.reportInfoAnswerValueManageInfo.records = _reportInfoSettingManageInfo.records; + vc.component.reportInfoAnswerValueManageInfo.reportInfoSettings = _reportInfoSettingManageInfo.data; + }, function (errInfo, error) { + console.log('请求失败处理'); + } + ); + }, _queryReportInfoAnswerValueMethod: function(){ vc.component._listQuestionAnswerTitles(DEFAULT_PAGE, DEFAULT_ROWS); },