SPAYA00600.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  1. /**
  2. * 교육일정등록관리
  3. * 2007/11/29 dhkim 신규 작성
  4. *
  5. */
  6. var currentdate = getCurrentDate();//현재일자
  7. var sdate = ((currentdate.toDate()).getAddDate(-1, "M")).getDateFormat(); //보름전
  8. var xEduPath = '/root/main/educsche/educscheinfo'; //교육일정내역 xPath
  9. var xAttendPath = '/root/main/attntrlist/attntrlistinfo'; //참석자그리드 xPath
  10. var xUserInfoPath = '/root/main/userpopupinfo'; //참석자팝업결과 xPath
  11. var xHiddenAttdPath = '/root/hidden/grdattnd'; //참석자조회 xPath
  12. /*
  13. * 초기화
  14. */
  15. function fInit(isUpdate){
  16. //참석자그리드 초기화
  17. model.removeNodeSet(xAttendPath);
  18. //파라메터에서 가져오는 값을 저장하기 위한 임시 변수
  19. var scrnstatus = '';
  20. var condclsnm = '';
  21. var condclscd = '';
  22. var grd_clscd = '';
  23. var grd_seqno = '';
  24. //팝업띄울때 가져오는 파라메터값을 변수에 임시 저장
  25. if (checkOpener()) {
  26. scrnstatus = opener.javascript.getParameter("scrnstatus"); //INSERT/UPDATE상태값
  27. condclsnm = opener.javascript.getParameter("condclsnm"); //교육명
  28. condclscd = opener.javascript.getParameter("condclscd"); //교육코드
  29. grd_clscd = opener.javascript.getParameter("grd_clscd"); //그리드에서 선택한 교육코드(update시)
  30. grd_seqno = opener.javascript.getParameter("grd_seqno"); //그리드에서 선택한 일련번호(update시)
  31. } else {
  32. messageBox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
  33. }
  34. if(isUpdate){
  35. scrnstatus = 'updt';
  36. grd_clscd = model.getValue('root/main/hidden/keys/clscd');
  37. grd_seqno = model.getValue('root/main/hidden/keys/seqno');
  38. }
  39. //신규등록 버튼 클릭해서 팝업 띄웠을때
  40. if (scrnstatus == 'ins') {
  41. model.setValue(xEduPath + "/clsnm", condclsnm); //화면 오픈시 교육명에 이름 띄우기
  42. model.setValue(xEduPath + "/clscd", condclscd); //화면 오픈시 교육코드에 값 가져가기
  43. model.setValue(xEduPath + "/status", 'i'); //등록 status설정
  44. //default값 세팅..
  45. model.setValue(xEduPath + "/fromdd", currentdate); //교육시작일
  46. model.setValue(xEduPath + "/todd", currentdate); //교육종료일
  47. model.makeNode("/root/temp/main/educsche/educscheinfo");
  48. model.copyNode("/root/temp/main/educsche/educscheinfo",xEduPath);
  49. }
  50. //수정버튼 클릭해서 팝업 띄웠을때
  51. else if (scrnstatus == 'updt') {
  52. //저장되어 있던 데이터 조회를 위한 key 값 세팅
  53. model.removeNodeset("/root/send/reqdata");
  54. model.makeNode("/root/send/reqdata");
  55. model.makeNode("/root/send/reqdata/clscd");
  56. model.makeNode("/root/send/reqdata/seqno");
  57. model.setValue("/root/send/reqdata/clscd", grd_clscd);
  58. model.setValue("/root/send/reqdata/seqno", grd_seqno);
  59. fSearch();//교육일정 및 교육참석현황 조회
  60. }
  61. model.setValue('/root/hidden/addrowcnt', 1); //default로 행추가 버튼 클릭시 추가할 row 갯수 세팅
  62. model.refresh();
  63. }
  64. /*
  65. * 교육일정 및 교육참석현황 조회
  66. */
  67. function fSearch(){
  68. model.removeNodeset(xAttendPath); //교육참석현황 그리드 초기화
  69. //교육일정조회
  70. if (submit("TRAYA00601")) { //가져온 카값을 가지고 저장되어있던 데이터를 조회하여 화면에 로드.
  71. //저장시 구분하기 위한 화면 코드
  72. model.makeNode(xEduPath + '/status');
  73. //수정 status설정
  74. model.setValue(xEduPath + "/status",'u');
  75. //node 복사
  76. model.removeNodeSet('/root/temp');
  77. model.makeNode("/root/temp/main");
  78. model.copyNode("/root/temp/main","/root/main");
  79. //교육참석현황 조회
  80. submit("TRAYA00602");
  81. }
  82. }
  83. /**
  84. * 2007-12-18
  85. * 참석자를 선택하기 위한 팝업화면을 호출한다.
  86. * 참석현황그리드의 행추가버튼 클릭이벤트 발생시 호출된다.
  87. */
  88. function fGetAttendant(){
  89. var curRow = grd_attntrlist.row;
  90. model.removenodeset(xUserInfoPath);
  91. model.makeValue(xUserInfoPath + '/param', '_OneS_DD');
  92. //modal("../../userdeptinfoweb/xrw/SPZSU10103_사용자부서선택조회", "", "200", "200", "SPZSU10103","/root/main/userpopupinfo","/root/main/temp");
  93. modal("../../userdeptinfoweb/xrw/SPZSU10103_사용자부서선택조회", "", "200", "200", "SPZSU10103")
  94. var iParam = getParameter('SPZSU10103_');
  95. //alert(iParam);
  96. if(iParam != ''){
  97. setCSVToNode(xUserInfoPath, iParam);
  98. var nodecnt = getNodesetCount(xUserInfoPath + '/list');
  99. //alert(nodecnt);
  100. for(var i = 1; i <= nodecnt; i++){
  101. var userid = model.getValue(xUserInfoPath + '/list[' + i +']/userid');
  102. var usernm = model.getValue(xUserInfoPath + '/list[' + i +']/usernm');
  103. var dutplcenm = model.getValue(xUserInfoPath + '/list[' + i +']/dutplcenm');
  104. var baptnm = fGetBaptNm(userid);
  105. //alert("userid:" + userid + " baptnm:" + baptnm);
  106. if (i == 1)
  107. {
  108. model.setValue(xAttendPath + '[' + curRow + ']/attntrid', userid);
  109. model.setValue(xAttendPath + '[' + curRow + ']/attntrnm', usernm);
  110. model.setValue(xAttendPath + '[' + curRow + ']/baptnm', baptnm);
  111. model.setValue(xAttendPath + '[' + curRow + ']/depthngnm', dutplcenm);
  112. }
  113. else
  114. {
  115. grd_attntrlist.insertRow(curRow, "below");//행추가
  116. curRow = curRow + 1;
  117. //alert(curRow);
  118. model.setValue(xAttendPath + '[' + curRow + ']/status', "i");//status
  119. grd_attntrlist.cellStyle("background-image", curRow, 1) = "../../../com/commonweb/images/icon_i.gif";//insert img
  120. model.setValue(xAttendPath + '[' + curRow + ']/attntrid', userid);
  121. model.setValue(xAttendPath + '[' + curRow + ']/attntrnm', usernm);
  122. model.setValue(xAttendPath + '[' + curRow + ']/baptnm', baptnm);
  123. model.setValue(xAttendPath + '[' + curRow + ']/depthngnm', dutplcenm);
  124. }
  125. }
  126. model.refresh();
  127. /*
  128. if(getNodesetCount(xUserInfoPath) == 1){
  129. ///root/main/userpopupinfo
  130. var userid = model.getValue(xUserInfoPath + '/list/userid');
  131. var usernm = model.getValue(xUserInfoPath + '/list/usernm');
  132. var dutplcenm = model.getValue(xUserInfoPath + '/list/dutplcenm');
  133. model.setValue(xAttendPath + '[' + curRow + ']/attntrid', userid);
  134. model.setValue(xAttendPath + '[' + curRow + ']/attntrnm', usernm);
  135. model.setValue(xAttendPath + '[' + curRow + ']/baptnm', fGetBaptNm(userid));
  136. model.setValue(xAttendPath + '[' + curRow + ']/depthngnm', dutplcenm);
  137. model.refresh();
  138. }
  139. */
  140. }else{
  141. //grd_attntrlist.deleteItem(curRow);
  142. }
  143. clearParameter("SPZSU10103_");
  144. }
  145. /**
  146. * 2007-12-33
  147. * 아이디를 입력하면 이름과 세례명을 자동조회해 선택된 그리드에 출력한다. 이름이 존재하지 않으면 사원조회팝업을 호출한다.
  148. * 이름을 입력하면 이름에 해당하는 아이디, 세례명을 자동조회해 선택된 그리드에 출력한다. 동명이인이 있으면 사원조회팝업을 호출한다.
  149. */
  150. function fGetAtdIdNm(kind, keyword){
  151. model.removeNodeset('/root/send/grdattnd');
  152. model.removeNodeset(xUserInfoPath);
  153. model.makeNode(xUserInfoPath);
  154. model.makeValue('/root/send/grdattnd/flag', kind);
  155. model.makeValue('/root/send/grdattnd/searchitem', keyword);
  156. model.makeValue('/root/send/grdattnd/searchitem_dutplce', getUserInfo('dutplceinstcd'));
  157. model.makeValue('/root/send/grdattnd/searchitem_dutplceinst', getUserInfo('dutplceinstcd'));
  158. model.makeValue('/root/send/grdattnd/flag_dutplce', 'dutplcecd');
  159. if(submit('TRAYA00604')){
  160. var popCnt = getNodesetCount(xUserInfoPath + '/list');
  161. if(popCnt != 1){
  162. fGetAttendant();
  163. }else if(popCnt == 1){
  164. var curRow = grd_attntrlist.row;
  165. var userid = model.getValue(xUserInfoPath + '/list/userid');
  166. var usernm = model.getValue(xUserInfoPath + '/list/usernm');
  167. var dutplcenm = model.getValue(xUserInfoPath + '/list/dutplcenm');
  168. model.setValue(xAttendPath + '[' + curRow + ']/attntrid', userid);
  169. model.setValue(xAttendPath + '[' + curRow + ']/attntrnm', usernm);
  170. model.setValue(xAttendPath + '[' + curRow + ']/baptnm', fGetBaptNm(userid));
  171. model.setValue(xAttendPath + '[' + curRow + ']/depthngnm', dutplcenm);
  172. model.refresh();
  173. }
  174. }
  175. }
  176. /*
  177. * 2007-12-17
  178. * 행삭제시 status와 delete img를 세팅한다.
  179. * addRow한 데이터(rowStatus=1)는 그리드내에서 바루 지워버리고 db에서 select한 데이터(rowStatus=0)는 delete상태 이미지를 보여준다.
  180. */
  181. function fDeleteAttendRow(){
  182. var curRow = grd_attntrlist.row;
  183. if(curRow > 0){
  184. if(grd_attntrlist.rowStatus(curRow) == 1 || grd_attntrlist.rowStatus(curRow) == 3){
  185. grd_attntrlist.deleteRow(curRow);
  186. }else if(grd_attntrlist.rowStatus(curRow) == 0){
  187. model.setValue(xAttendPath + '[' + curRow + ']/status', "d");//status
  188. grd_attntrlist.cellStyle("background-image", grd_attntrlist.row, 1) = "../../../com/commonweb/images/icon_d.gif";//delete img
  189. //delete강제setting
  190. grd_attntrlist.addStatus(curRow, "delete");
  191. }
  192. }
  193. }
  194. /*
  195. * 2007-12-17
  196. * 세례명 조회
  197. */
  198. function fGetBaptNm(userid){
  199. var baptnm = '';
  200. model.removenodeset('/root/temp');
  201. model.makeNode('/root/temp');
  202. model.removenodeset('/root/send/cond/userid');
  203. model.makeNode('/root/send/cond/userid');
  204. model.setValue('/root/send/cond/userid', userid);
  205. var xTempPath = '/root/temp/popdetailinfo';
  206. if(submit('TRAYA00703')){
  207. baptnm = model.getValue(xTempPath + '/baptnm');
  208. //return model.getValue(xTempPath + '/baptnm');
  209. }
  210. return baptnm;
  211. }
  212. /*
  213. * 저장전 유효성 체크
  214. */
  215. function fIsValid(){
  216. //마스터데이터 체크
  217. var fromdd = model.getValue(xEduPath + '/fromdd');
  218. var todd = model.getValue(xEduPath + '/todd');
  219. if(model.getValue(xEduPath + '/clscd') == ''){
  220. messageBox('교육일정 관련사항의 교육명이 선택되지 않아 저장', 'E001');
  221. return false;
  222. }
  223. if(model.getValue(xEduPath + '/titlnm') == ''){
  224. messageBox('교육제목을', 'C001');
  225. return false;
  226. }
  227. if(fromdd == '' || !isValidDateTime(fromdd, "YYYYMMDD")){
  228. messageBox('교육시작일을 날짜형식에 맞게', 'C001');
  229. return false;
  230. }
  231. if(todd == '' || !isValidDateTime(todd, "YYYYMMDD")){
  232. messageBox('교육종료일을 날짜형식에 맞게', 'C001');
  233. return false;
  234. }
  235. var userid = '';
  236. var _usrid = '';
  237. var _usrnm = '';
  238. //디테일 체크
  239. //alert(grd_attntrlist.rows);
  240. for(var i = 1; i < grd_attntrlist.rows; i++){
  241. //grd_attntrlist.rowStatus(i) -> 0:new, 1 : insert, 2 : update, 3 : insert & new , 4 : delete, 5 : delete & insert , 6 : delete & update
  242. //alert(i + " :" +grd_attntrlist.rowStatus(i));
  243. if(grd_attntrlist.rowStatus(i) !="4"){
  244. userid = model.getValue(xAttendPath + '[' + i + ']/attntrid');
  245. if(userid == ''){
  246. messageBox(i+ '번째의 참석자를 ', 'C002');
  247. return false;
  248. }
  249. for(var j = i+1; j < grd_attntrlist.rows; j++){
  250. if(grd_attntrlist.rowStatus(j) != "4"){
  251. //alert(grd_attntrlist.rowStatus(j));
  252. _usrid = model.getValue(xAttendPath + '[' + j + ']/attntrid');
  253. _usrnm = model.getValue(xAttendPath + '[' + j + ']/attntrnm');
  254. if(userid == _usrid){
  255. messageBox(i+ '번째와 '+ j + '번째의 참석자(' + _usrnm + ')가', 'E006');
  256. return false;
  257. }
  258. }
  259. }
  260. }
  261. }
  262. return true;
  263. }
  264. /*
  265. * 교육일정 관련사항 저장
  266. */
  267. function fSave(){
  268. if(fIsValid()){
  269. //keys
  270. var clscd = model.getValue(xEduPath + "/clscd");
  271. var seqno = model.getValue(xEduPath + "/seqno");
  272. //적립시간 계산
  273. var milehh = eval(model.getValue(xEduPath + '/milehh'));
  274. var milemm = eval(model.getValue(xEduPath + '/milemm'));
  275. if(milehh == null)
  276. milehh = 0;
  277. if(milemm == null)
  278. milemm = 0;
  279. var miletm = (milehh*60) + milemm;
  280. var trgtpsnqty = model.getValue(xEduPath + "/trgtpsnqty");
  281. if(trgtpsnqty == '')
  282. trgtpsnqty = 0;
  283. //교육일정
  284. var sEduData ="clscd" //01.분류코드
  285. + "▦seqno" //02.일련번호
  286. + "▦fromdd" //03.시작일자
  287. + "▦todd" //04.종료일자
  288. + "▦titlnm" //05.제목명
  289. + "▦fromtm" //06.시작시간
  290. + "▦totm" //07.종료시간
  291. + "▦miletm" //08.적립시간
  292. + "▦plcenm" //09.장소명
  293. + "▦trgtpsnqty" //10.참석인원
  294. + "▦chrgconslrid" //11.담당원목자ID
  295. + "▦goalnm" //12.목적
  296. + "▦lactrnm" //13.강사명
  297. + "▦pastorid" //14.주례자id
  298. + "▦pastornm" //15.주례자이름
  299. + "▦voluntrnm" //16.봉사자명
  300. + "▦schecnts" //17.일정내용
  301. + "▦valursltcnts" //18.평가결과내용
  302. + "▦valubugtcnts" //19.평가예산내용
  303. + "▦status" //20.IUD상태값
  304. + "▩" ;
  305. sEduData += clscd //01.분류코드
  306. + "▦" + seqno //02.일련번호
  307. + "▦" + model.getValue(xEduPath + "/fromdd") //03.시작일자
  308. + "▦" + model.getValue(xEduPath + "/todd") //04.종료일자
  309. + "▦" + model.getValue(xEduPath + "/titlnm") //05.제목명
  310. + "▦" + model.getValue(xEduPath + "/fromtm") //06.시작시간
  311. + "▦" + model.getValue(xEduPath + "/totm") //07.종료시간
  312. + "▦" + miletm //08.적립시간
  313. + "▦" + model.getValue(xEduPath + "/plcenm") //09.장소명
  314. + "▦" + trgtpsnqty //10.참석인원
  315. + "▦" + model.getValue(xEduPath + "/chrgconslrid") //11.담당원목자ID
  316. + "▦" + model.getValue(xEduPath + "/goalnm") //12.목적
  317. + "▦" + model.getValue(xEduPath + "/lactrnm") //13.강사명
  318. + "▦" + model.getValue(xEduPath + "/pastorid") //14.주례자id
  319. + "▦" + model.getValue(xEduPath + "/pastornm") //15.주례자이름
  320. + "▦" + model.getValue(xEduPath + "/voluntrnm") //16.봉사자명
  321. + "▦" + model.getValue(xEduPath + "/schecnts") //17.일정내용
  322. + "▦" + model.getValue(xEduPath + "/valursltcnts") //18.평가결과내용
  323. + "▦" + model.getValue(xEduPath + "/valubugtcnts") //19.평가예산내용
  324. + "▦" + model.getValue(xEduPath + "/status") //20.IUD상태값
  325. + "▩" ;
  326. var sEduDetailData = grd_attntrlist.getUpdateDataAll('u');//참석자그리드데이터
  327. //alert(sEduData);
  328. //alert(sEduDetailData);
  329. model.removenode("/root/send");
  330. model.makeNode("/root/send");
  331. model.makeValue("/root/send/eduData", sEduData );
  332. model.makeValue("/root/send/eduDetailData", sEduDetailData );
  333. model.refresh();
  334. var chrgconslrid = model.getValue("/root/main/educsche/educscheinfo/chrgconslrid");
  335. if ( chrgconslrid == "" ){
  336. messageBox("원목자정보를","C001" );
  337. model.refresh();
  338. return;
  339. }
  340. if(submit("TXAYA00601")){
  341. messageBox("자료 저장이 ","I002");
  342. window.close();
  343. }
  344. }
  345. }
  346. //담당원목자, 주례자 팝업 호출
  347. function fConslrSearch() {
  348. model.resetInstanceNode('/root/popdata/');
  349. setParameter("SPAYA02800_joblncd", "A"); //원목자,사제
  350. modal("SPAYA02800", 1, 200, 100,"SPAYA02800");
  351. //담당원목자 셋팅
  352. if (model.getValue("/root/popdata/conslrid") != "")
  353. {
  354. model.setValue(xEduPath + '/chrgconslrid', model.getValue('/root/popdata/conslrid'));
  355. model.setValue(xEduPath + '/chrgconslrnm', model.getValue('/root/popdata/conslrnm'));
  356. }
  357. model.refresh();
  358. }
  359. /*
  360. //원목자명 입력후 엔터키 치면 실제 원목자팝업 조회쿼리에서 아이디를 찾는다.
  361. //명칭 입력한 것에 대한 아이디가 없으면 원목자선택하는 팝업을 띄워준다.
  362. */
  363. function fgetConslrId(pcNm){
  364. model.removenodeset('/root/send/conslr');
  365. model.makeValue('/root/send/conslr/conslrpastornm', pcNm);
  366. if(submit('TRAYA00603')){
  367. fsetConslrId();
  368. }
  369. }
  370. /*
  371. 조회해 온 원목자를 세팅한다.
  372. */
  373. function fsetConslrId(){
  374. var pcId = model.getValue('/root/hidden/conslr/conslrinfo/conslrid');
  375. var pcNm = model.getValue('/root/hidden/conslr/conslrinfo/conslrnm');
  376. model.setValue(xEduPath + '/chrgconslrid', pcId);
  377. model.setValue(xEduPath + '/chrgconslrnm', pcNm);
  378. model.refresh();
  379. if(pcId == ''){
  380. fConslrSearch();//조회해온 아이디값이 없으면 원목자, 주례자 선택 팝업을 호출한다.
  381. }
  382. }
  383. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  384. //팝업
  385. function fSearchLactr() {
  386. model.resetInstanceNode("/root/popdata");
  387. modal("SPAYA02800", 1, 200, 100);
  388. if (model.getValue("/root/popdata/conslrid") != "")
  389. {
  390. model.setValue("/root/main/educsche/educscheinfo/chrgconslrid", model.getValue("/root/popdata/conslrid"));
  391. model.setValue("/root/main/educsche/educscheinfo/chrgconslrnm", model.getValue("/root/popdata/conslrnm"));
  392. //model.setValue("/root/main/attdabsnrgst/attdabsnrgstinfo/outer_chk", "");
  393. }
  394. model.refresh();
  395. /*
  396. var chkflag = setParameter("chkflag", 'doctrinelactr');
  397. modal("SPAYA02800", 1, 200, 100);
  398. if (model.getValue("/root/main/attdabsnrgst/attdabsnrgstinfo/lactrid") != "") {
  399. model.resetInstanceNode("/root/main/attdabsnrgst/attdabsnrgstinfo/outer_chk");
  400. ipt_lactrnm.disabled = true;
  401. } else {
  402. ipt_lactrnm.disabled = false;
  403. }
  404. model.refresh();
  405. */
  406. }
  407. // 담당원목자명/주례자명으로 찾기
  408. function fGetConslrID(pastornm){
  409. model.removeNodeset('/root/send/conslrpastor');
  410. model.resetInstanceNode("/root/hidden/conslrpastor/chrgconslrlistinfo");
  411. model.makeNode('/root/send/conslrpastor/conslrpastornm');
  412. model.setValue('/root/send/conslrpastor/conslrpastornm', pastornm);
  413. if (pastornm == "")
  414. {
  415. model.setValue("/root/main/educsche/educscheinfo/chrgconslrid", "");
  416. model.setValue("/root/main/educsche/educscheinfo/chrgconslrnm", "");
  417. //model.setValue("/root/main/attdabsnrgst/attdabsnrgstinfo/outer_chk", "");
  418. return;
  419. }
  420. if(submit('TRAYA01303', false) == true)
  421. {
  422. var nodecnt = model.instances(0).selectNodes("/root/hidden/conslrpastor/chrgconslrlistinfo").length;
  423. // 두건 이상일때는 팝업
  424. if (nodecnt > 1)
  425. {
  426. fSearchLactr();
  427. }
  428. else
  429. {
  430. var conslrid = model.getValue('/root/hidden/conslrpastor/chrgconslrlistinfo/conslrpastorid');
  431. // 찾는 사람이 없을 때도 팝업
  432. if (conslrid == "")
  433. {
  434. fSearchLactr();//팝업
  435. }
  436. else
  437. {
  438. model.setValue("/root/main/educsche/educscheinfo/chrgconslrid", model.getValue("/root/hidden/conslrpastor/chrgconslrlistinfo/conslrpastorid"));
  439. model.setValue("/root/main/educsche/educscheinfo/chrgconslrnm", model.getValue("/root/hidden/conslrpastor/chrgconslrlistinfo/conslrpastornm"));
  440. //model.setValue("/root/main/attdabsnrgst/attdabsnrgstinfo/outer_chk", "");
  441. }
  442. }
  443. }
  444. }