doreceive.html 81 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="renderer" content="webkit|ie-comp|ie-stand">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  8. <meta http-equiv="Cache-Control" content="no-siteapp" />
  9. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-3.3.7/css/bootstrap.min.css">
  10. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/default.css">
  11. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/fileinput.css">
  12. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/zTree/v3/css/zTreeStyle/zTreeStyle.css" >
  13. <script type="text/javascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.min.js"></script>
  14. <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.js"></script>
  15. <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
  16. <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
  17. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/fileinput.js"></script>
  18. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/locales/zh.js"></script>
  19. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-3.3.7/js/bootstrap.min.js"></script>
  20. <script type="text/javascript" src="${ctx}/assets/lib/zTree/v3/js/jquery.ztree.all-3.5.min.js"></script>
  21. <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
  22. <script src="${ctx}/assets/js/validate.js" ></script>
  23. <script type="text/javascript">
  24. function doSubmit(){
  25. if($("#FileSelectFlag").val()=='false'&&$('#file-0a').val()!='')
  26. {
  27. layer.msg("有选择的文件没上传,请先上传提交!");
  28. return false;
  29. }
  30. if(doValidate(form1))
  31. {
  32. if(setUpdateInfo())
  33. {
  34. $('#form1').attr('action','${ctx}/myconsole/complaint/transact/submitToFlow');
  35. $('#form1').ajaxSubmit(resultHandle);
  36. $("#SubmitButton").attr("disabled",'disabled');
  37. }
  38. }
  39. }
  40. function resultHandle(data){
  41. var res=eval('(' + data + ')');
  42. if(res.flag){
  43. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 1},
  44. function(){
  45. layer.closeAll('dialog');
  46. window.opener.location.reload();
  47. window.close();
  48. });
  49. }else{
  50. if(res.flag == false)
  51. {
  52. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  53. }
  54. }
  55. }
  56. function resultHandleClose(data)
  57. {
  58. window.parent.close();
  59. }
  60. //根据办理结果一级分类取二级分类
  61. function setEndResultID2()
  62. {
  63. var idData=$('#EndResultID1').val();
  64. if(idData!='')
  65. {
  66. var nameData=$("#EndResultID1").find("option:selected").text();
  67. $("#EndResultName1").val(nameData);
  68. $('#form1').attr('action','${ctx}/myconsole/complaint/transact/getEndResultID2Data');
  69. $('#form1').ajaxSubmit(setEndResultID2Data);
  70. }
  71. else
  72. {
  73. $("#EndResultID2").empty();
  74. $("#EndResultName1").val("");
  75. }
  76. }
  77. //回写办理结果二级分类字典数据
  78. function setEndResultID2Data(data){
  79. $("#EndResultID2").empty();
  80. $("#EndResultID2").append("<option value=''>请选择</option>");
  81. $("#EndResultID2").append(data);
  82. }
  83. function setEndResultName2()
  84. {
  85. var idData=$('#EndResultID2').val();
  86. if(idData!='')
  87. {
  88. var nameData=$("#EndResultID2").find("option:selected").text();
  89. $("#EndResultName2").val(nameData);
  90. }
  91. else
  92. {
  93. $("#EndResultName2").val("");
  94. }
  95. }
  96. //根据一级投诉原因设置二级投诉原因
  97. function setReasonID2()
  98. {
  99. $("#ReasonID3").empty(); 
  100. var reasonID1=$('#ReasonID1').val();
  101. if(reasonID1!='')
  102. {
  103. var reasonName1=$("#ReasonID1").find("option:selected").text();
  104. $("#ReasonName1").val(reasonName1);
  105. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getReasonID2Data');
  106. $('#form1').ajaxSubmit(setReasonID2Data);
  107. }
  108. else
  109. {
  110. $("#ReasonID2").empty(); 
  111. $("#ReasonName1").val("");
  112. }
  113. }
  114. //回写原因二类字典数据
  115. function setReasonID2Data(data){
  116. $("#ReasonID2").empty();  
  117. $("#ReasonID2").append("<option value=''>请选择</option>");
  118. $("#ReasonID2").append(data);
  119. }
  120. //根据二级投诉原因设置三级投诉原因
  121. function setReasonID3()
  122. {
  123. var reasonID2=$('#ReasonID2').val();
  124. if(reasonID2!='')
  125. {
  126. var reasonName2=$("#ReasonID2").find("option:selected").text();
  127. $("#ReasonName2").val(reasonName2);
  128. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getReasonID3Data');
  129. $('#form1').ajaxSubmit(setReasonID3Data);
  130. }
  131. else
  132. {
  133. $("#ReasonID3").empty(); 
  134. $("#ReasonName2").val(""); 
  135. }
  136. }
  137. //回写原因二类字典数据
  138. function setReasonID3Data(data){
  139. $("#ReasonID3").empty();  
  140. $("#ReasonID3").append("<option value=''>请选择</option>");
  141. $("#ReasonID3").append(data);
  142. }
  143. //设置三级投诉原因名称
  144. function setReasonName3()
  145. {
  146. var reasonID3=$('#ReasonID3').val();
  147. if(reasonID3!='')
  148. {
  149. var reasonName3=$("#ReasonID3").find("option:selected").text();
  150. $("#ReasonName3").val(reasonName3);
  151. }
  152. else
  153. {
  154. $("#ReasonName3").val(""); 
  155. }
  156. }
  157. function setUpdateInfo()
  158. {
  159. var updateInfo="";
  160. if($('#appealReasonName1').val()!=$('#ReasonName1').val())
  161. {
  162. updateInfo=updateInfo+"{投诉原因大类由:"+$('#appealReasonName1').val()+" 修改成了:"+$('#ReasonName1').val()+"};";
  163. }
  164. if($('#appealReasonName2').val()!=$('#ReasonName2').val())
  165. {
  166. updateInfo=updateInfo+"{投诉原因二类由:"+$('#appealReasonName2').val()+" 修改成了:"+$('#ReasonName2').val()+"};";
  167. }
  168. if($('#appealReasonName3').val()!=$('#ReasonName3').val())
  169. {
  170. updateInfo=updateInfo+"{投诉原因三类由:"+$('#appealReasonName3').val()+" 修改成了:"+$('#ReasonName3').val()+"};";
  171. }
  172. $('#UpdateInfo').val(updateInfo);
  173. return true;
  174. }
  175. function setCollapseIcon(collapseIcon)
  176. {
  177. var curCollapseIconClass=$("#"+collapseIcon).attr("class");
  178. if(curCollapseIconClass=="glyphicon glyphicon-menu-up")
  179. {
  180. $("#"+collapseIcon).attr("class","glyphicon glyphicon-menu-down");
  181. }
  182. else
  183. {
  184. $("#"+collapseIcon).attr("class","glyphicon glyphicon-menu-up");
  185. }
  186. }
  187. //查看 2017-07-19
  188. function seeData(appealid){
  189. fullOpen("${ctx}/myconsole/complaint/register/seeData?appealid="+appealid);
  190. }
  191. function setTransactType()
  192. {
  193. var transactType=$("#TransactType").val();
  194. if(transactType=='接收')
  195. {
  196. $("#transactDoState").val("已办理");
  197. $('#form1').attr('action','${ctx}/myconsole/complaint/rule/getSelfRule');
  198. $('#form1').ajaxSubmit(setReturnedRule);
  199. }
  200. if(transactType=='退回')
  201. {
  202. var strLastDoLeaderTransactDate=$("#LastDoLeaderTransactDate").val();
  203. if(strLastDoLeaderTransactDate!='')
  204. {
  205. layer.alert("您已于:"+strLastDoLeaderTransactDate+"退回此案,请勿重复退回!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  206. }
  207. else
  208. {
  209. $('#form1').attr('action','${ctx}/myconsole/complaint/rule/getReturnedRule');
  210. $('#form1').ajaxSubmit(setReturnedRule);
  211. }
  212. }
  213. }
  214. function setReturnedRule(data)
  215. {
  216. var ruleJson = JSON.parse(data);
  217. var flag=ruleJson.flag;
  218. if(flag)
  219. {
  220. var jobName=$('#ToJobName').val();
  221. $('#ToOrgAndJob').val(ruleJson.Job_OrgParentName+"-"+ruleJson.Job_OrgName+"-"+ruleJson.Job_UserName);
  222. $('#ToOrgID').val(ruleJson.Job_OrgID);
  223. $('#ToOrgName').val(ruleJson.Job_OrgName);
  224. $('#ToJobID').val('');
  225. $('#ToJobName').val('');
  226. $('#ToUserID').val(ruleJson.Job_UserID);
  227. $('#ToUserName').val(ruleJson.Job_UserName);
  228. if(ruleJson.Job_OrgParentOrgType=="中支公司")
  229. {
  230. $('#ToCentreOrgID').val(ruleJson.Job_OrgParentID);
  231. $('#ToCentreOrgName').val(ruleJson.Job_OrgParentName);
  232. }
  233. if(ruleJson.Job_OrgParentOrgType=="分公司")
  234. {
  235. $('#ToFilialeOrgID').val(ruleJson.Job_OrgParentID);
  236. $('#ToFilialeOrgName').val(ruleJson.Job_OrgParentName);
  237. }
  238. if(ruleJson.Job_OrgParentOrgType=="总公司")
  239. {
  240. $('#ToFilialeOrgID').val(ruleJson.Job_OrgParentID);
  241. $('#ToFilialeOrgName').val(ruleJson.Job_OrgParentName);
  242. }
  243. }
  244. }
  245. function showFlowNode()
  246. {
  247. $('#form2').attr('action','${ctx}/myconsole/complaint/preinflow/getFlowNode');
  248. $('#form2').ajaxSubmit(getFlowNodeHandle);
  249. }
  250. function setRuleUser(data)
  251. {
  252. var ruleJson = JSON.parse(data);
  253. var flag=ruleJson.flag;
  254. if(flag)
  255. {
  256. $('#ToOrgAndJob').val(ruleJson.ToUserName);
  257. $('#ToUserID').val(ruleJson.ToUserID);
  258. $('#ToUserName').val(ruleJson.ToUserName);
  259. }
  260. $("#ToOrgInfo").show();
  261. $("#ToOrgAndJob").attr("vmode","not null");
  262. }
  263. function setRule(data)
  264. {
  265. var ruleJson = JSON.parse(data);
  266. var flag=ruleJson.flag;
  267. if(flag)
  268. {
  269. var jobName=$('#ToJobName').val();
  270. $('#ToOrgAndJob').val(ruleJson.Job_OrgParentName+"-"+ruleJson.Job_OrgName+"-"+ruleJson.Job_Name);
  271. $('#ToOrgID').val(ruleJson.Job_OrgID);
  272. $('#ToOrgName').val(ruleJson.Job_OrgName);
  273. $('#ToJobID').val(ruleJson.Job_ID);
  274. $('#ToJobName').val(ruleJson.Job_Name);
  275. if(ruleJson.Job_OrgParentOrgType=="中支公司")
  276. {
  277. $('#ToCentreOrgID').val(ruleJson.Job_OrgParentID);
  278. $('#ToCentreOrgName').val(ruleJson.Job_OrgParentName);
  279. }
  280. if(ruleJson.Job_OrgParentOrgType=="分公司")
  281. {
  282. $('#ToFilialeOrgID').val(ruleJson.Job_OrgParentID);
  283. $('#ToFilialeOrgName').val(ruleJson.Job_OrgParentName);
  284. }
  285. }
  286. $("#ToOrgInfo").show();
  287. $("#ToOrgAndJob").attr("vmode","not null");
  288. }
  289. function downFile(filePath,fileName)
  290. {
  291. window.open('${serverURL!}/downloadFile.do?FileDownloadPath='+filePath+'&FileDownloadName='+fileName,'Derek','resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');
  292. }
  293. function setOrgAndJob(jobid,jobname,orgid)
  294. {
  295. $('#ToJobID').val(jobid);
  296. $('#ToJobName').val(jobname);
  297. $('#orgModal').modal('hide');
  298. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getOrgAndJob?Job_OrgID='+orgid+'&Job_ID='+jobid+'&Job_Name='+jobname);
  299. $('#form1').ajaxSubmit(setOrgAndJobData);
  300. }
  301. function setOrgAndJobData(data)
  302. {
  303. var ruleJson = JSON.parse(data);
  304. var flag=ruleJson.flag;
  305. if(flag)
  306. {
  307. var jobName=$('#ToJobName').val();
  308. $('#ToOrgAndJob').val(ruleJson.Job_OrgParentName+"-"+ruleJson.Job_OrgName+"-"+jobName);
  309. $('#ToOrgID').val(ruleJson.Job_OrgID);
  310. $('#ToOrgName').val(ruleJson.Job_OrgName);
  311. $('#ToJobID').val(ruleJson.Job_ID);
  312. $('#ToJobName').val(jobName);
  313. if(ruleJson.Job_OrgParentOrgType=="中支公司")
  314. {
  315. $('#ToCentreOrgID').val(ruleJson.Job_OrgParentID);
  316. $('#ToCentreOrgName').val(ruleJson.Job_OrgParentName);
  317. }
  318. if(ruleJson.Job_OrgParentOrgType=="分公司")
  319. {
  320. $('#ToFilialeOrgID').val(ruleJson.Job_OrgParentID);
  321. $('#ToFilialeOrgName').val(ruleJson.Job_OrgParentName);
  322. }
  323. }
  324. }
  325. function setOrg()
  326. {
  327. var zTreeObj;
  328. var zNodes;
  329. function zTreeChecked(event, treeId, treeNode) {
  330. setOrgAndJob(treeNode.id,treeNode.name,treeNode.pId);
  331. };
  332. //异步获取数据
  333. function ajaxDataFilter(treeId, parentNode, data) {
  334. if(data == "") return;
  335. var zNodes = [];
  336. var orgN = data.Org;
  337. orgN.forEach(function(item,index){
  338. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  339. })
  340. var jobN = data.Job;
  341. jobN.forEach(function(item,index){
  342. zNodes.push({id:item.keyid,pId:item.orgid,name:item.jobname,istype:true,checked:false});
  343. })
  344. return zNodes;
  345. }
  346. var setting = { //初始化树
  347. check: {
  348. enable: true,
  349. chkboxType: { "Y" : "", "N" : "" },
  350. autoCheckTrigger: true
  351. },
  352. data: {
  353. simpleData: {
  354. idKey:"id",
  355. pIdKey:"pId",
  356. enable:true,
  357. rootPId:"0"
  358. }
  359. },
  360. callback: {
  361. onCheck: zTreeChecked
  362. },
  363. async:{
  364. enable:true,
  365. url:"${ctx}/myconsole/complaint/register/getOrgAndJobTree",
  366. autoParam:["id", "name"] ,
  367. dataFilter: ajaxDataFilter
  368. }
  369. };
  370. //初始化获取数据
  371. $.ajax({
  372. url : "${ctx}/myconsole/complaint/register/getOrgAndJobTree?name=init",
  373. type : "post",
  374. dataType : "json",
  375. success : function(data) {
  376. if(data == "") return;
  377. var zNodes = [];
  378. var orgN = data.Org;
  379. if(orgN!=null)
  380. {
  381. orgN.forEach(function(item,index){
  382. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  383. })
  384. }
  385. var jobN = data.Job;
  386. if(jobN!=null)
  387. {
  388. jobN.forEach(function(item,index){
  389. zNodes.push({id:item.keyid,pId:item.orgid,name:item.jobname,istype:true,checked:false});
  390. })
  391. }
  392. zTreeObj = $.fn.zTree.init($("#UserTree"), setting, zNodes);//初始化树节点时,添加同步获取的数据
  393. }
  394. });
  395. $('#orgModal').modal({
  396.  backdrop: 'static',
  397.  keyboard: false
  398. })
  399. }
  400. function setSignOrgAndJob(jobidArr)
  401. {
  402. $('#ToJobID').val(jobidArr);
  403. }
  404. function getSignOrgAndJob()
  405. {
  406. var jobid=$('#ToJobID').val();
  407. $('#signOrgModal').modal('hide');
  408. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getSignOrgAndJob?SignAllJob_ID='+jobid);
  409. $('#form1').ajaxSubmit(setSignOrgAndJobData);
  410. }
  411. function setSignOrgAndJobData(data)
  412. {
  413. var strAlreadySignInfo=$("#AlreadySignInfo").val();
  414. var strShowInfo="";
  415. var orgAndJobJson = JSON.parse(data);
  416. var flag=orgAndJobJson.flag;
  417. if(flag)
  418. {
  419. if(strAlreadySignInfo!="")
  420. {
  421. var strSelectedOrgAndJob =orgAndJobJson.Job_ToOrgAndJob;
  422. var arrJob=strSelectedOrgAndJob.split(",");
  423. for(var i=0;i<arrJob.length;i++)
  424. {
  425. var strCurJob=arrJob[i];
  426. if(strAlreadySignInfo.indexOf(strCurJob)!=-1)
  427. {
  428. strShowInfo=strShowInfo+strCurJob +" ";
  429. }
  430. }
  431. if(strShowInfo!="")
  432. {
  433. layer.alert("该客诉件如下人员:"+strShowInfo+"您已经发起过会签,请勿重复发起会签!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  434. return;
  435. }
  436. }
  437. $('#ToOrgAndJob').val(orgAndJobJson.Job_ToOrgAndJob);
  438. $('#ToOrgID').val(orgAndJobJson.Job_OrgID);
  439. $('#ToOrgName').val(orgAndJobJson.Job_OrgName);
  440. $('#ToJobID').val(orgAndJobJson.Job_ID);
  441. $('#ToJobName').val(orgAndJobJson.Job_Name);
  442. }
  443. }
  444. //选择会签人员
  445. function setSignOrg()
  446. {
  447. var zTreeObj;
  448. var zNodes;
  449. function zTreeChecked(event, treeId, treeNode) {
  450. var checkUser = [];
  451. var userArr = zTreeObj.getCheckedNodes(); //获取选中数组集合
  452. if(userArr.length>0)
  453. {
  454. userArr.forEach(function(item,index){
  455. if(item.istype)
  456. {
  457. checkUser.push(item.id);
  458. }
  459. })
  460. }
  461. setSignOrgAndJob(checkUser);
  462. };
  463. //异步获取数据
  464. function ajaxDataFilter(treeId, parentNode, data) {
  465. if(data == "") return;
  466. var zNodes = [];
  467. var orgN = data.Org;
  468. orgN.forEach(function(item,index){
  469. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  470. })
  471. var jobN = data.Job;
  472. jobN.forEach(function(item,index){
  473. zNodes.push({id:item.keyid,pId:item.orgid,name:item.jobname,istype:true,checked:false});
  474. })
  475. return zNodes;
  476. }
  477. var setting = { //初始化树
  478. check: {
  479. enable: true,
  480. chkboxType: { "Y" : "", "N" : "" },
  481. autoCheckTrigger: true
  482. },
  483. data: {
  484. simpleData: {
  485. idKey:"id",
  486. pIdKey:"pId",
  487. enable:true,
  488. rootPId:"0"
  489. }
  490. },
  491. callback: {
  492. onCheck: zTreeChecked
  493. },
  494. async:{
  495. enable:true,
  496. url:"${ctx}/myconsole/complaint/register/getOrgAndJobTree",
  497. autoParam:["id", "name"] ,
  498. dataFilter: ajaxDataFilter
  499. }
  500. };
  501. //初始化获取数据
  502. $.ajax({
  503. url : "${ctx}/myconsole/complaint/register/getOrgAndJobTree?name=init",
  504. type : "post",
  505. dataType : "json",
  506. success : function(data) {
  507. if(data == "") return;
  508. var zNodes = [];
  509. var orgN = data.Org;
  510. if(orgN!=null)
  511. {
  512. orgN.forEach(function(item,index){
  513. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  514. })
  515. }
  516. var jobN = data.Job;
  517. if(jobN!=null)
  518. {
  519. jobN.forEach(function(item,index){
  520. zNodes.push({id:item.keyid,pId:item.orgid,name:item.jobname,istype:true,checked:false});
  521. })
  522. }
  523. zTreeObj = $.fn.zTree.init($("#SignUserTree"), setting, zNodes);//初始化树节点时,添加同步获取的数据
  524. }
  525. });
  526. $('#signOrgModal').modal({
  527.  backdrop: 'static',
  528.  keyboard: false
  529. })
  530. }
  531. function setOrgJob()
  532. {
  533. var transactType=$("#TransactType").val();
  534. if(transactType=='会签')
  535. {
  536. setSignOrg();
  537. }
  538. else
  539. {
  540. if(transactType=='审批')
  541. {
  542. setRatifyOrg();
  543. }
  544. else
  545. {
  546. if(transactType=='转办')
  547. {
  548. setZBOrgUser();
  549. }
  550. else
  551. {
  552. setOrg();
  553. }
  554. }
  555. }
  556. }
  557. function setNoReturnCause()
  558. {
  559. if($('#IsReturnFlag').is(':checked'))
  560. {
  561. $("#IsReturn").val("回访");
  562. $("#IsReturnRemark").attr('placeholder',"请填写回访要求");
  563. }
  564. else
  565. {
  566. $("#IsReturn").val("不回访");
  567. $("#IsReturnRemark").attr('placeholder',"请填写不回访原因");
  568. }
  569. }
  570. //播放录音
  571. function openSound(filePath,fileName)
  572. {
  573. fullOpen("${ctx}/myconsole/complaint/register/playSound?filePath="+filePath+"&fileName="+fileName);
  574. }
  575. function setRatifyOrg()
  576. {
  577. var zTreeObj;
  578. var zNodes;
  579. function zTreeChecked(event, treeId, treeNode) {
  580. setRatifyOrgAndJob(treeNode.id,treeNode.name,treeNode.pId);
  581. };
  582. //异步获取数据
  583. function ajaxDataFilter(treeId, parentNode, data) {
  584. if(data == "") return;
  585. var zNodes = [];
  586. var orgN = data.Org;
  587. orgN.forEach(function(item,index){
  588. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  589. })
  590. var jobN = data.Job;
  591. jobN.forEach(function(item,index){
  592. zNodes.push({id:item.keyid,pId:item.orgid,name:item.jobname,istype:true,checked:false});
  593. })
  594. return zNodes;
  595. }
  596. var setting = { //初始化树
  597. check: {
  598. enable: true,
  599. chkboxType: { "Y" : "", "N" : "" },
  600. autoCheckTrigger: true
  601. },
  602. data: {
  603. simpleData: {
  604. idKey:"id",
  605. pIdKey:"pId",
  606. enable:true,
  607. rootPId:"0"
  608. }
  609. },
  610. callback: {
  611. onCheck: zTreeChecked
  612. },
  613. async:{
  614. enable:true,
  615. url:"${ctx}/myconsole/complaint/register/getOrgAndJobTree",
  616. autoParam:["id", "name"] ,
  617. dataFilter: ajaxDataFilter
  618. }
  619. };
  620. //初始化获取数据
  621. $.ajax({
  622. url : "${ctx}/myconsole/complaint/register/getOrgAndJobTree?name=init",
  623. type : "post",
  624. dataType : "json",
  625. success : function(data) {
  626. if(data == "") return;
  627. var zNodes = [];
  628. var orgN = data.Org;
  629. if(orgN!=null)
  630. {
  631. orgN.forEach(function(item,index){
  632. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  633. })
  634. }
  635. var jobN = data.Job;
  636. if(jobN!=null)
  637. {
  638. jobN.forEach(function(item,index){
  639. zNodes.push({id:item.keyid,pId:item.orgid,name:item.jobname,istype:true,checked:false});
  640. })
  641. }
  642. zTreeObj = $.fn.zTree.init($("#UserTree"), setting, zNodes);//初始化树节点时,添加同步获取的数据
  643. }
  644. });
  645. $('#orgModal').modal({
  646.  backdrop: 'static',
  647.  keyboard: false
  648. })
  649. }
  650. function setRatifyOrgAndJob(jobid,jobname,orgid)
  651. {
  652. $('#orgModal').modal('hide');
  653. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getOrgAndJob?Job_OrgID='+orgid+'&Job_ID='+jobid+'&Job_Name='+jobname);
  654. $('#form1').ajaxSubmit(setRatifyOrgAndJobData);
  655. }
  656. function setRatifyOrgAndJobData(data)
  657. {
  658. var ruleJson = JSON.parse(data);
  659. var flag=ruleJson.flag;
  660. if(flag)
  661. {
  662. var strToOrgAndJob=$('#ToOrgAndJob').val();
  663. if(strToOrgAndJob!='')
  664. {
  665. strToOrgAndJob=strToOrgAndJob+","
  666. }
  667. var strToOrgID=$('#ToOrgID').val();
  668. if(strToOrgID!='')
  669. {
  670. strToOrgID=strToOrgID+","
  671. }
  672. var strToOrgName=$('#ToOrgName').val();
  673. if(strToOrgName!='')
  674. {
  675. strToOrgName=strToOrgName+","
  676. }
  677. var strToJobID=$('#ToJobID').val();
  678. if(strToJobID!='')
  679. {
  680. strToJobID=strToJobID+","
  681. }
  682. var strToJobName=$('#ToJobName').val();
  683. if(strToJobName!='')
  684. {
  685. strToJobName=strToJobName+","
  686. }
  687. var strToFilialeOrgID=$('#ToFilialeOrgID').val();
  688. if(strToFilialeOrgID!='')
  689. {
  690. strToFilialeOrgID=strToFilialeOrgID+","
  691. }
  692. var strToFilialeOrgName=$('#ToFilialeOrgName').val();
  693. if(strToFilialeOrgName!='')
  694. {
  695. strToFilialeOrgName=strToFilialeOrgName+","
  696. }
  697. var strToCentreOrgID=$('#ToCentreOrgID').val();
  698. if(strToCentreOrgID!='')
  699. {
  700. strToCentreOrgID=strToCentreOrgID+","
  701. }
  702. var strToCentreOrgName=$('#ToCentreOrgName').val();
  703. if(strToCentreOrgName!='')
  704. {
  705. strToCentreOrgName=strToCentreOrgName+","
  706. }
  707. $('#ToOrgAndJob').val(strToOrgAndJob+ruleJson.Job_OrgParentName+"-"+ruleJson.Job_OrgName+"-"+ruleJson.Job_Name);
  708. $('#ToOrgID').val(strToOrgID+ruleJson.Job_OrgID);
  709. $('#ToOrgName').val(strToOrgName+ruleJson.Job_OrgName);
  710. $('#ToJobID').val(strToJobID+ruleJson.Job_ID);
  711. $('#ToJobName').val(strToJobName+ruleJson.Job_Name);
  712. if(ruleJson.Job_OrgParentOrgType=="中支公司")
  713. {
  714. $('#ToCentreOrgID').val(strToCentreOrgID+ruleJson.Job_OrgParentID);
  715. $('#ToCentreOrgName').val(strToCentreOrgName+ruleJson.Job_OrgParentName);
  716. }
  717. if(ruleJson.Job_OrgParentOrgType=="分公司")
  718. {
  719. $('#ToFilialeOrgID').val(strToFilialeOrgID+ruleJson.Job_OrgParentID);
  720. $('#ToFilialeOrgName').val(strToFilialeOrgName+ruleJson.Job_OrgParentName);
  721. }
  722. }
  723. }
  724. //转办选人
  725. function setZBOrgUser()
  726. {
  727. var zTreeObj;
  728. var zNodes;
  729. function zTreeChecked(event, treeId, treeNode) {
  730. setZBOrgAndUser(treeNode.id,treeNode.name);
  731. };
  732. //异步获取数据
  733. function ajaxDataFilter(treeId, parentNode, data) {
  734. if(data == "") return;
  735. var zNodes = [];
  736. var orgN = data.Org;
  737. orgN.forEach(function(item,index){
  738. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  739. })
  740. var userN = data.User;
  741. if(userN!=null)
  742. {
  743. userN.forEach(function(item,index){
  744. zNodes.push({id:item.userid,pId:item.orgid,name:item.username,istype:true,checked:false});
  745. })
  746. }
  747. return zNodes;
  748. }
  749. var setting = { //初始化树
  750. check: {
  751. enable: true,
  752. chkboxType: { "Y" : "", "N" : "" },
  753. autoCheckTrigger: true
  754. },
  755. data: {
  756. simpleData: {
  757. idKey:"id",
  758. pIdKey:"pId",
  759. enable:true,
  760. rootPId:"0"
  761. }
  762. },
  763. callback: {
  764. onCheck: zTreeChecked
  765. },
  766. async:{
  767. enable:true,
  768. url:"${ctx}/myconsole/complaint/preinflow/getOrgAndUserTree",
  769. autoParam:["id", "name"] ,
  770. dataFilter: ajaxDataFilter
  771. }
  772. };
  773. //初始化获取数据
  774. $.ajax({
  775. url : "${ctx}/myconsole/complaint/preinflow/getOrgAndUserTree?name=init",
  776. type : "post",
  777. dataType : "json",
  778. success : function(data) {
  779. if(data == "") return;
  780. var zNodes = [];
  781. var orgN = data.Org;
  782. if(orgN!=null)
  783. {
  784. orgN.forEach(function(item,index){
  785. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  786. })
  787. }
  788. var userN = data.User;
  789. if(userN!=null)
  790. {
  791. userN.forEach(function(item,index){
  792. zNodes.push({id:item.userid,pId:item.orgid,name:item.username,istype:true,checked:false});
  793. })
  794. }
  795. zTreeObj = $.fn.zTree.init($("#UserTree"), setting, zNodes);//初始化树节点时,添加同步获取的数据
  796. }
  797. });
  798. $('#orgModal').modal({
  799.  backdrop: 'static',
  800.  keyboard: false
  801. })
  802. }
  803. function setZBOrgAndUser(userid,username)
  804. {
  805. $('#ToUserID').val(userid);
  806. $('#ToUserName').val(username);
  807. $('#ToOrgAndJob').val(username);
  808. $('#orgModal').modal('hide');
  809. }
  810. //预设流程开发
  811. function getFlowNodeHandle(data)
  812. {
  813. $("#FlowShow").empty();
  814. $("#FlowShow").append(data);
  815. $('#FlowModal').modal({
  816.  backdrop: 'static',
  817.  keyboard: false
  818. })
  819. var strFlowState="${FlowState!''}";
  820. if(strFlowState=="预设流程完成")
  821. {
  822. $("#FlowSetButton").attr("disabled",'disabled');
  823. $("#DoFlowNodeButton").attr("disabled",'disabled');
  824. }
  825. else
  826. {
  827. $("#FlowSetButton").removeAttr('disabled');
  828. $("#DoFlowNodeButton").removeAttr('disabled');
  829. }
  830. }
  831. function setFlowNode()
  832. {
  833. if(doValidate(form2))
  834. {
  835. $('#form2').attr('action','${ctx}/myconsole/complaint/preinflow/setFlowNode');
  836. $('#form2').ajaxSubmit(resultFlowNodeHandle);
  837. }
  838. }
  839. function resultFlowNodeHandle(data){
  840. var res=eval('(' + data + ')');
  841. if(res.flag){
  842. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 1},
  843. function(){
  844. var strArrow="";
  845. if(res.FlowNode!="1")
  846. {
  847. strArrow="<div class='row' style='padding:5px'>"+
  848. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' >"+
  849. "</div>"+
  850. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' align=center>"+
  851. " <span class='glyphicon glyphicon-arrow-down'></span> "+
  852. "</div>"+
  853. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' >"+
  854. "</div>"+
  855. "</div>";
  856. }
  857. var strContent="";
  858. var strEditNode="<button type='button' class='btn btn-warning' id='EditNodeButton' onclick=editNode('"+res.NodeType+"','"+res.NodeUserID+"','"+res.NodeUserName+"','"+res.FlowNode+"') ><span class='glyphicon glyphicon-pencil'></span></button>";
  859. if(res.NodeType=="审批")
  860. {
  861. strContent="<div class='row' style='padding:5px' id=FlowNode_"+res.FlowNode+">"+
  862. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' >"+
  863. "</div>"+
  864. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' align=center>"+
  865. " <button type='button' class='btn btn-success' style='width:300px'>"+res.NodeUserName+"</button> "+
  866. "</div>"+
  867. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' >"+strEditNode+
  868. "</div>"+
  869. "</div>";
  870. }
  871. else
  872. {
  873. strContent="<div class='row' style='padding:5px' id=FlowNode_"+res.FlowNode+">"+
  874. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' >"+
  875. "</div>"+
  876. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' align=center>"+
  877. " <button type='button' class='btn btn-info' style='width:300px'>"+res.NodeUserName+"</button> "+
  878. "</div>"+
  879. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' >"+strEditNode+
  880. "</div>"+
  881. "</div>";
  882. }
  883. var iFlowNode=parseInt(res.FlowNode);
  884. iFlowNode=iFlowNode+1;
  885. $("#NodeType").val("");
  886. $("#NodeUserName").val("");
  887. $("#FlowNode").val(iFlowNode);
  888. $("#FlowID").val(res.FlowID);
  889. $("#FlowShow").append(strArrow);
  890. $("#FlowShow").append(strContent);
  891. layer.closeAll('dialog');
  892. });
  893. }else{
  894. if(res.flag == false)
  895. {
  896. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  897. }
  898. }
  899. }
  900. //选择预设流程人员开始
  901. function setOrgUser()
  902. {
  903. var strNodeType=$("#NodeType").val();
  904. if(strNodeType=='会签')
  905. {
  906. setSignUser();
  907. }
  908. else
  909. {
  910. setOrgOneUser();
  911. }
  912. }
  913. //选择会签人员
  914. function setSignUser()
  915. {
  916. var zTreeObj;
  917. var zNodes;
  918. function zTreeChecked(event, treeId, treeNode) {
  919. var checkUserID = [];
  920. var checkUserName = [];
  921. var userArr = zTreeObj.getCheckedNodes(); //获取选中数组集合
  922. if(userArr.length>0)
  923. {
  924. userArr.forEach(function(item,index){
  925. if(item.istype)
  926. {
  927. checkUserID.push(item.id);
  928. checkUserName.push(item.name);
  929. }
  930. })
  931. }
  932. setSignOrgAndUser(checkUserID,checkUserName);
  933. };
  934. //异步获取数据
  935. function ajaxDataFilter(treeId, parentNode, data) {
  936. if(data == "") return;
  937. var zNodes = [];
  938. var orgN = data.Org;
  939. orgN.forEach(function(item,index){
  940. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  941. })
  942. var userN = data.User;
  943. if(userN!=null)
  944. {
  945. userN.forEach(function(item,index){
  946. zNodes.push({id:item.userid,pId:item.orgid,name:item.username,istype:true,checked:false});
  947. })
  948. }
  949. return zNodes;
  950. }
  951. var setting = { //初始化树
  952. check: {
  953. enable: true,
  954. chkboxType: { "Y" : "", "N" : "" },
  955. autoCheckTrigger: true
  956. },
  957. data: {
  958. simpleData: {
  959. idKey:"id",
  960. pIdKey:"pId",
  961. enable:true,
  962. rootPId:"0"
  963. }
  964. },
  965. callback: {
  966. onCheck: zTreeChecked
  967. },
  968. async:{
  969. enable:true,
  970. url:"${ctx}/myconsole/complaint/preinflow/getOrgAndUserTree",
  971. autoParam:["id", "name"] ,
  972. dataFilter: ajaxDataFilter
  973. }
  974. };
  975. //初始化获取数据
  976. $.ajax({
  977. url : "${ctx}/myconsole/complaint/preinflow/getOrgAndUserTree?name=init",
  978. type : "post",
  979. dataType : "json",
  980. success : function(data) {
  981. if(data == "") return;
  982. var zNodes = [];
  983. var orgN = data.Org;
  984. if(orgN!=null)
  985. {
  986. orgN.forEach(function(item,index){
  987. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  988. })
  989. }
  990. var userN = data.User;
  991. if(userN!=null)
  992. {
  993. userN.forEach(function(item,index){
  994. zNodes.push({id:item.userid,pId:item.orgid,name:item.username,istype:true,checked:false});
  995. })
  996. }
  997. zTreeObj = $.fn.zTree.init($("#SignUserTree"), setting, zNodes);//初始化树节点时,添加同步获取的数据
  998. }
  999. });
  1000. $('#signOrgModal').modal({
  1001.  backdrop: 'static',
  1002.  keyboard: false
  1003. })
  1004. }
  1005. function setSignOrgAndUser(useridArr,usernameArr)
  1006. {
  1007. $('#NodeUserID').val(useridArr);
  1008. $('#NodeUserName').val(usernameArr);
  1009. }
  1010. function setOrgAndUser(userid,username)
  1011. {
  1012. $('#NodeUserID').val(userid);
  1013. $('#NodeUserName').val(username);
  1014. $('#orgModal').modal('hide');
  1015. }
  1016. function setOrgOneUser()
  1017. {
  1018. var zTreeObj;
  1019. var zNodes;
  1020. function zTreeChecked(event, treeId, treeNode) {
  1021. setOrgAndUser(treeNode.id,treeNode.name);
  1022. };
  1023. //异步获取数据
  1024. function ajaxDataFilter(treeId, parentNode, data) {
  1025. if(data == "") return;
  1026. var zNodes = [];
  1027. var orgN = data.Org;
  1028. orgN.forEach(function(item,index){
  1029. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  1030. })
  1031. var userN = data.User;
  1032. if(userN!=null)
  1033. {
  1034. userN.forEach(function(item,index){
  1035. zNodes.push({id:item.userid,pId:item.orgid,name:item.username,istype:true,checked:false});
  1036. })
  1037. }
  1038. return zNodes;
  1039. }
  1040. var setting = { //初始化树
  1041. check: {
  1042. enable: true,
  1043. chkboxType: { "Y" : "", "N" : "" },
  1044. autoCheckTrigger: true
  1045. },
  1046. data: {
  1047. simpleData: {
  1048. idKey:"id",
  1049. pIdKey:"pId",
  1050. enable:true,
  1051. rootPId:"0"
  1052. }
  1053. },
  1054. callback: {
  1055. onCheck: zTreeChecked
  1056. },
  1057. async:{
  1058. enable:true,
  1059. url:"${ctx}/myconsole/complaint/preinflow/getOrgAndUserTree",
  1060. autoParam:["id", "name"] ,
  1061. dataFilter: ajaxDataFilter
  1062. }
  1063. };
  1064. //初始化获取数据
  1065. $.ajax({
  1066. url : "${ctx}/myconsole/complaint/preinflow/getOrgAndUserTree?name=init",
  1067. type : "post",
  1068. dataType : "json",
  1069. success : function(data) {
  1070. if(data == "") return;
  1071. var zNodes = [];
  1072. var orgN = data.Org;
  1073. if(orgN!=null)
  1074. {
  1075. orgN.forEach(function(item,index){
  1076. zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
  1077. })
  1078. }
  1079. var userN = data.User;
  1080. if(userN!=null)
  1081. {
  1082. userN.forEach(function(item,index){
  1083. zNodes.push({id:item.userid,pId:item.orgid,name:item.username,istype:true,checked:false});
  1084. })
  1085. }
  1086. zTreeObj = $.fn.zTree.init($("#UserTree"), setting, zNodes);//初始化树节点时,添加同步获取的数据
  1087. }
  1088. });
  1089. $('#orgModal').modal({
  1090.  backdrop: 'static',
  1091.  keyboard: false
  1092. })
  1093. }
  1094. function setFlowOK()
  1095. {
  1096. $('#form2').attr('action','${ctx}/myconsole/complaint/preinflow/setFlowOK');
  1097. $('#form2').ajaxSubmit(resultFlowOKHandle);
  1098. }
  1099. function resultFlowOKHandle(data){
  1100. var res=eval('(' + data + ')');
  1101. if(res.flag){
  1102. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 1},
  1103. function(){
  1104. $("#FlowOK").val("true");
  1105. layer.closeAll('dialog');
  1106. $('#FlowModal').modal('hide');
  1107. });
  1108. }else{
  1109. if(res.flag == false)
  1110. {
  1111. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  1112. }
  1113. }
  1114. }
  1115. function editNode(strNodeType,strNodeUserID,strNodeUserName,strFlowNode)
  1116. {
  1117. $("#NodeType").val(strNodeType);
  1118. $("#NodeUserName").val(strNodeUserName);
  1119. $("#NodeUserID").val(strNodeUserID);
  1120. $("#FlowNode").val(strFlowNode);
  1121. $("#DoFlowNodeButton").attr("onclick","editFlowNode()");
  1122. }
  1123. function editFlowNode()
  1124. {
  1125. if(doValidate(form2))
  1126. {
  1127. $('#form2').attr('action','${ctx}/myconsole/complaint/preinflow/editFlowNode');
  1128. $('#form2').ajaxSubmit(resultEditFlowNodeHandle);
  1129. }
  1130. }
  1131. function resultEditFlowNodeHandle(data){
  1132. var res=eval('(' + data + ')');
  1133. if(res.flag){
  1134. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 1},
  1135. function(){
  1136. var strContent="";
  1137. var strEditNode="<button type='button' class='btn btn-warning' id='EditNodeButton' onclick=editNode('"+res.NodeType+"','"+res.NodeUserID+"','"+res.NodeUserName+"','"+res.FlowNode+"') ><span class='glyphicon glyphicon-pencil'></span></button>";
  1138. if(res.NodeType=="审批")
  1139. {
  1140. strContent="<div class='row' style='padding:5px' id=FlowNode_"+res.FlowNode+">"+
  1141. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' >"+
  1142. "</div>"+
  1143. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' align=center>"+
  1144. " <button type='button' class='btn btn-success' style='width:300px'>"+res.NodeUserName+"</button> "+
  1145. "</div>"+
  1146. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' >"+strEditNode+
  1147. "</div>"+
  1148. "</div>";
  1149. }
  1150. else
  1151. {
  1152. strContent="<div class='row' style='padding:5px' id=FlowNode_"+res.FlowNode+">"+
  1153. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' >"+
  1154. "</div>"+
  1155. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' align=center>"+
  1156. " <button type='button' class='btn btn-info' style='width:300px'>"+res.NodeUserName+"</button> "+
  1157. "</div>"+
  1158. "<div class='col-xs-4 col-sm-4 col-md-4 col-lg-4' >"+strEditNode+
  1159. "</div>"+
  1160. "</div>";
  1161. }
  1162. $("#NodeType").val("");
  1163. $("#NodeUserName").val("");
  1164. $("#FlowNode_"+res.FlowNode).empty();
  1165. $("#FlowNode_"+res.FlowNode).append(strContent);
  1166. var strFlowOK=$("#FlowOK").val();
  1167. if(strFlowOK!="true")
  1168. {
  1169. $("#DoFlowNodeButton").attr("onclick","setFlowNode()");
  1170. }
  1171. layer.closeAll('dialog');
  1172. });
  1173. }else{
  1174. if(res.flag == false)
  1175. {
  1176. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  1177. }
  1178. }
  1179. }
  1180. //根据原因分析一级分类取二级分类
  1181. function setReasonAnalyseID2()
  1182. {
  1183. var idData=$('#ReasonAnalyseID1').val();
  1184. if(idData!='')
  1185. {
  1186. var nameData=$("#ReasonAnalyseID1").find("option:selected").text();
  1187. $("#ReasonAnalyseName1").val(nameData);
  1188. $('#form1').attr('action','${ctx}/myconsole/complaint/transact/getReasonAnalyseID2Data?ParentID='+idData);
  1189. $('#form1').ajaxSubmit(setReasonAnalyseID2Data);
  1190. }
  1191. else
  1192. {
  1193. $("#ReasonAnalyseID2").empty();
  1194. $("#ReasonAnalyseName1").val("");
  1195. }
  1196. }
  1197. //回写办理结果二级分类字典数据
  1198. function setReasonAnalyseID2Data(data){
  1199. $("#ReasonAnalyseID2").empty();
  1200. $("#ReasonAnalyseID2").append("<option value=''>请选择</option>");
  1201. $("#ReasonAnalyseID2").append(data);
  1202. }
  1203. function setReasonAnalyseName2()
  1204. {
  1205. var idData=$('#ReasonAnalyseID2').val();
  1206. if(idData!='')
  1207. {
  1208. var nameData=$("#ReasonAnalyseID2").find("option:selected").text();
  1209. $("#ReasonAnalyseName2").val(nameData);
  1210. }
  1211. else
  1212. {
  1213. $("#ReasonAnalyseName2").val("");
  1214. }
  1215. }
  1216. function setDutyInfo()
  1217. {
  1218. var strDutyType=$('#DutyType').val();
  1219. if(strDutyType=='有责')
  1220. {
  1221. $("#DutyState").val("待认定");
  1222. }
  1223. else
  1224. {
  1225. $("#DutyState").val("认定完成");
  1226. }
  1227. }
  1228. function showCompactDetail(strPolicyNumber)
  1229. {
  1230. var obj=$("input[name='compact.PolicyNumber']");
  1231. var strSelectedPolicyNumber="";
  1232. var flag="1";
  1233. for(k in obj)
  1234. {
  1235. if(obj[k].value==strPolicyNumber)
  1236. {
  1237. $('#compactPolicyNumber').val(obj[k].value);
  1238. $('#compactPolicyLocation').val($("input[name='compact.PolicyLocation']")[k].value);
  1239. $('#compactIsSelfInsurance').val($("input[name='compact.IsSelfInsurance']")[k].value);
  1240. $('#compactIsMutualInsurance').val($("input[name='compact.IsMutualInsurance']")[k].value);
  1241. $('#compactAppntName').val($("input[name='compact.AppntName']")[k].value);
  1242. $('#compactAppntMobile').val($("input[name='compact.AppntMobile']")[k].value);
  1243. $('#compactAppntIDType').val($("input[name='compact.AppntIDType']")[k].value);
  1244. $('#compactAppntCustomerId').val($("input[name='compact.AppntCustomerId']")[k].value);
  1245. $('#compactInsuredName').val($("input[name='compact.InsuredName']")[k].value);
  1246. $('#compactInsuredMobile').val($("input[name='compact.InsuredMobile']")[k].value);
  1247. $('#compactInsuredIDType').val($("input[name='compact.InsuredIDType']")[k].value);
  1248. $('#compactInsuredCustomerId').val($("input[name='compact.InsuredCustomerId']")[k].value);
  1249. $('#compactRiskName').val($("input[name='compact.RiskName']")[k].value);
  1250. $('#compactRealSign').val($("input[name='compact.RealSign']")[k].value);
  1251. $('#compactBeginDate').val($("input[name='compact.BeginDate']")[k].value);
  1252. $('#compactSaleChnlName').val($("input[name='compact.SaleChnlName']")[k].value);
  1253. $('#compactPeriodTotalAmount').val($("input[name='compact.PeriodTotalAmount']")[k].value);
  1254. $('#compactSumPrem').val($("input[name='compact.SumPrem']")[k].value);
  1255. $('#compactPayYear').val($("input[name='compact.PayYear']")[k].value);
  1256. $('#compactPayPeriods').val($("input[name='compact.PayPeriods']")[k].value);
  1257. $('#compactBankingOutlets').val($("input[name='compact.BankingOutlets']")[k].value);
  1258. $('#compactOperatorName').val($("input[name='compact.OperatorName']")[k].value);
  1259. $('#compactIsOnJob').val($("input[name='compact.IsOnJob']")[k].value);
  1260. $('#compactIsDoubleInput').val($("input[name='compact.IsDoubleInput']")[k].value);
  1261. }
  1262. }
  1263. if(flag=="1"){
  1264. $('#CompactDetailModal').modal({
  1265.  backdrop: 'static',
  1266.  keyboard: false
  1267. })
  1268. }else{
  1269. $('#CompactInputModaldetail').modal({
  1270.  backdrop: 'static',
  1271.  keyboard: false
  1272. })
  1273. }
  1274. }
  1275. function closeCompactDetail()
  1276. {
  1277. $('#CompactDetailModal').modal('hide');
  1278. }
  1279. </script>
  1280. <title>客诉件办理</title>
  1281. <meta name="keywords" content="">
  1282. <meta name="description" content="">
  1283. </head>
  1284. <body >
  1285. <form id="form1" method="post" class="form-horizontal" role="form">
  1286. <div style="display: none">
  1287. <input type="hidden" id="Modal_Main" name="Modal_Main" value="transact"/>
  1288. <input type="hidden" id="UndertakeKeyID" name="UndertakeKeyID" value="${undertakeKeyID!''}"/>
  1289. <input type="hidden" id="CurDate" name="CurDate" value="${curDate!''}"/>
  1290. <input type="hidden" id="AppealID" name="AppealID" value="${appealID!''}"/>
  1291. <input type="hidden" id="Modal_PersonID" name="Modal_PersonID" value=""/>
  1292. <input type="hidden" id="Modal_AppealID" name="Modal_AppealID" value=""/>
  1293. <input type="hidden" id="Modal_PersonRepeatFlag" name="Modal_PersonRepeatFlag" value=""/>
  1294. <input type="hidden" id="LastDoLeaderTransactDate" name="LastDoLeaderTransactDate" value="${LastDoLeaderTransactDate!''}"/>
  1295. <input type="hidden" id="AlreadySignInfo" name="AlreadySignInfo" value="${AlreadySignInfo!''}"/>
  1296. <input type="hidden" id="PersonID" name="person.PersonID" value="${person.PersonID!''}"/>
  1297. <input type="hidden" id="transact.KeyID" name="transact.KeyID" value="${transact.KeyID!''}"/>
  1298. <input type="hidden" id="ProvinceName" name="person.ProvinceName" value="${person.ProvinceName!''}"/>
  1299. <input type="hidden" id="AreaName" name="person.AreaName" value="${person.AreaName!''}"/>
  1300. <input type="hidden" id="CountyName" name="person.CountyName" value="${person.CountyName!''}"/>
  1301. <input type="hidden" id="appealDoState" name="appeal.DoState" value="${appeal.DoState!''}"/>
  1302. <input type="hidden" id="ForeignKeyID" name="appeal.ForeignKeyID" value="${appeal.ForeignKeyID!''}"/>
  1303. <input type="hidden" id="appealInsceTypeName1" name="appeal.InsceTypeName1" value="${appeal.InsceTypeName1!''}"/>
  1304. <input type="hidden" id="appealInsceTypeName2" name="appeal.InsceTypeName2" value="${appeal.InsceTypeName2!''}"/>
  1305. <input type="hidden" id="appealInsceTypeName3" name="appeal.InsceTypeName3" value="${appeal.InsceTypeName3!''}"/>
  1306. <input type="hidden" id=appealRepcomplaints name="appeal.Repcomplaints" value="${appeal.Repcomplaints!''}"/>
  1307. <input type="hidden" id="appealRepcomplaintsNum" name="appeal.RepcomplaintsNum" value="${appeal.RepcomplaintsNum!''}"/>
  1308. <input type="hidden" id="appealEndAppealDate" name="appeal.EndAppealDate" value="${appeal.EndAppealDate!''}"/>
  1309. <input type="hidden" id="appealComplaintTypeName1" name="appeal.ComplaintTypeName1" value="${appeal.ComplaintTypeName1!''}"/>
  1310. <input type="hidden" id="appealComplaintTypeName2" name="appeal.ComplaintTypeName2" value="${appeal.ComplaintTypeName2!''}"/>
  1311. <input type="hidden" id="appealReasonName1" name="appeal.ReasonName1" value="${appeal.ReasonName1!''}"/>
  1312. <input type="hidden" id="appealReasonName2" name="appeal.ReasonName2" value="${appeal.ReasonName2!''}"/>
  1313. <input type="hidden" id="appealReasonName3" name="appeal.ReasonName3" value="${appeal.ReasonName3!''}"/>
  1314. <input type="hidden" id="appealAskTypeName1" name="appeal.AskTypeName1" value="${appeal.AskTypeName1!''}"/>
  1315. <input type="hidden" id="appealAskTypeName2" name="appeal.AskTypeName2" value="${appeal.AskTypeName2!''}"/>
  1316. <input type="hidden" id="appealAskTypeName3" name="appeal.AskTypeName3" value="${appeal.AskTypeName3!''}"/>
  1317. <input type="hidden" id="RespondentNumber" name="appeal.RespondentNumber" value="${appeal.RespondentNumber!''}"/>
  1318. <input type="hidden" id="AskTimeBlockName" name="appeal.AskTimeBlockName" value="${appeal.AskTimeBlockName!''}"/>
  1319. <input type="hidden" id="NotTallyInfo" name="appeal.NotTallyInfo" value="${appeal.NotTallyInfo!''}"/>
  1320. <input type="hidden" id="NotTallyState" name="appeal.NotTallyState" value="${appeal.NotTallyState!''}"/>
  1321. <input type="hidden" id="NotTallyPay" name="appeal.NotTallyPay" value="${appeal.NotTallyPay!''}"/>
  1322. <input type="hidden" id="NotTallyCorrect" name="appeal.NotTallyCorrect" value="${appeal.NotTallyCorrect!''}"/>
  1323. <input type="hidden" id="NotTallyClaims" name="appeal.NotTallyClaims" value="${appeal.NotTallyClaims!''}"/>
  1324. <input type="hidden" id="NotTallyOther" name="appeal.NotTallyOther" value="${appeal.NotTallyOther!''}"/>
  1325. <input type="hidden" id="AppealID" name="transact.AppealID" value="${appealID!''}"/>
  1326. <input type="hidden" id="PersonID" name="transact.PersonID" value="${person.PersonID!''}"/>
  1327. <input type="hidden" id="TName" name="transact.TName" value="${person.TName!''}"/>
  1328. <input type="hidden" id="LinkTel1" name="transact.LinkTel1" value="${person.LinkTel1!''}"/>
  1329. <input type="hidden" id="SerialNumber" name="transact.SerialNumber" value="${appeal.SerialNumber!''}"/>
  1330. <input type="hidden" id="AppealDate" name="transact.AppealDate" value="${appeal.AppealDate!''}"/>
  1331. <input type="hidden" id="AppealType" name="transact.AppealType" value="${appeal.AppealType!''}"/>
  1332. <input type="hidden" id="AppealSource" name="transact.AppealSource" value="${appeal.AppealSource!''}"/>
  1333. <input type="hidden" id="LimitEndDate" name="transact.LimitEndDate" value="${appeal.LimitEndDate!''}"/>
  1334. <input type="hidden" id="transactDoState" name="transact.DoState" value=""/>
  1335. <input type="hidden" id="TransactOrgID" name="transact.TransactOrgID" value="${user.OrgID}"/>
  1336. <input type="hidden" id="TransactOrgName" name="transact.TransactOrgName" value="${user.OrgName}"/>
  1337. <input type="hidden" id="TransactUserID" name="transact.TransactUserID" value="${user.UserID}"/>
  1338. <input type="hidden" id="TransactUserName" name="transact.TransactUserName" value="${user.UserName}"/>
  1339. <input type="hidden" id="LimitDaysType" name="transact.LimitDaysType" value="${dateType!}"/>
  1340. <input type="hidden" id="ToFilialeOrgID" name="transact.ToFilialeOrgID" value=""/>
  1341. <input type="hidden" id="ToFilialeOrgName" name="transact.ToFilialeOrgName" value=""/>
  1342. <input type="hidden" id="ToCentreOrgID" name="transact.ToCentreOrgID" value=""/>
  1343. <input type="hidden" id="ToCentreOrgName" name="transact.ToCentreOrgName" value=""/>
  1344. <input type="hidden" id="ToOrgID" name="transact.ToOrgID" value=""/>
  1345. <input type="hidden" id="ToOrgName" name="transact.ToOrgName" value=""/>
  1346. <input type="hidden" id="ToJobID" name="transact.ToJobID" value=""/>
  1347. <input type="hidden" id="ToJobName" name="transact.ToJobName" value=""/>
  1348. <input type="hidden" id="ToUserID" name="transact.ToUserID" value=""/>
  1349. <input type="hidden" id="ToUserName" name="transact.ToUserName" value=""/>
  1350. <input type="hidden" id="ComplaintTypeName1" name="transact.ComplaintTypeName1" value="${appeal.ComplaintTypeName1!''}"/>
  1351. <input type="hidden" id="ComplaintTypeName2" name="transact.ComplaintTypeName2" value="${appeal.ComplaintTypeName2!''}"/>
  1352. <input type="hidden" id="ReasonName1" name="transact.ReasonName1" value="${appeal.ReasonName1!''}"/>
  1353. <input type="hidden" id="ReasonName2" name="transact.ReasonName2" value="${appeal.ReasonName2!''}"/>
  1354. <input type="hidden" id="ReasonName3" name="transact.ReasonName3" value="${appeal.ReasonName3!''}"/>
  1355. <input type="hidden" id="AskTypeName1" name="transact.AskTypeName1" value="${appeal.AskTypeName1!''}"/>
  1356. <input type="hidden" id="AskTypeName2" name="transact.AskTypeName2" value="${appeal.AskTypeName2!''}"/>
  1357. <input type="hidden" id="AskTypeName3" name="transact.AskTypeName3" value="${appeal.AskTypeName3!''}"/>
  1358. <input type="hidden" id="UpdateInfo" name="transact.UpdateInfo" value=""/>
  1359. <input type="hidden" id="EndResultName1" name="transact.EndResultName1" value=""/>
  1360. <input type="hidden" id="EndResultName2" name="transact.EndResultName2" value=""/>
  1361. <input type="hidden" id="transactAppealState" name="transact.AppealState" value="办理"/>
  1362. <input type="hidden" id="transactNewFlag" name="transact.NewFlag" value="true"/>
  1363. <input type="hidden" id="IsReturn" name="transact.IsReturn" value=""/>
  1364. <input type="hidden" id="FlowID" name="transact.FlowID" value="${transact.FlowID!''}"/>
  1365. <input type="hidden" id="FlowOK" name="undertake.FlowOK" value="${FlowOK!''}"/>
  1366. <input type="hidden" id="ReasonAnalyseName1" name="transact.ReasonAnalyseName1" value=""/>
  1367. <input type="hidden" id="ReasonAnalyseName2" name="transact.ReasonAnalyseName2" value=""/>
  1368. <input type="hidden" id="DutyState" name="duty.DutyState" value="待认定"/>
  1369. <input type="hidden" id="PersonID" name="duty.PersonID" value="${person.PersonID!''}"/>
  1370. <input type="hidden" id="appealLinkTel1" name="duty.LinkTel1" value="${person.LinkTel1!''}"/>
  1371. <input type="hidden" id="TName" name="duty.TName" value="${appeal.TName!''}"/>
  1372. <input type="hidden" id="SerialNumber" name="duty.SerialNumber" value="${appeal.SerialNumber!''}"/>
  1373. <input type="hidden" id="FilialeID" name="duty.FilialeID" value="${appeal.FilialeID!''}"/>
  1374. <input type="hidden" id="FilialeName" name="duty.FilialeName" value="${appeal.FilialeName!''}"/>
  1375. <input type="hidden" id="dutyAppealDate" name="duty.AppealDate" value="${appeal.AppealDate!''}"/>
  1376. <input type="hidden" id="dutyLimitEndDate" name="duty.LimitEndDate" value="${appeal.LimitEndDate!''}"/>
  1377. <input type="hidden" id="dutyAppealType" name="duty.AppealType" value="${appeal.AppealType!''}"/>
  1378. <input type="hidden" id="dutyAppealSource" name="duty.AppealSource" value="${appeal.AppealSource!''}"/>
  1379. <input type="hidden" id="ToOrgAndJob" name="transact.ToOrgAndJob" >
  1380. <input type="hidden" id="FileSelectFlag" name="FileSelectFlag" value="true"/>
  1381. <input type="hidden" id="transactArriveTime" name="ArriveTime" value="${curDateTime}"/>
  1382. </div>
  1383. <div class="container-fluid" style="margin-top:15px;">
  1384. <div class="panel panel-primary">
  1385. <div class="panel-heading">
  1386. <div style="display:inline;" >客户信息 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
  1387. <div style="display:inline;" ><a class="panel-title" data-toggle="collapse" data-parent="#accordion" href="#collapsePerson"><span id="PersonCollapseIcon" onClick="setCollapseIcon('PersonCollapseIcon')" class="glyphicon glyphicon-menu-up" aria-hidden="true"></span></a></div>
  1388. </div>
  1389. <div id="collapsePerson" class="panel-collapse collapse in">
  1390. <div class="panel-body" style="font-size:14px">
  1391. <div class="row" style="padding:5px" >
  1392. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1393. <label class="control-label" for="TName" >姓名</label></div>
  1394. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback" >
  1395. <input type="text" class="form-control" value="${person.TName!''}" id="TName" name="person.TName" readonly>
  1396. </div>
  1397. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1398. <label class="control-label" for="CardType">证件类型</label></div>
  1399. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2" >
  1400. <input type="text" class="form-control" value="${person.CardType!''}" readonly>
  1401. </div>
  1402. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1403. <label class="control-label" for="IDCard">证件号码</label></div>
  1404. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2" >
  1405. <input type="text" class="form-control" value="${person.IDCard!''}" placeholder="" id="IDCard" name="person.IDCard" readonly>
  1406. </div>
  1407. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" align=left>
  1408. <label class="control-label" for="TSex" style="text-align:left;width:100%" >性别</label></div>
  1409. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2" >
  1410. <input type="text" class="form-control" value="${person.TSex!''}" readonly>
  1411. </div>
  1412. </div>
  1413. <div class="row" style="padding:5px">
  1414. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 " >
  1415. <label class="control-label" for="Birthday">出生日期</label>
  1416. </div>
  1417. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 ">
  1418. <input type="text" class="form-control" value="${person.Birthday!''}" readonly>
  1419. </div>
  1420. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 " >
  1421. <label class="control-label" for="Age">投诉时年龄</label>
  1422. </div>
  1423. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 ">
  1424. <input type="text" class="form-control" value="${appeal.Age!''}" readonly >
  1425. </div>
  1426. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1427. <label class="control-label" for="LinkTel1">联系电话1</label></div>
  1428. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1429. <input type="text" class="form-control" value="${person.LinkTel1!''}" id="LinkTel1" name="person.LinkTel1" maxlength="20" readonly>
  1430. </div>
  1431. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1432. <label class="control-label" for="LinkTel2">联系电话2</label></div>
  1433. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1434. <input type="text" class="form-control" value="${person.LinkTel2!''}" readonly>
  1435. </div>
  1436. </div>
  1437. <div class="row" style="padding:5px">
  1438. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1439. <label class="control-label" for="ProvinceID">省</label></div>
  1440. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1441. <input type="text" class="form-control" value="${person.ProvinceName!''}" readonly>
  1442. </div>
  1443. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1444. <label class="control-label" for="AreaID">地市</label></div>
  1445. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1446. <input type="text" class="form-control" value="${person.AreaName!''}" readonly>
  1447. </div>
  1448. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1449. <label class="control-label" for="CountyID">区县</label></div>
  1450. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1451. <input type="text" class="form-control" value="${person.CountyName!''}" readonly>
  1452. </div>
  1453. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1454. <label class="control-label" for="TownAddress" title="详细地址">详细地址</label></div>
  1455. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1456. <input type="text" class="form-control" value="${person.TownAddress!''}" readonly>
  1457. </div>
  1458. </div>
  1459. <div class="row" style="padding:5px">
  1460. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1461. <label class="control-label" for="Postalcode">邮编</label></div>
  1462. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1463. <input type="text" class="form-control" value="${person.Postalcode!''}" readonly>
  1464. </div>
  1465. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1466. <label class="control-label" for="EMail">电子邮箱</label></div>
  1467. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1468. <input type="text" class="form-control" value="${person.EMail!''}" readonly>
  1469. </div>
  1470. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1471. <label class="control-label" for="StatusName">客户身份</label>
  1472. </div>
  1473. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback" >
  1474. <input type="text" class="form-control" value="${person.StatusName!''}" readonly>
  1475. </div>
  1476. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1477. <label class="control-label" for="TiesName">与投保人关系</label>
  1478. </div>
  1479. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback" >
  1480. <input type="text" class="form-control" value="${person.TiesName!''}" readonly>
  1481. </div>
  1482. </div>
  1483. </div>
  1484. </div>
  1485. </div>
  1486. ${compactInfoList!''}
  1487. <div class="panel panel-info">
  1488. <div class="panel-heading">
  1489. <div style="display:inline;" >被诉人信息 &nbsp;&nbsp;&nbsp;&nbsp;</div>
  1490. <div style="display:inline;" ><a class="panel-title" data-toggle="collapse" data-parent="#accordion" href="#collapseRespondent"><span id="RespondentCollapseIcon" onClick="setCollapseIcon('RespondentCollapseIcon')" class="glyphicon glyphicon-menu-up" aria-hidden="true"></span></a> &nbsp;&nbsp;&nbsp;&nbsp;</div>
  1491. </div>
  1492. <div id="collapseRespondent" class="panel-collapse collapse in">
  1493. <div class="panel-body" style="font-size:14px" id=ComplainPersonObj>
  1494. <div class="row" style="padding:5px" id="respondent_2" >
  1495. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1496. <label class="control-label" for="FilialeID">被诉机构</label>
  1497. </div>
  1498. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1499. <input type="text" class="form-control" value="${appeal.FilialeName!''}" readonly >
  1500. </div>
  1501. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1502. <label class="control-label" for="CentreCompanyID">三级机构</label>
  1503. </div>
  1504. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1505. <input type="text" class="form-control" value="${appeal.CentreCompanyName!''}" readonly >
  1506. </div>
  1507. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1508. <label class="control-label" for="CentreCompanyID">四级机构</label>
  1509. </div>
  1510. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1511. <input type="text" class="form-control" value="${appeal.CompanyName4!''}" readonly >
  1512. </div>
  1513. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1514. <label class="control-label" for="RespondentName">姓名</label>
  1515. </div>
  1516. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1517. <input type="text" class="form-control" value="${appeal.RespondentName!''}" readonly >
  1518. </div>
  1519. </div>
  1520. </div>
  1521. </div>
  1522. </div>
  1523. <div class="panel panel-warning">
  1524. <div class="panel-heading">
  1525. <div style="display:inline;" >客诉事项信息 &nbsp;&nbsp;</div>
  1526. <div style="display:inline;" ><a class="panel-title" data-toggle="collapse" data-parent="#accordion" href="#collapseAppeal"><span id="AppealCollapseIcon" onClick="setCollapseIcon('AppealCollapseIcon')" class="glyphicon glyphicon-menu-up" aria-hidden="true"></span></a></div>
  1527. </div>
  1528. <div id="collapseAppeal" class="panel-collapse collapse in">
  1529. <div class="panel-body" style="font-size:14px">
  1530. <div class="row" style="padding:5px">
  1531. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1532. <label class="control-label" for="Question" style="line-height:100px;">事由</label>
  1533. </div>
  1534. <div class="col-xs-11 col-sm-11 col-md-11 col-lg-11 has-error has-feedback">
  1535. <textarea class="form-control" rows="5" id="Question" name="appeal.Question" maxlength="2000" readonly>${appeal.Question!''}</textarea>
  1536. </div>
  1537. </div>
  1538. <div class="row" style="padding:5px">
  1539. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1540. <label class="control-label" >诉求类别</label>
  1541. </div>
  1542. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1543. <input type="text" class="form-control" value="${appeal.AskTypeName1!''}" readonly >
  1544. </div>
  1545. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1546. <label class="control-label" >具体诉求</label>
  1547. </div>
  1548. <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 has-error has-feedback">
  1549. <input type="text" class="form-control" value="${appeal.AskInfo!''}" readonly >
  1550. </div>
  1551. </div>
  1552. <div class="row" style="padding:5px">
  1553. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1554. <label class="control-label" for="InsceTypeID1">险种类别</label>
  1555. </div>
  1556. <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1557. <input type="text" class="form-control" value="${appeal.InsceTypeName1!''}" readonly>
  1558. </div>
  1559. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1560. <label class="control-label" for="InsceTypeID2">二级类别</label>
  1561. </div>
  1562. <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1563. <input type="text" class="form-control" value="${appeal.InsceTypeName2!''}" readonly>
  1564. </div>
  1565. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1566. <label class="control-label" for="InsceTypeID3">三级类别</label>
  1567. </div>
  1568. <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1569. <input type="text" class="form-control" value="${appeal.InsceTypeName3!''}" readonly>
  1570. </div>
  1571. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
  1572. <label class="control-label" for="InsceTypeID3">监管编号</label>
  1573. </div>
  1574. <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 ">
  1575. <input type="text" class="form-control" value="${appeal.ForeignKeyID!''}" readonly>
  1576. </div>
  1577. </div>
  1578. <div class="row" style="padding:5px">
  1579. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1580. <label class="control-label" for="AppealType">客诉类别</label>
  1581. </div>
  1582. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1583. <input type="text" class="form-control" value="${appeal.AppealType!''}" readonly>
  1584. </div>
  1585. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1586. <label class="control-label" for="AppealSourceID">投诉来源</label>
  1587. </div>
  1588. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1589. <input type="text" class="form-control" value="${appeal.AppealSource!''}" readonly>
  1590. </div>
  1591. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1592. <label class="control-label" for="AppealDate">投诉时间</label>
  1593. </div>
  1594. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1595. <input type="text" class="form-control" id="AppealDate" name="appeal.AppealDate" value="${appeal.AppealDate!''}" readonly>
  1596. </div>
  1597. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1598. <label class="control-label" for="AcceptDate">受理时间</label>
  1599. </div>
  1600. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1601. <input type="text" class="form-control" value="${appeal.AcceptDate!''}" readonly>
  1602. </div>
  1603. </div>
  1604. <div class="row" style="padding:5px" >
  1605. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1606. <label class="control-label" for="ComplaintTypeID1">投诉分级</label>
  1607. </div>
  1608. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1609. <input type="text" class="form-control" value="${appeal.ComplaintTypeName1!''}" readonly>
  1610. </div>
  1611. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1612. <label class="control-label" >紧急程度</label>
  1613. </div>
  1614. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1615. <input type="text" class="form-control" value="${appeal.UrgentLevel!''}" readonly>
  1616. </div>
  1617. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1618. <label class="control-label" for="IsGroup">是否群诉</label>
  1619. </div>
  1620. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback" >
  1621. <input type="text" class="form-control" value="${appeal.IsGroup!''}" readonly>
  1622. </div>
  1623. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1624. <label class="control-label" for="ComplaintPersonNum">投诉人数量</label>
  1625. </div>
  1626. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1627. <input type="text" class="form-control" value="${appeal.ComplaintPersonNum!''}" readonly>
  1628. </div>
  1629. </div>
  1630. <div class="row" style="padding:5px" >
  1631. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1632. <label class="control-label" for="ReasonID1">投诉原因</label>
  1633. </div>
  1634. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1635. <input type="text" class="form-control" value="${appeal.ReasonName1!''}" readonly>
  1636. </div>
  1637. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1638. <label class="control-label" for="ReasonID2">二级原因</label>
  1639. </div>
  1640. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1641. <input type="text" class="form-control" value="${appeal.ReasonName2!''}" readonly>
  1642. </div>
  1643. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 " >
  1644. <label class="control-label" for="ReasonID3">三级原因</label>
  1645. </div>
  1646. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 ">
  1647. <input type="text" class="form-control" value="${appeal.ReasonName3!''}" readonly>
  1648. </div>
  1649. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1650. <label class="control-label" for="ReasonID4">四级原因</label>
  1651. </div>
  1652. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1653. <input type="text" class="form-control" value="${appeal.ReasonName4!''}" readonly>
  1654. </div>
  1655. </div>
  1656. <div class="row" style="padding:5px">
  1657. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1658. <label class="control-label" for="AskInfo">热词</label>
  1659. </div>
  1660. <div class="col-xs-12 col-sm-11 col-md-11 col-lg-11">
  1661. <input type="text" class="form-control" value="${appeal.HotWord!''}" readonly>
  1662. </div>
  1663. </div>
  1664. <div class="row" style="padding:5px" >
  1665. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  1666. <label class="control-label" for="LimitDays">办理时限</label>
  1667. </div>
  1668. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1669. <div class="input-group">
  1670. <input type="text" class="form-control" value="${appeal.LimitDays!''}" placeholder="" id="LimitDays" name="appeal.LimitDays" readonly>
  1671. <span class="input-group-addon" id="basic-addon2">${appeal.LimitDaysType!''}</span>
  1672. </div>
  1673. </div>
  1674. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  1675. <label class="control-label" for="LimitEndDate">截止日期</label>
  1676. </div>
  1677. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1678. <input type="text" class="form-control" value="${appeal.LimitEndDate!''}" id="LimitEndDate" name="appeal.LimitEndDate" readonly>
  1679. </div>
  1680. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  1681. <label class="control-label" for="ViseTimes">督办次数</label>
  1682. </div>
  1683. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1684. <input type="text" class="form-control" value="${appeal.ViseTimes!''}" id="ViseTimes" name="appeal.ViseTimes" readonly>
  1685. </div>
  1686. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  1687. <label class="control-label" for="RepcomplaintsNum">并案次数</label>
  1688. </div>
  1689. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1690. <input type="text" class="form-control" value="${appeal.RepcomplaintsNum!''}" id="RepcomplaintsNum" name="appeal.RepcomplaintsNum" readonly>
  1691. </div>
  1692. </div>
  1693. </div>
  1694. </div>
  1695. </div>
  1696. ${soundPanel!''}
  1697. ${subjoinPanel!''}
  1698. ${transactList!''}
  1699. <div class="panel panel-primary">
  1700. <div class="panel-heading">
  1701. <div style="display:inline;" >案件接收&nbsp;&nbsp;</div>
  1702. <div style="display:inline;" ><a class="panel-title" data-toggle="collapse" data-parent="#accordion" href="#collapseDoFlow"><span id="DoFlowCollapseIcon" onClick="setCollapseIcon('DoFlowCollapseIcon')" class="glyphicon glyphicon-menu-up" aria-hidden="true"></span></a></div>
  1703. </div>
  1704. <div id="collapseDoFlow" class="panel-collapse collapse in">
  1705. <div class="panel-body" style="font-size:14px">
  1706. <div class="row" style="padding:5px;">
  1707. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1708. <label class="control-label" for="TransactIdea" style="line-height:100px;">办理意见</label>
  1709. </div>
  1710. <div class="col-xs-11 col-sm-11 col-md-11 col-lg-11 has-error has-feedback">
  1711. <textarea class="form-control" rows="5" maxlength="500" id="TransactIdea" name="transact.TransactIdea" vmode="not null" vdisp="办理意见" vtype="string"></textarea>
  1712. </div>
  1713. </div>
  1714. <div class="row" style="padding:5px">
  1715. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1716. <label class="control-label" for="TransactType">办理方式</label>
  1717. </div>
  1718. <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
  1719. <select id="TransactType" name="transact.TransactType" onChange=setTransactType() class="form-control" vmode="not null" vdisp="办理方式" vtype="string">
  1720. <option value="">请选择</option>
  1721. <option value="接收">接收</option>
  1722. <option value="退回">退回</option>
  1723. </select>
  1724. </div>
  1725. </div>
  1726. </div>
  1727. </div>
  1728. </div>
  1729. </form>
  1730. <div class="panel panel-default">
  1731. <div class="panel-heading">
  1732. <div style="display:inline;" >资料附件&nbsp;&nbsp;</div>
  1733. <div style="display:inline;" ><a class="panel-title" data-toggle="collapse" data-parent="#accordion" href="#collapseEndFile"><span id="EndFileCollapseIcon" onClick="setCollapseIcon('EndFileCollapseIcon')" class="glyphicon glyphicon-menu-up" aria-hidden="true"></span></a></div>
  1734. </div>
  1735. <div id="collapseEndFile" class="panel-collapse collapse in">
  1736. <div class="panel-body" style="font-size:14px">
  1737. <div class="row" style="padding:5px">
  1738. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  1739. <label class="control-label" for="FileAppealID">选择文件</label></div>
  1740. <div class="col-xs-11 col-sm-11 col-md-11 col-lg-11" >
  1741. <input type="hidden" id="FileAppealID" name="FileAppealID" value="${appealID}"/>
  1742. <input id="file-0a" class="file-loading" type="file" multiple data-min-file-count="1" onchange=setSelectFile()>
  1743. </div>
  1744. </div>
  1745. </div>
  1746. </div>
  1747. </div>
  1748. <div class="row" style="padding:5px">
  1749. <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" align=center>
  1750. <button type="button" class="btn btn-warning" id="SubmitButton" onclick=doSubmit() ><span class="glyphicon glyphicon-save"></span>&nbsp;&nbsp;提&nbsp;&nbsp;&nbsp;&nbsp;交</button>
  1751. </div>
  1752. </div>
  1753. </div>
  1754. <div class="modal fade" id="CompactDetailModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  1755. <div class="modal-dialog"  role="document" style="width:1280px">  >  
  1756. <div class="modal-content">
  1757. <div class="modal-header">
  1758. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
  1759. &times;
  1760. </button>
  1761. <h3 class="modal-title" id="myModalLabel">
  1762. <span class="label label-danger">保单详情</span>
  1763. </h3>
  1764. </div>
  1765. <div class="modal-body" style="font-size:12px">
  1766. <div class="row" style="padding:5px" >
  1767. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1768. <label class="control-label" for="PolicyNumber1" style="text-align:left;width:100%" >保单号</label></div>
  1769. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1770. <input type="text" class="form-control" id="compactPolicyNumber" vmode="" vdisp="保单号" vtype="string" readonly>
  1771. </div>
  1772. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1773. <label class="control-label" for="PolicyLocation" style="text-align:left;width:100%" title="承保分公司名称">所属机构</label>
  1774. </div>
  1775. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1776. <input type="text" class="form-control" id="compactPolicyLocation" readonly>
  1777. </div>
  1778. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1779. <label class="control-label" for="IsSelfInsurance" style="text-align:left;width:100%" >是否自保件</label>
  1780. </div>
  1781. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1782. <input type="text" class="form-control" id="compactIsSelfInsurance" readonly>
  1783. </div>
  1784. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1785. <label class="control-label" for="IsMutualInsurance" style="text-align:left;width:100%" >是否互保件</label>
  1786. </div>
  1787. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1788. <input type="text" class="form-control" id="compactIsMutualInsurance" readonly>
  1789. </div>
  1790. </div>
  1791. <div class="row" style="padding:5px">
  1792. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1793. <label class="control-label" for="AppntName" style="text-align:left;width:100%" >投保人姓名</label></div>
  1794. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1795. <input type="text" class="form-control" value="" placeholder="" id="compactAppntName" readonly>
  1796. </div>
  1797. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1798. <label class="control-label" for="AppntMobile" style="text-align:left;width:100%" title="投保人联系电话">联系电话</label>
  1799. </div>
  1800. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1801. <input type="text" class="form-control" value="" placeholder="" id="compactAppntMobile" readonly>
  1802. </div>
  1803. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1804. <label class="control-label" for="compactAppntIDType" style="text-align:left;width:100%" title="投保人证件类型">证件类型</label>
  1805. </div>
  1806. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1807. <input type="text" class="form-control" value="" placeholder="" id="compactAppntIDType" readonly>
  1808. </div>
  1809. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1810. <label class="control-label" for="AppntCustomerId" style="text-align:left;width:100%" title="投保人证件号码">证件号码</label>
  1811. </div>
  1812. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1813. <input type="text" class="form-control" value="" placeholder="" id="compactAppntCustomerId" readonly>
  1814. </div>
  1815. </div>
  1816. <div class="row" style="padding:5px">
  1817. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1818. <label class="control-label" for="InsuredName" style="text-align:left;width:100%" >被保人姓名</label>
  1819. </div>
  1820. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1821. <input type="text" class="form-control" value="" placeholder="" id="compactInsuredName" readonly>
  1822. </div>
  1823. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1824. <label class="control-label" for="InsuredMobile" style="text-align:left;width:100%" title="被保人联系电话">联系电话</label>
  1825. </div>
  1826. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1827. <input type="text" class="form-control" value="" placeholder="" id="compactInsuredMobile" readonly>
  1828. </div>
  1829. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1830. <label class="control-label" for="InsuredIDType" style="text-align:left;width:100%" title="被保人证件类型">证件类型</label>
  1831. </div>
  1832. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1833. <input type="text" class="form-control" value="" placeholder="" id="compactInsuredIDType" readonly>
  1834. </div>
  1835. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1836. <label class="control-label" for="InsuredCustomerId" style="text-align:left;width:100%" title="被保人证件号码">证件号码</label>
  1837. </div>
  1838. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1839. <input type="text" class="form-control" value="" placeholder="" id="compactInsuredCustomerId" readonly>
  1840. </div>
  1841. </div>
  1842. <div class="row" style="padding:5px" >
  1843. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1844. <label class="control-label" for="RiskName" style="text-align:left;width:100%" >险种名称</label>
  1845. </div>
  1846. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1847. <input type="text" class="form-control" id="compactRiskName" readonly>
  1848. </div>
  1849. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1850. <label class="control-label" for="RealSign" style="text-align:left;width:100%" >保单状态</label>
  1851. </div>
  1852. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1853. <input type="text" class="form-control" id="compactRealSign" readonly>
  1854. </div>
  1855. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1856. <label class="control-label" for="BeginDate" style="text-align:left;width:100%" >生效日期</label>
  1857. </div>
  1858. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1859. <input type="text" class="form-control" id="compactBeginDate" readonly>
  1860. </div>
  1861. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1862. <label class="control-label" for="SaleChnlName" style="text-align:left;width:100%" >销售渠道</label>
  1863. </div>
  1864. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1865. <input type="text" class="form-control" id="compactSaleChnlName" readonly>
  1866. </div>
  1867. </div>
  1868. <div class="row" style="padding:5px" >
  1869. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1870. <label class="control-label" for="PeriodTotalAmount" style="text-align:left;width:100%" >期缴保费</label>
  1871. </div>
  1872. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1873. <input type="text" class="form-control" id="compactPeriodTotalAmount" readonly>
  1874. </div>
  1875. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1876. <label class="control-label" for="SumPrem" style="text-align:left;width:100%" >已缴保费</label>
  1877. </div>
  1878. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1879. <input type="text" class="form-control" id="compactSumPrem" readonly>
  1880. </div>
  1881. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1882. <label class="control-label" style="text-align:left;width:100%" >缴费年期</label>
  1883. </div>
  1884. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1885. <input type="text" class="form-control" id="compactPayYear" readonly>
  1886. </div>
  1887. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1888. <label class="control-label" style="text-align:left;width:100%" >已缴期数</label>
  1889. </div>
  1890. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1891. <input type="text" class="form-control" id="compactPayPeriods" readonly>
  1892. </div>
  1893. </div>
  1894. <div class="row" style="padding:5px" >
  1895. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1896. <label class="control-label" style="text-align:left;width:100%" >银行网点</label>
  1897. </div>
  1898. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1899. <input type="text" class="form-control" id="compactBankingOutlets" readonly>
  1900. </div>
  1901. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1902. <label class="control-label" style="text-align:left;width:100%" >服务人员</label>
  1903. </div>
  1904. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1905. <input type="text" class="form-control" id="compactOperatorName" readonly>
  1906. </div>
  1907. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1908. <label class="control-label" style="text-align:left;width:100%" >是否在职</label>
  1909. </div>
  1910. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1911. <input type="text" class="form-control" id="compactIsOnJob" readonly>
  1912. </div>
  1913. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1914. <label class="control-label" style="text-align:left;width:100%" >是否双录</label>
  1915. </div>
  1916. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1917. <input type="text" class="form-control" id="compactIsDoubleInput" readonly>
  1918. </div>
  1919. </div>
  1920. </div>
  1921. <div class="modal-footer" style="text-align:center">
  1922. <button type="button" class="btn btn-success" onClick="closeCompactDetail()"><span class="glyphicon glyphicon-remove"> 关闭
  1923. </button>
  1924. </div>
  1925. </div><!-- /.modal-content -->
  1926. </div><!-- /.modal -->
  1927. </div>
  1928. <script type="text/javascript">
  1929. $(document).on('ready', function() {
  1930. $('#file-0a').fileinput({
  1931. language: 'zh',
  1932. uploadUrl: '${ctx}/myconsole/complaint/uploadfile/upload?FileAppealID=${appealID}',
  1933. deleteUrl: '${ctx}/myconsole/complaint/uploadfile/delete',
  1934. dropZoneEnabled: false,
  1935. showPreview: true,      //显示预览  
  1936. allowedFileExtensions : ['jpg', 'png','gif','doc','docx','pdf','mp3','mp4','xlsx'],
  1937. }).on("fileuploaded", function(event,data,previewId,index) {
  1938. if(data.response)
  1939. {
  1940. var result = data.response.id; 
  1941. $("#FileSelectFlag").val("true");
  1942. }
  1943. });
  1944. });
  1945. function setSelectFile()
  1946. {
  1947. if ($('#file-0a').val()!='') {
  1948. $("#FileSelectFlag").val("false");
  1949. }
  1950. else
  1951. {
  1952. $("#FileSelectFlag").val("true");
  1953. }
  1954. }
  1955. $(function () { $("[data-toggle='tooltip']").tooltip(); });
  1956. $(function () {
  1957. $.ajaxSetup({ //发送请求前触发
  1958. beforeSend: function(request) { //可以设置自定义标头
  1959. request.setRequestHeader('token', "${AccToken}");
  1960. }
  1961. })
  1962. });
  1963. </script>
  1964. </body>
  1965. </html>