From 86ee923282de2423ae858ea8485752fe5564fc40 Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 수, 19 1월 2022 15:56:39 +0900 Subject: [PATCH] 검색후에 10 -> 100 변경하면 목록이 달라지는 문제 해결 --- src/main/webapp/scripts/app/companyField/companyFieldList.controller.js | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/scripts/app/companyField/companyFieldList.controller.js b/src/main/webapp/scripts/app/companyField/companyFieldList.controller.js index 7aac655..be4e4a0 100644 --- a/src/main/webapp/scripts/app/companyField/companyFieldList.controller.js +++ b/src/main/webapp/scripts/app/companyField/companyFieldList.controller.js @@ -15,6 +15,7 @@ $scope.fn = { getPageList : getPageList, // �뾽泥� 愿�由� 由ъ뒪�듃 makeTableConfigs : makeTableConfigs, // �뀒�씠釉� �꽕�젙 + changePageRowCount : changePageRowCount, // �럹�씠吏� 蹂�寃� initSearch : initSearch, //寃��깋 議곌굔 珥덇린�솕 add : add, //�뾽泥� �깮�꽦 makeSearchConditions : makeSearchConditions, //�뿊�� �떎�슫濡쒕뱶 @@ -67,6 +68,11 @@ }; } + // �럹�씠吏� 蹂�寃� + function changePageRowCount() { + $scope.fn.getPageList(0); + } + // �궗�슜�옄 �젙�쓽 �븘�뱶 紐⑸줉 �뀒�씠釉� �꽕�젙 function makeTableConfigs() { $scope.vm.tableConfigs = []; @@ -89,12 +95,12 @@ .setDAlign("text-center")); $scope.vm.tableConfigs.push($tableProvider.config() .setHName("companyField.tel") - .setHWidth("bold") + .setHWidth("width-200-p bold") .setDName("tel") .setDAlign("text-center")); $scope.vm.tableConfigs.push($tableProvider.config() .setHName("companyField.email") - .setHWidth("bold") + .setHWidth("width-200-p bold") .setDName("email") .setDAlign("text-center")); $scope.vm.tableConfigs.push($tableProvider.config() -- Gitblit v1.8.0