浏览代码

모바일 디자인 적용

juney 2 年之前
父节点
当前提交
acb52d986a

+ 2 - 1
src/main/webapp/mobile/app/mloanmng/MLOANMNG01011.html

@@ -3,6 +3,7 @@
3
 		<form id="ITP_FORM_MLOANMNG01011_VIEW_SEARCH" class="form-horizontal" onsubmit="return false;">
3
 		<form id="ITP_FORM_MLOANMNG01011_VIEW_SEARCH" class="form-horizontal" onsubmit="return false;">
4
 		  <input type="hidden" id="ITP_FORM_MLOANMNG01011_VIEW__SEARCH_BRAND_ID" name="sbrandId" value="">
4
 		  <input type="hidden" id="ITP_FORM_MLOANMNG01011_VIEW__SEARCH_BRAND_ID" name="sbrandId" value="">
5
 		  <input type="hidden" id="ITP_FORM_MLOANMNG01011_VIEW__SEARCH_STORE_ID" name="sstoreId" value="">
5
 		  <input type="hidden" id="ITP_FORM_MLOANMNG01011_VIEW__SEARCH_STORE_ID" name="sstoreId" value="">
6
+			<input type="hidden" id="ITP_FORM_MLOANMNG01011_VIEW_SEARCH_LOAN_MGNT_UNQ_NO" name="sloanMgntUnqNo" value="">
6
 		  <div class="content">
7
 		  <div class="content">
7
 		  
8
 		  
8
 		  	  <div class="content_fix">
9
 		  	  <div class="content_fix">
@@ -79,7 +80,7 @@
79
 					  </div>
80
 					  </div>
80
 					  <div class="detail_right">
81
 					  <div class="detail_right">
81
 						<div class="detail_info">
82
 						<div class="detail_info">
82
-						  <div class="fnDstpAmt"></div>
83
+						  <div class="fnTrscAmt"></div>
83
 						</div>
84
 						</div>
84
 					  </div>
85
 					  </div>
85
 					</div>
86
 					</div>

+ 3 - 4
src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG01011.js

@@ -125,11 +125,10 @@ let mobContentObj = {
125
 					$.each(result.gridRows, function (i, item) {
125
 					$.each(result.gridRows, function (i, item) {
126
 						$('#ITP_LIST_MLOANMNG01011_VIEW_ITEM_AREA .panel-group').append($('#ITP_LIST_MLOANMNG01011_VIEW_ITEM_ROWCOPY').html());
126
 						$('#ITP_LIST_MLOANMNG01011_VIEW_ITEM_AREA .panel-group').append($('#ITP_LIST_MLOANMNG01011_VIEW_ITEM_ROWCOPY').html());
127
 						var $li = $('#ITP_LIST_MLOANMNG01011_VIEW_ITEM_AREA .panel-group > .item-row:last');
127
 						var $li = $('#ITP_LIST_MLOANMNG01011_VIEW_ITEM_AREA .panel-group > .item-row:last');
128
-						$li.find('.fnLoanRegDt').text(item.loanRegDt);
128
+						$li.find('.fnLoanRegDt').text(item.loanRegDt + ' ' + item.loanRegTm);
129
 						$li.find('.fnDpstPayDvsnNm').text(item.dpstPayDvsnNm);
129
 						$li.find('.fnDpstPayDvsnNm').text(item.dpstPayDvsnNm);
130
-						$li.find('.fnDstpAmt').text(item.dstpAmt);
131
-						$li.find('.fnTrscAfBal').text(item.trscAfBal);
132
-						$li.find('.fnUse').text(item.use);
130
+						$li.find('.fnTrscAmt').text(CommonObj.currency.add(item.trscAmt));
131
+						$li.find('.fnTrscAfBal').text(CommonObj.currency.add(item.trscAfBal));
133
 						_this.rows.push(item);
132
 						_this.rows.push(item);
134
 					});
133
 					});
135
 				};
134
 				};

+ 1 - 21
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG06010.js

@@ -77,26 +77,10 @@ let mobPageObj = {
77
 		});
77
 		});
78
 		if(mode === PAGE_MODE_LIST) {
78
 		if(mode === PAGE_MODE_LIST) {
79
 			$('#ITP_AJAX_MPOMNG06010_LIST_CONTAINER').show();
79
 			$('#ITP_AJAX_MPOMNG06010_LIST_CONTAINER').show();
80
-			this.moreView(true);
81
 		}
80
 		}
81
+		CommonObj.moreView('#ITP_LIST_MPOMNG06010_LIST_ITEM_AREA', mode === PAGE_MODE_LIST, mobContentObj.list.load);
82
 		this.viewMode = mode;
82
 		this.viewMode = mode;
83
 	},
83
 	},
84
-	moreView: function(isScroll) {
85
-		var _this = this;
86
-		if(isScroll) {
87
-			$('#ITP_LIST_MPOMNG06010_LIST_ITEM_AREA').on('scroll', function () {
88
-				if($(this).scrollTop() + $(this).innerHeight() + 1 >= $(this)[0].scrollHeight) {
89
-					if(mobContentObj.list.totPage > mobContentObj.list.listPage) {
90
-						if(!mobContentObj.list.isSearch) {
91
-							mobContentObj.list.load();
92
-						}
93
-					}
94
-				}
95
-			});
96
-		} else {
97
-			$('#ITP_LIST_MPOMNG06010_LIST_AREA').off('scroll');
98
-		}
99
-	},
100
 	ready: function() {
84
 	ready: function() {
101
 		mobContentObj.list.init();
85
 		mobContentObj.list.init();
102
 	}
86
 	}
@@ -104,10 +88,7 @@ let mobPageObj = {
104
 
88
 
105
 let mobContentObj = {
89
 let mobContentObj = {
106
 	list: {
90
 	list: {
107
-		listSize: 10,
108
 		listPage: 0,
91
 		listPage: 0,
109
-		totPage: 0,
110
-		isSearch: false,
111
 		rows: [],
92
 		rows: [],
112
 		init: function() {
93
 		init: function() {
113
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
94
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
@@ -118,7 +99,6 @@ let mobContentObj = {
118
 			itp_fn_form_clear_validate(null, formId);
99
 			itp_fn_form_clear_validate(null, formId);
119
 			if (itp_fn_form_event.isValid(formId)) {
100
 			if (itp_fn_form_event.isValid(formId)) {
120
 				this.listPage = 0;
101
 				this.listPage = 0;
121
-				this.totPage = 0;
122
 				this.rows.length = 0;
102
 				this.rows.length = 0;
123
 				$('#ITP_LIST_MPOMNG06010_LIST_ITEM_ROWS').empty();
103
 				$('#ITP_LIST_MPOMNG06010_LIST_ITEM_ROWS').empty();
124
 				this.load();
104
 				this.load();

+ 1 - 21
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG07010.js

@@ -81,26 +81,10 @@ let mobPageObj = {
81
 		});
81
 		});
82
 		if(mode === PAGE_MODE_LIST) {
82
 		if(mode === PAGE_MODE_LIST) {
83
 			$('#ITP_AJAX_MPOMNG07010_LIST_CONTAINER').show();
83
 			$('#ITP_AJAX_MPOMNG07010_LIST_CONTAINER').show();
84
-			this.moreView(true);
85
 		}
84
 		}
85
+		CommonObj.moreView('#ITP_LIST_MPOMNG07010_LIST_ITEM_AREA', mode === PAGE_MODE_LIST, mobContentObj.list.load);
86
 		this.viewMode = mode;
86
 		this.viewMode = mode;
87
 	},
87
 	},
88
-	moreView: function(isScroll) {
89
-		var _this = this;
90
-		if(isScroll) {
91
-			$('#ITP_LIST_MPOMNG07010_LIST_ITEM_AREA').on('scroll', function () {
92
-				if($(this).scrollTop() + $(this).innerHeight() + 1 >= $(this)[0].scrollHeight) {
93
-					if(mobContentObj.list.totPage > mobContentObj.list.listPage) {
94
-						if(!mobContentObj.list.isSearch) {
95
-							mobContentObj.list.load();
96
-						}
97
-					}
98
-				}
99
-			});
100
-		} else {
101
-			$('#ITP_LIST_MPOMNG07010_LIST_AREA').off('scroll');
102
-		}
103
-	},
104
 	ready: function() {
88
 	ready: function() {
105
 		mobContentObj.list.init();
89
 		mobContentObj.list.init();
106
 	}
90
 	}
@@ -108,10 +92,7 @@ let mobPageObj = {
108
 
92
 
109
 let mobContentObj = {
93
 let mobContentObj = {
110
 	list: {
94
 	list: {
111
-		listSize: 10,
112
 		listPage: 0,
95
 		listPage: 0,
113
-		totPage: 0,
114
-		isSearch: false,
115
 		rows: [],
96
 		rows: [],
116
 		init: function() {
97
 		init: function() {
117
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
98
 			mobPageObj.switchScreen(PAGE_MODE_LIST);
@@ -119,7 +100,6 @@ let mobContentObj = {
119
 		},
100
 		},
120
 		search: function() {
101
 		search: function() {
121
 			this.listPage = 0;
102
 			this.listPage = 0;
122
-			this.totPage = 0;
123
 			this.rows.length = 0;
103
 			this.rows.length = 0;
124
 			$('#ITP_LIST_MPOMNG07010_LIST_ITEM_ROWS').empty();
104
 			$('#ITP_LIST_MPOMNG07010_LIST_ITEM_ROWS').empty();
125
 			this.load();
105
 			this.load();