Parcourir la source

모바일 디자인 적용

juney il y a 2 ans
Parent
commit
efd21dc6a2

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

@@ -52,7 +52,7 @@
52 52
 			<div id="ITP_LIST_MLOANMNG02010_LIST_ITEM_AREA" class="scroll_area row-12">
53 53
 			  <ul id="ITP_LIST_MLOANMNG02010_LIST_ITEM_ROWS" class="mb_0 panel-group"></ul>
54 54
 			  <div id="ITP_LIST_MLOANMNG02010_LIST_ITEM_ROWCOPY" style="display: none;">
55
-				<li class="history_list9">
55
+				<li class="history_list9 item-row">
56 56
 				  <div class="button_right btn-dpst" style="display: grid;"><!-- display:gird 로 해야 정상으로 보임 -->
57 57
 					<button id="ITP_BTN_MLOANMNG02010_LIST_AGREE" class="btn-primary AGR">승인</button>
58 58
 					<button id="ITP_BTN_MLOANMNG02010_LIST_REJECT" class="btn-danger RJT">반려</button>

+ 2 - 17
src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG02010.js

@@ -80,7 +80,7 @@ let mobPageObj = {
80 80
 			$('button[id^="ITP_BTN_MLOANMNG02010_PAY"]').on('click', function() {
81 81
 				var id = $(this).attr('id');
82 82
 				switch (id) {
83
-					case 'ITP_BTN_MLOANMNG02010_PAY_REQ'				: mobContentObj.list.payment.request();	break;
83
+					case 'ITP_BTN_MLOANMNG02010_PAY_REQ'				: mobContentObj.list.payment.view();	break;
84 84
 					case 'ITP_BTN_MLOANMNG02010_PAY_CANCEL'				: mobContentObj.list.payment.cancel();	break;
85 85
 				}
86 86
 				return false;
@@ -185,21 +185,7 @@ let mobContentObj = {
185 185
 					$li.find('.fnRcvAcctNo').text(item.rcvAcctNo);
186 186
 					$li.find('.fnDpstBnkNm').text(item.dpstBnkNm);
187 187
 					$li.find('.fnDpstStNm').text(item.dpstStNm);
188
-					var dpstDt = '';
189
-					if(item.dpstStCd === 'DP01') {
190
-						dpstDt = item.reqDt;
191
-						if(fn_make_user_info.get('authTpCd') === '40') {
192
-							$li.find('.btn-dpst').show();
193
-						}
194
-					} else if(item.dpstStCd === 'DP02') {
195
-						dpstDt = item.dpstDt;
196
-					} else if(item.dpstStCd === 'DP03') {
197
-						dpstDt = item.dsptRjctDt;
198
-					} else if(item.dpstStCd === 'DP04') {
199
-						dpstDt = item.dpstAuthDt;
200
-					}
201
-					$li.find('.fnDpstDt').text(dpstDt);
202
-					(fn_make_user_info.get('authTpCd') === '50') ? $li.find('.btn-dpst').hide() : $li.find('.btn-dpst').show();
188
+					(fn_make_user_info.get('authTpCd') === '50') ? $li.find('.btn-dpst').hide() : (item.dpstStCd === 'DP01') ? $li.find('.btn-dpst').show() : $li.find('.btn-dpst').hide();
203 189
 					_this.rows.push(item);
204 190
 				});
205 191
 			};
@@ -248,7 +234,6 @@ let mobContentObj = {
248 234
 		},
249 235
 		agree: function(index) {
250 236
 			var item = this.rows[index];
251
-			console.log(item);
252 237
 			if(item.dpstStCd !== 'DP01') {
253 238
 				itp_fn_modal_alert('입금요청 건만 승인처리를 할 수 있습니다.');
254 239
 				return;