doquality.html 65 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860
  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.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" href="${ctx}/assets/lib/ystep/css/ystep.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/js/base.js"></script>
  21. <script src="${ctx}/assets/js/validate.js" ></script>
  22. <script type="text/javascript" src="${ctx}/assets/lib/ystep/js/ystep.js"></script>
  23. <script type="text/javascript">
  24. function submitQuality(){
  25. if(doValidate(form1))
  26. {
  27. //$('#form1').attr('action','${ctx}/myconsole/complaint/register/saveRepeat');
  28. //$('#form1').ajaxSubmit(resultHandle);
  29. var params_= $("#form1" ).serialize();
  30. $.post('${ctx}/myconsole/complaint/transact/saveQuality',params_,function(data){
  31. resultHandle(data);
  32. })
  33. $("#SubmitQualityButton").attr("disabled",'disabled');
  34. }
  35. }
  36. function resultHandle(data){
  37. var res=eval('(' + data + ')');
  38. if(res.flag){
  39. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 1},
  40. function(){
  41. layer.closeAll('dialog');
  42. window.parent.close();
  43. window.opener.location.reload();
  44. });
  45. }else{
  46. if(res.flag == false)
  47. {
  48. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  49. }
  50. }
  51. }
  52. function setSuperviseAsk()
  53. {
  54. var strSuperviseAsk=$("#SuperviseAsk").val();
  55. if(strSuperviseAsk=='时限内撤诉不计件'||strSuperviseAsk=='其他')
  56. {
  57. if(strSuperviseAsk=='时限内撤诉不计件')
  58. {
  59. $("#SupNolleAskDayDiv1").show();
  60. $("#SupNolleAskDayDiv2").show();
  61. $("#SupNolleAskDay").attr("vmode","not null");
  62. $("#SupNolleAskDayDiv3").hide();
  63. $("#SupNolleAskDayDiv4").hide();
  64. }
  65. else
  66. {
  67. $("#SupNolleAskDay").attr("vmode","");
  68. $("#SupNolleAskDayDiv1").hide();
  69. $("#SupNolleAskDayDiv2").hide();
  70. $("#SupNolleAskDayDiv3").show();
  71. $("#SupNolleAskDayDiv4").show();
  72. }
  73. }
  74. else
  75. {
  76. $("#SupNolleAskDayDiv1").hide();
  77. $("#SupNolleAskDayDiv2").hide();
  78. $("#SupNolleAskDayDiv3").hide();
  79. $("#SupNolleAskDayDiv4").hide();
  80. $("#SupNolleAskDay").attr("vmode","");
  81. }
  82. }
  83. //根据人员类别选择证件信息2017-08-19
  84. function setLabelTName()
  85. {
  86. var personType=$("#PersonType").val();
  87. if(personType=='自然人'||personType=='')
  88. {
  89. $("#Label_TName").text("姓名");
  90. $("#CardType").empty();  
  91. $("#CardType").append("<option value=''>请选择</option>");
  92. $("#CardType").append("<option value='居民身份证'>居民身份证</option>");
  93. $("#CardType").append("<option value='护照'>护照</option>");
  94. $("#CardType").append("<option value='军人证'>军人证</option>");
  95. $("#CardType").append("<option value='其他'>其他</option>");
  96. }
  97. if(personType=='非自然人')
  98. {
  99. $("#Label_TName").text("单位名称");
  100. $("#CardType").empty();  
  101. $("#CardType").append("<option value=''>请选择</option>");
  102. $("#CardType").append("<option value='统一社会信用代码'>统一社会信用代码</option>");
  103. }
  104. }
  105. //验证身份证信息
  106. function setIDCard()
  107. {
  108. var cardType=$("#CardType").val();
  109. if(cardType=='居民身份证')
  110. {
  111. $("#IDCard").attr("vtype","idcard");
  112. }
  113. else
  114. {
  115. $("#IDCard").attr("vtype","string");
  116. }
  117. }
  118. //根据投诉人姓名,证件类型,证件号码判重
  119. function repeatIDCard()
  120. {
  121. var tName=$("#TName").val();
  122. var cardType=$("#CardType").val();
  123. var idCard=$("#IDCard").val();
  124. var personType=$("#PersonType").val();
  125. if(tName!=""&&cardType!=""&&cardType!="")
  126. {
  127. $('#form1').attr('action','${ctx}/myconsole/complaint/register/repeatIDCard');
  128. $('#form1').ajaxSubmit(setPersonData);
  129. }
  130. else
  131. {
  132. var alertInfo="";
  133. if(personType=="自然人"||personType=="")
  134. {
  135. alertInfo="投诉人姓名,证件类型,证件号码都必须填写!";
  136. }
  137. else
  138. {
  139. alertInfo="单位名称,证件类型,证件号码都必须填写!";
  140. }
  141. layer.alert(alertInfo, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  142. }
  143. }
  144. //回写投诉人判重数据
  145. function setPersonData(data){
  146. var personJson = JSON.parse(data);
  147. var flag=personJson.flag;
  148. if(flag)
  149. {
  150. var person=personJson.person;
  151. $("#Modal_TName").val(person.tname);
  152. $("#Modal_Status").val(person.status);
  153. $("#Modal_CardType").val(person.cardtype);
  154. $("#Modal_IDCard").val(person.idcard);
  155. $("#Modal_LinkTel1").val(person.linktel1);
  156. $("#Modal_TownAddress").val(person.townaddress);
  157. $("#Modal_PersonID").val(person.personid);
  158. $("#Modal_Appeal").find("tr:not(:first)").remove();
  159. var listAppeal=eval(personJson.listAppeal);
  160. listAppeal.forEach(function(item,index)
  161. {
  162. if(item.serialnumber==null){
  163. $("#Modal_Appeal").append("<tr><td></td><td>"+item.appealdate+"</td><td>"+item.appealsource+"</td><td>"+item.appealtype+"</td><td></td></tr>");
  164. }else{
  165. $("#Modal_Appeal").append("<tr><td class='text-center' ><input type='radio' name='Radio_AppealID' id='Radio_AppealID' value='"+item.appealid+"' ></td><td>"+item.appealdate+"</td><td>"+item.appealsource+"</td><td>"+item.appealtype+"</td><td class='text-center'><button class='btn btn-primary radius size-S' onclick=seeData('"+item.appealid+"')>查看详细</button></td></tr>");
  166. }
  167. })
  168. $('#repeatModal').modal({
  169.  backdrop: 'static',
  170.  keyboard: false
  171. })
  172. }
  173. else
  174. {
  175. layer.alert("该投诉人为首次投诉!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  176. }
  177. }
  178. //根据省取地市数据
  179. function setAreaID()
  180. {
  181. var provinceID=$("#ProvinceID").val();
  182. $("#CountyID").empty();  
  183. if(provinceID!='')
  184. {
  185. $("#form1").attr("action","${ctx}/myconsole/complaint/register/getAreaIDData");
  186. $("#form1").ajaxSubmit(setAreaIDData);
  187. }
  188. else
  189. {
  190. $("#AreaID").empty();
  191. }
  192. if($("#ProvinceID").val()!="")
  193. {
  194. var provinceName=$("#ProvinceID").find("option:selected").text();
  195. $("#ProvinceName").val(provinceName);
  196. }
  197. else
  198. {
  199. $("#ProvinceName").val("");
  200. }
  201. }
  202. //回写json地市数据
  203. function setAreaIDData(data){
  204. $("#AreaID").empty();  
  205. $("#AreaID").append("<option value=''>请选择</option>");
  206. var listRegionJson = JSON.parse(data);
  207. var postalCode=listRegionJson.PostalCode;
  208. var listregion=eval(listRegionJson.ListRegion);
  209. listregion.forEach(function(item,index)
  210. {
  211. $("#AreaID").append("<option value='"+item.tid+"'>"+item.tname+"</option>");
  212. })
  213. $("#Postalcode").val(postalCode);
  214. }
  215. //根据地市数据选择县区数据
  216. function setCountyID()
  217. {
  218. var areaID=$('#AreaID').val();
  219. if(areaID!='')
  220. {
  221. $("#form1").attr("action","${ctx}/myconsole/complaint/register/getCountyIDData");
  222. $("#form1").ajaxSubmit(setCountyIDData);
  223. }
  224. else
  225. {
  226. $("#CountyID").empty();  
  227. }
  228. if($("#AreaID").val()!="")
  229. {
  230. var provinceName=$("#ProvinceID").find("option:selected").text();
  231. var areaName=$("#AreaID").find("option:selected").text();
  232. $("#ProvinceName").val(provinceName);
  233. $("#AreaName").val(areaName);
  234. }
  235. else
  236. {
  237. $("#AreaName").val("");
  238. }
  239. }
  240. //回写json区县数据
  241. function setCountyIDData(data){
  242. $("#CountyID").empty();  
  243. $("#CountyID").append("<option value=''>请选择</option>");
  244. var listRegionJson = JSON.parse(data);
  245. var postalCode=listRegionJson.PostalCode;
  246. var listregion=eval(listRegionJson.ListRegion);
  247. listregion.forEach(function(item,index)
  248. {
  249. $("#CountyID").append("<option value='"+item.tid+"'>"+item.tname+"</option>");
  250. })
  251. $("#Postalcode").val(postalCode);
  252. }
  253. //设置详细地址
  254. function setTownAddress()
  255. {
  256. if($("#CountyID").val()!="")
  257. {
  258. var countyName=$("#CountyID").find("option:selected").text();
  259. $("#CountyName").val(countyName);
  260. $("#form1").attr("action","${ctx}/myconsole/complaint/register/getPostalCode");
  261. $("#form1").ajaxSubmit(setPostalCodeData);
  262. }
  263. else
  264. {
  265. $("#CountyName").val("");
  266. }
  267. }
  268. //回写邮编数据
  269. function setPostalCodeData(data){
  270. $("#Postalcode").val(data);
  271. }
  272. //
  273. function setContractExist()
  274. {
  275. if($("#ContractExistFlag").is(":checked"))
  276. {
  277. $("#ContractExistFlag1").show();
  278. $("#ContractExistFlag2").show();
  279. $("#ContractExistFlag3").show();
  280. $("#ContractExistFlag4").show();
  281. $("#ContractExist").val("有保单");
  282. }
  283. else
  284. {
  285. $("#ContractExistFlag1").hide();
  286. $("#ContractExistFlag2").hide();
  287. $("#ContractExistFlag3").hide();
  288. $("#ContractExistFlag4").hide();
  289. $("#ContractExist").val("无保单");
  290. }
  291. }
  292. //根据一级投诉原因设置二级投诉原因
  293. function setReasonID2()
  294. {
  295. $("#ReasonID3").empty(); 
  296. var reasonID1=$('#ReasonID1').val();
  297. if(reasonID1!='')
  298. {
  299. var reasonName1=$("#ReasonID1").find("option:selected").text();
  300. $("#ReasonName1").val(reasonName1);
  301. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getReasonID2Data');
  302. $('#form1').ajaxSubmit(setReasonID2Data);
  303. }
  304. else
  305. {
  306. $("#ReasonID2").empty(); 
  307. $("#ReasonName1").val("");
  308. }
  309. }
  310. //回写原因二类字典数据
  311. function setReasonID2Data(data){
  312. $("#ReasonID2").empty();  
  313. $("#ReasonID2").append("<option value=''>请选择</option>");
  314. $("#ReasonID2").append(data);
  315. }
  316. //根据二级投诉原因设置三级投诉原因
  317. function setReasonID3()
  318. {
  319. var reasonID2=$('#ReasonID2').val();
  320. if(reasonID2!='')
  321. {
  322. var reasonName2=$("#ReasonID2").find("option:selected").text();
  323. $("#ReasonName2").val(reasonName2);
  324. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getReasonID3Data');
  325. $('#form1').ajaxSubmit(setReasonID3Data);
  326. }
  327. else
  328. {
  329. $("#ReasonID3").empty(); 
  330. $("#ReasonName2").val(""); 
  331. }
  332. }
  333. //回写原因二类字典数据
  334. function setReasonID3Data(data){
  335. $("#ReasonID3").empty();  
  336. $("#ReasonID3").append("<option value=''>请选择</option>");
  337. $("#ReasonID3").append(data);
  338. }
  339. //设置三级投诉原因名称
  340. function setReasonName3()
  341. {
  342. var reasonID3=$('#ReasonID3').val();
  343. if(reasonID3!='')
  344. {
  345. var reasonName3=$("#ReasonID3").find("option:selected").text();
  346. $("#ReasonName3").val(reasonName3);
  347. }
  348. else
  349. {
  350. $("#ReasonName3").val(""); 
  351. }
  352. }
  353. //根据被诉分公司选择中支公司信息
  354. function setCentreCompanyID(respondentModel)
  355. {
  356. var filialeID=$('#'+respondentModel+"FilialeID").val();
  357. if(filialeID!='')
  358. {
  359. var filialeName=$('#'+respondentModel+"FilialeID").find("option:selected").text();
  360. $('#'+respondentModel+"FilialeName").val(filialeName);
  361. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getCentreCompanyIDData?RespondentModel='+respondentModel);
  362. $('#form1').ajaxSubmit(setCentreCompanyIDData);
  363. $('#RespondentModel').val(respondentModel); 
  364. }
  365. else
  366. {
  367. $("#"+respondentModel+"CentreCompanyID").empty(); 
  368. $('#'+respondentModel+"FilialeName").val(""); 
  369. }
  370. }
  371. //回写原因二类字典数据
  372. function setCentreCompanyIDData(data){
  373. var respondentModel=$('#RespondentModel').val(); 
  374. $("#"+respondentModel+"CentreCompanyID").empty();  
  375. $("#"+respondentModel+"CentreCompanyID").append("<option value=''>请选择</option>");
  376. $("#"+respondentModel+"CentreCompanyID").append(data);
  377. var CentreCompanyName=$("#"+respondentModel+"CentreCompanyID").find("option:selected").text();
  378. $("#"+respondentModel+"CentreCompanyName").val(CentreCompanyName);
  379. }
  380. //
  381. function setBusinessHallID(respondentModel)
  382. {
  383. var centreCompanyID=$('#'+respondentModel+"CentreCompanyID").val();
  384. if(centreCompanyID!='')
  385. {
  386. var centreCompanyName=$('#'+respondentModel+"CentreCompanyID").find("option:selected").text();
  387. $('#'+respondentModel+"CentreCompanyName").val(centreCompanyName);
  388. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getBusinessHallIDData?RespondentModel='+respondentModel);
  389. $('#form1').ajaxSubmit(setBusinessHallIDData);
  390. $('#RespondentModel').val(respondentModel); 
  391. }
  392. else
  393. {
  394. $("#"+respondentModel+"BusinessHallID").empty(); 
  395. $('#'+respondentModel+"CentreCompanyName").val(""); 
  396. }
  397. }
  398. //回写被诉网点数据
  399. function setBusinessHallIDData(data){
  400. var respondentModel=$('#RespondentModel').val(); 
  401. $("#"+respondentModel+"BusinessHallID").empty();  
  402. $("#"+respondentModel+"BusinessHallID").append("<option value=''>请选择</option>");
  403. $("#"+respondentModel+"BusinessHallID").append(data);
  404. }
  405. function setBusinessHallName(respondentModel)
  406. {
  407. var idData=$("#"+respondentModel+"BusinessHallID").val();
  408. if(idData!='')
  409. {
  410. var nameData=$("#"+respondentModel+"BusinessHallID").find("option:selected").text();
  411. $("#"+respondentModel+"BusinessHallName").val(nameData);
  412. $("#"+respondentModel+"_2").show();
  413. }
  414. else
  415. {
  416. $("#"+respondentModel+"BusinessHallName").val(""); 
  417. $("#"+respondentModel+"_2").hide();
  418. }
  419. }
  420. //setInsceTypeID2()选择二级险种类别
  421. function setInsceTypeID2()
  422. {
  423. var insceTypeID1=$('#InsceTypeID1').val();
  424. if(insceTypeID1!='')
  425. {
  426. var insceTypeName1=$("#InsceTypeID1").find("option:selected").text();
  427. $("#InsceTypeName1").val(insceTypeName1);
  428. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getInsceTypeID2Data');
  429. $('#form1').ajaxSubmit(setInsceTypeID2Data);
  430. }
  431. else
  432. {
  433. $("#InsceTypeID2").empty(); 
  434. $("#InsceTypeName1").val(""); 
  435. }
  436. }
  437. //回写原因二类字典数据
  438. function setInsceTypeID2Data(data){
  439. $("#InsceTypeID2").empty();  
  440. $("#InsceTypeID2").append("<option value=''>请选择</option>");
  441. $("#InsceTypeID2").append(data);
  442. }
  443. //setInsceTypeID3()选择三级险种类别
  444. function setInsceTypeID3()
  445. {
  446. var insceTypeID2=$('#InsceTypeID2').val();
  447. if(insceTypeID2!='')
  448. {
  449. var insceTypeName2=$("#InsceTypeID2").find("option:selected").text();
  450. $("#InsceTypeName2").val(insceTypeName2);
  451. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getInsceTypeID3Data');
  452. $('#form1').ajaxSubmit(setInsceTypeID3Data);
  453. }
  454. else
  455. {
  456. $("#InsceTypeID3").empty(); 
  457. $("#InsceTypeName2").val(""); 
  458. }
  459. }
  460. //回写原因二类字典数据
  461. function setInsceTypeID3Data(data){
  462. $("#InsceTypeID3").empty();  
  463. $("#InsceTypeID3").append("<option value=''>请选择</option>");
  464. $("#InsceTypeID3").append(data);
  465. }
  466. function setInsceTypeName3()
  467. {
  468. var insceTypeID3=$('#InsceTypeID3').val();
  469. if(insceTypeID3!='')
  470. {
  471. var insceTypeName3=$("#InsceTypeID3").find("option:selected").text();
  472. $("#InsceTypeName3").val(insceTypeName3);
  473. }
  474. else
  475. {
  476. $("#InsceTypeName3").val(""); 
  477. }
  478. }
  479. //setAskTypeID2()选择二级诉求类别
  480. function setAskTypeID2()
  481. {
  482. var askTypeID1=$('#AskTypeID1').val();
  483. if(askTypeID1!='')
  484. {
  485. var askTypeName1=$("#AskTypeID1").find("option:selected").text();
  486. $("#AskTypeName1").val(askTypeName1);
  487. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getAskTypeID2Data');
  488. $('#form1').ajaxSubmit(setAskTypeID2Data);
  489. }
  490. else
  491. {
  492. $("#AskTypeID2").empty(); 
  493. $("#FilialeName").val(""); 
  494. }
  495. }
  496. //回写原因二类字典数据
  497. function setAskTypeID2Data(data){
  498. $("#AskTypeID2").empty();  
  499. $("#AskTypeID2").append("<option value=''>请选择</option>");
  500. $("#AskTypeID2").append(data);
  501. }
  502. //setAskTypeID3()选择三级诉求类别
  503. function setAskTypeID3()
  504. {
  505. var askTypeID2=$('#AskTypeID2').val();
  506. if(askTypeID2!='')
  507. {
  508. var askTypeName2=$("#AskTypeID2").find("option:selected").text();
  509. $("#AskTypeName2").val(askTypeName2);
  510. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getAskTypeID3Data');
  511. $('#form1').ajaxSubmit(setAskTypeID3Data);
  512. }
  513. else
  514. {
  515. $("#AskTypeID3").empty(); 
  516. $("#AskTypeName2").val(""); 
  517. }
  518. }
  519. //回写原因二类字典数据
  520. function setAskTypeID3Data(data){
  521. $("#AskTypeID3").empty();  
  522. $("#AskTypeID3").append("<option value=''>请选择</option>");
  523. $("#AskTypeID3").append(data);
  524. }
  525. function setAskTypeName3()
  526. {
  527. var askTypeID3=$('#AskTypeID3').val();
  528. if(askTypeID3!='')
  529. {
  530. var askTypeName3=$("#AskTypeID3").find("option:selected").text();
  531. $("#AskTypeName3").val(askTypeName3);
  532. }
  533. else
  534. {
  535. $("#AskTypeName3").val(""); 
  536. }
  537. }
  538. //setComplaintTypeID2()根据投诉类别一级分类取二级分类
  539. function setComplaintTypeID2()
  540. {
  541. var complaintTypeID1=$('#ComplaintTypeID1').val();
  542. if(complaintTypeID1!='')
  543. {
  544. var complaintTypeName1=$("#ComplaintTypeID1").find("option:selected").text();
  545. $("#ComplaintTypeName1").val(complaintTypeName1);
  546. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getComplaintTypeID2Data');
  547. $('#form1').ajaxSubmit(setComplaintTypeID2Data);
  548. }
  549. else
  550. {
  551. $("#ComplaintTypeID2").empty(); 
  552. $("#ComplaintTypeName1").val(""); 
  553. }
  554. }
  555. //回写投诉二级分类字典数据
  556. function setComplaintTypeID2Data(data){
  557. $("#ComplaintTypeID2").empty();  
  558. $("#ComplaintTypeID2").append("<option value=''>请选择</option>");
  559. $("#ComplaintTypeID2").append(data);
  560. }
  561. function setComplaintTypeName2()
  562. {
  563. var complaintTypeID2=$('#ComplaintTypeID2').val();
  564. if(complaintTypeID2!='')
  565. {
  566. var complaintTypeName2=$("#ComplaintTypeID2").find("option:selected").text();
  567. $("#ComplaintTypeName2").val(complaintTypeName2);
  568. }
  569. else
  570. {
  571. $("#ComplaintTypeName2").val(""); 
  572. }
  573. }
  574. function setSectionName()
  575. {
  576. var sectionID=$('#SectionID').val();
  577. if(sectionID!='')
  578. {
  579. var sectionName=$("#SectionID").find("option:selected").text();
  580. $("#SectionName").val(sectionName);
  581. }
  582. else
  583. {
  584. $("#SectionName").val(""); 
  585. }
  586. }
  587. function setToAllOrgName()
  588. {
  589. var toAllOrgID=$('#ToAllOrgID').val();
  590. if(toAllOrgID!='')
  591. {
  592. var toAllOrgName=$("#ToAllOrgID").find("option:selected").text();
  593. $("#ToAllOrgName").val(toAllOrgName);
  594. }
  595. else
  596. {
  597. $("#ToAllOrgName").val("");  
  598. }
  599. }
  600. //根据险种类型选择查询条件
  601. function setPolicyType()
  602. {
  603. var policyType=$("#PolicyType").val();
  604. if(policyType=="车险")
  605. {
  606. $("#PolicyTypeCar1").show();
  607. $("#PolicyTypeCar2").show();
  608. $("#QueryType").empty();  
  609. $("#QueryType").append("<option value=''>请选择</option>");
  610. $("#QueryType").append("<option value='保单编号'>保单编号</option>");
  611. $("#QueryType").append("<option value='车牌号码'>车牌号码</option>");
  612. $("#QueryType").append("<option value='发动机号'>发动机号</option>");
  613. }
  614. else
  615. {
  616. $("#PolicyTypeCar1").hide();
  617. $("#PolicyTypeCar2").hide();
  618. $("#QueryType").empty();  
  619. $("#QueryType").append("<option value=''>请选择</option>");
  620. $("#QueryType").append("<option value='保单编号'>保单编号</option>");
  621. }
  622. }
  623. function queryDetailCompact1()
  624. {
  625. var queryNo=$("#PolicyNumber1").val();
  626. var itemNos=$("#itemNos").val();
  627. var RiskName=$("#RiskName1").val();
  628. if(queryNo!="")
  629. {
  630. fullOpen("${ctx}/myconsole/complaint/interface/queryCompactDetail?QueryPolicyNumber="+queryNo+"&itemNos="+itemNos+"&RiskName="+RiskName);
  631. }
  632. else
  633. {
  634. layer.alert("保单号不能为空!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  635. }
  636. }
  637. //查看理赔详细信息页面
  638. function queryPaymentDetailInfo()
  639. {
  640. var queryNo=$("#ReportCaseNo").val();
  641. var policyNo=$("#bigpolicyNo").val();
  642. var planCode=$("#baplanCode").val();
  643. var riskCode=$("#bariskCode").val();
  644. var itemNo=$("#baitemNo").val();
  645. if(queryNo!="")
  646. {
  647. $.ajax({
  648. type:"post",
  649. url:"${ctx}/myconsole/complaint/interface/queryPaymentDetail",
  650. data:{
  651. queryNo:queryNo,
  652. policyNo:policyNo,
  653. planCode:planCode,
  654. riskCode:riskCode,
  655. itemNo:itemNo
  656. },
  657. success:function(data){
  658. if(data.flag)
  659. window.open(data.wburl);
  660. else
  661. alert("查询失败");
  662. }
  663. })
  664. //fullOpen("${ctx}/myconsole/complaint/interface/queryPaymentDetail?ReportCaseNo="+queryNo+"&PolicyType="+strPolicyType);
  665. }
  666. else
  667. {
  668. layer.alert("报案号不能为空!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  669. }
  670. }
  671. function repeatPolicyNumber()
  672. {
  673. var policyNumber=$("#PolicyNumber").val();
  674. if(policyNumber!="")
  675. {
  676. $('#form1').attr('action','${ctx}/myconsole/complaint/register/repeatPolicyNumber');
  677. $('#form1').ajaxSubmit(setPolicyData);
  678. }
  679. else
  680. {
  681.   layer.alert("保单号必须填写!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  682. }
  683. }
  684. //回写保单判重数据
  685. function setPolicyData(data){
  686. var personJson = JSON.parse(data);
  687. var flag=personJson.flag;
  688. if(flag)
  689. {
  690. var person=personJson.person;
  691. $("#Modal_TName").val(person.tname);
  692. $("#Modal_TSex").val(person.tsex);
  693. $("#Modal_CardType").val(person.cardtype);
  694. $("#Modal_IDCard").val(person.idcard);
  695. $("#Modal_LinkTel1").val(person.linktel1);
  696. $("#Modal_TownAddress").val(person.townaddress);
  697. $("#Modal_PersonID").val(person.personid);
  698. $("#Modal_Appeal").find("tr:not(:first)").remove();
  699. var listAppeal=eval(personJson.listAppeal);
  700. listAppeal.forEach(function(item,index)
  701. {
  702. $("#Modal_Appeal").append("<tr><td class='text-center' ><input type='radio' name='Radio_AppealID' id='Radio_AppealID' value='"+item.appealid+"' ></td><td>"+item.appealdate+"</td><td>"+item.appealsourcename1+"-"+item.appealsourcename2+"</td><td>"+item.reasonname1+"-"+item.reasonname2+"-"+item.reasonname3+"</td><td class='text-center'><button class='btn btn-primary radius size-S' onclick=seeData('"+item.appealid+"')>查看详细</button></td></tr>");
  703. })
  704. $('#repeatModal').modal({
  705.  backdrop: 'static',
  706.  keyboard: false
  707. })
  708. }
  709. else
  710. {
  711. layer.alert("该保单为首次投诉!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  712. }
  713. }
  714. function doRepeatNumber()
  715. {
  716. var modal_AppealID=$("input:radio[name='Radio_AppealID']:checked").val();
  717. $("#Modal_AppealID").val(modal_AppealID);
  718. $('#form1').attr('action','${ctx}/myconsole/complaint/register/doRepeatNumber');
  719. $('#form1').ajaxSubmit(setRepeatNumber);
  720. }
  721. //回写设置重复投诉数
  722. function setRepeatNumber(data){
  723. var res=eval('(' + data + ')');
  724. if(res.flag)
  725. {
  726. layer.alert("设置重复投诉次数成功!现在的重复投诉次数为:"+res.RepcomplaintsNum+"次!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  727. }
  728. else
  729. {
  730. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  731. }
  732. $('#repeatModal').modal('hide');
  733. }
  734. function newAppeal()
  735. {
  736. window.close();
  737. }
  738. function queryRiskName()
  739. {
  740. var policyNumber=$("#PolicyNumber").val();
  741. if(policyNumber!="")
  742. {
  743. $('#form1').attr('action','${ctx}/myconsole/complaint/register/queryRiskName');
  744. $('#form1').ajaxSubmit(setRiskName);
  745. }
  746. else
  747. {
  748.   layer.alert("保单号必须填写!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  749. }
  750. }
  751. //回写险种名称数据列表
  752. function setRiskName(data){
  753. var riskJson = JSON.parse(data);
  754. var flag=riskJson.flag;
  755. if(flag)
  756. {
  757. $("#Modal_Appeal").find("tr:not(:first)").remove();
  758. var listRisk=eval(riskJson.listRisk);
  759. listRisk.forEach(function(item,index)
  760. {
  761. $("#Modal_Risk").append("<tr><td>"+item.riskname+"</td><td>"+item.payyear+"</td><td>"+item.subflag+"</td><td>"+item.insuenddate+"</td></tr>");
  762. })
  763. $('#riskModal').modal({
  764.  backdrop: 'static',
  765.  keyboard: false
  766. })
  767. }
  768. else
  769. {
  770. layer.alert("该保单险种名称查询失败!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  771. }
  772. }
  773. //查询合同信息
  774. function queryCompact()
  775. {
  776. var queryNo=$("#QueryNo").val();
  777. if(queryNo!="")
  778. {
  779. //$('#form1').attr('action','${ctx}/myconsole/complaint/register/queryCompact');
  780. //$('#form1').ajaxSubmit(setCompact);
  781. $("#CompactPanelFlag").show();
  782. }
  783. else
  784. {
  785.   layer.alert("查询号必须填写!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  786. }
  787. }
  788. //回写合同数据
  789. function setCompact(data){
  790. var compactJson = JSON.parse(data);
  791. var flag=compactJson.flag;
  792. if(flag)
  793. {
  794. var compact=compactJson.compact;
  795. $("#RealSign").val(compact.realsign);
  796. $("#AppntName").val(compact.appntname);
  797. $("#AppntMobile").val(compact.appntmobile);
  798. $("#AppntCustomerId").val(compact.appntcustomerid);
  799. $("#InsuredName").val(compact.insuredname);
  800. $("#InsuredMobile").val(compact.insuredmobile);
  801. $("#InsuredCustomerId").val(compact.insuredcustomerid);
  802. $("#RiskName").val(compact.riskname);
  803. $("#PolicyLocation").val(compact.policylocation);
  804. $("#Contractor").val(compact.contractor);
  805. $("#CustomerRisk").val(compact.customerrisk);
  806. $("#CValiDate").val(compact.cvalidate);
  807. $("#InsuEndDate").val(compact.insuenddate);
  808. $("#CBrkrCde").val(compact.cbrkrcde);
  809. $("#PolicyDate").val(compact.policydate);
  810. $("#BusinessSources").val(compact.businesssources);
  811. $("#PayYear").val(compact.payyear);
  812. $("#CarTypeName").val(compact.cartypename);
  813. $("#CarOwnerName").val(compact.carownername);
  814. $("#CarNumber").val(compact.carnumber);
  815. $("#FrameNo").val(compact.frameno);
  816. $("#EngineNo").val(compact.engineno);
  817. $("#CarRegisterDate").val(compact.carregisterdate);
  818. }
  819. else
  820. {
  821. layer.alert("该保单编号没有查询到合同信息!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  822. }
  823. }
  824. //查询合同信息
  825. function queryPayment()
  826. {
  827. var queryNo=$("#QueryNo").val();
  828. if(queryNo!="")
  829. {
  830. //$('#form1').attr('action','${ctx}/myconsole/complaint/register/queryCompact');
  831. //$('#form1').ajaxSubmit(setCompact);
  832. $("#PaymentPanelFlag").show();
  833. }
  834. else
  835. {
  836.   layer.alert("查询号必须填写!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
  837. }
  838. }
  839. function setCollapseIcon(collapseIcon)
  840. {
  841. var curCollapseIconClass=$("#"+collapseIcon).attr("class");
  842. if(curCollapseIconClass=="glyphicon glyphicon-menu-up")
  843. {
  844. $("#"+collapseIcon).attr("class","glyphicon glyphicon-menu-down");
  845. }
  846. else
  847. {
  848. $("#"+collapseIcon).attr("class","glyphicon glyphicon-menu-up");
  849. }
  850. }
  851. //查看 2017-07-19
  852. function seeData(appealid){
  853. fullOpen("${ctx}/myconsole/complaint/register/seeData?appealid="+appealid);
  854. }
  855. //设置客户最后要求时间
  856. function setAskEndTime()
  857. {
  858. var appealDate=$("#AppealDate").val();
  859. var askTimeBlockID=$('#AskTimeBlockID').val();
  860. var limitHours=parseInt(askTimeBlockID);
  861. if(askTimeBlockID!='')
  862. {
  863. var nameValue=$("#AskTimeBlockID").find("option:selected").text();
  864. $("#AskTimeBlockName").val(nameValue);
  865. }
  866. else
  867. {
  868. $("#AskTimeBlockName").val("");  
  869. }
  870. var limitDays=parseInt(limitHours/24);
  871. var initLimitDays=limitDays;
  872. var limitDaysType=$("#LimitDaysType").val();
  873. if(limitDaysType=="工作日")
  874. {
  875. var mydate = new Date(appealDate+":01:01");
  876. var week=parseInt(mydate.getDay());
  877. var iSat=0;
  878. if(week==6)
  879. {
  880. week=0;
  881. iSat=1;
  882. }
  883. var iCountDate=parseInt(limitDays+week);
  884. if(iCountDate>5&&iCountDate<=10)
  885. {
  886. limitDays=limitDays+2;
  887. }
  888. if(iCountDate>10&&iCountDate<=15)
  889. {
  890. limitDays=limitDays+4;
  891. }
  892. if(iCountDate>15&&iCountDate<=20)
  893. {
  894. limitDays=limitDays+6;
  895. }
  896. if(iCountDate>20&&iCountDate<=25)
  897. {
  898. limitDays=limitDays+8;
  899. }
  900. if(iCountDate>25&&iCountDate<=30)
  901. {
  902. limitDays=limitDays+10;
  903. }
  904. limitDays=limitDays+iSat;
  905. }
  906. var newLimitDays=limitDays-initLimitDays;
  907. limitHours=parseInt(limitHours+newLimitDays*24);
  908. var nd = addNHours(appealDate+":01:01",limitHours);
  909. var askEndTime = nd.format('yyyy-MM-dd hh');
  910. if(askTimeBlockID!=''&&askTimeBlockID!='0')
  911. {
  912. $("#AskEndTime").val(askEndTime);
  913. }
  914. }
  915. //设置最后办理时限
  916. function setLimitEndDate()
  917. {
  918. var appealDate=$("#CurDate").val();
  919. var limitDays=parseInt($("#LimitDays").val());
  920. var limitDaysType=$("#LimitDaysType").val();
  921. if(limitDaysType=="工作日")
  922. {
  923. var mydate = new Date(appealDate);
  924. var week=parseInt(mydate.getDay());
  925. var iSat=0;
  926. if(week==6)
  927. {
  928. week=0;
  929. iSat=1;
  930. }
  931. var iCountDate=parseInt(limitDays+week);
  932. if(iCountDate>5&&iCountDate<=10)
  933. {
  934. limitDays=limitDays+2;
  935. }
  936. if(iCountDate>10&&iCountDate<=15)
  937. {
  938. limitDays=limitDays+4;
  939. }
  940. if(iCountDate>15&&iCountDate<=20)
  941. {
  942. limitDays=limitDays+6;
  943. }
  944. if(iCountDate>20&&iCountDate<=25)
  945. {
  946. limitDays=limitDays+8;
  947. }
  948. if(iCountDate>25&&iCountDate<=30)
  949. {
  950. limitDays=limitDays+10;
  951. }
  952. limitDays=limitDays+iSat;
  953. }
  954. var nd = addNDays(appealDate,limitDays);
  955. var limitEndDate = nd.format('yyyy-MM-dd');
  956. if($("#LimitDays").val()!='')
  957. {
  958. $("#LimitEndDate").val(limitEndDate);
  959. }
  960. }
  961. Date.prototype.format =function(format)
  962. {
  963.     var o = {
  964.         "M+" : this.getMonth()+1, //month
  965.         "d+" : this.getDate(), //day
  966.         "h+" : this.getHours(), //hour
  967.         "m+" : this.getMinutes(), //minute
  968.         "s+" : this.getSeconds(), //second
  969.         "q+" : Math.floor((this.getMonth()+3)/3), //quarter
  970.         "S" : this.getMilliseconds() //millisecond
  971.     }
  972.     if(/(y+)/.test(format)){ 
  973.         format=format.replace(RegExp.$1,(this.getFullYear()+"").substr(4- RegExp.$1.length));
  974.     }
  975.     for(var k in o){
  976.         if(new RegExp("("+ k +")").test(format)){
  977.             format = format.replace(RegExp.$1,RegExp.$1.length==1? o[k] :("00"+ o[k]).substr((""+o[k]).length));
  978.         }
  979.     }
  980.     return format;
  981. }
  982.  
  983. var addNDays=function(date,n){
  984.     var d = new Date(Date.parse(date.replace(/-/g,"/")));  
  985.     var time=d.getTime();
  986.     var newTime=time+n*24*60*60*1000;
  987.     return new Date(newTime);
  988. };
  989. var addNHours=function(date,n){
  990.     var d = new Date(Date.parse(date.replace(/-/g,"/")));  
  991.     var time=d.getTime();
  992.     var newTime=time+n*60*60*1000;
  993.     return new Date(newTime);
  994. };
  995. function setAppealType()
  996. {
  997. var appealType=$("#AppealType").val();
  998. if(appealType=='消费投诉')
  999. {
  1000. $("#Complain1").show();
  1001. $("#Complain2").show();
  1002. $("#Complain3").show();
  1003. }
  1004. else
  1005. {
  1006. $("#Complain1").hide();
  1007. $("#Complain2").hide();
  1008. $("#Complain3").hide();
  1009. }
  1010. if(appealType=='异议信息')
  1011. {
  1012. $("#Dissent1").show();
  1013. }
  1014. else
  1015. {
  1016. $("#Dissent1").hide();
  1017. }
  1018. }
  1019. function setTransactType()
  1020. {
  1021. var transactType=$("#TransactType").val();
  1022. if(transactType=='')
  1023. {
  1024. $("#TempSaveButton").attr("disabled",'disabled');
  1025. $("#EndButton").attr("disabled",'disabled');
  1026. $("#SubmitButton").attr("disabled",'disabled');
  1027. $("#ToOrgInfo").hide();
  1028. }
  1029. if(transactType=='坐席办结')
  1030. {
  1031. $("#TempSaveButton").removeAttr('disabled');
  1032. $("#EndButton").removeAttr('disabled');
  1033. $("#SubmitButton").attr("disabled",'disabled');
  1034. $("#ToOrgInfo").hide();
  1035. }
  1036. if(transactType=='转办')
  1037. {
  1038. $("#TempSaveButton").attr("disabled",'disabled');
  1039. $("#EndButton").attr("disabled",'disabled');
  1040. $("#SubmitButton").removeAttr('disabled');
  1041. $("#ToOrgInfo").show();
  1042. }
  1043. if(transactType=='重复件')
  1044. {
  1045. $("#TempSaveButton").attr("disabled",'disabled');
  1046. $("#EndButton").removeAttr('disabled');
  1047. $("#SubmitButton").attr("disabled",'disabled');
  1048. $("#ToOrgInfo").hide();
  1049. }
  1050. }
  1051. //选择承办中支公司
  1052. function setToAllCentreOrgID()
  1053. {
  1054. var idData=$('#ToAllFilialeOrgID').val();
  1055. if(idData!='')
  1056. {
  1057. var nameData=$("#ToAllFilialeOrgID").find("option:selected").text();
  1058. $("#ToAllFilialeOrgName").val(nameData);
  1059. $("#ToAllOrgID").val(idData);
  1060. $("#ToAllOrgName").val(nameData);
  1061. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getCentreOrgIDData');
  1062. $('#form1').ajaxSubmit(setToAllCentreOrgIDData);
  1063. }
  1064. else
  1065. {
  1066. $("#ToAllCentreOrgID").empty(); 
  1067. $("#ToAllFilialeOrgName").val(""); 
  1068. $("#ToAllOrgID").val('');
  1069. $("#ToAllOrgName").val('');
  1070. }
  1071. }
  1072. //回写中支公司数据
  1073. function setToAllCentreOrgIDData(data){
  1074. $("#ToAllCentreOrgID").empty();  
  1075. $("#ToAllCentreOrgID").append("<option value=''>请选择</option>");
  1076. $("#ToAllCentreOrgID").append(data);
  1077. }
  1078. function setToAllWorkDutiesID()
  1079. {
  1080. var idData=$('#ToAllCentreOrgID').val();
  1081. if(idData!='')
  1082. {
  1083. var nameData=$("#ToAllCentreOrgID").find("option:selected").text();
  1084. $("#ToAllCentreOrgName").val(nameData);
  1085. $("#ToAllOrgID").val(idData);
  1086. $("#ToAllOrgName").val(nameData);
  1087. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getToAllWorkDutiesID');
  1088. $('#form1').ajaxSubmit(setToAllWorkDutiesIDData);
  1089. }
  1090. else
  1091. {
  1092. $("#ToAllWorkDutiesID").empty(); 
  1093. $("#ToAllCentreOrgName").val(""); 
  1094. }
  1095. }
  1096. //回写岗位数据
  1097. function setToAllWorkDutiesIDData(data){
  1098. $("#ToAllWorkDutiesID").empty();  
  1099. $("#ToAllWorkDutiesID").append("<option value=''>请选择</option>");
  1100. $("#ToAllWorkDutiesID").append(data);
  1101. }
  1102. function setToAllWorkDutiesName()
  1103. {
  1104. var idData=$('#ToAllWorkDutiesID').val();
  1105. if(idData!='')
  1106. {
  1107. var nameData=$("#ToAllWorkDutiesID").find("option:selected").text();
  1108. $("#ToAllWorkDutiesName").val(nameData);
  1109. var toAllOrgWorkDuties=$('#ToAllFilialeOrgName').val();
  1110. var toAllCentreOrgName=$('#ToAllCentreOrgName').val();
  1111. if(toAllCentreOrgName!='')
  1112. {
  1113. toAllOrgWorkDuties=toAllOrgWorkDuties+"-"+toAllCentreOrgName;
  1114. }
  1115. toAllOrgWorkDuties=toAllOrgWorkDuties+"-"+nameData;
  1116. $("#ToAllOrgWorkDuties").val(toAllOrgWorkDuties);
  1117. }
  1118. else
  1119. {
  1120. $("#ToAllWorkDutiesName").val(""); 
  1121. }
  1122. }
  1123. //选择异议信息不符原因
  1124. function setNotTally(NotTallyObj)
  1125. {
  1126. if($("#"+NotTallyObj+"Flag").is(":checked"))
  1127. {
  1128. $("#"+NotTallyObj).val("true");
  1129. }
  1130. else
  1131. {
  1132. $("#"+NotTallyObj).val("flase");
  1133. }
  1134. }
  1135. //查看办理轨迹明细 2019-07-28
  1136. function seeDetail(keyid){
  1137. $.post('${ctx}/myconsole/complaint/transact/getTransactDetail',{"KeyID":keyid},function(data){
  1138. $('#TransactDetail').empty();
  1139. $('#TransactDetail').append(data);
  1140. $('#detailModal').modal({
  1141.  backdrop: 'static',
  1142.  keyboard: false
  1143. })
  1144. });
  1145. }
  1146. function downFile(filePath,fileName)
  1147. {
  1148. window.open('${serverURL!}/downloadFile.do?FileDownloadPath='+filePath+'&FileDownloadName='+fileName,'Derek','resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');
  1149. }
  1150. function doRepeat()
  1151. {
  1152. $("#ButtonInfo").hide();
  1153. $("#RepeatInfo").show();
  1154. }
  1155. function doNolle()
  1156. {
  1157. $("#ButtonInfo").hide();
  1158. $("#NolleInfo").show();
  1159. }
  1160. function doReturn()
  1161. {
  1162. $("#ButtonInfo").show();
  1163. $("#NolleInfo").hide();
  1164. $("#RepeatInfo").hide();
  1165. }
  1166. function setQuality()
  1167. {
  1168. var strQualityIs1=$('#QualityIs1').val();
  1169. var strQualityIs2=$('#QualityIs2').val();
  1170. if(strQualityIs1=="是"&&strQualityIs2=="是")
  1171. {
  1172. $('#QualityResult').val("质检通过");
  1173. }
  1174. else
  1175. {
  1176. $('#QualityResult').val("质检不通过");
  1177. }
  1178. }
  1179. function setQualityResult()
  1180. {
  1181. var strQualityResult=$('#QualityResult').val();
  1182. if(strQualityResult=='质检不通过')
  1183. {
  1184. $('#QualityNoTypeDIV1').show();
  1185. $('#QualityNoTypeDIV2').show();
  1186. $("#QualityNoType").attr("vmode","not null");
  1187. }
  1188. else
  1189. {
  1190. $('#QualityNoTypeDIV1').hide();
  1191. $('#QualityNoTypeDIV2').hide();
  1192. $("#QualityNoType").attr("vmode","");
  1193. }
  1194. }
  1195. //看升级件原信息
  1196. function seeCollapseUpgrade() {
  1197. var appealid = "${appeal.UpgradeAppealId!''}";
  1198. fullOpen("${ctx}/myconsole/complaint/register/seeData?appealid="+appealid);
  1199. }
  1200. //选择办理意见模板
  1201. function selectTransactIdea()
  1202. {
  1203. $('#TransactIdeaModal').modal({
  1204.  backdrop: 'static',
  1205.  keyboard: false
  1206. })
  1207. }
  1208. //获取办理意见模板
  1209. function getTransactIdea()
  1210. {
  1211. $('#TransactIdeaModal').modal('hide');
  1212. var strTempletKeyID=$('#TransactIdeaTemplet').val();
  1213. if(strTempletKeyID!='')
  1214. {
  1215. $.post('${ctx}/myconsole/complaint/register/getTransactIdea',{"KeyID":strTempletKeyID},function(data){
  1216. //var res=eval('(' + data + ')');
  1217. var strTransactIdea=$('#QualityIdea').val();
  1218. $('#QualityIdea').val(strTransactIdea+data);
  1219. });
  1220. }
  1221. }
  1222. </script>
  1223. <title>投诉信息登记</title>
  1224. <meta name="keywords" content="">
  1225. <meta name="description" content="">
  1226. </head>
  1227. <body >
  1228. <form id="form1" method="post" class="form-horizontal" role="form">
  1229. <div style="display: none">
  1230. <input type="hidden" id="Modal_Main" name="Modal_Main" value="result"/>
  1231. <input type="hidden" id="ResultDoState" name="ResultDoState" value="结案"/>
  1232. <input type="hidden" id="CurDate" name="CurDate" value="${curDate}"/>
  1233. <input type="hidden" id="AppealID" name="AppealID" value="${appealID!''}"/>
  1234. <input type="hidden" id="UndertakeKeyID" name="UndertakeKeyID" value="${undertakeKeyID!''}"/>
  1235. <input type="hidden" id="Modal_PersonID" name="Modal_PersonID" value=""/>
  1236. <input type="hidden" id="Modal_AppealID" name="Modal_AppealID" value=""/>
  1237. <input type="hidden" id="Modal_PersonRepeatFlag" name="Modal_PersonRepeatFlag" value=""/>
  1238. <input type="hidden" id="PersonID" name="person.PersonID" value="${person.PersonID!''}"/>
  1239. <input type="hidden" id="transact.KeyID" name="transact.KeyID" value="${transact.KeyID!}"/>
  1240. <input type="hidden" id="ProvinceName" name="person.ProvinceName" value="${person.ProvinceName!''}"/>
  1241. <input type="hidden" id="AreaName" name="person.AreaName" value="${person.AreaName!''}"/>
  1242. <input type="hidden" id="CountyName" name="person.CountyName" value="${person.CountyName!''}"/>
  1243. <input type="hidden" id="AppealID" name="appeal.AppealID" value="${appeal.AppealID!''}"/>
  1244. <input type="hidden" id="TName" name="appeal.TName" value="${appeal.TName!''}"/>
  1245. <input type="hidden" id="appealLinkTel1" name="appealLinkTel1" value="${person.LinkTel1!''}"/>
  1246. <input type="hidden" id="FilialeID" name="appeal.FilialeID" value="${appeal.FilialeID!''}"/>
  1247. <input type="hidden" id="CentreCompanyID" name="appeal.CentreCompanyID" value="${appeal.CentreCompanyID!''}"/>
  1248. <input type="hidden" id="BusinessHallID" name="appeal.BusinessHallID" value="${appeal.BusinessHallID!''}"/>
  1249. <input type="hidden" id="appealDoState" name="appeal.DoState" value="${appeal.DoState!''}"/>
  1250. <input type="hidden" id="InsceTypeName1" name="appeal.InsceTypeName1" value="${appeal.InsceTypeName1!''}"/>
  1251. <input type="hidden" id="InsceTypeName2" name="appeal.InsceTypeName2" value="${appeal.InsceTypeName2!''}"/>
  1252. <input type="hidden" id="InsceTypeName3" name="appeal.InsceTypeName3" value="${appeal.InsceTypeName3!''}"/>
  1253. <input type="hidden" id=Repcomplaints name="appeal.Repcomplaints" value="${appeal.Repcomplaints!''}"/>
  1254. <input type="hidden" id="RepcomplaintsNum" name="appeal.RepcomplaintsNum" value="${appeal.RepcomplaintsNum!''}"/>
  1255. <input type="hidden" id="EndAppealDate" name="appeal.EndAppealDate" value="${appeal.EndAppealDate!''}"/>
  1256. <input type="hidden" id="appealComplaintTypeName1" name="appeal.ComplaintTypeName1" value="${appeal.ComplaintTypeName1!''}"/>
  1257. <input type="hidden" id="appealComplaintTypeName2" name="appeal.ComplaintTypeName2" value="${appeal.ComplaintTypeName2!''}"/>
  1258. <input type="hidden" id="appealReasonName1" name="appeal.ReasonName1" value="${appeal.ReasonName1!''}"/>
  1259. <input type="hidden" id="appealReasonName2" name="appeal.ReasonName2" value="${appeal.ReasonName2!''}"/>
  1260. <input type="hidden" id="appealReasonName3" name="appeal.ReasonName3" value="${appeal.ReasonName3!''}"/>
  1261. <input type="hidden" id="appealAskTypeName1" name="appeal.AskTypeName1" value="${appeal.AskTypeName1!''}"/>
  1262. <input type="hidden" id="appealAskTypeName2" name="appeal.AskTypeName2" value="${appeal.AskTypeName2!''}"/>
  1263. <input type="hidden" id="appealAskTypeName3" name="appeal.AskTypeName3" value="${appeal.AskTypeName3!''}"/>
  1264. <input type="hidden" id="RespondentNumber" name="appeal.RespondentNumber" value="${appeal.RespondentNumber!''}"/>
  1265. <input type="hidden" id="AskTimeBlockName" name="appeal.AskTimeBlockName" value="${appeal.AskTimeBlockName!''}"/>
  1266. <input type="hidden" id="NotTallyInfo" name="appeal.NotTallyInfo" value="${appeal.NotTallyInfo!''}"/>
  1267. <input type="hidden" id="NotTallyState" name="appeal.NotTallyState" value="${appeal.NotTallyState!''}"/>
  1268. <input type="hidden" id="NotTallyPay" name="appeal.NotTallyPay" value="${appeal.NotTallyPay!''}"/>
  1269. <input type="hidden" id="NotTallyCorrect" name="appeal.NotTallyCorrect" value="${appeal.NotTallyCorrect!''}"/>
  1270. <input type="hidden" id="NotTallyClaims" name="appeal.NotTallyClaims" value="${appeal.NotTallyClaims!''}"/>
  1271. <input type="hidden" id="NotTallyOther" name="appeal.NotTallyOther" value="${appeal.NotTallyOther!''}"/>
  1272. <input type="hidden" id="RespondentModel" name="RespondentModel" value=""/>
  1273. <input type="hidden" id="FilialeName" name="appeal.FilialeName" value="${appeal.FilialeName!''}"/>
  1274. <input type="hidden" id="CentreCompanyName" name="appeal.CentreCompanyName" value="${appeal.CentreCompanyName!''}"/>
  1275. <input type="hidden" id="BusinessHallName" name="appeal.BusinessHallName" value="${appeal.BusinessHallName!''}"/>
  1276. <input type="hidden" id="AppealID" name="transact.AppealID" value="${appealID!''}"/>
  1277. <input type="hidden" id="PersonID" name="transact.PersonID" value="${person.PersonID!''}"/>
  1278. <input type="hidden" id="TName" name="transact.TName" value="${person.TName!''}"/>
  1279. <input type="hidden" id="LinkTel1" name="transact.LinkTel1" value="${person.LinkTel1!''}"/>
  1280. <input type="hidden" id="SerialNumber" name="transact.SerialNumber" value="${appeal.SerialNumber!''}"/>
  1281. <input type="hidden" id="AppealDate" name="transact.AppealDate" value="${appeal.AppealDate!''}"/>
  1282. <input type="hidden" id="AppealType" name="transact.AppealType" value="${appeal.AppealType!''}"/>
  1283. <input type="hidden" id="AppealSource" name="transact.AppealSource" value="${appeal.AppealSource!''}"/>
  1284. <input type="hidden" id="LimitEndDate" name="transact.LimitEndDate" value="${appeal.LimitEndDate!''}"/>
  1285. <input type="hidden" id="transactDoState" name="transact.DoState" value=""/>
  1286. <input type="hidden" id="TransactOrgID" name="transact.TransactOrgID" value="${user.OrgID}"/>
  1287. <input type="hidden" id="TransactOrgName" name="transact.TransactOrgName" value="${user.OrgName}"/>
  1288. <input type="hidden" id="TransactUserID" name="transact.TransactUserID" value="${user.UserID}"/>
  1289. <input type="hidden" id="TransactUserName" name="transact.TransactUserName" value="${user.UserName}"/>
  1290. <input type="hidden" id="LimitDaysType" name="transact.LimitDaysType" value="${dateType!}"/>
  1291. <input type="hidden" id="transactDoState" name="transact.DoState" value="归档"/>
  1292. <input type="hidden" id="transactNewFlag" name="transact.NewFlag" value="true"/>
  1293. <input type="hidden" id="LimitDaysType" name="transact.LimitDaysType" value="${dateType!}"/>
  1294. <input type="hidden" id="FileSelectFlag" name="FileSelectFlag" value="true"/>
  1295. </div>
  1296. <div class="container-fluid" style="margin-top:15px;">
  1297. <div class="panel panel-primary">
  1298. <div class="panel-heading">
  1299. <div style="display:inline;" >客户信息 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
  1300. <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>
  1301. </div>
  1302. <div id="collapsePerson" class="panel-collapse collapse in">
  1303. <div class="panel-body" style="font-size:14px">
  1304. <div class="row" style="padding:5px" >
  1305. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1306. <label class="control-label" for="TName" >姓名</label></div>
  1307. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback" >
  1308. <input type="text" class="form-control" value="${person.TName!''}" id="TName" name="person.TName" readonly>
  1309. </div>
  1310. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1311. <label class="control-label" for="CardType">证件类型</label></div>
  1312. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2" >
  1313. <input type="text" class="form-control" value="${person.CardType!''}" readonly>
  1314. </div>
  1315. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1316. <label class="control-label" for="IDCard">证件号码</label></div>
  1317. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2" >
  1318. <input type="text" class="form-control" value="${person.IDCard!''}" placeholder="" id="IDCard" name="person.IDCard" readonly>
  1319. </div>
  1320. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" align=left>
  1321. <label class="control-label" for="TSex" style="text-align:left;width:100%" >性别</label></div>
  1322. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2" >
  1323. <input type="text" class="form-control" value="${person.TSex!''}" readonly>
  1324. </div>
  1325. </div>
  1326. <div class="row" style="padding:5px">
  1327. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 " >
  1328. <label class="control-label" for="Birthday">出生日期</label>
  1329. </div>
  1330. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 ">
  1331. <input type="text" class="form-control" value="${person.Birthday!''}" readonly>
  1332. </div>
  1333. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 " >
  1334. <label class="control-label" for="Age">投诉时年龄</label>
  1335. </div>
  1336. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 ">
  1337. <input type="text" class="form-control" value="${appeal.Age!''}" readonly >
  1338. </div>
  1339. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1340. <label class="control-label" for="LinkTel1">联系电话1</label></div>
  1341. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1342. <input type="text" class="form-control" value="${person.LinkTel1!''}" id="LinkTel1" name="person.LinkTel1" maxlength="20" readonly>
  1343. </div>
  1344. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1345. <label class="control-label" for="LinkTel2">联系电话2</label></div>
  1346. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1347. <input type="text" class="form-control" value="${person.LinkTel2!''}" readonly>
  1348. </div>
  1349. </div>
  1350. <div class="row" style="padding:5px">
  1351. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1352. <label class="control-label" for="ProvinceID">省</label></div>
  1353. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1354. <input type="text" class="form-control" value="${person.ProvinceName!''}" readonly>
  1355. </div>
  1356. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1357. <label class="control-label" for="AreaID">地市</label></div>
  1358. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1359. <input type="text" class="form-control" value="${person.AreaName!''}" readonly>
  1360. </div>
  1361. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1362. <label class="control-label" for="CountyID">区县</label></div>
  1363. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1364. <input type="text" class="form-control" value="${person.CountyName!''}" readonly>
  1365. </div>
  1366. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1367. <label class="control-label" for="TownAddress" title="详细地址">详细地址</label></div>
  1368. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1369. <input type="text" class="form-control" value="${person.TownAddress!''}" readonly>
  1370. </div>
  1371. </div>
  1372. <div class="row" style="padding:5px">
  1373. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1374. <label class="control-label" for="Postalcode">邮编</label></div>
  1375. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1376. <input type="text" class="form-control" value="${person.Postalcode!''}" readonly>
  1377. </div>
  1378. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1379. <label class="control-label" for="EMail">电子邮箱</label></div>
  1380. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1381. <input type="text" class="form-control" value="${person.EMail!''}" readonly>
  1382. </div>
  1383. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1384. <label class="control-label" for="StatusName">客户身份</label>
  1385. </div>
  1386. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback" >
  1387. <input type="text" class="form-control" value="${person.StatusName!''}" readonly>
  1388. </div>
  1389. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1390. <label class="control-label" for="TiesName">与投保人关系</label>
  1391. </div>
  1392. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback" >
  1393. <input type="text" class="form-control" value="${person.TiesName!''}" readonly>
  1394. </div>
  1395. </div>
  1396. </div>
  1397. </div>
  1398. </div>
  1399. ${compactInfoList!''}
  1400. <div class="panel panel-info">
  1401. <div class="panel-heading">
  1402. <div style="display:inline;" >被诉人信息 &nbsp;&nbsp;&nbsp;&nbsp;</div>
  1403. <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>
  1404. </div>
  1405. <div id="collapseRespondent" class="panel-collapse collapse in">
  1406. <div class="panel-body" style="font-size:14px" id=ComplainPersonObj>
  1407. <div class="row" style="padding:5px" id="respondent_2" >
  1408. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1409. <label class="control-label" for="FilialeID">被诉机构</label>
  1410. </div>
  1411. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1412. <input type="text" class="form-control" value="${appeal.FilialeName!''}" readonly >
  1413. </div>
  1414. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1415. <label class="control-label" for="CentreCompanyID">三级机构</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="${appeal.CentreCompanyName!''}" readonly >
  1419. </div>
  1420. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1421. <label class="control-label" for="CentreCompanyID">四级机构</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.CompanyName4!''}" readonly >
  1425. </div>
  1426. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1427. <label class="control-label" for="RespondentName">姓名</label>
  1428. </div>
  1429. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1430. <input type="text" class="form-control" value="${appeal.RespondentName!''}" readonly >
  1431. </div>
  1432. </div>
  1433. </div>
  1434. </div>
  1435. </div>
  1436. <div class="panel panel-warning">
  1437. <div class="panel-heading">
  1438. <div style="display:inline;" >客诉事项信息 &nbsp;&nbsp;</div>
  1439. <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>
  1440. </div>
  1441. <div id="collapseAppeal" class="panel-collapse collapse in">
  1442. <div class="panel-body" style="font-size:14px">
  1443. <div class="row" style="padding:5px">
  1444. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1445. <label class="control-label" for="Question" style="line-height:100px;">事由</label>
  1446. </div>
  1447. <div class="col-xs-11 col-sm-11 col-md-11 col-lg-11 has-error has-feedback">
  1448. <textarea class="form-control" rows="5" id="Question" name="appeal.Question" maxlength="2000" readonly>${appeal.Question!''}</textarea>
  1449. </div>
  1450. </div>
  1451. <div class="row" style="padding:5px">
  1452. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1453. <label class="control-label" >诉求类别</label>
  1454. </div>
  1455. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1456. <input type="text" class="form-control" value="${appeal.AskTypeName1!''}" readonly >
  1457. </div>
  1458. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1459. <label class="control-label" >具体诉求</label>
  1460. </div>
  1461. <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 has-error has-feedback">
  1462. <input type="text" class="form-control" value="${appeal.AskInfo!''}" readonly >
  1463. </div>
  1464. </div>
  1465. <div class="row" style="padding:5px">
  1466. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1467. <label class="control-label" for="InsceTypeID1">险种类别</label>
  1468. </div>
  1469. <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1470. <input type="text" class="form-control" value="${appeal.InsceTypeName1!''}" readonly>
  1471. </div>
  1472. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1473. <label class="control-label" for="InsceTypeID2">二级类别</label>
  1474. </div>
  1475. <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1476. <input type="text" class="form-control" value="${appeal.InsceTypeName2!''}" readonly>
  1477. </div>
  1478. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1479. <label class="control-label" for="InsceTypeID3">三级类别</label>
  1480. </div>
  1481. <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1482. <input type="text" class="form-control" value="${appeal.InsceTypeName3!''}" readonly>
  1483. </div>
  1484. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
  1485. <label class="control-label" for="InsceTypeID3">监管编号</label>
  1486. </div>
  1487. <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 ">
  1488. <input type="text" class="form-control" value="${appeal.ForeignKeyID!''}" readonly>
  1489. </div>
  1490. </div>
  1491. <div class="row" style="padding:5px">
  1492. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1493. <label class="control-label" for="AppealType">客诉类别</label>
  1494. </div>
  1495. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1496. <input type="text" class="form-control" value="${appeal.AppealType!''}" readonly>
  1497. </div>
  1498. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1499. <label class="control-label" for="AppealSourceID">投诉来源</label>
  1500. </div>
  1501. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1502. <input type="text" class="form-control" value="${appeal.AppealSource!''}" readonly>
  1503. </div>
  1504. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1505. <label class="control-label" for="AppealDate">投诉时间</label>
  1506. </div>
  1507. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1508. <input type="text" class="form-control" id="AppealDate" name="appeal.AppealDate" value="${appeal.AppealDate!''}" readonly>
  1509. </div>
  1510. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1511. <label class="control-label" for="AcceptDate">受理时间</label>
  1512. </div>
  1513. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1514. <input type="text" class="form-control" value="${appeal.AcceptDate!''}" readonly>
  1515. </div>
  1516. </div>
  1517. <div class="row" style="padding:5px" >
  1518. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1519. <label class="control-label" for="ComplaintTypeID1">投诉分级</label>
  1520. </div>
  1521. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1522. <input type="text" class="form-control" value="${appeal.ComplaintTypeName1!''}" readonly>
  1523. </div>
  1524. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1525. <label class="control-label" >紧急程度</label>
  1526. </div>
  1527. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1528. <input type="text" class="form-control" value="${appeal.UrgentLevel!''}" readonly>
  1529. </div>
  1530. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1531. <label class="control-label" for="IsGroup">是否群诉</label>
  1532. </div>
  1533. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback" >
  1534. <input type="text" class="form-control" value="${appeal.IsGroup!''}" readonly>
  1535. </div>
  1536. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1537. <label class="control-label" for="ComplaintPersonNum">投诉人数量</label>
  1538. </div>
  1539. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1540. <input type="text" class="form-control" value="${appeal.ComplaintPersonNum!''}" readonly>
  1541. </div>
  1542. </div>
  1543. <div class="row" style="padding:5px" >
  1544. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1545. <label class="control-label" for="ReasonID1">投诉原因</label>
  1546. </div>
  1547. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1548. <input type="text" class="form-control" value="${appeal.ReasonName1!''}" readonly>
  1549. </div>
  1550. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1551. <label class="control-label" for="ReasonID2">二级原因</label>
  1552. </div>
  1553. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1554. <input type="text" class="form-control" value="${appeal.ReasonName2!''}" readonly>
  1555. </div>
  1556. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 " >
  1557. <label class="control-label" for="ReasonID3">三级原因</label>
  1558. </div>
  1559. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 ">
  1560. <input type="text" class="form-control" value="${appeal.ReasonName3!''}" readonly>
  1561. </div>
  1562. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1563. <label class="control-label" for="ReasonID4">四级原因</label>
  1564. </div>
  1565. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1566. <input type="text" class="form-control" value="${appeal.ReasonName4!''}" readonly>
  1567. </div>
  1568. </div>
  1569. <div class="row" style="padding:5px">
  1570. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
  1571. <label class="control-label" for="AskInfo">热词</label>
  1572. </div>
  1573. <div class="col-xs-12 col-sm-11 col-md-11 col-lg-11">
  1574. <input type="text" class="form-control" value="${appeal.HotWord!''}" readonly>
  1575. </div>
  1576. </div>
  1577. <div class="row" style="padding:5px" >
  1578. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  1579. <label class="control-label" for="LimitDays">办理时限</label>
  1580. </div>
  1581. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1582. <div class="input-group">
  1583. <input type="text" class="form-control" value="${appeal.LimitDays!''}" placeholder="" id="LimitDays" name="appeal.LimitDays" readonly>
  1584. <span class="input-group-addon" id="basic-addon2">${appeal.LimitDaysType!''}</span>
  1585. </div>
  1586. </div>
  1587. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  1588. <label class="control-label" for="LimitEndDate">截止日期</label>
  1589. </div>
  1590. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1591. <input type="text" class="form-control" value="${appeal.LimitEndDate!''}" id="LimitEndDate" name="appeal.LimitEndDate" readonly>
  1592. </div>
  1593. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  1594. <label class="control-label" for="ViseTimes">督办次数</label>
  1595. </div>
  1596. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1597. <input type="text" class="form-control" value="${appeal.ViseTimes!''}" id="ViseTimes" name="appeal.ViseTimes" readonly>
  1598. </div>
  1599. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  1600. <label class="control-label" for="RepcomplaintsNum">并案次数</label>
  1601. </div>
  1602. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
  1603. <input type="text" class="form-control" value="${appeal.RepcomplaintsNum!''}" id="RepcomplaintsNum" name="appeal.RepcomplaintsNum" readonly>
  1604. </div>
  1605. </div>
  1606. </div>
  1607. </div>
  1608. </div>
  1609. ${soundPanel!''}
  1610. ${subjoinPanel!''}
  1611. ${transactList!''}
  1612. ${researchInfo!''}
  1613. ${opinionInfo!''}
  1614. ${draftInfo!''}
  1615. ${endInfo!''}
  1616. ${superviseEndInfo!''}
  1617. ${archiveInfo!''}
  1618. <div class="panel panel-primary" >
  1619. <div class="panel-heading">
  1620. <div style="display:inline;" >投诉件质检&nbsp;&nbsp;</div>
  1621. </div>
  1622. <div id="collapseDoFlow" class="panel-collapse collapse in">
  1623. <div class="panel-body" style="font-size:14px">
  1624. <div class="row" style="padding:1px;">
  1625. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
  1626. <label class="control-label" for="QualityIdea" style="text-align:left;width:100%;padding-top:24px;" >质检评语</label>
  1627. </div>
  1628. <div class="col-xs-12 col-sm-11 col-md-11 col-lg-11 has-error has-feedback">
  1629. <textarea class="form-control" rows="3" value="" placeholder="" id="QualityIdea" name="appeal.QualityIdea" vmode="not null" vdisp="质检评语" vtype="string"></textarea>
  1630. </div>
  1631. </div>
  1632. <div class="row" style="padding:5px" >
  1633. <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" style="text-align:left">
  1634. <label class="control-label" for="QualityScore" >质检得分</label>
  1635. </div>
  1636. <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2 has-error has-feedback">
  1637. <input type="text" class="form-control" placeholder="百分制" id="QualityScore" name="appeal.QualityScore" maxlength="3" vmode="not null" vdisp="质检得分" vtype="integer">
  1638. </div>
  1639. </div>
  1640. </div>
  1641. </div>
  1642. </div>
  1643. <div class="row" style="padding:5px">
  1644. <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" align=center>
  1645. <button type="button" class="btn btn-primary" id="SubmitQualityButton" onClick="submitQuality()"><span class="glyphicon glyphicon-save"> 提交
  1646. </button>
  1647. &nbsp;&nbsp;&nbsp;&nbsp;
  1648. <button type="button" class="btn btn-success" onClick="window.close()"><span class="glyphicon glyphicon-remove"> 关闭
  1649. </button>
  1650. </div>
  1651. </div>
  1652. </div>
  1653. </form>
  1654.  
  1655. <!-- 办理轨迹信息弹出页面,模态框(Modal) -->
  1656. <div class="modal fade" id="detailModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  1657. <div class="modal-dialog"  role="document" style="width:1100px">  >  
  1658. <div class="modal-content">
  1659. <div class="modal-header">
  1660. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
  1661. &times;
  1662. </button>
  1663. <h3 class="modal-title" id="myModalLabel">
  1664. <span class="label label-danger">办理详情</span>
  1665. </h3>
  1666. </div>
  1667. <div class="modal-body" id=TransactDetail >
  1668. 正在紧张开发中,稍安勿躁,拜托别往问题系统提了!
  1669. </div>
  1670. <div class="modal-footer">
  1671. <button type="button" class="btn btn-primary" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span> 关闭
  1672. </button>
  1673. </div>
  1674. </div><!-- /.modal-content -->
  1675. </div><!-- /.modal -->
  1676. </div>
  1677. <!-- 选择办理意见模板页面,模态框(Modal) -->
  1678. <div class="modal fade" id="TransactIdeaModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  1679. <div class="modal-dialog"  role="document" style="width:600px;height:500px;">  >  
  1680. <div class="modal-content">
  1681. <div class="modal-header">
  1682. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
  1683. &times;
  1684. </button>
  1685. </div>
  1686. <div class="modal-body">
  1687. <div class="row" style="padding:1px" >
  1688. <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" >
  1689. <label class="control-label" style="text-align:left;padding-top:7px;width:100%" >选择办理意见模板:</label>
  1690. </div>
  1691. <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6 ">
  1692. <select id="TransactIdeaTemplet" name="TransactIdeaTemplet" onChange="getTransactIdea()" class="form-control" >
  1693. <option value="">请选择</option>
  1694. ${TransactIdeaTemplet!''}
  1695. </select>
  1696. </div>
  1697. </div>
  1698. </div>
  1699. <div class="modal-footer">
  1700. </div>
  1701. </div><!-- /.modal-content -->
  1702. </div><!-- /.modal -->
  1703. </div>   
  1704.  
  1705. <script>
  1706. $(".ystep4").loadStep({
  1707. size: "large",
  1708. color: "blue",
  1709. steps: [{
  1710. title: "受理",
  1711. content: "客诉件通过各种客诉渠道在受理环节进入客诉系统"
  1712. },{
  1713. title: "办理",
  1714. content: "各机构办理人员在该环节处理客诉件"
  1715. },{
  1716. title: "审核",
  1717. content: "客诉件办理完成提交审核"
  1718. },{
  1719. title: "结案",
  1720. content: "客诉件结案审核通过"
  1721. },{
  1722. title: "归档",
  1723. content: "客诉件质检通过"
  1724. }]
  1725. });
  1726. $(".ystep4").setStep(${iStep!''});
  1727. function seeCollapseUpgradeAfter() {
  1728. var appealid = "${appeal.UpgradeAfterAppealID!''}";
  1729. fullOpen("${ctx}/myconsole/complaint/register/seeData?appealid="+appealid);
  1730. }
  1731. </script>
  1732. </body>
  1733. </html>