From faa4b2e708d47bec685780e4131e1dd159dcb4fd Mon Sep 17 00:00:00 2001 From: 1098226878 <1098226878@qq.com> Date: Mon, 9 Aug 2021 14:24:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reportInfoAnswerValueManage.html | 13 +++++++---- .../reportInfoAnswerValueManage.js | 23 +++++++++++++++++++ 2 files changed, 31 insertions(+), 5 deletions(-) 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); },