PageSourceSearch

https://allwork.co.kr/resources/assets/custom/js/gridFormatter.js?v=1790900510964

js allwork.co.kr collected 2026-10-02 00:23:27 UTC 54,631 bytes, 1,552 lines download raw bytes

1/**
2 * 화면에 표출하는 데이터의 형식 변경.
3 */
4//Grid 데이터 formatter - jqGrid용.
5var gridFormatter = {
6
7	numberWithCommaFixedFormatter : function(cellvalue, options, rowObject, fixed) {
8		if (cellvalue == null || cellvalue == undefined) return "";
9		return cellvalue.toFixed(fixed).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
10	},
11	numberWithCommaFormatter : function(cellvalue, options, rowObject) {
12		if (cellvalue == null || cellvalue == undefined) return "";
13		return cellvalue.toFixed(2).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
14	},
15	integerWithCommaFormatter : function(cellvalue, options, rowObject) {
16		if (cellvalue == null || cellvalue == undefined) return "";
17		return cellvalue.toFixed(0).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
18	},
19	digitWithCommaFormatter : function(cellvalue, options, rowObject) {
20		if (cellvalue == null || cellvalue == undefined) return "";
21		return cellvalue.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
22	},
23
24	toMonthFormatter : function(cellvalue, options, rowObject) {
25		if( cellvalue ) {
26			if (cellvalue.length  < 7) return cellvalue;
27			return cellvalue.substr(0, 7); // + "-01";
28		} else {
29			return '';
30		}
31	},
32	toHourFormatter : function(cellvalue, options, rowObject) {
33		if( cellvalue ) {
34			/*
35			if (cellvalue.length  < 13) return cellvalue;
36			var toHour = "";
37			try {
38				strHour = cellvalue.substr(11, 2);
39				toHour = Number(strHour);
40				toHour = toHour + 1;
41				toHour = ("0" + toHour).slice(-2);
42			} catch(e) {}
43			return cellvalue.substr(0, 13) + " ~ " + toHour;
44			*/
45			var dateValue = new Date(cellvalue);
46			var hourValue = dateValue.getHours();
47			return hourValue + " ~ " + ((hourValue + 1) % 24);
48		} else {
49			return '';
50		}
51	},
52
53	dateOnlyFormatter : function(cellvalue, options, rowObject) {
54		if( cellvalue ) {
55			var date = new Date(cellvalue);
56		
57			return dateUtils.getCustomDateOnly(date);
58		} else {
59			return '';
60		}
61	},
62	timeOnlyFormatter : function(cellvalue, options, rowObject) {
63		if( cellvalue ) {
64			var date = new Date(cellvalue);
65		
66			return dateUtils.getCustomTimeOnly(date);
67		} else {
68			return '';
69		}
70	},
71	dateFormatter : function(cellvalue, options, rowObject) {
72		if( cellvalue ) {
73			var date = new Date(cellvalue);
74		
75			return dateUtils.getCustomDate(date);
76		} else {
77			return '';
78		}
79	},
80	dateFormatterStr : function(cellvalue, options, rowObject) {
81		if( cellvalue ) {
82			var date = new Date(cellvalue);
83		
84			return dateUtils.getCustomDate(date);
85		} else {
86			return '';
87		}
88	},
89	dateFormatterStr : function(dateValue, options, rowObject) {
90		if (!dateValue) return "";
91		var month = dateValue.getMonth() + 1 < 10 ? '0' + (dateValue.getMonth() + 1) : dateValue.getMonth() + 1;
92		//var day = dateValue.getDate() + 1 < 10 ? '0' + (dateValue.getDate() + 1) : dateValue.getDate() + 1;
93		var day = dateValue.getDate() < 10 ? ('0' + dateValue.getDate()) : dateValue.getDate();
94		return dateValue.getFullYear() + "-" + month + "-" + day;
95	},
96	dateFormatterMsec : function(cellvalue, options, rowObject) {
97		if( cellvalue ) {
98			var date = new Date(cellvalue);
99		
100			return dateUtils.getCustomDateMsec(date);
101		} else {
102			return '';
103		}
104	},
105	lastLoginAtFormatter : function(cellvalue, options, rowObject) {
106		if( cellvalue ) {
107			var date = new Date(cellvalue);
108		
109			return dateUtils.getCustomDate(date);
110		} else {
111			return '없음';
112		}
113	},
114	expireAtFormatter : function(cellvalue, options, rowObject) {
115		if(cellvalue != null && rowObject.expire_no_flag == false) {
116			var date = new Date(cellvalue);
117		
118			return dateUtils.getCustomDate(date);
119		} else {
120			return '없음';
121		}
122	},
123	
124	hourOnlyFormatter : function(cellvalue, splitter) {
125		if( cellvalue ) {
126			var dateValue = new Date(cellvalue);
127			//return dateUtils.getCustomHourOnly(date, splitter);
128			var hourValue = dateValue.getHours() < 10 ? ('0' + dateValue.getHours()) : dateValue.getHours();
129			return "" + hourValue;
130		} else {
131			return '';
132		}
133	},
134	monthDateOnlyFormatter : function(cellvalue, splitter) {
135		if( cellvalue ) {
136			var date = new Date(cellvalue);
137			return dateUtils.getCustomMonthDateOnly(date, splitter);
138		} else {
139			return '';
140		}
141	},
142	yearMonthOnlyFormatter : function(cellvalue, splitter) {
143		if( cellvalue ) {
144			var date = new Date(cellvalue);
145			return dateUtils.getCustomYearMonthOnly(date, splitter);
146		} else {
147			return '';
148		}
149	},
150
151
152	userUserTypeNameFormatter : function(cellvalue, options, rowObject) {
153		var name = "";
154		if(!cellvalue) cellvalue = 0;
155		switch("" + cellvalue) {
156			case USER_TYPE.USER_TYPE_PERSON:
157				name = "개인회원";
158				break;
159			case USER_TYPE.USER_TYPE_COMPANY:
160				name = "기업회원";
161				break;
162			case USER_TYPE.USER_TYPE_HEADHUNT:
163				name = "헤드헌터";
164				break;
165			case USER_TYPE.USER_TYPE_ADMIN:
166				name = "시스템  관리자";
167				break;
168
169			case "0":
170			case "":
171				name = "Not defined";
172				break;
173			default:
174				name = "Unknown(" + cellvalue + ")";
175				break;
176		}
177		return name;
178	},
179	userSubTypeNameFormatter : function(cellvalue, options, rowObject) {
180		var name = "";
181		if(!cellvalue) cellvalue = 0;
182		switch("" + cellvalue) {
183			case "1":
184				name = "일반구직자";
185				break;
186			case "2":
187				name = "자영업자";
188				break;
189			case "3":
190				name = "경력단절";
191				break;
192			case "4":
193				name = "제대군인";
194				break;
195			case "9":
196				name = "기타";
197				break;
198
199			case "21":
200				name = "일반기업";
201				break;
202			case "22":
203				name = "인력용역업체(직업소개서)";
204				break;
205			case "23":
206				name = "교육훈련기관";
207				break;
208			case "24":
209				name = "빌딩관리(보안 경비업체)";
210				break;
211			case "25":
212				name = "청소전문업체";
213				break;
214			case "29":
215				name = "기타";
216				break;
217
218			default:
219				name = "";
220				break;
221		}
222		return name;
223	},
224
225	userUserSubTypeNameFormatter : function(cellvalue, options, rowObject) {
226		var name = "";
227		if(!cellvalue) cellvalue = 0;
228		switch("" + cellvalue) {
229			case USER_TYPE.USER_TYPE_PERSON:
230				name = "개인회원";
231				break;
232			case USER_TYPE.USER_TYPE_COMPANY:
233				name = "기업회원";
234				break;
235			case USER_TYPE.USER_TYPE_HEADHUNT:
236				name = "헤드헌터";
237				break;
238			case USER_TYPE.USER_TYPE_ADMIN:
239				name = "시스템 관리자";
240				break;
241
242			default:
243				name = "Unknown(" + cellvalue + ")";
244				break;
245		}
246		return name;
247	},
248	userLeftFormatter : function(data, type, row) {
249		if(type =='display') {
250			data = (data == "yes")? "탈퇴회원" : "회원";
251		}
252		return data;
253	},
254
255	yesNoFormatter : function(cellvalue, options, rowObject) {
256		return  (cellvalue == true || cellvalue == "Y" || cellvalue == "yes")? "Y" : "N";
257	},
258	yesOnlyFormatter : function(cellvalue, options, rowObject) {
259		return  (cellvalue == true || cellvalue == "Y" || cellvalue == "yes")? "Y" : "";
260	},
261	noOnlyFormatter : function(cellvalue, options, rowObject) {
262		return  (cellvalue == true || cellvalue == "Y" || cellvalue == "yes")? "" : "N";
263	},
264	
265	charYesNoFormatter : function(cellvalue, options, rowObject) {
266		return  (cellvalue == "Y")? "Y" : "N";
267	},
268
269	//구형 데이터에 대한 yes, no 처리.
270	yesNoFormatterOld : function(cellvalue, options, rowObject) {
271		return  (cellvalue == true || cellvalue == "Y" || cellvalue == "yes")? "yes" : "no";
272	},
273	yesOnlyFormatterOld : function(cellvalue, options, rowObject) {
274		return  (cellvalue == true || cellvalue == "Y" || cellvalue == "yes")? "yes" : "";
275	},
276	noOnlyFormatterOld : function(cellvalue, options, rowObject) {
277		return  (cellvalue == true || cellvalue == "Y" || cellvalue == "yes")? "" : "no";
278	},
279	
280	charYesNoFormatterOld : function(cellvalue, options, rowObject) {
281		return  (cellvalue == "Y")? "yes" : "no";
282	},
283	
284	//DB Record 삭제상태.
285	getDeleteFlagname : function(cellvalue, options, rowObject) {
286		var data_action = "";
287		
288		data_action = (cellvalue == 'Y')? '삭제' : ''; 
289		
290		return data_action;
291	},
292	
293	//Popup창 - 사용상태.
294	getPopupViewName : function(cellvalue, options, rowObject) {
295		var data_action = "";
296		
297		data_action = (cellvalue == 'yes')? '사용중' : '사용안함'; 
298		
299		return data_action;
300	},
301
302	
303	//성별.
304	getSexName : function(cellvalue, options, rowObject) {
305		return  (cellvalue == "man")? "남" : ( (cellvalue == "woman")? "여" : "" );
306	},
307
308	//전화번호.
309	getPhoneFormatStr : function(cellvalue, options, rowObject) {
310		return  cnvtUtils.getPhoneFormatStr(cellvalue);
311	},
312	getPhoneNumberStr : function(cellvalue, options, rowObject) {
313		return  cnvtUtils.getPhoneNumberStr(cellvalue);
314	},
315
316	//홈페이지.
317	getHomeUrlLink : function(cellvalue, options, rowObject) {
318		return '<a href="' + cellvalue + '" target="_blank">' + cellvalue + '</a>';
319	},
320
321	//생년월일 : YYY-MM-DD 형식으로 전달.
322	getBirthText : function(cellvalue, options, rowObject) {
323		return getBirthText( cellvalue );
324	},
325	//생년월일과 나이
326	getBirthAge : function(cellvalue, options, rowObject) {
327		return gridFormatter.getBirthText(cellvalue, options, rowObject) + "(" + getAge(cellvalue) + "세)";
328	},
329	//출생년도와 나이
330	getBirthYearAge : function(cellvalue, options, rowObject) {
331		return  getBirthYear(cellvalue) + "(" + getAge(cellvalue) + "세)";
332	},
333	
334	//기업정보 공공 데이터 읽어오기.
335	fetchPublicData4Company : function(cellvalue, options, rowObject) {
336		return '<a href="javascript:fetchPublicData(' + rowObject.id + ', \'' + rowObject.biz_name + '\');" class="action-icon" style="font-size:14px;" data-bs-toggle="tooltip" data-bs-placement="top" title="기업정보 읽어오기"> <i class="mdi mdi-pen"></i> 기업정보 읽어오기</a>';
337	},
338	
339	//이력서 상태.
340	getProfileStatus : function(cellvalue, options, rowObject) {
341		return  (cellvalue == true)? "O" : "X";
342	},
343	//이력서 상태 - Skill.
344	getProfileStatusSkill : function(cellvalue, options, rowObject) {
345		var result = (cellvalue == true)? "O" : "X";
346		result += "(" + StringUtils.getLength(rowObject.inid_mylskill) + ")";
347		return result;
348	},
349	//이력서 상태 - 소개 인사말.
350	getProfileStatusIntroduce : function(cellvalue, options, rowObject) {
351		var result = (cellvalue == true)? "O" : "X";
352		result += "(" + StringUtils.getLength(rowObject.inid_introduce) + ")";
353		return result;
354	},
355	//이력서 상태 - 공개상태.
356	getProfileStatusOpen : function(cellvalue, options, rowObject) {
357		var result = rowObject.hide_all + "(" + rowObject.open_person + "," + rowObject.open_company + "," + rowObject.open_headhunt + ")";
358		return result;
359	},
360	
361	//기업 프로필 등록상태.
362	getProfileStatusText : function(cellvalue, options, rowObject) {
363		return  (cellvalue && StringUtils.getLength(cellvalue) > 0)? "O" : "X";
364	},
365	//기업 프로필 등록상태 - 주소.
366	getProfileStatusAddress : function(cellvalue, options, rowObject) {
367		var result = (cellvalue && StringUtils.getLength(cellvalue) > 5)? "O" : "X";
368		result += "(" + StringUtils.getLength(cellvalue) + ")";
369		return result;
370	},
371	//기업 프로필 등록상태 - 기업소개.
372	getProfileStatusVision : function(cellvalue, options, rowObject) {
373		var result = (cellvalue && StringUtils.getLength(cellvalue) > 50)? "O" : "X";
374		result += "(" + StringUtils.getLength(cellvalue) + ")";
375		return result;
376	},
377	
378	//채용정보 > 근무지
379	getRecruitArea : function(cellvalue, options, rowObject) {
380		var result = "";
381		if ( StringUtils.isNotEmpty(rowObject.biz_area1_1_name) ) {
382			result += rowObject.biz_area1_1_name;
383			if ( StringUtils.isNotEmpty(rowObject.biz_area1_2_name) ) {
384				result += ">" + rowObject.biz_area1_2_name;
385			} else {
386				result += ">전체";
387			}			
388		}
389		
390		if ( StringUtils.isNotEmpty(rowObject.biz_area2_1_name) ) {
391			result += ", " + rowObject.biz_area2_1_name;
392			if ( StringUtils.isNotEmpty(rowObject.biz_area2_2_name) ) {
393				result += ">" + rowObject.biz_area2_2_name;
394			} else {
395				result += ">전체";
396			}			
397		}
398		
399		if ( StringUtils.isNotEmpty(rowObject.biz_area3_1_name) ) {
400			result += ", " + rowObject.biz_area3_1_name;
401			if ( StringUtils.isNotEmpty(rowObject.biz_area3_2_name) ) {
402				result += ">" + rowObject.biz_area3_2_name;
403			} else {
404				result += ">전체";
405			}			
406		}
407		
408		return result;
409	},
410	//채용정보 > 직무
411	getRecruitBizType : function(cellvalue, options, rowObject) {
412		var result = "";
413		
414		//++(시작) 2024.07.18 by s.yoo : 직종코드 변환.
415		/* (고용24 직종코드)	- 교체완료처리.
416		<%--
417		if ( StringUtils.isNotEmpty(rowObject.biz_type1_3_name) ) {
418			result += rowObject.biz_type1_3_name;
419		} else if ( StringUtils.isNotEmpty(rowObject.biz_type1_2_name) ) {
420			result += rowObject.biz_type1_2_name;
421		} else if ( StringUtils.isNotEmpty(rowObject.biz_type1_1_name) ) {
422			result += rowObject.biz_type1_1_name;
423		}
424		
425		if ( StringUtils.isNotEmpty(rowObject.biz_type2_3_name) ) {
426			result += ", " + rowObject.biz_type2_3_name;
427		} else if ( StringUtils.isNotEmpty(rowObject.biz_type2_2_name) ) {
428			result += ", " + rowObject.biz_type2_2_name;
429		} else if ( StringUtils.isNotEmpty(rowObject.biz_type2_1_name) ) {
430			result += ", " + rowObject.biz_type2_1_name;
431		}
432		
433		if ( StringUtils.isNotEmpty(rowObject.biz_type3_3_name) ) {
434			result += ", " + rowObject.biz_type3_3_name;
435		} else if ( StringUtils.isNotEmpty(rowObject.biz_type3_2_name) ) {
436			result += ", " + rowObject.biz_type3_2_name;
437		} else if ( StringUtils.isNotEmpty(rowObject.biz_type3_1_name) ) {
438			result += ", " + rowObject.biz_type3_1_name;
439		}
440		--%>
441		*/
442				
443		///* (표준직종코드)	- 교체완료처리.
444		if ( StringUtils.isNotEmpty(rowObject.biz_type1_5_name_std) ) {
445			result += rowObject.biz_type1_5_name_std;
446		} else if ( StringUtils.isNotEmpty(rowObject.biz_type1_4_name_std) ) {
447			result += rowObject.biz_type1_4_name_std;
448		} else if ( StringUtils.isNotEmpty(rowObject.biz_type1_3_name_std) ) {
449			result += rowObject.biz_type1_3_name_std;
450		} else if ( StringUtils.isNotEmpty(rowObject.biz_type1_2_name_std) ) {
451			result += rowObject.biz_type1_2_name_std;
452		} else if ( StringUtils.isNotEmpty(rowObject.biz_type1_1_name_std) ) {
453			result += rowObject.biz_type1_1_name_std;
454		}
455		
456		if ( StringUtils.isNotEmpty(rowObject.biz_type2_5_name_std) ) {
457			result += ", " + rowObject.biz_type2_5_name_std;
458		} else if ( StringUtils.isNotEmpty(rowObject.biz_type2_4_name_std) ) {
459			result += ", " + rowObject.biz_type2_4_name_std;
460		} else if ( StringUtils.isNotEmpty(rowObject.biz_type2_3_name_std) ) {
461			result += ", " + rowObject.biz_type2_3_name_std;
462		} else if ( StringUtils.isNotEmpty(rowObject.biz_type2_2_name_std) ) {
463			result += ", " + rowObject.biz_type2_2_name_std;
464		} else if ( StringUtils.isNotEmpty(rowObject.biz_type2_1_name_std) ) {
465			result += ", " + rowObject.biz_type2_1_name_std;
466		}
467		
468		if ( StringUtils.isNotEmpty(rowObject.biz_type3_5_name_std) ) {
469			result += ", " + rowObject.biz_type3_5_name_std;
470		} else if ( StringUtils.isNotEmpty(rowObject.biz_type3_4_name_std) ) {
471			result += ", " + rowObject.biz_type3_4_name_std;
472		} else if ( StringUtils.isNotEmpty(rowObject.biz_type3_3_name_std) ) {
473			result += ", " + rowObject.biz_type3_3_name_std;
474		} else if ( StringUtils.isNotEmpty(rowObject.biz_type3_2_name_std) ) {
475			result += ", " + rowObject.biz_type3_2_name_std;
476		} else if ( StringUtils.isNotEmpty(rowObject.biz_type3_1_name_std) ) {
477			result += ", " + rowObject.biz_type3_1_name_std;
478		}
479		//*/
480		//++(끝) 2024.07.18 by s.yoo : 직종코드 변환.
481		
482		return result;
483	},
484	//채용정보 >
484 채용마감일.
485	getBizEndDay : function(cellvalue, options, rowObject) {
486		var strEdate = "";
487		
488		if ( rowObject.biz_ing != "yes" )	return "채용마감";
489
490		//채용마감일 등록.
491		if ( rowObject.biz_end_type = "get" ) {
492			strEdate = "채용시까지";
493			if ( rowObject.biz_end_day )	strEdate += "(" + rowObject.biz_end_day + ")"; 
494		} else if ( rowObject.biz_end_type == "often" )	strEdate = "상시채용";
495		//else if ( rowObject.biz_end_type == "input" )	strEdate = rowObject.biz_end_day;
496		else 											strEdate = rowObject.biz_end_day;
497		
498		return strEdate;
499	},
500	
501	//프리미엄 교육정보 - 클라이언트 환경.
502	getClientMobile : function(cellvalue, options, rowObject) {
503		var data_action = "";
504		
505		if ( rowObject.client_mobile == 0 )			data_action = 'PC'; 
506		else if ( rowObject.client_mobile == 1 )	data_action = '모바일'; 
507		else if ( rowObject.client_mobile == 2 )	data_action = 'PC, 모바일'; 
508		else 										data_action = '???'; 
509		
510		return data_action;
511	},
512	//프리미엄 교육정보 - 화면 노출위치.
513	getPosTop : function(cellvalue, options, rowObject) {
514		var data_action = "";
515		
516		if ( rowObject.posTop == 0 )		data_action = '하단'; 
517		else if ( rowObject.posTop == 1 )	data_action = '상단'; 
518		else 								data_action = '???'; 
519		
520		return data_action;
521	},
522	//프리미엄 교육정보 - 교육장소.
523	getEduAreaName : function(cellvalue, options, rowObject) {
524		var data_action = "";
525		
526		if (rowObject.area1_name) {
527			data_action += rowObject.area1_name;
528			data_action += ">";
529			data_action += (rowObject.area2_name)? rowObject.area2_name : "전체";
530		}
531		
532		return data_action;
533	},
534	//프리미엄 교육정보 - 교육기간.
535	getEduPeriodName : function(cellvalue, options, rowObject) {
536		var data_action = "";
537		
538		if (rowObject.edu_date_from || rowObject.edu_date_to) {
539			if (rowObject.edu_date_from)	data_action += rowObject.edu_date_from;
540			data_action += "~";
541			if (rowObject.edu_date_to)		data_action += rowObject.edu_date_to;
542		}
543		
544		return data_action;
545	},
546	//프리미엄 교육정보 - 노출범위(회원유형).
547	getEduDisplayUserType : function(cellvalue, options, rowObject) {
548		var data_action = "";
549		
550		data_action = (rowObject.user_type_person == 'Y')? '개인' : '';
551		if ( rowObject.user_type_company == 'Y' ) {
552			if (data_action.length > 0)	data_action += ",";
553			data_action += '기업'; 
554		}
555		if ( rowObject.user_type_headhunt == 'Y' ) {
556			if (data_action.length > 0)	data_action += ",";
557			data_action += '헤드헌터'; 
558		}
559		
560		return data_action;
561	},
562	//프리미엄 교육정보 - 노출범위(출생년도 범위).
563	getEduDisplayBirthRange : function(cellvalue, options, rowObject) {
564		var data_action = "";
565		
566		if (rowObject.fromBirth || rowObject.toBirth) {
567			if (rowObject.fromBirth)	data_action += rowObject.fromBirth;
568			data_action += "~";
569			if (rowObject.toBirth)	data_action += rowObject.toBirth;
570		}
571		
572		return data_action;
573	},
574	//프리미엄 교육정보 - 노출범위(노출기간).
575	getEduDisplayDateRange : function(cellvalue, options, rowObject) {
576		var data_action = "";
577		
578		if (rowObject.view_date_from || rowObject.view_date_to) {
579			if (rowObject.view_date_from)	data_action += rowObject.view_date_from;
580			data_action += "~";
581			if (rowObject.view_date_to)		data_action += rowObject.view_date_to;
582		}
583		
584		return data_action;
585	},
586	//프리미엄 교육정보 - 노출지역.
587	getEduDisplayAreaName : function(cellvalue, options, rowObject) {
588		var data_action = "";
589		
590		if (rowObject.view_area1_1_name) {
591			data_action += rowObject.view_area1_1_name;
592			data_action += ">";
593			data_action += (rowObject.view_area1_2_name)? rowObject.view_area1_2_name : "전체";
594		}
595		if (rowObject.view_area2_1_name) {
596			if (data_action.length > 0)	data_action += ",";
597			data_action += rowObject.view_area2_1_name;
598			data_action += ">";
599			data_action += (rowObject.view_area2_2_name)? rowObject.view_area2_2_name : "전체";
600		}
601		if (rowObject.view_area3_1_name) {
602			if (data_action.length > 0)	data_action += ",";
603			data_action += rowObject.view_area3_1_name;
604			data_action += ">";
605			data_action += (rowObject.view_area3_2_name)? rowObject.view_area3_2_name : "전체";
606		}
607		
608		return data_action;
609	},
610	//프리미엄 교육정보 - 사용상태.
611	getEduUseFlagName : function(cellvalue, options, rowObject) {
612		var data_action = "";
613		
614		data_action = (cellvalue == 'Y')? '사용중' : '사용안함'; 
615		
616		return data_action;
617	},
618	//프리미엄 교육정보 - 방문기록 보기.
619	getVisitHistory : function(cellvalue, options, rowObject) {
620		var data_action = "";
621		
622		data_action += '<a href="javascript:gotoVisitHistory(' + rowObject.id + ');" class="action-icon" style="font-size:14px;" data-bs-toggle="tooltip" data-bs-placement="top" title="노출/클릭 기록 보기"> <i class="mdi mdi-pen"></i> 노출/클릭 기록 보기</a>';
623		
624		return data_action;
625	},
626	//제휴기관(제휴치과) - 방문기록 보기.
627	getVisitHistoryTypeID : function(cellvalue, options, rowObject) {
628		var data_action = "";
629		
630		data_action += '<a href="javascript:gotoVisitHistory(\'' + rowObject.partner_type + '\', \'' + rowObject.partner_center_id + '\');" class="action-icon" style="font-size:14px;" data-bs-toggle="tooltip" data-bs-placement="top" title="노출/클릭 기록 보기"> <i class="mdi mdi-pen"></i> 노출/클릭 기록 보기</a>';
631		
632		return data_action;
633	},
634
635	//SNS/해우소 배너광고 - 배너사용 범위.
636	getBannerArea : function(cellvalue, options, rowObject) {
637		var data_action = "";
638		
639		data_action = (rowObject.display_sns == 'Y')? 'SNS' : '';
640		if ( rowObject.display_comm == 'Y' ) {
641			if (data_action.length > 0)	data_action += ",";
642			data_action += '해우소'; 
643		}
644		
645		return data_action;
646	},
647	//SNS/해우소 배너광고 - 노출지역.
648	getCommunityDisplayAreaName : function(cellvalue, options, rowObject) {
649		var data_action = "";
650		
651		if (rowObject.area1_1_name) {
652			data_action += rowObject.area1_1_name;
653			data_action += ">";
654			data_action += (rowObject.area1_2_name)? rowObject.area1_2_name : "전체";
655		}
656		if (rowObject.area2_1_name) {
657			if (data_action.length > 0)	data_action += ",";
658			data_action += rowObject.area2_1_name;
659			data_action += ">";
660			data_action += (rowObject.area2_2_name)? rowObject.area2_2_name : "전체";
661		}
662		if (rowObject.area3_1_name) {
663			if (data_action.length > 0)	data_action += ",";
664			data_action += rowObject.area3_1_name;
665			data_action += ">";
666			data_action += (rowObject.area3_2_name)? rowObject.area3_2_name : "전체";
667		}
668		
669		return data_action;
670	},
671
672	//관리자 공유 게시글 - 제목.
673	getAdminShareSubject : function(cellvalue, options, rowObject) {
674		return "관리자가 공유한 게시글";
675	},
676
677	//포지현 제의현황 - 기업 프로필.
678	getPositionUid : function(cellvalue, options, rowObject) {
679		var data_action = "";
680		
681		data_action = '<a href="javascript:viewCompany(' + rowObject.user_type + ', \'' + cellvalue + '\');" class="action-icon" style="font-size:14px;color:blue;" data-bs-toggle="tooltip" data-bs-placement="top" title="구인기업 정보"> ' + rowObject.biz_name + '</a>';
682		
683		return data_action;
684	},
685	//포지현 제의현황 - 회원 이력서.
686	getPositionUidPerson : function(cellvalue, options, rowObject) {
687		var data_action = "";
688		
689		data_action = '<a href="javascript:viewPerson(\'' + cellvalue + '\');" class="action-icon" style="font-size:14px;color:blue;" data-bs-toggle="tooltip" data-bs-placement="top" title="구직자 정보"> ' + rowObject.user_name + '</a>';
690		
691		return data_action;
692	},
693	
694	//입사지원현황 - 지운방법
695	getApplyTypeName : function(cellvalue, options, rowObject) {
696		var data_action = "";
697		if(!cellvalue) cellvalue = "";
698		switch(cellvalue) {
699			case "online": 
700				data_action = "온라인 입사지원";
701				break;
702			case "email": 
703				data_action = "이메일 입사지원";
704				break;
705			case "mobile": 
706				data_action = "모바일 입사지원";
707				break;
708
709			default:
710				data_action = "Unknown(" + cellvalue + ")";
711				break;
712		}
713		return data_action;
714	},
715	//입사지원현황 - 회원 프로로필
716	getAppyUidPerson : function(cellvalue, options, rowObject) {
717		var data_action = "";
718		
719		data_action = '<a href="javascript:viewPerson(\'' + cellvalue + '\');" class="action-icon" style="font-size:14px;color:blue;" data-bs-toggle="tooltip" data-bs-placement="top" title="구직자 정보"> ' + rowObject.user_name + '</a>';
720		
721		return data_action;
722	},
723	//입사지원현황 - 기업 프로필 
724	getAppyUidCompany : function(cellvalue, options, rowObject) {
725		var data_action = "";
726		
727		data_action = '<a href="javascript:viewCompany(' + rowObject.user_type + ', \'' + cellvalue + '\');" class="action-icon" style="font-size:14px;color:blue;" data-bs-toggle="tooltip" data-bs-placement="top" title="구인기업 정보"> ' + rowObject.biz_name + '</a>';
728		
729		return data_action;
730	},
731	//입사지원현황 - 제목 
732	getAppyTitle : function(cellvalue, options, rowObject) {
733		var data_action = "";
734		
735		data_action = '<a href="javascript:viewRecruit(\'' + rowObject.to_no + '\');" class="action-icon" style="font-size:14px;color:blue;" data-bs-toggle="tooltip" data-bs-placement="top" title="채용공고"> ' + rowObject.biz_title + '</a>';
736		
737		return data_action;
738	},
739
740	//결제방법 이름
741	paymentMethodName : function(cellvalue, options, rowObject) {
742		var data_action = "";
743		switch( cellvalue ) {
744			case "card":
745				data_action = "신용카드";
746				break;
747			
748			case "phone":
749				data_action = "휴대폰결제";
750				break;
751				
752			case "trans":
753				data_action = "실시간 계좌이체";
754				break;
755				
756			case "cash":
757				data_action = "통장입금";
758				break;
759				
760			default:
761				data_action = cellvalue;
762				break;
763		}
764			
765		return data_action;
766	},
767
768	//결제 - 구매 영수증
769	paymentUrl : function(cellvalue, options, rowObject) {
770		var data_action = "";
771		
772		data_action = '<a href="' + cellvalue + '" target="_blank"> ' + cellvalue + '</a>';
773		
774		return data_action;
775	},
776
777
778	/*
779	 * 회원초대 이벤트
780	 */
781	//회원 초대자 - 주소.
782	getInvitorAddress : function(cellvalue, options, rowObject) {
783		var result = "[" + rowObject.post_invitor + "] " +  rowObject.address1_invitor;
784		return result;
785	},
786	//회원 - 주소.
787	getMemberAddress : function(cellvalue, options, rowObject) {
788		var result = "[" + rowObject.post + "] " +  rowObject.address1;
789		return result;
790	},
791
792}
793
794
795//K-리커런트 전용
796var gridFormatterKr = {
797	//개인회원 유료결제 등록.
798	paymentRegisterFormatter : function(cellvalue, options, rowObject) {
799		return '<a href="javascript:procPaymentRegister(\'' + rowObject.uid + '\');"> 개인회원 경비/미화 유료결제 등록</a>';
800	},
801
802	//분류표 - 분류수준.
803	getCateType : function(cellvalue, options, rowObject) {
804		var result = "";
805		switch(cellvalue) {
806		case 1:
807		case "1":
808			result = "대분류";
809			break;
810		case 2:
811		case "2":
812			result = "중분류";
813			break;
814		case 3:
815		case "3":
816			result = "소분류";
817			break;
818		case 4:
819		case "4":
820			result = "세분류";
821			break;
822		case 5:
823		case "5":
824			result = "세세분류";
825			break;
826		}
827		return result;
828	},
829	
830	//분류표 - 대표분류(코드).
831	getCateNameCode : function(cellvalue, options, rowObject) {
832		var result = "";
833		if ( StringUtils.isNotEmpty(rowObject.cate_code) ) {
834			result = result + "(" +  rowObject.cate_code + ") ";
835		}
836		result = result + rowObject.cate_name;
837		return result;
838	},
839	
840	//분류표 - 대분류(코드).
841	getCateNameCode01 : function(cellvalue, options, rowObject) {
842		var result = "";
843		if ( StringUtils.isNotEmpty(rowObject.cate_code_01) ) {
844			result = result + "(" +  rowObject.cate_code_01 + ") ";
845		}
846		result = result + rowObject.cate_name_01;
847		return result;
848	},
849	//분류표 - 중분류(코드).
850	getCateNameCode02 : function(cellvalue, options, rowObject) {
851		var result = "";
852		if ( StringUtils.isNotEmpty(rowObject.cate_code_02) ) {
853			result = result + "(" +  rowObject.cate_code_02 + ") ";
854		}
855		result = result + rowObject.cate_name_02;
856		return result;
857	},
858	//분류표 - 소분류(코드).
859	getCateNameCode03 : function(cellvalue, options, rowObject) {
860		var result = "";
861		if ( StringUtils.isNotEmpty(rowObject.cate_code_03) ) {
862			result = result + "(" +  rowObject.cate_code_03 + ") ";
863		}
864		result = result + rowObject.cate_name_03;
865		return result;
866	},
867	//분류표 - 세분류(코드).
868	getCateNameCode04 : function(cellvalue, options, rowObject) {
869		var result = "";
870		if ( StringUtils.isNotEmpty(rowObject.cate_code_04) ) {
871			result = result + "(" +  rowObject.cate_code_04 + ") ";
872		}
873		result = result + rowObject.cate_name_04;
874		return result;
875	},
876	//분류표 - 세세분류(코드).
877	getCateNameCode05 : function(cellvalue, options, rowObject) {
878		var result = "";
879		if ( StringUtils.isNotEmpty(rowObject.cate_code_05) ) {
880			result = result + "(" +  rowObject.cate_code_05 + ") ";
881		}
882		result = result + rowObject.cate_name_05;
883		return result;
884	},
885	//분류표 - 업종상세정보 입력상태.
886	getCateDescriptionStatus : function(cellvalue, options, rowObject) {
887		if ( StringUtils.isEmpty(rowObject.description) || rowObject.description.length < 10 ) {
888			return "미입력"
889		}
890		return "입력완료";
891	},
892	
893	//직무만족도 - 이름
894	getJobSatisfationName : function(cellvalue, options, rowObject) {
895		var strSatisfaction = hiddenUtils.getJobSatisfationName(cellvalue);
896		if ( StringUtils.isEmpty(strSatisfaction) )	return "";
897		
898		return strSatisfaction + "(" + cellvalue + ")";
899	},
900
901	
902	//업종분류 - 대분류(코드).
903	getBizCateNameCode01 : function(cellvalue, options, rowObject) {
904		var result = "";
905		if ( StringUtils.isNotEmpty(rowObject.biz_cate_code_01) ) {
906			result = result + "(" +  rowObject.biz_cate_code_01 + ") ";
907		}
908		result = result + rowObject.biz_cate_name_01;
909		return result;
910	},
911	//업종분류 - 중분류(코드).
912	getBizCateNameCode02 : function(cellvalue, options, rowObject) {
913		var result = "";
914		if ( StringUtils.isNotEmpty(rowObject.biz_cate_code_02) ) {
915			result = result + "(" +  rowObject.biz_cate_code_02 + ") ";
916		}
917		result = result + rowObject.biz_cate_name_02;
918		return result;
919	},
920	//업종분류 - 소분류(코드).
921	getBizCateNameCode03 : function(cellvalue, options, rowObject) {
922		var result = "";
923		if ( StringUtils.isNotEmpty(rowObject.biz_cate_code_03) ) {
924			result = result + "(" +  rowObject.biz_cate_code_03 + ") ";
925		}
926		result = result + rowObject.biz_cate_name_03;
927		return result;
928	},
929	//업종분류 - 세분류(코드).
930	getBizCateNameCode04 : function(cellvalue, options, rowObject) {
931		var result = "";
932		if ( StringUtils.isNotEmpty(rowObject.biz_cate_code_04) ) {
933			result = result + "(" +  rowObject.biz_cate_code_04 + ") ";
934		}
935		result = result + rowObject.biz_cate_name_04;
936		return result;
937	},
938	//분류표 - 세세분류(코드).
939	getBizCateNameCode05 : function(cellvalue, options, rowObject) {
940		var result = "";
941		if ( StringUtils.isNotEmpty(rowObject.biz_cate_code_05) ) {
942			result = result + "(" +  rowObject.biz_cate_code_05 + ") ";
943		}
944		result = result + rowObject.biz_cate_name_05;
945		return result;
946	},
947
948
949	//직종분류 - 대분류(코드).
950	getJobCateNameCode01 : function(cellvalue, options, rowObject) {
951		var result = "";
952		if ( StringUtils.isNotEmpty(rowObject.job_cate_code_01) ) {
953			result = result + "(" +  rowObject.job_cate_code_01 + ") ";
954		}
955		result = result + rowObject.job_cate_name_01;
956		return result;
957	},
958	//직종분류 - 중분류(코드).
959	getJobCateNameCode02 : function(cellvalue, options, rowObject) {
960		var result = "";
961		if ( StringUtils.isNotEmpty(rowObject.job_cate_code_02) ) {
962			result = result + "(" +  rowObject.job_cate_code_02 + ") ";
963		}
964		result = result + rowObject.job_cate_name_02;
965		return result;
966	},
967	//직종분류 - 소분류(코드).
968	getJobCateNameCode03 : function(cellvalue, options, rowObject) {
969		var result = "";
970		if ( StringUtils.isNotEmpty(rowObject.job_cate_code_03) ) {
971			result = result + "(" +  rowObject.job_cate_code_03 + ") ";
972		}
973		result = result + rowObject.job_cate_name_03;
974		return result;
975	},
976	//직종분류 - 세분류(코드).
977	getJobCateNameCode04 : function(cellvalue, options, rowObject) {
978		var result = "";
979		if ( StringUtils.isNotEmpty(rowObject.job_cate_code_04) ) {
980			result = result + "(" +  rowObject.job_cate_code_04 + ") ";
981		}
982		result = result + rowObject.job_cate_name_04;
983		return result;
984	},
985	//직종분류 - 세세분류(코드).
986	getJobCateNameCode05 : function(cellvalue, options, rowObject) {
987		var result = "";
988		if ( StringUtils.isNotEmpty(rowObject.job_cate_code_05) ) {
989			result = result + "(" +  rowObject.job_cate_code_05 + ") ";
990		}
991		result = result + rowObject.job_cate_name_05;
992		return result;
993	},
994	
995	
996	//직종 - 신중년 적합여부
997	getJobMbtiSuitablity : function(cellvalue, options, rowObject) {
998		var result = "";
999		if ( cellvalue == 1 ) {
1000			result = "신중년 적합";
1001		} else if ( cellvalue == 0 ) {
1002			result = "신중년 부적합";
1003		} else {
1004			result = result + "(" +  cellvalue + ") ";
1005		}
1006		return result;
1007	},
1008	
1009	
1010	//고용24 채용기간
1011	getWorknetRecruitPeriod : function(cellvalue, options, rowObject) {
1012		var result = rowObject.job_start_date + "~" + rowObject.job_end_date_only;
1013		return result;
1014	},
1015
1016
1017	//분석결과 - 채용정보 개수 비중.
1018	getRecruitCountRatioString : function(cellvalue, options, rowObject) {
1019		if ( StringUtils.isEmpty(cellvalue) ) return "0%";
1020		
1021		var result = parseFloat(cellvalue).toFixed(2) + "%";
1022		return result;
1023	},
1024	//분석결과 - 비중.
1025	getRecruitItemRatioString : function(cellvalue, options, rowObject) {
1026		if ( StringUtils.isEmpty(cellvalue) ) return "0%";
1027		
1028		var result = parseFloat(cellvalue).toFixed(2) + "%";
1029		return result;
1030	},
1031	
1032	
1033	
1034	
1035	
1036	
1037	
1038	
1039	
1040	
1041	
1042	/*
1043	 * (시작) K-리커런트 표준직종코드 지원.
1044	 */
1045	// 표준직종 - 직종코드/직종이름.
1046	getJobTypeStdCodeAll : function(cellvalue, options, rowObject) {
1047		var result = "";
1048		
1049		for( var i = 0; i < rowObject.listStd.length; i++ ) {
1050			var item = rowObject.listStd[i];
1051
1052			if ( !StringUtils.isEmpty(item.cate_code_01) ) {
1053				if ( !StringUtils.isEmpty(result) )	result += "#";
1054				result += item.cate_code_01;
1055			}
1056			if ( !StringUtils.isEmpty(item.cate_code_02) )	result += ">" + item.cate_code_02;
1057			if ( !StringUtils.isEmpty(item.cate_code_03) )	result += ">" + item.cate_code_03;
1058			if ( !StringUtils.isEmpty(item.cate_code_04) )	result += ">" + item.cate_code_04;
1059			if ( !StringUtils.isEmpty(item.cate_code_05) )	result += ">" + item.cate_code_05;
1060		}
1061		
1062		return result;
1063	},
1064	getJobTypeStdNameAll : function(cellvalue, options, rowObject) {
1065		var result = "";
1066		
1067		for( var i = 0; i < rowObject.listStd.length; i++ ) {
1068			var item = rowObject.listStd[i];
1069		
1070			if ( !StringUtils.isEmpty(item.cate_name_05) ) {
1071				if ( !StringUtils.isEmpty(result) )	result += "#";
1072				result += item.cate_name_05 + "(5)";
1073			} else if ( !StringUtils.isEmpty(item.cate_name_04) ) {
1074				if ( !StringUtils.isEmpty(result) )	result += "#";
1075				result += item.cate_name_04 + "(4)";
1076			} else if ( !StringUtils.isEmpty(item.cate_name_03) ) {
1077				if ( !StringUtils.isEmpty(result) )	result += "#";
1078				result += item.cate_name_03 + "(3)";
1079			} else if ( !StringUtils.isEmpty(item.cate_name_02) ) {
1080				if ( !StringUtils.isEmpty(result) )	result += "#";
1081				result += item.cate_name_02 + "(2)";
1082			} else if ( !StringUtils.isEmpty(item.cate_name_01) ) {
1083				if ( !StringUtils.isEmpty(result) )	result += "#";
1084				result += item.cate_name_01 + "(1)";
1085			}
1086		}
1087		
1088		return result;
1089	},
1090	/*
1091	 * (끝) K-리커런트 표준직종코드 지원.
1092	 */
1093	
1094	
1095	
1096	
1097	//회워가입 - 올워크에서 등록한 회원정보.
1098	getAwRegName : function(cellvalue, options, rowObject) {
1099		var result = "";
1100		if ( cellvalue == 1 ) {
1101			result = "올워크 등록회원";
1102		} else {
1103			result = "";
1104		}
1105		return result;
1106	},
1107
1108	//회워가입 - 회원가입 경로.
1109	getRegPathName : function(cellvalue, options, rowObject) {
1110		var result = "";
1111		if ( cellvalue == 1 ) {
1112			result = "경비/미화 앱";
1113		} else {
1114			result = "올워크 서비스";
1115		}
1116		return result;
1117	},
1118
1119	//모바일 앱 설치현황.
1120	getAppStatusName : function(cellvalue, options, rowObject) {
1121		var result = "";
1122		if ( rowObject.app_status_aw == 1 ) {
1123			result = "올워크 앱";
1124		}
1125		if ( rowObject.app_status_sc == 1 ) {
1126			if ( result )	result += ",";
1127			result += "경비/미화 앱";
1128		}
1129		return result;
1130	},
1131
1132
1133	//복지카드 보유현황.
1134	getFlagWelfareCardName : function(cellvalue, options, rowObject) {
1135		var result = "";
1136		if ( rowObject.flag_welfacre_card == 1 ) {
1137			result = "있음";
1138		} else if ( rowObject.flag_welfacre_card == 0 ) {
1139			result = "없음";
1140		} else {
1141			result = "없음(" + rowObject.flag_welfacre_card + ")";
1142		}
1143		return result;
1144	},
1145
1146	//경비교육 이수현황.
1147	getFlagEducationName : function(cellvalue, options, rowObject) {
1148		var result = "";
1149		if ( rowObject.flag_education == 1 ) {
1150			result = "교육이수";
1151		} else if ( rowObject.flag_education == 0 ) {
1152			result = "아직 안 받음";
1153		} else {
1154			result = "아직 안 받음(" + rowObject.flag_education + ")";
1155		}
1156		return result;
1157	},
1158	
1159	
1160	
1161	
1162	
1163	
1164	
1165	
1166	
1167	/*
1168	 * (시작) K-리커런트 DB 마이그레이션 지원.
1169	 */
1170	// 고용24 - 인력 이력서 직종코드 1.
1171	getMigResumeJobTypeCode01 : function(cellvalue, options, rowObject) {
1172		return cnvtUtils.getCommonJobTypeCode(rowObject.inid_type1_1_code_wn, rowObject.inid_type1_2_code_wn, rowObject.inid_type1_3_code_wn, null, null);
1173	},
1174	getMigResumeJobTypeName01 : function(cellvalue, options, rowObject) {
1175		return cnvtUtils.getCommonJobTypeName(rowObject.inid_type1_1_name_wn, rowObject.inid_type1_2_name_wn, rowObject.inid_type1_3_name_wn, null, null);
1176	},
1177	// 고용24 - 인력 이력서 직종코드 2.
1178	getMigResumeJobTypeCode02 : function(cellvalue, options, rowObject) {
1179		return cnvtUtils.getCommonJobTypeCode(rowObject.inid_type2_1_code_wn, rowObject.inid_type2_2_co
1179de_wn, rowObject.inid_type2_3_code_wn, null, null);
1180	},
1181	getMigResumeJobTypeName02 : function(cellvalue, options, rowObject) {
1182		return cnvtUtils.getCommonJobTypeName(rowObject.inid_type2_1_name_wn, rowObject.inid_type2_2_name_wn, rowObject.inid_type2_3_name_wn, null, null);
1183	},
1184	// 고용24 - 인력 이력서 직종코드 3.
1185	getMigResumeJobTypeCode03 : function(cellvalue, options, rowObject) {
1186		return cnvtUtils.getCommonJobTypeCode(rowObject.inid_type3_1_code_wn, rowObject.inid_type3_2_code_wn, rowObject.inid_type3_3_code_wn, null, null);
1187	},
1188	getMigResumeJobTypeName03 : function(cellvalue, options, rowObject) {
1189		return cnvtUtils.getCommonJobTypeName(rowObject.inid_type3_1_name_wn, rowObject.inid_type3_2_name_wn, rowObject.inid_type3_3_name_wn, null, null);
1190	},
1191	// 표준직종 - 인력 이력서 직종코드 1.
1192	getMigResumeJobTypeStdCode01 : function(cellvalue, options, rowObject) {
1193		return cnvtUtils.getCommonJobTypeStdCode(rowObject.inid_type1_1_code, rowObject.inid_type1_2_code, rowObject.inid_type1_3_code, rowObject.inid_type1_4_code, rowObject.inid_type1_5_code);
1194	},
1195	getMigResumeJobTypeStdName01 : function(cellvalue, options, rowObject) {
1196		return cnvtUtils.getCommonJobTypeStdName(rowObject.inid_type1_1_name, rowObject.inid_type1_2_name, rowObject.inid_type1_3_name, rowObject.inid_type1_4_name, rowObject.inid_type1_5_name);
1197	},
1198	// 표준직종 - 인력 이력서 직종코드 2.
1199	getMigResumeJobTypeStdCode02 : function(cellvalue, options, rowObject) {
1200		return cnvtUtils.getCommonJobTypeStdCode(rowObject.inid_type2_1_code, rowObject.inid_type2_2_code, rowObject.inid_type2_3_code, rowObject.inid_type2_4_code, rowObject.inid_type2_5_code);
1201	},
1202	getMigResumeJobTypeStdName02 : function(cellvalue, options, rowObject) {
1203		return cnvtUtils.getCommonJobTypeStdName(rowObject.inid_type2_1_name, rowObject.inid_type2_2_name, rowObject.inid_type2_3_name, rowObject.inid_type2_4_name, rowObject.inid_type2_5_name);
1204	},
1205	// 표준직종 - 인력 이력서 직종코드 3.
1206	getMigResumeJobTypeStdCode03 : function(cellvalue, options, rowObject) {
1207		return cnvtUtils.getCommonJobTypeStdCode(rowObject.inid_type3_1_code, rowObject.inid_type3_2_code, rowObject.inid_type3_3_code, rowObject.inid_type3_4_code, rowObject.inid_type3_5_code);
1208	},
1209	getMigResumeJobTypeStdName03 : function(cellvalue, options, rowObject) {
1210		return cnvtUtils.getCommonJobTypeStdName(rowObject.inid_type3_1_name, rowObject.inid_type3_2_name, rowObject.inid_type3_3_name, rowObject.inid_type3_4_name, rowObject.inid_type5_5_name);
1211	},
1212
1213
1214
1215	// 고용24 - 올워크 채용공고 직종코드 1.
1216	getMigRecruitJobTypeCode01 : function(cellvalue, options, rowObject) {
1217		return cnvtUtils.getCommonJobTypeCode(rowObject.biz_type1_1_code_wn, rowObject.biz_type1_2_code_wn, rowObject.biz_type1_3_code_wn, null, null);
1218	},
1219	getMigRecruitJobTypeName01 : function(cellvalue, options, rowObject) {
1220		return cnvtUtils.getCommonJobTypeName(rowObject.biz_type1_1_name_wn, rowObject.biz_type1_2_name_wn, rowObject.biz_type1_3_name_wn, null, null);
1221	},
1222	// 고용24 - 올워크 채용공고 직종코드 2.
1223	getMigRecruitJobTypeCode02 : function(cellvalue, options, rowObject) {
1224		return cnvtUtils.getCommonJobTypeCode(rowObject.biz_type2_1_code_wn, rowObject.biz_type2_2_code_wn, rowObject.biz_type2_3_code_wn, null, null);
1225	},
1226	getMigRecruitJobTypeName02 : function(cellvalue, options, rowObject) {
1227		return cnvtUtils.getCommonJobTypeName(rowObject.biz_type2_1_name_wn, rowObject.biz_type2_2_name_wn, rowObject.biz_type2_3_name_wn, null, null);
1228	},
1229	// 고용24 - 올워크 채용공고 직종코드 3.
1230	getMigRecruitJobTypeCode03 : function(cellvalue, options, rowObject) {
1231		return cnvtUtils.getCommonJobTypeCode(rowObject.biz_type3_1_code_wn, rowObject.biz_type3_2_code_wn, rowObject.biz_type3_3_code_wn, null, null);
1232	},
1233	getMigRecruitJobTypeName03 : function(cellvalue, options, rowObject) {
1234		return cnvtUtils.getCommonJobTypeName(rowObject.biz_type3_1_name_wn, rowObject.biz_type3_2_name_wn, rowObject.biz_type3_3_name_wn, null, null);
1235	},
1236	// 표준직종 - 올워크 채용공고 직종코드 1.
1237	getMigRecruitJobTypeStdCode01 : function(cellvalue, options, rowObject) {
1238		return cnvtUtils.getCommonJobTypeStdCode(rowObject.biz_type1_1_code, rowObject.biz_type1_2_code, rowObject.biz_type1_3_code, rowObject.biz_type1_4_code, rowObject.biz_type1_5_code);
1239	},
1240	getMigRecruitJobTypeStdName01 : function(cellvalue, options, rowObject) {
1241		return cnvtUtils.getCommonJobTypeStdName(rowObject.biz_type1_1_name, rowObject.biz_type1_2_name, rowObject.biz_type1_3_name, rowObject.biz_type1_4_name, rowObject.biz_type1_5_name);
1242	},
1243	// 표준직종 - 올워크 채용공고 직종코드 2.
1244	getMigRecruitJobTypeStdCode02 : function(cellvalue, options, rowObject) {
1245		return cnvtUtils.getCommonJobTypeStdCode(rowObject.biz_type2_1_code, rowObject.biz_type2_2_co
1245de, rowObject.biz_type2_3_code, rowObject.biz_type2_4_code, rowObject.biz_type2_5_code);
1246	},
1247	getMigRecruitJobTypeStdName02 : function(cellvalue, options, rowObject) {
1248		return cnvtUtils.getCommonJobTypeStdName(rowObject.biz_type2_1_name, rowObject.biz_type2_2_name, rowObject.biz_type2_3_name, rowObject.biz_type2_4_name, rowObject.biz_type2_5_name);
1249	},
1250	// 표준직종 - 올워크 채용공고 직종코드 3.
1251	getMigRecruitJobTypeStdCode03 : function(cellvalue, options, rowObject) {
1252		return cnvtUtils.getCommonJobTypeStdCode(rowObject.biz_type3_1_code, rowObject.biz_type3_2_code, rowObject.biz_type3_3_code, rowObject.biz_type3_4_code, rowObject.biz_type3_5_code);
1253	},
1254	getMigRecruitJobTypeStdName03 : function(cellvalue, options, rowObject) {
1255		return cnvtUtils.getCommonJobTypeStdName(rowObject.biz_type3_1_name, rowObject.biz_type3_2_name, rowObject.biz_type3_3_name, rowObject.biz_type3_4_name, rowObject.biz_type3_5_name);
1256	},
1257
1258
1259
1260	// 고용24 - 직종검색 키워드 직종코드 1.
1261	getMigJobSearchJobTypeCode : function(cellvalue, options, rowObject) {
1262		return cnvtUtils.getCommonJobTypeCode(rowObject.job_type_1_code_wn, rowObject.job_type_2_code_wn, rowObject.job_type_3_code_wn, null, null);
1263	},
1264	getMigJobSearchJobTypeName : function(cellvalue, options, rowObject) {
1265		return cnvtUtils.getCommonJobTypeName(rowObject.job_type_1_name_wn, rowObject.job_type_2_name_wn, rowObject.job_type_3_name_wn, null, null);
1266	},
1267	// 표준직종 - 직종검색 키워드 직종코드 1.
1268	getMigJobSearchJobTypeStdCode : function(cellvalue, options, rowObject) {
1269		return cnvtUtils.getCommonJobTypeStdCode(rowObject.job_type_1_code, rowObject.job_type_2_code, rowObject.job_type_3_code, rowObject.job_type_4_code, rowObject.job_type_5_code);
1270	},
1271	getMigJobSearchJobTypeStdName : function(cellvalue, options, rowObject) {
1272		return cnvtUtils.getCommonJobTypeStdName(rowObject.job_type_1_name, rowObject.job_type_2_name, rowObject.job_type_3_name, rowObject.job_type_4_name, rowObject.job_type_5_name);
1273	},
1274
1275
1276
1277	// (기능삭제. 사용하지 않음) 고용24 - 직종별 직무분석 직종코드.
1278	getMigAnalysisJobTypeJobTypeCode : function(cellvalue, options, rowObject) {
1279		return cnvtUtils.getCommonJobTypeCode(rowObject.cate_code_01_wn, rowObject.cate_code_02_wn, rowObject.cate_code_03_wn, rowObject.cate_code_04_wn, rowObject.cate_code_05_wn);
1280	},
1281	getMigAnalysisJobTypeJobTypeName : function(cellvalue, options, rowObject) {
1282		return cnvtUtils.getCommonJobTypeName(rowObject.cate_name_01_wn, rowObject.cate_name_02_wn, rowObject.cate_name_03_wn, rowObject.cate_name_04_wn, rowObject.cate_name_05_wn);
1283	},
1284	// 표준직종 - 직종별 직무분석 직종코드.
1285	getMigAnalysisJobTypeJobTypeStdCode : function(cellvalue, options, rowObject) {
1286		return cnvtUtils.getCommonJobTypeStdCode(rowObject.cate_code_01, rowObject.cate_code_02, rowObject.cate_code_03, rowObject.cate_code_04, rowObject.cate_code_05);
1287	},
1288	getMigAnalysisJobTypeJobTypeStdName : function(cellvalue, options, rowObject) {
1289		return cnvtUtils.getCommonJobTypeStdName(rowObject.cate_name_01, rowObject.cate_name_02, rowObject.cate_name_03, rowObject.cate_name_04, rowObject.cate_name_05);
1290	},
1291
1292
1293
1294	// 고용24 - 빅데이터 채용공고 직종코드.
1295	getMigPublicRecruitJobTypeCode : function(cellvalue, options, rowObject) {
1296		return cnvtUtils.getCommonJobTypeCode(rowObject.job_cate_code_01_wn, rowObject.job_cate_code_02_wn, rowObject.job_cate_code_03_wn, rowObject.job_cate_code_04_wn, rowObject.job_cate_code_05_wn);
1297	},
1298	getMigPublicRecruitJobTypeName : function(cellvalue, options, rowObject) {
1299		return cnvtUtils.getCommonJobTypeName(rowObject.job_cate_name_01_wn, rowObject.job_cate_name_02_wn, rowObject.job_cate_name_03_wn, rowObject.job_cate_name_04_wn, rowObject.job_cate_name_05_wn);
1300	},
1301	// 표준직종 - 빅데이터 채용공고 직종코드.
1302	getMigPublicRecruitJobTypeStdCode : function(cellvalue, options, rowObject) {
1303		return cnvtUtils.getCommonJobTypeStdCode(rowObject.job_cate_code_01, rowObject.job_cate_code_02, rowObject.job_cate_code_03, rowObject.job_cate_code_04, rowObject.job_cate_code_05);
1304	},
1305	getMigPublicRecruitJobTypeStdName : function(cellvalue, options, rowObject) {
1306		return cnvtUtils.getCommonJobTypeStdName(rowObject.job_cate_name_01, rowObject.job_cate_name_02, rowObject.job_cate_name_03, rowObject.job_cate_name_04, rowObject.job_cate_name_05);
1307	},
1308
1309
1310
1311	// 고용24 - 직무정보 직종코드.
1312	getMigJobInfoJobTypeCode : function(cellvalue, options, rowObject) {
1313		return cnvtUtils.getCommonJobTypeCode(rowObject.cate_code_wn, "", "", "", "");
1314	},
1315	getMigJobInfoJobTypeName : function(cellvalue, options, rowObject) {
1316		return cnvtUtils.getCommonJobTypeName(rowObject.cate_name_wn, "", "", "", "");
1317	},
1318	// 표준직종 - 직무정보 직종코드.
1319	getMigJobInfoJobTypeStdCode : function(cellvalue, options, rowObject) {
1320		return cnvtUtils.getCommonJobTypeStdCode(rowObject.cate_code, "", "", "", "");
1321	},
1322	getMigJobInfoJobTypeStdName : function(cellvalue, options, rowObject) {
1323		return cnvtUtils.getCommonJobTypeStdName(rowObject.cate_name, "", "", "", "");
1324	},
1325	
1326	
1327
1328	// 구직신청 이름.
1329	getJobApplyName : function(cellvalue, options, rowObject) {
1330		var result = "";
1331		switch(cellvalue) {
1332			case 91:	//신중년 디지털 교육
1333			case '91':
1334				result = "신중년 디지털 교육";
1335				break;
1336			
1337			case 92:	//구직신청
1338			case '92':
1339				result = "구직신청";
1340				break;
1341
1342			case 93:	//개인회원 프리미엄 구직신청
1343			case '93':
1344				result = "개인회원 프리미엄 구직신청";
1345				break;
1346			
1347			default:
1348				break;
1349		}
1350		return result;
1351	},
1352	
1353	
1354	
1355	
1356	
1357	
1358	//[지역-직종 채용공고 분석] 직무코드 종류.
1359	getAreaJobStatusCateCategoryName : function(cellvalue, options, rowObject) {
1360		var result = "";
1361		switch(cellvalue) {
1362			case 1:	//표준직무
1363			case '1':
1364				result = "표준직무";
1365				break;
1366			
1367			case 2:	//고용24 직무
1368			case '2':
1369				result = "고용24 직무";
1370				break;
1371			
1372			default:
1373				break;
1374		}
1375		return result;
1376	},
1377
1378	//[지역-직종 채용공고 분석] 분석기간.
1379	getAreaJobStatusYearMonthName : function(cellvalue, options, rowObject) {
1380		var result = "";
1381		if ( !rowObject.date_year ) {
1382			result = "전체";
1383		} else {
1384			if ( !rowObject.date_month ) {
1385				result = "전체";
1386			} else {
1387				result = rowObject.date_year + "년 " + rowObject.date_month + "월";
1388			}
1389		} 
1390		return result;
1391	},
1392
1393	/*
1394	 * (끝) K-리커런트 DB 마이그레이션 지원.
1395	 */
1396
1397
1398
1399	 
1400	/*
1401	 * (시작) 교육 및 교욱센터
1402	 */
1403	getEduTypeName : function(cellvalue, options, rowObject) {
1404		return  cnvtUtils.getEduTypeName(cellvalue);
1405	},
1406	/*
1407	 * (끝) 교육 및 교욱센터
1408	 */
1409
1410
1411	/*
1412	 * (시작) AI 잡매칭 채용정보 전송이력
1413	 */
1414	getWnApply : function(cellvalue, options, rowObject) {
1415		if ( !rowObject.applyCountWn ) return "";
1416		
1417		return '<span onclick="getWnApply(\'' + rowObject.uid + '\');" style="cursor:pointer;color:blue;">고용24(' + rowObject.applyCountWn + ')</span>';
1418	},
1419	getMemberApply : function(cellvalue, options, rowObject) {
1420		if ( !rowObject.applyCount ) return "";
1421
1422		return '<span onclick="getMemberApply(\'' + rowObject.uid + '\');" style="cursor:pointer;color:blue;">회원채용공고(' + rowObject.applyCount + ')</span>';
1423	},
1424	/*
1425	 * (끝) AI 잡매칭 채용정보 전송이력
1426	 */
1427
1428
1429	/* (시작) 유료회원 추천 채용정보	*/
1430	getRecruitTypeName : function(cellvalue, options, rowObject) {
1431		if ( !cellvalue ) return "";
1432		
1433		var recruitTypeName = "";
1434		switch( cellvalue )
1435		{
1436		case 2:
1437		case '2':
1438			recruitTypeName = "기업회원";
1439			break;
1440
1441		case 3:
1442		case '3':
1443			recruitTypeName = "고용24";
1444			break;
1445
1446		case 4:
1447		case '4':
1448			recruitTypeName = "헤드헌터";
1449			break;
1450		}
1451		
1452		return recruitTypeName;
1453	},
1454	
1455	getRecruitTilteLink : function(cellvalue, options, rowObject) {
1456		var data_action = "";
1457		if ( rowObject.recruit_id && rowObject.recruit_id > 0 ) {
1458			data_action = '<a href="javascript:viewRecruit(\'' + rowObject.recruit_id + '\');" class="action-icon" style="font-size:14px;color:blue;" data-bs-toggle="tooltip" data-bs-placement="top" title="채용공고"> ' + rowObject.biz_title + '</a>';
1459		}
1460		
1461		return data_action;
1462	},
1463	/* (끝) 유료회원 추천 채용정보	*/
1464	
1465	
1466	
1467	/* (시작) 채용담당자 정보		*/
1468	getBiz_name : function(cellvalue, options, rowObject) {
1469		var data_action = !StringUtils.isEmpty(cellvalue)? cellvalue : "";
1470		data_action += "<br />, ";
1471		data_action += !StringUtils.isEmpty(rowObject.biz_name)? rowObject.biz_name : "";
1472		
1473		return data_action;
1474	},
1475	getBiz_title : function(cellvalue, options, rowObject) {
1476		var data_action = !StringUtils.isEmpty(cellvalue)? cellvalue : "";
1477		data_action += "<br />, ";
1478		data_action += !StringUtils.isEmpty(rowObject.biz_title)? rowObject.biz_title : "";
1479		
1480		return data_action;
1481	},
1482
1483	getBiz_person : function(cellvalue, options, rowObject) {
1484		var data_action = !StringUtils.isEmpty(cellvalue)? cellvalue : "";
1485		data_action += "<br />, ";
1486		data_action += !StringUtils.isEmpty(rowObject.biz_person)? rowObject.biz_person : "";
1487		data_action += "<br />, ";
1488		//if ( rowObject.biz_person_hidden )
1489			data_action +=  ( rowObject.biz_person_hidden );
1490		
1491		return data_action;
1492	},
1493	getBiz_pphone : function(cellvalue, options, rowObject) {
1494		var data_action = !StringUtils.isEmpty(cellvalue)? cellvalue : "";
1495		data_action += "<br />, ";
1496		data_action += cnvtUtils.getPhoneFormatStr( rowObject.biz_pphone );
1497		data_action += "<br />, ";
1498		//if ( rowObject.biz_pphone_hidden )
1499			data_action += ( cnvtUtils.getPhoneFormatStr( rowObject.biz_pphone_hidden ) );
1500		
1501		return data_action;
1502	},
1503	getBiz_pemail : function(cellvalue, options, rowObject) {
1504		var data_action = !StringUtils.isEmpty(cellvalue)? cellvalue : "";
1505		data_action += "<br />, ";
1506		data_action += !StringUtils.isEmpty(rowObject.biz_pemail)? rowObject.biz_pemail : "";
1507		data_action += "<br />, ";
1508		//if ( rowObject.biz_pemail_hidden )
1509			data_action += ( rowObject.biz_pemail_hidden );
1510		
1511		return data_action;
1512	},
1513	getBiz_pfax : function(cellvalue, options, rowObject) {
1514		var data_action = !StringUtils.isEmpty(cellvalue)? cellvalue : "";
1515		data_action += "<br />, ";
1516		data_action += cnvtUtils.getPhoneFormatStr( rowObject.biz_pfax );
1517		data_action += "<br />, ";
1518		//if ( rowObject.biz_pfax_hidden )
1519			data_action += ( cnvtUtils.getPhoneFormatStr( rowObject.biz_pfax_hidden ) );
1520		
1521		return data_action;
1522	},
1523	/* (끝) 채용담당자 정보		*/
1524
1525	
1526	/* (시작) 이력서 자동전달		*/
1527	getStatusResumeName : function(cellvalue, options, rowObject) {
1528		var strName = "";
1529		
1530		switch(cellvalue) {
1531			case 1: 
1532				strName = "전달완료";
1533				break;
1534				
1535			case 2: 
1536				strName = "전달불가";
1537				break;
1538				
1539			case 3: 
1540				strName = "전달오류발생";
1541				break;
1542				
1543			default: 
1544				strName = "미전달";
1545				break;
1546		}
1547		return strName;
1548	},
1549	/* (끝) 이력서 자동전달		*/
1550
1551}
1552

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.