1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364 |
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="renderer" content="webkit|ie-comp|ie-stand">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
- <meta http-equiv="Cache-Control" content="no-siteapp" />
- <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-3.3.7/css/bootstrap.min.css">
- <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/default.css">
- <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/fileinput.css">
- <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-spinner/bootstrap-spinner.css">
- <link rel="stylesheet" href="${ctx}/assets/lib/font-awesome-4.7.0/css/font-awesome.css">
- <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/zTree/v3/css/zTreeStyle/zTreeStyle.css" >
- <script type="text/javascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/fileinput.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/locales/zh.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-3.3.7/js/bootstrap.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/zTree/v3/js/jquery.ztree.all-3.5.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-spinner/jquery.spinner.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/crypto-js-4.1.1/crypto-js.js"></script>
- <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
- <script src="${ctx}/assets/js/validate.js" ></script>
-
- <script type="text/javascript">
- function doSubmit(){
- doTrim(form1);
- if(doValidate(form1))
- {
- var limitEndDate=$("#LimitEndDate").val();
- if(limitEndDate!="")
- {
- $("#transactLimitEndDate").val(limitEndDate);
- }
- var linkTel1=$("#LinkTel1").val();
- if(linkTel1.substring(0,1)=="1"&&linkTel1.length!=11)
- {
- layer.msg("手机号码必须为11位!");
- $("#LinkTel1").focus();
- return false;
- }
-
- $("#EndButton").attr("disabled",'disabled');
- $("#SubmitButton").attr("disabled",'disabled');
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/savePutFlowData');
- $('#form1').ajaxSubmit(resultHandle);
- }
- }
- function resultHandle(data){
- var res=eval('(' + data + ')');
- if(res.flag){
- layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 1},
- function(){
- layer.closeAll('dialog');
- window.parent.opener.location.reload();
- window.parent.close();
- });
-
- }else{
- if(res.flag == false)
- {
- layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
- }
- //非财险客诉件返回数据调用
- function doNotData(){
- $('#form1').attr('action','${ctx}/myconsole/complaint/interface/judgeWebBSData');
- $('#form1').ajaxSubmit(resultWebSiteHandle);
- }
- function resultWebSiteHandle(data){
- var res=eval('(' + data + ')');
- if(res.flag){
- layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 1},
- function(){
- layer.closeAll('dialog');
- window.parent.opener.location.reload();
- window.parent.close();
- });
- }else{
- if(res.flag == false)
- {
- layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
- }
- //悬浮姓名失去焦点处理
- function blurTNme()
- {
- var navTName=$("#navTName").val();
- $("#TName").val(navTName);
- }
- //
- function blurIDCard()
- {
- var navIDCard=$("#navIDCard").val();
- $("#IDCard").val(navIDCard);
- }
- //
- function blurLinkTel1()
- {
- var navLinkTel1=$("#navLinkTel1").val();
- $("#LinkTel1").val(navLinkTel1);
-
- if(navLinkTel1.substring(0,1)=="1"&&navLinkTel1.length!=11)
- {
- layer.msg("手机号码必须为11位!");
- $("#navLinkTel1").focus();
- return false;
- }
- }
- //判断电话是否为手机
- function telIsMobile()
- {
- var linkTel1=$("#LinkTel1").val();
- if(linkTel1.substring(0,1)=="1"&&linkTel1.length!=11)
- {
- layer.msg("手机号码必须为11位!");
- return false;
- }
- else
- {
- return true;
- }
- }
- //
- function setLinkPerson()
- {
- var personType=$("#PersonType").val();
- var tName=$("#TName").val();
- $("#navTName").val(tName);
- if(personType=='自然人')
- {
- var linkPerson=$("#TName").val();
- $("#LinkPerson").val(linkPerson);
- }
- else
- {
- $("#LinkPerson").val("");
- }
-
- }
- //根据人员类别选择证件信息2017-08-19
- function setLabelTName()
- {
- var personType=$("#PersonType").val();
- if(personType=='')
- {
- $("#Label_TName").text("姓名");
- $("#Label_navTName").text("姓名");
- $("#CardType").empty();
- $("#CardType").append("<option value=''>请选择</option>");
- $("#LinkPerson").attr("vmode","");
- $("#LinkPersonDiv1").removeClass("has-error has-feedback");
- $("#LinkPersonDiv2").removeClass("has-error has-feedback");
-
-
- }
- if(personType=='自然人')
- {
- $("#Label_TName").text("姓名");
- $("#Label_navTName").text("姓名");
- $("#CardType").empty();
- $("#CardType").append("<option value='居民身份证'>居民身份证</option>");
- $("#CardType").append("<option value='护照'>护照</option>");
- $("#CardType").append("<option value='军人证'>军人证</option>");
- $("#CardType").append("<option value='其他'>其他</option>");
- $("#LinkPerson").attr("vmode","");
- $("#LinkPersonDiv1").removeClass("has-error has-feedback");
- $("#LinkPersonDiv2").removeClass("has-error has-feedback");
-
-
- }
- if(personType=='非自然人')
- {
- $("#Label_TName").text("单位名称");
- $("#Label_navTName").text("单位名称");
- $("#CardType").empty();
- $("#CardType").append("<option value='统一社会信用代码'>统一社会信用代码</option>");
- $("#CardType").append("<option value='组织机构代码'>组织机构代码</option>");
- $("#LinkPerson").attr("vmode","not null");
- $("#LinkPersonDiv1").addClass("has-error has-feedback");
- $("#LinkPersonDiv2").addClass("has-error has-feedback");
- }
- }
- //设置导航条身份证号码
- function setNavIDCard()
- {
- var idCard=$("#IDCard").val();
- $("#navIDCard").val(idCard);
-
- }
- //设置导航条联系电话
- function setNavLinkTel1()
- {
- var linkTel1=$("#LinkTel1").val();
- $("#navLinkTel1").val(linkTel1);
-
- }
- //验证身份证信息
- function setIDCard()
- {
- var cardType=$("#CardType").val();
- if(cardType=='居民身份证')
- {
- $("#IDCard").attr("vtype","idcard");
- }
- else
- {
- $("#IDCard").attr("vtype","string");
- }
-
- }
- //根据投诉人姓名,证件类型,证件号码判重
- function repeatIDCard()
- {
- var tName=$("#TName").val();
- var cardType=$("#CardType").val();
- var idCard=$("#IDCard").val();
- var personType=$("#PersonType").val();
- if(tName!=""&&cardType!=""&&cardType!="")
- {
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/repeatIDCard');
- $('#form1').ajaxSubmit(setPersonData);
- }
- else
- {
- var alertInfo="";
- if(personType=="自然人"||personType=="")
- {
- alertInfo="投诉人姓名,证件类型,证件号码都必须填写!";
- }
- else
- {
- alertInfo="单位名称,证件类型,证件号码都必须填写!";
- }
- layer.alert(alertInfo, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
- function repeatLinkTel(doType)
- {
- var linkTel1=$("#LinkTel1").val();
- if(linkTel1!="")
- {
- if(telIsMobile())
- {
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/repeatLinkTel');
- $('#form1').ajaxSubmit(setPersonData);
- }
-
- }
- else
- {
- if(doType=="assign")
- {
- var alertInfo="联系电话必须填写!";
- layer.alert(alertInfo, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
- }
- //回写投诉人判重数据
- function setPersonData(data){
- var personJson = JSON.parse(data);
- var flag=personJson.flag;
- if(flag)
- {
- var person=personJson.person;
- $("#Modal_PersonType").val(person.persontype);
- $("#Modal_TName").val(person.tname);
- $("#Modal_Status").val(person.status);
- $("#Modal_CardType").val(person.cardtype);
- $("#Modal_IDCard").val(person.idcard);
- $("#Modal_LinkTel1").val(person.linktel1);
- $("#Modal_TownAddress").val(person.townaddress);
- $("#Modal_PersonID").val(person.personid);
-
- $("#Modal_LinkTel2").val(person.linktel2);
- $("#Modal_WechatNo").val(person.wechatno);
- $("#Modal_LinkPerson").val(person.linkperson);
- $("#Modal_ProvinceID").val(person.provinceid);
- $("#Modal_ProvinceName").val(person.provincename);
- $("#Modal_AreaID").val(person.areaid);
- $("#Modal_AreaName").val(person.areaname);
- $("#Modal_CountyID").val(person.countyid);
- $("#Modal_CountyName").val(person.countyname);
- $("#Modal_Postalcode").val(person.postalcode);
- $("#Modal_EMail").val(person.email);
-
- $("#Modal_Appeal").find("tr:not(:first)").remove();
-
- var listAppeal=eval(personJson.listAppeal);
- listAppeal.forEach(function(item,index)
- {
- if(item.serialnumber==null){
- $("#Modal_Appeal").append("<tr><td></td><td>"+item.appealdate+"</td><td>"+item.appealsource+"</td><td>"+item.appealtype+"</td><td></td></tr>");
- }else{
- $("#Modal_Appeal").append("<tr><td>"+item.appealdate+"</td><td>"+item.appealsource+"</td><td>"+item.appealtype+"</td><td><button class='btn btn-primary radius size-S' onclick=seeRepeatData('"+item.appealid+"')>查看详细</button></td></tr>");
-
- }
- })
-
- $('#repeatModal').modal({
- backdrop: 'static',
- keyboard: false
- })
-
- }
- else
- {
- layer.alert("该投诉人为首次投诉!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
-
- }
- }
- function repeatPerson()
- {
- var modal_PersonID=$("#Modal_PersonID").val();
-
- $("#Modal_PersonRepeatFlag").val("true");
- $("#PersonType").val($("#Modal_PersonType").val());
- $("#PersonType").attr("readOnly","true");
- setLabelTName();
- $("#TName").val($("#Modal_TName").val());
- $("#TName").attr("readOnly","true");
- $("#Status").val($("#Modal_Status").val());
- $("#Status").attr("readOnly","true");
- $("#CardType").val($("#Modal_CardType").val());
- $("#CardType").attr("readOnly","true");
-
- $("#IDCard").val($("#Modal_IDCard").val());
- $("#IDCard").attr("readOnly","true");
- $("#PersonID").val($("#Modal_PersonID").val());
-
- $("#LinkTel1").val($("#Modal_LinkTel1").val());
- $("#LinkTel1").attr("readOnly","true");
- $("#LinkTel2").val($("#Modal_LinkTel2").val());
- $("#LinkTel2").attr("readOnly","true");
-
- $("#TownAddress").val($("#Modal_TownAddress").val());
- $("#TownAddress").attr("readOnly","true");
- $("#Postalcode").val($("#Modal_Postalcode").val());
- $("#Postalcode").attr("readOnly","true");
- $("#WechatNo").val($("#Modal_WechatNo").val());
- $("#WechatNo").attr("readOnly","true");
- $("#EMail").val($("#Modal_EMail").val());
- $("#EMail").attr("readOnly","true");
- $("#LinkPerson").val($("#Modal_LinkPerson").val());
- $("#LinkPerson").attr("readOnly","true");
-
-
- $("#ProvinceID").val($("#Modal_ProvinceID").val());
- $("#ProvinceID").attr("readOnly","true");
- $("#ProvinceName").val($("#Modal_ProvinceName").val());
- $("#AreaID").empty();
- $("#AreaID").append("<option value='"+$("#Modal_AreaID").val()+"'>"+$("#Modal_AreaName").val()+"</option>");
- $("#AreaID").attr("readOnly","true");
- $("#CountyID").empty();
- $("#CountyID").append("<option value='"+$("#Modal_CountyID").val()+"'>"+$("#Modal_CountyName").val()+"</option>");
- $("#CountyID").attr("readOnly","true");
-
- $('#repeatModal').modal('hide');
-
- }
- //根据省取地市数据
- function setAreaID(strModel)
- {
- var provinceID=$('#'+strModel+"ProvinceID").val();
- if(provinceID!='')
- {
- var provinceName=$('#'+strModel+"ProvinceID").find("option:selected").text();
- $('#'+strModel+"ProvinceName").val(provinceName);
- $("#form1").attr("action","${ctx}/myconsole/complaint/register/getAreaIDData?ParentID="+provinceID);
- $("#form1").ajaxSubmit(setAreaIDData);
- $('#ProvinceModel').val(strModel);
- }
- else
- {
- $('#'+strModel+"ProvinceName").val("");
- $('#'+strModel+"AreaID").empty();
- $('#ProvinceModel').val(strModel);
- }
- }
- //回写json地市数据
- function setAreaIDData(data){
-
- var strModel=$('#ProvinceModel').val();
- $('#'+strModel+"AreaID").empty();
- $('#'+strModel+"AreaID").append("<option value=''>请选择</option>");
- var listRegionJson = JSON.parse(data);
- var postalCode=listRegionJson.PostalCode;
- var listregion=eval(listRegionJson.ListRegion);
- $.each(listregion,function(index,item)
- {
- $('#'+strModel+"AreaID").append("<option value='"+item.tid+"'>"+item.tname+"</option>");
- })
- }
- function setAreaName(strModel)
- {
- var areaID=$('#'+strModel+"AreaID").val();
- if(areaID!='')
- {
- var areaName=$('#'+strModel+"AreaID").find("option:selected").text();
- $('#'+strModel+"AreaName").val(areaName);
- }
- else
- {
- $('#'+strModel+"AreaName").val("");
- }
- }
- //回写json区县数据
- function setCountyID(strModel)
- {
- var strAreaID=$('#'+strModel+"AreaID").val();
- if(strAreaID!='')
- {
- var strAreaName=$('#'+strModel+"AreaID").find("option:selected").text();
- $('#'+strModel+"AreaName").val(strAreaName);
- $("#form1").attr("action","${ctx}/myconsole/complaint/register/getAreaIDData?ParentID="+strAreaID);
- $("#form1").ajaxSubmit(setCountyIDData);
- $('#ProvinceModel').val(strModel);
- }
- else
- {
- $('#'+strModel+"AreaName").val("");
- $('#'+strModel+"CountyID").empty();
- $('#ProvinceModel').val(strModel);
- }
- }
- function setCountyIDData(data){
- var strModel=$('#ProvinceModel').val();
- $('#'+strModel+"CountyID").empty();
- $('#'+strModel+"CountyID").append("<option value=''>请选择</option>");
- var listRegionJson = JSON.parse(data);
-
- var postalCode=listRegionJson.PostalCode;
- var listregion=eval(listRegionJson.ListRegion);
- listregion.forEach(function(item,index)
- {
- $('#'+strModel+"CountyID").append("<option value='"+item.tid+"'>"+item.tname+"</option>");
- })
- $("#Postalcode").val(postalCode);
- }
- //设置详细地址
- function setTownAddress(strModel)
- {
- if($('#'+strModel+"CountyID").val()!="")
- {
- var countyName=$('#'+strModel+"CountyID").find("option:selected").text();
- $('#'+strModel+"CountyName").val(countyName);
- $("#form1").attr("action","${ctx}/myconsole/complaint/register/getPostalCode");
- $("#form1").ajaxSubmit(setPostalCodeData);
- }
- else
- {
- $('#'+strModel+"CountyName").val("");
- }
- }
- //回写邮编数据
- function setPostalCodeData(data){
- $("#Postalcode").val(data);
- }
- //
- function setContractExist()
- {
- if($("#ContractExistFlag").is(":checked"))
- {
- $("#ContractExistFlag1").show();
- $("#ContractExistFlag2").show();
- $("#ContractExistFlag3").show();
- $("#ContractExistFlag4").show();
- $("#ContractExist").val("有保单");
- }
- else
- {
- $("#ContractExistFlag1").hide();
- $("#ContractExistFlag2").hide();
- $("#ContractExistFlag3").hide();
- $("#ContractExistFlag4").hide();
- $("#ContractExist").val("无保单");
- }
- }
- //根据一级投诉原因设置二级投诉原因
- function setReasonID2()
- {
- $("#ReasonID3").empty();
- var reasonID1=$('#ReasonID1').val();
- if(reasonID1!='')
- {
- var reasonName1=$("#ReasonID1").find("option:selected").text();
- $("#ReasonName1").val(reasonName1);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getReasonID2Data');
- $('#form1').ajaxSubmit(setReasonID2Data);
- }
- else
- {
- $("#ReasonID2").empty();
- $("#ReasonName1").val("");
- }
- }
- //回写原因二类字典数据
- function setReasonID2Data(data){
- $("#ReasonID2").empty();
- $("#ReasonID2").append("<option value=''>请选择</option>");
- $("#ReasonID2").append(data);
- }
- //根据二级投诉原因设置三级投诉原因
- function setReasonID3()
- {
- var reasonID2=$('#ReasonID2').val();
- if(reasonID2!='')
- {
- var reasonName2=$("#ReasonID2").find("option:selected").text();
- $("#ReasonName2").val(reasonName2);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getReasonID3Data');
- $('#form1').ajaxSubmit(setReasonID3Data);
- }
- else
- {
- $("#ReasonID3").empty();
- $("#ReasonName2").val("");
- }
- }
- //回写原因二类字典数据
- function setReasonID3Data(data){
- $("#ReasonID3").empty();
- $("#ReasonID3").append("<option value=''>请选择</option>");
- $("#ReasonID3").append(data);
- }
- //设置三级投诉原因名称
- function setReasonName3()
- {
- var reasonID3=$('#ReasonID3').val();
- if(reasonID3!='')
- {
- var reasonName3=$("#ReasonID3").find("option:selected").text();
- $("#ReasonName3").val(reasonName3);
- }
- else
- {
- $("#ReasonName3").val("");
- }
- }
- //根据被诉分公司选择中支公司信息
- function setCentreCompanyID(respondentModel)
- {
- if(respondentModel=="respondent")
- {
- var transactType=$("#TransactType").val();
- if(transactType=="转办")
- {
- $('#transactAppealState').val("办理");
- $("#appealDoState").val("办理");
- $("#transactDoState").val("已办理");
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/getAutoRule');
- $('#form1').ajaxSubmit(setAutoRule);
- }
- }
- var filialeID=$('#'+respondentModel+"FilialeID").val();
- if(filialeID!='')
- {
- var filialeName=$('#'+respondentModel+"FilialeID").find("option:selected").text();
- $('#'+respondentModel+"FilialeName").val(filialeName);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getCentreCompanyIDData?RespondentModel='+respondentModel);
- $('#form1').ajaxSubmit(setCentreCompanyIDData);
- $('#RespondentModel').val(respondentModel);
- }
- else
- {
- $("#"+respondentModel+"CentreCompanyID").empty();
- $('#'+respondentModel+"FilialeName").val("");
- }
- }
- //回写原因二类字典数据
- function setCentreCompanyIDData(data){
- var respondentModel=$('#RespondentModel').val();
- $("#"+respondentModel+"CentreCompanyID").empty();
- $("#"+respondentModel+"CentreCompanyID").append("<option value=''>请选择</option>");
- $("#"+respondentModel+"CentreCompanyID").append(data);
- }
- //
- function setBusinessHallID(respondentModel)
- {
- var centreCompanyID=$('#'+respondentModel+"FilialeID").val();
- if(centreCompanyID!='')
- {
- var centreCompanyName=$('#'+respondentModel+"FilialeID").find("option:selected").text();
- $('#'+respondentModel+"FilialeName").val(centreCompanyName);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getBusinessHallIDData?ParentID='+centreCompanyID);
- $('#form1').ajaxSubmit(setBusinessHallIDData);
- $('#RespondentModel').val(respondentModel);
- if(centreCompanyName=='总公司'||centreCompanyName=='中国人寿养老保险公司')
- {
- $('#'+respondentModel+"ProvinceID").val('110000');
- $('#'+respondentModel+"ProvinceName").val('北京市');
- $('#'+respondentModel+"AreaID").empty();
- $('#'+respondentModel+"AreaID").append("<option value='110102'>西城区</option>");
- $('#'+respondentModel+"AreaName").val('西城区');
- }
- else
- {
- var strProvinceID=$('#personProvinceID').val();
- var strProvinceName=$('#personProvinceName').val();
- var strAreaID=$('#personAreaID').val();
- var strAreaName=$('#personAreaName').val();
-
- $('#'+respondentModel+"ProvinceID").val(strProvinceID);
- $('#'+respondentModel+"ProvinceName").val(strProvinceName);
- $('#'+respondentModel+"AreaID").empty();
- $('#'+respondentModel+"AreaID").append("<option value='"+strAreaID+"'>"+strAreaName+"</option>");
- $('#'+respondentModel+"AreaName").val(strAreaName);
- }
- }
- else
- {
- $("#"+respondentModel+"BusinessHallID").empty();
- $('#'+respondentModel+"FilialeName").val("");
- }
- }
- //回写被诉网点数据
- function setBusinessHallIDData(data){
- var respondentModel=$('#RespondentModel').val();
- $("#"+respondentModel+"BusinessHallID").empty();
- $("#"+respondentModel+"BusinessHallID").append("<option value=''>请选择</option>");
- $("#"+respondentModel+"BusinessHallID").append(data);
- if(respondentModel=="respondent")
- {
- var transactType=$("#TransactType").val();
- if(transactType=="转办")
- {
- $('#transactAppealState').val("办理");
- $("#appealDoState").val("办理");
- $("#transactDoState").val("已办理");
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/getAutoRule');
- $('#form1').ajaxSubmit(setAutoRule);
- }
- }
- }
- function setBusinessHallName(respondentModel)
- {
- var idData=$("#"+respondentModel+"BusinessHallID").val();
- if(idData!='')
- {
- var nameData=$("#"+respondentModel+"BusinessHallID").find("option:selected").text();
- $("#"+respondentModel+"BusinessHallName").val(nameData);
- }
- else
- {
- $("#"+respondentModel+"BusinessHallName").val("");
- }
- }
- //setInsceTypeID2()选择二级险种类别
- function setInsceTypeID2()
- {
- var insceTypeID1=$('#InsceTypeID1').val();
- if(insceTypeID1!='')
- {
- var insceTypeName1=$("#InsceTypeID1").find("option:selected").text();
- $("#InsceTypeName1").val(insceTypeName1);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getInsceTypeID2Data');
- $('#form1').ajaxSubmit(setInsceTypeID2Data);
- }
- else
- {
- $("#InsceTypeID2").empty();
- $("#InsceTypeName1").val("");
- }
- }
- //回写原因二类字典数据
- function setInsceTypeID2Data(data){
- $("#InsceTypeID2").empty();
- $("#InsceTypeID2").append("<option value=''>请选择</option>");
- $("#InsceTypeID2").append(data);
- }
- //setInsceTypeID3()选择三级险种类别
- function setInsceTypeID3()
- {
- var insceTypeID2=$('#InsceTypeID2').val();
- if(insceTypeID2!='')
- {
- var insceTypeName2=$("#InsceTypeID2").find("option:selected").text();
- $("#InsceTypeName2").val(insceTypeName2);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getInsceTypeID3Data');
- $('#form1').ajaxSubmit(setInsceTypeID3Data);
- }
- else
- {
- $("#InsceTypeID3").empty();
- $("#InsceTypeName2").val("");
- }
- }
- //回写原因二类字典数据
- function setInsceTypeID3Data(data){
- $("#InsceTypeID3").empty();
- $("#InsceTypeID3").append("<option value=''>请选择</option>");
- $("#InsceTypeID3").append(data);
- }
- function setInsceTypeName3()
- {
- var insceTypeID3=$('#InsceTypeID3').val();
- if(insceTypeID3!='')
- {
- var insceTypeName3=$("#InsceTypeID3").find("option:selected").text();
- $("#InsceTypeName3").val(insceTypeName3);
- }
- else
- {
- $("#InsceTypeName3").val("");
- }
- }
- //setAskTypeID2()选择二级诉求类别
- function setAskTypeID2()
- {
- var askTypeID1=$('#AskTypeID1').val();
- if(askTypeID1!='')
- {
- var askTypeName1=$("#AskTypeID1").find("option:selected").text();
- $("#AskTypeName1").val(askTypeName1);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getAskTypeID2Data');
- $('#form1').ajaxSubmit(setAskTypeID2Data);
- }
- else
- {
- $("#AskTypeID2").empty();
- $("#FilialeName").val("");
- }
- }
- //回写原因二类字典数据
- function setAskTypeID2Data(data){
- $("#AskTypeID2").empty();
- $("#AskTypeID2").append("<option value=''>请选择</option>");
- $("#AskTypeID2").append(data);
- }
- //setAskTypeID3()选择三级诉求类别
- function setAskTypeID3()
- {
- var askTypeID2=$('#AskTypeID2').val();
- if(askTypeID2!='')
- {
- var askTypeName2=$("#AskTypeID2").find("option:selected").text();
- $("#AskTypeName2").val(askTypeName2);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getAskTypeID3Data');
- $('#form1').ajaxSubmit(setAskTypeID3Data);
- }
- else
- {
- $("#AskTypeID3").empty();
- $("#AskTypeName2").val("");
- }
- }
- //回写原因二类字典数据
- function setAskTypeID3Data(data){
- $("#AskTypeID3").empty();
- $("#AskTypeID3").append("<option value=''>请选择</option>");
- $("#AskTypeID3").append(data);
- }
- function setAskTypeName3()
- {
- var askTypeID3=$('#AskTypeID3').val();
- if(askTypeID3!='')
- {
- var askTypeName3=$("#AskTypeID3").find("option:selected").text();
- $("#AskTypeName3").val(askTypeName3);
- }
- else
- {
- $("#AskTypeName3").val("");
- }
- }
- //setComplaintTypeID2()根据投诉类别一级分类取二级分类
- function setComplaintTypeID2()
- {
- var complaintTypeID1=$('#ComplaintTypeID1').val();
- if(complaintTypeID1!='')
- {
- var complaintTypeName1=$("#ComplaintTypeID1").find("option:selected").text();
- $("#ComplaintTypeName1").val(complaintTypeName1);
- if(complaintTypeName1=='疑难投诉')
- {
- $("#LimitDays").val("15");
- }
- if(complaintTypeName1=='重大投诉')
- {
- $("#LimitDays").val("15");
- }
- if(complaintTypeName1=='常规投诉')
- {
- $("#LimitDays").val("5");
- }
- }
- else
- {
- $("#ComplaintTypeName1").val("");
- }
- setLimitEndDate();
-
- }
- //回写投诉二级分类字典数据
- function setComplaintTypeID2Data(data){
- $("#ComplaintTypeID2").empty();
- $("#ComplaintTypeID2").append("<option value=''>请选择</option>");
- $("#ComplaintTypeID2").append(data);
- }
- function setComplaintTypeName2()
- {
- var complaintTypeID2=$('#ComplaintTypeID2').val();
- if(complaintTypeID2!='')
- {
- var complaintTypeName2=$("#ComplaintTypeID2").find("option:selected").text();
- $("#ComplaintTypeName2").val(complaintTypeName2);
- if(complaintTypeName2=="群访事件")
- {
- $("#ComplaintPersonNum").attr("vmode","not null");
- }
- }
- else
- {
- $("#ComplaintTypeName2").val("");
- }
- }
- //群访事件客诉人数量判断
- function setComplaintPersonNum()
- {
- var complaintTypeName2=$("#ComplaintTypeID1").find("option:selected").text();
- var iComplaintPersonNum=parseInt($("#ComplaintPersonNum").val());
- if(complaintTypeName2=="重大投诉")
- {
- if(iComplaintPersonNum<5)
- {
- layer.alert("重大投诉投诉人数量不能少于10人!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
- if(iComplaintPersonNum>=5)
- {
- if(complaintTypeName2!="重大投诉")
- {
- layer.alert("投诉人数量大于等于10人以上的必须选择重大投诉!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
- }
- //业务催办二级分类
- function setUrgeDoTypeID2()
- {
- var idData=$('#UrgeDoTypeID1').val();
- if(idData!='')
- {
- var nameData=$("#UrgeDoTypeID1").find("option:selected").text();
- $("#UrgeDoTypeName1").val(nameData);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getUrgeDoTypeID2Data');
- $('#form1').ajaxSubmit(setUrgeDoTypeID2Data);
- }
- else
- {
- $("#UrgeDoTypeID2").empty();
- $("#UrgeDoTypeName1").val("");
- }
- }
- //回写投诉二级分类字典数据
- function setUrgeDoTypeID2Data(data){
- $("#UrgeDoTypeID2").empty();
- $("#UrgeDoTypeID2").append("<option value=''>请选择</option>");
- $("#UrgeDoTypeID2").append(data);
- }
- function setUrgeDoTypeName2()
- {
- var idData=$('#UrgeDoTypeID2').val();
- if(idData!='')
- {
- var nameData=$("#UrgeDoTypeID2").find("option:selected").text();
- $("#UrgeDoTypeName2").val(nameData);
- }
- else
- {
- $("#UrgeDoTypeName2").val("");
- }
- }
- function setSectionName()
- {
- var sectionID=$('#SectionID').val();
- if(sectionID!='')
- {
- var sectionName=$("#SectionID").find("option:selected").text();
- $("#SectionName").val(sectionName);
- }
- else
- {
- $("#SectionName").val("");
- }
- }
- function setToAllOrgName()
- {
- var toAllOrgID=$('#ToAllOrgID').val();
- if(toAllOrgID!='')
- {
- var toAllOrgName=$("#ToAllOrgID").find("option:selected").text();
- $("#ToAllOrgName").val(toAllOrgName);
- }
- else
- {
- $("#ToAllOrgName").val("");
- }
- }
-
-
- function repeatClose()
- {
- $('#repeatModal').modal('hide');
- }
-
-
- //设置查询条件
- function setQueryType()
- {
- var policyType=$("input[name='PolicyType']:checked").val();
- if(policyType=="车险")
- {
- $("#QueryType").empty();
- $("#QueryType").append("<option value=''>请选择</option>");
- $("#QueryType").append("<option value='车牌号码'>车牌号码</option>");
- $("#QueryType").append("<option value='保单号'>保单号</option>");
- $("#QueryType").append("<option value='车架号码'>车架号码</option>");
- $("#QueryType").append("<option value='发动机号'>发动机号</option>");
- $("#QueryType").append("<option value='报案号'>报案号</option>");
- $("#QueryType").append("<option value='事故号'>事故号</option>");
- }
- else
- {
- $("#QueryType").empty();
- $("#QueryType").append("<option value=''>请选择</option>");
- }
- }
- //设置查询按钮
- function setQueryButton()
- {
- var queryType=$("#QueryType").val();
- if(queryType=="")
- {
- $("#QueryCompactButton").attr("disabled",'disabled');
- $("#QueryPaymentButton").attr("disabled",'disabled');
- }
- if(queryType=="保单号")
- {
- $("#QueryCompactButton").removeAttr('disabled');
- $("#QueryPaymentButton").removeAttr('disabled');
- }
- if(queryType=="车牌号码")
- {
- $("#QueryCompactButton").removeAttr('disabled');
- $("#QueryPaymentButton").removeAttr('disabled');
- }
- if(queryType=="车架号码")
- {
- $("#QueryCompactButton").removeAttr('disabled');
- $("#QueryPaymentButton").attr("disabled",'disabled');
- }
- if(queryType=="发动机号")
- {
- $("#QueryCompactButton").removeAttr('disabled');
- $("#QueryPaymentButton").removeAttr('disabled');
- }
- if(queryType=="报案号")
- {
- $("#QueryCompactButton").attr("disabled",'disabled');
- $("#QueryPaymentButton").removeAttr('disabled');
- }
- if(queryType=="事故号")
- {
- $("#QueryCompactButton").attr("disabled",'disabled');
- $("#QueryPaymentButton").removeAttr('disabled');
- }
- }
- //查询产品列表
- function queryUnit()
- {
- var strQueryCardType="0";
- var strQueryIDCard=$("#QueryIDCard").val();
- if(strQueryIDCard!=""&&strQueryCardType!="")
- {
- var strCryptoKey="ZGIyMTM5NTYxYzlmZTA2OA==";
- var key = CryptoJS.enc.Utf8.parse(strCryptoKey);
- var strUTF8QueryIDCard = CryptoJS.enc.Utf8.parse(strQueryIDCard);
- var encQueryIDCard = CryptoJS.AES.encrypt(strUTF8QueryIDCard, key, {mode: CryptoJS.mode.ECB, padding: CryptoJS.pad.Pkcs7});
- var strEncQueryIDCard1 = encQueryIDCard.toString();
-
- var strEncQueryIDCard=encodeURIComponent(strEncQueryIDCard1);
- //测试地址
- //fullOpen("http://10.19.16.180:80/equerying/manager.do?method=adminIndex&identitytype=100&fundacco="+strEncQueryIDCard+"&certificatetype="+strQueryCardType);
- //生产地址
- fullOpen("http://10.20.122.71:80/equerying/manager.do?method=adminIndex&identitytype=100&fundacco="+strEncQueryIDCard+"&certificatetype="+strQueryCardType);
- }
- else
- {
- layer.alert("证件号码不能为空!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
- function queryCompactBasic()
- {
- var strQueryCardType="0";
- var strQueryIDCard=$("#QueryIDCard").val();
- if(strQueryIDCard!=""&&strQueryCardType!="")
- {
- $('#form1').attr('action','${ctx}/myconsole/complaint/interface/queryProductBasic');
- $('#form1').ajaxSubmit(setCompactList);
- }
- else
- {
- layer.alert("证件号码不能为空!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
- //回写产品列表数据
- var productList=null;
- function setCompactList(data)
- {
- var compactJson = JSON.parse(data);
- console.log(compactJson);
- var flag=compactJson.flag;
- productList=null;
- productList=compactJson.productList;
-
- if(flag)
- {
- $("#CompactModal_Table").find("tr:not(:first)").remove();
- for(var i=0;i<compactJson.productList.length;i++)
- {
- var compact=compactJson.productList[i];
- var strKeyID=compact.keyid;
- var strChannelName=compact.channelname;
- var strProductName=compact.productname;
- var strProductShare=compact.productshare;
-
- $("#CompactModal_Table").append("<tr><td class='text-center'><input type='checkbox' name='PolicySelectFlag' value='"+strKeyID+"' ></td><td class='text-center'>"+strChannelName+"</td><td class='text-center'>"+strProductName+"</td><td>"+strProductShare+"</td></tr>");
-
- }
- $('#CompactModal').modal({
- backdrop: 'static',
- keyboard: false
- })
-
- }
- else
- {
- layer.alert("没有查询到产品信息!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
-
- function okCompact()
- {
- var obj=$("input[name='PolicySelectFlag']");
- var strSelectedKeyID="";
-
- for(k in obj)
- {
- if(obj[k].checked)
- {
- strSelectedKeyID=strSelectedKeyID+obj[k].value+",";
- }
- }
-
- if(strSelectedKeyID=='')
- {
- layer.alert("请选择至少一个产品!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- else
- {
- $('#CompactModal').modal('hide');
-
- for(var i=0;i<productList.length;i++)
- {
- var compact=productList[i];
- var strKeyID=compact.keyid;
- if(strSelectedKeyID.indexOf(strKeyID)!=-1)
- {
-
- var strChannelID=compact.channelid;
- var strChannelName=compact.channelname;
- var strProductID=compact.productid;
- var strProductName=compact.productname;
- var strProductShare=compact.productshare;
- var strCompanyName=compact.companyname;
- var strAccountBalance=compact.accountbalance;
- var strAccountState=compact.accountstate;
- var strBuyList=compact.buylist;
-
- var iProductNumber=parseInt($("#ProductNumber").val());
- var iProductFlagNumber=parseInt($("#ProductFlagNumber").val());
-
- iProductNumber=iProductNumber+1;
- iProductFlagNumber=iProductFlagNumber+1
-
- var content="<div class='row' style='padding:5px' id=product"+iProductFlagNumber+"_0>"+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"Channel'>渠道</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <input type='text' class='form-control' value='"+strChannelName+"' id='product"+iProductFlagNumber+"ChannelName' name='product.ChannelName' maxlength='40' vmode='' vdisp='渠道' vtype='string' readonly > "+
- " <input type='hidden' value='"+strChannelID+"' id='product"+iProductFlagNumber+"ChannelID' name='product.ChannelID' >"+
- " </div> "+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"ProductName'>名称</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <input type='text' class='form-control' value='"+strProductName+"' id='product"+iProductFlagNumber+"ProductName' name='product.ProductName' maxlength='40' vmode='' vdisp='名称' vtype='string' readonly >"+
- " <input type='hidden' value='"+strProductID+"' id='product"+iProductFlagNumber+"ProductID' name='product.ProductID' >"+
- " </div> "+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"ProductShare'>产品持有份额/金额</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <div class='input-group'>"+
- " <input type='text' class='form-control' onBlur=countShare() value='"+strProductShare+"' id='product"+iProductFlagNumber+"ProductShare' name='product.ProductShare' vmode='' vdisp='产品份额' vtype='string' readonly >"+
- " <div class='input-group-btn'>"+
- " <button type='button' class='btn btn-default dropdown-toggle' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false' id=product"+iProductFlagNumber+"ShareUnitShow>份 <span class='caret'></span></button>"+
- " <ul class='dropdown-menu dropdown-menu-right'>"+
- " <li><a href='#' onclick=setProductShare('product"+iProductFlagNumber+"','份')>份</a></li>"+
- " <li><a href='#' onclick=setProductShare('product"+iProductFlagNumber+"','元')>元</a></li>"+
- " </ul>"+
- " <input type='hidden' id='product"+iProductFlagNumber+"ShareUnit' name='product.ShareUnit' value='份'>"+
- " <button type='button' class='btn btn-default' aria-label='Left Align' onclick=deleteProduct('product"+iProductFlagNumber+"')>"+
- " <span class='glyphicon glyphicon-minus' aria-hidden='true'></span>"+
- " </button> "+
- " </div>"+
- " </div>"+
- " </div> "+
- " </div> "+
- " <div class='row' style='padding:5px' id=product"+iProductFlagNumber+"_1>"+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"CompanyName'>企业名称</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <input type='text' class='form-control' value='"+strCompanyName+"' id='product"+iProductFlagNumber+"CompanyName' name='product.CompanyName' maxlength='80' vmode='' vdisp='企业名称' vtype='string' readonly >"+
- " </div> "+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"AccountBalance'>个人账户余额</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <input type='text' class='form-control' value='"+strAccountBalance+"' id='product"+iProductFlagNumber+"AccountBalance' name='product.AccountBalance' maxlength='18' vmode='' vdisp='个人账户余额' vtype='float' readonly >"+
- " </div> "+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"AccountState'>个人账户状态</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <input type='text' class='form-control' value='"+strAccountState+"' id='product"+iProductFlagNumber+"AccountState' name='product.AccountState' maxlength='20' vmode='' vdisp='个人账户状态' vtype='string' readonly >"+
- " </div> "+
- " </div> ";
-
- $("#ProductNumber").val(iProductNumber);
- $("#ProductFlagNumber").val(iProductFlagNumber);
- $("#ProductObj").append(content);
-
- }
-
-
- }
- countShare();
- }
-
- }
- function setCollapseIcon(collapseIcon)
- {
- var curCollapseIconClass=$("#"+collapseIcon).attr("class");
- if(curCollapseIconClass=="glyphicon glyphicon-menu-up")
- {
- $("#"+collapseIcon).attr("class","glyphicon glyphicon-menu-down");
- }
- else
- {
- $("#"+collapseIcon).attr("class","glyphicon glyphicon-menu-up");
- }
- }
- //查看 2017-07-19
- function seeRepeatData(appealid){
- fullOpen("${ctx}/myconsole/complaint/register/seeRepeatData?appealid="+appealid);
- }
- //设置客户最后要求时间
- function setAskEndTime()
- {
- var appealDate=$("#AppealDate").val();
- var askTimeBlockID=$('#AskTimeBlockID').val();
- var limitHours=parseInt(askTimeBlockID);
-
- if(askTimeBlockID!='')
- {
- var nameValue=$("#AskTimeBlockID").find("option:selected").text();
- $("#AskTimeBlockName").val(nameValue);
- }
- else
- {
- $("#AskTimeBlockName").val("");
- }
-
- var limitDays=parseInt(limitHours/24);
- var initLimitDays=limitDays;
- var limitDaysType=$("#LimitDaysType").val();
- if(limitDaysType=="工作日")
- {
- var mydate = new Date(appealDate+":01");
- var week=parseInt(mydate.getDay());
- var iSat=0;
- if(week==6)
- {
- week=0;
- iSat=1;
- }
-
- var iCountDate=parseInt(limitDays+week);
- if(iCountDate>5&&iCountDate<=10)
- {
- limitDays=limitDays+2;
- }
- if(iCountDate>10&&iCountDate<=15)
- {
- limitDays=limitDays+4;
- }
- if(iCountDate>15&&iCountDate<=20)
- {
- limitDays=limitDays+6;
- }
- if(iCountDate>20&&iCountDate<=25)
- {
- limitDays=limitDays+8;
- }
- if(iCountDate>25&&iCountDate<=30)
- {
- limitDays=limitDays+10;
- }
- limitDays=limitDays+iSat;
- }
- var newLimitDays=limitDays-initLimitDays;
- limitHours=parseInt(limitHours+newLimitDays*24);
-
- var nd = addNHours(appealDate+":01",limitHours);
- var askEndTime = nd.format('yyyy-MM-dd hh:mm');
- if(askTimeBlockID=="0.5")
- {
- var nd1 = addNMinute(askEndTime+":01",30);
- askEndTime = nd1.format('yyyy-MM-dd hh:mm');
- }
- if(askTimeBlockID!=''&&askTimeBlockID!='0')
- {
- $("#AskEndTime").val(askEndTime);
- }
- }
- //设置最后办理时限
- function setLimitEndDate()
- {
- var curDate=$("#AppealDate").val();
- var limitDays=parseInt($("#LimitDays").val())-1;
- var limitDaysType=$("#LimitDaysType").val();
- if(limitDaysType=="工作日")
- {
- var mydate = new Date(curDate);
- var week=parseInt(mydate.getDay());
- var iSat=0;
- if(week==6)
- {
- week=0;
- iSat=1;
- }
-
- var iCountDate=parseInt(limitDays+week);
- if(iCountDate>5&&iCountDate<=10)
- {
- limitDays=limitDays+2;
- }
- if(iCountDate>10&&iCountDate<=15)
- {
- limitDays=limitDays+4;
- }
- if(iCountDate>15&&iCountDate<=20)
- {
- limitDays=limitDays+6;
- }
- if(iCountDate>20&&iCountDate<=25)
- {
- limitDays=limitDays+8;
- }
- if(iCountDate>25&&iCountDate<=30)
- {
- limitDays=limitDays+10;
- }
- limitDays=limitDays+iSat;
- }
- var nd = addNDays(curDate,limitDays);
- var limitEndDate = nd.format('yyyy-MM-dd');
- if($("#LimitDays").val()!='')
- {
- $("#LimitEndDate").val(limitEndDate);
- }
-
- }
- function setEndDate15()
- {
- var curDate=$("#AppealDate").val();
- var limitDays=14;
-
- var nd = addNDays(curDate,limitDays);
- var limitEndDate = nd.format('yyyy-MM-dd');
- $("#SupEndDate15").val(limitEndDate);
-
- }
- Date.prototype.format =function(format)
- {
- var o = {
- "M+" : this.getMonth()+1, //month
- "d+" : this.getDate(), //day
- "h+" : this.getHours(), //hour
- "m+" : this.getMinutes(), //minute
- "s+" : this.getSeconds(), //second
- "q+" : Math.floor((this.getMonth()+3)/3), //quarter
- "S" : this.getMilliseconds() //millisecond
- }
- if(/(y+)/.test(format)){
- format=format.replace(RegExp.$1,(this.getFullYear()+"").substr(4- RegExp.$1.length));
- }
- for(var k in o){
- if(new RegExp("("+ k +")").test(format)){
- format = format.replace(RegExp.$1,RegExp.$1.length==1? o[k] :("00"+ o[k]).substr((""+o[k]).length));
- }
- }
- return format;
- }
-
- var addNDays=function(date,n){
- var d = new Date(Date.parse(date.replace(/-/g,"/")));
- var time=d.getTime();
- var newTime=time+n*24*60*60*1000;
- return new Date(newTime);
- };
- var addNHours=function(date,n){
- var d = new Date(Date.parse(date.replace(/-/g,"/")));
- var time=d.getTime();
- var newTime=time+n*60*60*1000;
- return new Date(newTime);
- };
- var addNMinute=function(date,n){
- var d = new Date(Date.parse(date.replace(/-/g,"/")));
- var time=d.getTime();
- var newTime=time+n*60*1000;
- return new Date(newTime);
- };
-
- function countShare()
- {
- var iProductNumber=parseInt($("#ProductNumber").val());
- if(iProductNumber>1)
- {
- var objShareUnit=$("input[name='product.ShareUnit']");
- var objProductShare=$("input[name='product.ProductShare']");
-
- var fInvolvedCopies=0.0;
- var fInvolvedMoney=0.0;
-
- for(var k=0;k<iProductNumber;k++)
- {
- var strProductShare = objProductShare[k].value;
- if(strProductShare=="")
- {
- strProductShare="0";
- }
- if(objShareUnit[k].value=='份')
- {
- fInvolvedCopies=fInvolvedCopies+parseFloat(strProductShare);
- }
- else
- {
- fInvolvedMoney=fInvolvedMoney+parseFloat(strProductShare);
- }
- }
- fInvolvedCopies=fInvolvedCopies.toFixed(4);
- fInvolvedMoney=fInvolvedMoney.toFixed(2);
- $("#InvolvedCopies").val(fInvolvedCopies);
- $("#InvolvedMoney").val(fInvolvedMoney);
- }
- else
- {
- var strProductShare=$("#product1ProductShare").val();
- var strShareUnit=$("#product1ShareUnit").val();
- if(strShareUnit=='份')
- {
- $("#InvolvedCopies").val(strProductShare);
- $("#InvolvedMoney").val("");
- }
- else
- {
- $("#InvolvedMoney").val(strProductShare);
- $("#InvolvedCopies").val("");
- }
-
- }
- }
- function addProduct()
- {
- var iProductNumber=parseInt($("#ProductNumber").val());
- var iProductFlagNumber=parseInt($("#ProductFlagNumber").val());
- if(iProductNumber>=100)
- {
- layer.alert("最多只能设置100个产品信息!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- else
- {
- iProductNumber=iProductNumber+1;
- iProductFlagNumber=iProductFlagNumber+1
-
- var content="<div class='row' style='padding:5px' id=product"+iProductFlagNumber+"_0>"+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"Channel'>渠道</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <select id='product"+iProductFlagNumber+"ChannelID' name='product.ChannelID' onChange=setProductID('product"+iProductFlagNumber+"') class='form-control' vmode='' vdisp='渠道' vtype='string'>"+
- " <option value=''>请选择</option>"+
- " ${dic_productnameForID!''}"+
- " </select> "+
- " <input type='hidden' id='product"+iProductFlagNumber+"ChannelName' name='product.ChannelName' >"+
- " </div> "+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"ProductName'>名称</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <select id='product"+iProductFlagNumber+"ProductID' name='product.ProductID' onChange=setProductName('product"+iProductFlagNumber+"') class='form-control' vmode='' vdisp='产品名称' vtype='string'>"+
- " <option value=''>请选择</option>"+
- " </select>"+
- " <input type='hidden' id='product"+iProductFlagNumber+"ProductName' name='product.ProductName' >"+
- " </div> "+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"ProductShare'>份额/金额</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <div class='input-group'>"+
- " <input type='text' class='form-control' onBlur=countShare() id='product"+iProductFlagNumber+"ProductShare' name='product.ProductShare' vmode='' vdisp='产品份额' vtype='string' >"+
- " <div class='input-group-btn'>"+
- " <button type='button' class='btn btn-default dropdown-toggle' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false' id=product"+iProductFlagNumber+"ShareUnitShow>份 <span class='caret'></span></button>"+
- " <ul class='dropdown-menu dropdown-menu-right'>"+
- " <li><a href='#' onclick=setProductShare('product"+iProductFlagNumber+"','份')>份</a></li>"+
- " <li><a href='#' onclick=setProductShare('product"+iProductFlagNumber+"','元')>元</a></li>"+
- " </ul>"+
- " <input type='hidden' id='product"+iProductFlagNumber+"ShareUnit' name='product.ShareUnit' value='份'>"+
- " <button type='button' class='btn btn-default' aria-label='Left Align' onclick=deleteProduct('product"+iProductFlagNumber+"')>"+
- " <span class='glyphicon glyphicon-minus' aria-hidden='true'></span>"+
- " </button> "+
- " </div>"+
- " </div>"+
- " </div> "+
- " </div> "+
- " <div class='row' style='padding:5px' id=product"+iProductFlagNumber+"_1>"+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"CompanyName'>企业名称</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <input type='text' class='form-control' id='product"+iProductFlagNumber+"CompanyName' name='product.CompanyName' maxlength='80' vmode='' vdisp='企业名称' vtype='string' >"+
- " </div> "+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"AccountBalance'>个人账户余额</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <input type='text' class='form-control' id='product"+iProductFlagNumber+"AccountBalance' name='product.AccountBalance' maxlength='18' vmode='' vdisp='个人账户余额' vtype='float' >"+
- " </div> "+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='product"+iProductFlagNumber+"AccountState'>个人账户状态</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <input type='text' class='form-control' id='product"+iProductFlagNumber+"AccountState' name='product.AccountState' maxlength='20' vmode='' vdisp='个人账户状态' vtype='string' >"+
- " </div> "+
- " </div> ";
-
- $("#ProductNumber").val(iProductNumber);
- $("#ProductFlagNumber").val(iProductFlagNumber);
- $("#ProductObj").append(content);
-
-
- }
- }
- function setProductShare(productModel,strType)
- {
- $("#"+productModel+'ShareUnitShow').text(strType);
- $("#"+productModel+'ShareUnit').val(strType);
- if(strType=="元")
- {
- var strProductShare=$("#"+productModel+"ProductShare").val();
- if(strProductShare.indexOf(".")!=-1)
- {
- var iLong=strProductShare.split(".")[1].length;
- if(iLong>2)
- {
- layer.alert("金额最多只能保留两位小数!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
-
- }
- if(strType=="份")
- {
- var strProductShare=$("#"+productModel+"ProductShare").val();
- if(strProductShare.indexOf(".")!=-1)
- {
- var iLong=strProductShare.split(".")[1].length;
- if(iLong>4)
- {
- layer.alert("金额最多只能保留四位小数!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
- }
- countShare();
- }
- function deleteProduct(productFlagNumber)
- {
- var iProductNumber=parseInt($("#ProductNumber").val());
- if(iProductNumber>=100)
- {
- iProductNumber=100;
- }
- iProductNumber=iProductNumber-1;
- $("#ProductNumber").val(iProductNumber);
- $("div").remove("#"+productFlagNumber+"_0");
- $("div").remove("#"+productFlagNumber+"_1");
- }
- function addRedemption()
- {
- var iProductNumber=parseInt($("#RedemptionNumber").val());
- if(iProductNumber>=10)
- {
- layer.alert("最多只能设置10个产品赎回信息!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- else
- {
-
-
- var content="<div class='row' style='padding:5px' id=redemption"+iProductNumber+">"+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='redemption"+iProductNumber+"Channel'>渠道</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <select id='redemption"+iProductNumber+"ChannelID' name='redemption.ChannelID' onChange=setProductID('redemption"+iProductNumber+"') class='form-control' vmode='' vdisp='渠道' vtype='string'>"+
- " <option value=''>请选择</option>"+
- " ${dic_productnameForID!''}"+
- " </select> "+
- " <input type='hidden' id='redemption"+iProductNumber+"ChannelName' name='redemption.ChannelName' >"+
- " </div> "+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='redemption"+iProductNumber+"ProductName'>产品名称</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <select id='redemption"+iProductNumber+"ProductID' name='redemption.ProductID' onChange=setProductName('redemption"+iProductNumber+"') class='form-control' vmode='' vdisp='产品名称' vtype='string'>"+
- " <option value=''>请选择</option>"+
- " </select>"+
- " <input type='hidden' id='redemption"+iProductNumber+"ProductName' name='redemption.ProductName' >"+
- " </div> "+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- " <label class='control-label' for='redemption"+iProductNumber+"ArrivalAmount'>到账金额</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- " <div class='input-group'>"+
- " <input type='text' class='form-control' id='redemption"+iProductNumber+"ArrivalAmount' name='redemption.ArrivalAmount' vmode='' vdisp='产品份额' vtype='string' >"+
- " <div class='input-group-btn'>"+
- " <button type='button' class='btn btn-default' aria-label='Left Align' onclick=deleteRedemption()>"+
- " <span class='glyphicon glyphicon-minus' aria-hidden='true'></span>"+
- " </button> "+
- " </div>"+
- " </div>"+
- " </div> "+
- " </div>";
- iProductNumber=iProductNumber+1;
- $("#RedemptionNumber").val(iProductNumber);
- $("#RedemptionObj").append(content);
-
-
- }
- }
- function deleteRedemption()
- {
- var iProductNumber=parseInt($("#RedemptionNumber").val());
- if(iProductNumber>=10)
- {
- iProductNumber=10;
- }
- iProductNumber=iProductNumber-1;
- $("div").remove("#redemption"+iProductNumber);
- $("#RedemptionNumber").val(iProductNumber);
- }
-
-
-
- function addRespondent()
- {
-
- var respondentNumber=parseInt($("#RespondentNumber").val());
- if(respondentNumber>=5)
- {
- layer.alert("最多只能设置5个被诉人信息!", {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- else
- {
- var content="<div class='row' style='padding:5px' id=respondent"+respondentNumber+"_1>"+
- "<div class='col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback' >"+
- " <label class='control-label' for='FilialeID'>次被诉公司</label>"+
- "</div>"+
- "<div class='col-xs-3 col-sm-3 col-md-3 col-lg-3 has-error has-feedback'>"+
- " <select id='respondent"+respondentNumber+"FilialeID' name='respondent"+respondentNumber+".FilialeID' onChange=setBusinessHallID('respondent"+respondentNumber+"') class='form-control' vmode='not null' vdisp='次被诉公司' vtype='string'>"+
- " <option value=''>请选择</option>"+
- " ${filialeID!''} "+
- " </select> "+
- "</div> "+
- "<div class='col-xs-1 col-sm-1 col-md-1 col-lg-1' >"+
- "<label class='control-label' for='BusinessHallID'>被诉部门</label>"+
- "</div>"+
- "<div class='col-xs-3 col-sm-3 col-md-3 col-lg-3'>"+
- "<select id='respondent"+respondentNumber+"BusinessHallID' name='respondent"+respondentNumber+".BusinessHallID' onChange=setBusinessHallName('respondent"+respondentNumber+"') class='form-control' vmode='' vdisp='被诉部门' vtype='string'>"+
- " <option value='''>请选择</option> "+
- " </select> "+
- "</div>"+
- "<div class='col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback' >"+
- " <label class='control-label' for='RespondentType'>被投诉类型</label>"+
- "</div>"+
- "<div class='col-xs-3 col-sm-3 col-md-3 col-lg-3 has-error has-feedback'>"+
- " <select id='respondent"+respondentNumber+"RespondentType' name='respondent"+respondentNumber+".RespondentType' onChange=setBusinessHallName('respondent"+respondentNumber+"') class='form-control' vmode='not null' vdisp='被投诉类型' vtype='string'>"+
- " <option value='''>请选择</option> ${dic_respondenttype!''}"+
- " </select> "+
- "</div> "+
- " </div>"+
- "<div class='row' style='padding:5px' id=respondent"+respondentNumber+"_2 >"+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback' >"+
- " <label class='control-label' for='respondent"+respondentNumber+"ProvinceID'>归属地省</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3 has-error has-feedback'>"+
- " <select id='respondent"+respondentNumber+"ProvinceID' name='respondent"+respondentNumber+".ProvinceID' onChange=setAreaID('respondent"+respondentNumber+"') class='form-control' vmode='not null' vdisp='归属地省' vtype='number'>"+
- " <option value=''>请选择</option>"+
- " ${provinceID!''} "+
- " </select> "+
- " </div> "+
- " <div class='col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback' >"+
- " <label class='control-label' for='respondent"+respondentNumber+"AreaID'>地市</label>"+
- " </div>"+
- " <div class='col-xs-3 col-sm-3 col-md-3 col-lg-3 has-error has-feedback'>"+
- " <div class='input-group'>"+
- " <select id='respondent"+respondentNumber+"AreaID' name='respondent"+respondentNumber+".AreaID' onChange=setAreaName('respondent"+respondentNumber+"') class='form-control' vmode='not null' vdisp='地市' vtype='number' >"+
- " <option value=''>请选择</option>"+
- " </select> "+
- " <div class='input-group-btn'>"+
- " <button type='button' class='btn btn-default' aria-label='Left Align' onclick=deleteRespondent()>"+
- " <span class='glyphicon glyphicon-minus' aria-hidden='true'></span>"+
- " </button> "+
- " </div>"+
- " </div>"+
- " </div> "+
- " </div>";
- respondentNumber=respondentNumber+1;
- $("#RespondentNumber").val(respondentNumber);
- $("#ComplainPersonObj").append(content);
-
-
- }
- }
- function deleteRespondent()
- {
- var respondentNumber=parseInt($("#RespondentNumber").val());
- if(respondentNumber>=6)
- {
- respondentNumber=5;
- }
- respondentNumber=respondentNumber-1;
- var resObj='respondent'+respondentNumber
- $("div").remove("#"+resObj+"_1");
- $("div").remove("#"+resObj+"_2");
- $("#RespondentNumber").val(respondentNumber);
- }
-
- function setAppealType()
- {
- var appealType=$("#AppealType").val();
- if(appealType=='消费投诉')
- {
- $("#Complain1").show();
- $("#Complain2").show();
- $("#Complain3").show();
- $("#ReasonID1").attr("vmode","not null");
- if($("#ComplaintTypeID1").val()=="001")
- {
- $("#LimitDays").val("5");
- }
- else
- {
- $("#LimitDays").val("3");
- }
- $("#LimitDays").attr("readOnly","true");
- $("#LimitEndDate").attr("readOnly","true");
- setLimitEndDate();
- $("#ComplaintTypeID1").val("002");
- }
- else
- {
- $("#Complain1").hide();
- $("#Complain2").hide();
- $("#Complain3").hide();
- $("#ReasonID1").attr("vmode","");
- $("#LimitDays").val("0");
- $("#LimitEndDate").val("");
- $("#LimitDays").removeAttr("readOnly");
- $("#LimitEndDate").removeAttr("readOnly");
- $("#ComplaintTypeID1").val("");
- }
- if(appealType=='异议信息')
- {
- $("#LimitDays").val("5");
-
- $("#LimitDays").attr("readOnly","true");
- $("#LimitEndDate").attr("readOnly","true");
- setLimitEndDate();
- }
-
- if(appealType=='不满抱怨')
- {
- $("#LimitDays").val("5");
-
- $("#LimitDays").attr("readOnly","true");
- $("#LimitEndDate").attr("readOnly","true");
- setLimitEndDate();
- }
-
- }
- function setTransactType()
- {
- var transactType=$("#TransactType").val();
- if(transactType=='')
- {
- $("#SubmitButton").attr("disabled",'disabled');
- $("#ToOrgInfo").hide();
- $("#CopyToOrgInfo").hide();
- $("#ToOrgAndJob").attr("vmode","");
- }
- if(transactType=='转办处理')
- {
- $('#transactAppealState').val("办理");
- $("#appealDoState").val("办理");
- $("#transactDoState").val("已办理");
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/getAutoRule');
- $('#form1').ajaxSubmit(setAutoRule);
- }
- }
- function setAutoRule(data)
- {
- var ruleJson = JSON.parse(data);
- var flag=ruleJson.flag;
- if(flag)
- {
- var jobName=$('#ToJobName').val();
- $('#ToOrgAndJob').val(ruleJson.Job_OrgParentName+"-"+ruleJson.Job_OrgName+"-"+ruleJson.Job_Name);
- $('#ToOrgID').val(ruleJson.Job_OrgID);
- $('#ToOrgName').val(ruleJson.Job_OrgName);
- $('#ToJobID').val(ruleJson.Job_ID);
- $('#ToJobName').val(ruleJson.Job_Name);
- if(ruleJson.Job_OrgParentOrgType=="中支公司")
- {
- $('#ToCentreOrgID').val(ruleJson.Job_OrgParentID);
- $('#ToCentreOrgName').val(ruleJson.Job_OrgParentName);
- }
- if(ruleJson.Job_OrgParentOrgType=="分公司")
- {
- $('#ToFilialeOrgID').val(ruleJson.Job_OrgParentID);
- $('#ToFilialeOrgName').val(ruleJson.Job_OrgParentName);
- }
- }
- $("#SubmitButton").removeAttr('disabled');
- $("#ToOrgInfo").show();
- $("#CopyToOrgInfo").show();
- $("#ToOrgAndJob").attr("vmode","not null");
- }
-
- //选择异议信息不符原因
- function setNotTally(NotTallyObj)
- {
- if($("#"+NotTallyObj+"Flag").is(":checked"))
- {
- $("#"+NotTallyObj).val("checked");
- }
- else
- {
- $("#"+NotTallyObj).val("flase");
- }
- }
- //设置热词
- function setHotWord(HotWordFlag)
- {
- var hotWord=$("#HotWord").val();
- if($("#"+HotWordFlag).is(":checked"))
- {
- hotWord=hotWord+HotWordFlag+","
- $("#HotWord").val(hotWord);
- }
- else
- {
- var re = new RegExp(HotWordFlag+",","g"); //定义正则表达式
- hotWord=hotWord.replace(re, "");
- $("#HotWord").val(hotWord);
- }
- }
- function setOrgAndJob(jobid,jobname,orgid)
- {
- $('#ToJobID').val(jobid);
- $('#ToJobName').val(jobname);
- $('#orgModal').modal('hide');
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getOrgAndJob?Job_OrgID='+orgid+'&Job_ID='+jobid+'&Job_Name='+jobname);
- $('#form1').ajaxSubmit(setOrgAndJobData);
-
-
- }
- function setOrgAndJobData(data)
- {
- var orgAndJobJson = JSON.parse(data);
- var flag=orgAndJobJson.flag;
- if(flag)
- {
- var jobName=$('#ToJobName').val();
- $('#ToOrgAndJob').val(orgAndJobJson.Job_OrgParentName+"-"+orgAndJobJson.Job_OrgName+"-"+jobName);
- $('#ToOrgID').val(orgAndJobJson.Job_OrgID);
- $('#ToOrgName').val(orgAndJobJson.Job_OrgName);
-
- }
-
- }
- function setOrg()
- {
- var zTreeObj;
- var zNodes;
- function zTreeChecked(event, treeId, treeNode) {
- setOrgAndJob(treeNode.id,treeNode.name,treeNode.pId);
- };
- //异步获取数据
- function ajaxDataFilter(treeId, parentNode, data) {
- if(data == "") return;
- var zNodes = [];
-
- var orgN = data.Org;
-
- orgN.forEach(function(item,index){
- zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
- })
- var jobN = data.Job;
- jobN.forEach(function(item,index){
- zNodes.push({id:item.keyid,pId:item.orgid,name:item.jobname,istype:true,checked:false});
- })
-
- return zNodes;
- }
- var setting = { //初始化树
- check: {
- enable: true,
- chkboxType: { "Y" : "", "N" : "" },
- autoCheckTrigger: true
- },
- data: {
- simpleData: {
- idKey:"id",
- pIdKey:"pId",
- enable:true,
- rootPId:"0"
- }
- },
- callback: {
- onCheck: zTreeChecked
- },
- async:{
- enable:true,
- url:"${ctx}/myconsole/complaint/register/getOrgAndJobTree",
- autoParam:["id", "name"] ,
- dataFilter: ajaxDataFilter
- }
- };
- //初始化获取数据
- $.ajax({
- url : "${ctx}/myconsole/complaint/register/getOrgAndJobTree?name=init",
- type : "post",
- dataType : "json",
- success : function(data) {
- if(data == "") return;
- var zNodes = [];
- var orgN = data.Org;
- if(orgN!=null)
- {
- orgN.forEach(function(item,index){
- zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
- })
- }
- var jobN = data.Job;
- if(jobN!=null)
- {
- jobN.forEach(function(item,index){
- zNodes.push({id:item.keyid,pId:item.orgid,name:item.jobname,istype:true,checked:false});
- })
- }
-
-
- zTreeObj = $.fn.zTree.init($("#UserTree"), setting, zNodes);//初始化树节点时,添加同步获取的数据
- }
- });
- $('#orgModal').modal({
- backdrop: 'static',
- keyboard: false
- })
-
- }
- function setSpecialRedemption()
- {
- if($("#SpecialRedemptionFlag").is(":checked"))
- {
- $("#SpecialRedemptionFlag1").show();
- $("#SpecialRedemptionFlag2").show();
- $("#SpecialRedemptionFlag3").show();
- $("#SpecialRedemption").val("是");
- }
- else
- {
- $("#SpecialRedemptionFlag1").hide();
- $("#SpecialRedemptionFlag2").hide();
- $("#SpecialRedemptionFlag3").hide();
- $("#SpecialRedemption").val("否");
- }
- }
- function setProductID(productModel)
- {
- var strChannelID=$('#'+productModel+"ChannelID").val();
- if(strChannelID!='')
- {
- var strChannelName=$('#'+productModel+"ChannelID").find("option:selected").text();
- $('#'+productModel+"ChannelName").val(strChannelName);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getProductIDData?ParentID='+strChannelID);
- $('#form1').ajaxSubmit(setProductIDData);
- $('#ProductModel').val(productModel);
- }
- else
- {
- $("#"+productModel+"ProductID").empty();
- $("#"+productModel+"ChannelName").val("");
- }
-
- }
- //回写产品数据
- function setProductIDData(data)
- {
- var productModel=$('#ProductModel').val();
- $("#"+productModel+"ProductID").empty();
- $("#"+productModel+"ProductID").append("<option value=''>请选择</option>");
- $("#"+productModel+"ProductID").append(data);
- }
- function setProductName(productModel)
- {
- var idData=$("#"+productModel+"ProductID").val();
- if(idData!='')
- {
- var nameData=$("#"+productModel+"ProductID").find("option:selected").text();
- $("#"+productModel+"ProductName").val(nameData);
- }
- else
- {
- $("#"+productModel+"ProductName").val("");
- }
- }
- function setQuestionTypeID2()
- {
- var strQuestionTypeID1=$('#QuestionTypeID1').val();
- if(strQuestionTypeID1!='')
- {
- var strQuestionTypeName1=$("#QuestionTypeID1").find("option:selected").text();
- $("#QuestionTypeName1").val(strQuestionTypeName1);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getQuestionTypeID2Data?ParentID='+strQuestionTypeID1);
- $('#form1').ajaxSubmit(setQuestionTypeID2Data);
- }
- else
- {
- $("#QuestionTypeID2").empty();
- $("#QuestionTypeName1").val("");
- }
- }
- //回写原因二类字典数据
- function setQuestionTypeID2Data(data){
- $("#QuestionTypeID2").empty();
- $("#QuestionTypeID2").append("<option value=''>请选择</option>");
- $("#QuestionTypeID2").append(data);
- }
- function setQuestionTypeName2()
- {
- var strQuestionTypeID2=$('#QuestionTypeID2').val();
- if(strQuestionTypeID2!='')
- {
- var strQuestionTypeName2=$("#QuestionTypeID2").find("option:selected").text();
- $("#QuestionTypeName2").val(strQuestionTypeName2);
- }
- else
- {
- $("#QuestionTypeName2").val("");
- }
- }
- //转办选人
- function setZBOrgUser()
- {
- var zTreeObj;
- var zNodes;
- function zTreeChecked(event, treeId, treeNode) {
- setZBOrgAndUser(treeNode.id,treeNode.name);
- };
- //异步获取数据
- function ajaxDataFilter(treeId, parentNode, data) {
- if(data == "") return;
- var zNodes = [];
-
- var orgN = data.Org;
-
- orgN.forEach(function(item,index){
- zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
- })
- var userN = data.User;
- if(userN!=null)
- {
- userN.forEach(function(item,index){
- zNodes.push({id:item.userid,pId:item.orgid,name:item.username,istype:true,checked:false});
-
- })
- }
-
- return zNodes;
- }
- var setting = { //初始化树
- check: {
- enable: true,
- chkboxType: { "Y" : "", "N" : "" },
- autoCheckTrigger: true
- },
- data: {
- simpleData: {
- idKey:"id",
- pIdKey:"pId",
- enable:true,
- rootPId:"0"
- }
- },
- callback: {
- onCheck: zTreeChecked
- },
- async:{
- enable:true,
- url:"${ctx}/myconsole/complaint/preinflow/getOrgAndUserTree",
- autoParam:["id", "name"] ,
- dataFilter: ajaxDataFilter
- }
- };
- //初始化获取数据
- $.ajax({
- url : "${ctx}/myconsole/complaint/preinflow/getOrgAndUserTree?name=init",
- type : "post",
- dataType : "json",
- success : function(data) {
- if(data == "") return;
- var zNodes = [];
- var orgN = data.Org;
- if(orgN!=null)
- {
- orgN.forEach(function(item,index){
- zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
- })
- }
- var userN = data.User;
- if(userN!=null)
- {
- userN.forEach(function(item,index){
- zNodes.push({id:item.userid,pId:item.orgid,name:item.username,istype:true,checked:false});
- })
- }
-
-
- zTreeObj = $.fn.zTree.init($("#UserTree"), setting, zNodes);//初始化树节点时,添加同步获取的数据
- }
- });
- $('#orgModal').modal({
- backdrop: 'static',
- keyboard: false
- })
-
- }
- function setZBOrgAndUser(userid,username)
- {
- $('#ToUserID').val(userid);
- $('#ToUserName').val(username);
- $('#ToOrgAndJob').val(username);
- $('#orgModal').modal('hide');
- }
- function setQueryNo()
- {
- var strQueryType=$("#QueryType").val();
- if(strQueryType!="")
- {
- var strTName=$("#TName").val();
- $("#QueryTName").val(strTName)
- var strIDCard=$("#IDCard").val();
- $("#QueryIDCard").val(strIDCard)
- }
- }
- function setSupEndDate15()
- {
- var curDate=$("#SupTransactDate").val();
-
- var nd = addNDays(curDate,14);
- var limitEndDate = nd.format('yyyy-MM-dd');
- if(curDate!='')
- {
- $("#SupEndDate15").val(limitEndDate);
- }
- }
- //下载附件
- function downFile(filePath,fileName)
- {
- window.open('${serverURL!}/downloadFile.do?FileDownloadPath='+filePath+'&FileDownloadName='+fileName,'Derek','resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');
- }
- //选择抄送人员
- function setSignUser()
- {
- var zTreeObj;
- var zNodes;
- function zTreeChecked(event, treeId, treeNode) {
- var checkUserID = [];
- var checkUserName = [];
- var userArr = zTreeObj.getCheckedNodes(); //获取选中数组集合
- if(userArr.length>0)
- {
- userArr.forEach(function(item,index){
- if(item.istype)
- {
- checkUserID.push(item.id);
- checkUserName.push(item.name);
- }
- })
- }
-
- setHBOrgAndUser(checkUserID,checkUserName);
-
- };
- //异步获取数据
- function ajaxDataFilter(treeId, parentNode, data) {
- if(data == "") return;
- var zNodes = [];
-
- var orgN = data.Org;
-
- orgN.forEach(function(item,index){
- zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
- })
- var userN = data.User;
- if(userN!=null)
- {
- userN.forEach(function(item,index){
- zNodes.push({id:item.userid,pId:item.orgid,name:item.username,istype:true,checked:false});
- })
- }
-
- return zNodes;
- }
- var setting = { //初始化树
- check: {
- enable: true,
- chkboxType: { "Y" : "", "N" : "" },
- autoCheckTrigger: true
- },
- data: {
- simpleData: {
- idKey:"id",
- pIdKey:"pId",
- enable:true,
- rootPId:"0"
- }
- },
- callback: {
- onCheck: zTreeChecked
- },
- async:{
- enable:true,
- url:"${ctx}/myconsole/complaint/preinflow/getOrgAndUserTree",
- autoParam:["id", "name"] ,
- dataFilter: ajaxDataFilter
- }
- };
- //初始化获取数据
- $.ajax({
- url : "${ctx}/myconsole/complaint/preinflow/getOrgAndUserTree?name=init",
- type : "post",
- dataType : "json",
- success : function(data) {
- if(data == "") return;
- var zNodes = [];
- var orgN = data.Org;
- if(orgN!=null)
- {
- orgN.forEach(function(item,index){
- zNodes.push({id:item.orgid,pId:item.parentid,name:item.orgname,istype:false, isParent:true,"nocheck":true});
- })
- }
- var userN = data.User;
- if(userN!=null)
- {
- userN.forEach(function(item,index){
- zNodes.push({id:item.userid,pId:item.orgid,name:item.username,istype:true,checked:false});
- })
- }
-
-
- zTreeObj = $.fn.zTree.init($("#SignUserTree"), setting, zNodes);//初始化树节点时,添加同步获取的数据
- }
- });
- $('#signOrgModal').modal({
- backdrop: 'static',
- keyboard: false
- })
-
- }
- function setHBOrgAndUser(useridArr,usernameArr)
- {
- $('#CopyToUserID').val(useridArr);
- $('#CopyToUserName').val(usernameArr);
- $('#CopyToUserShow').val(usernameArr);
- }
- function getSignOrgAndJob()
- {
- $('#signOrgModal').modal('hide');
- }
- function synchronizationIDCard()
- {
- var idCard=$("#IDCard").val();
- $("#QueryIDCard").val(idCard);
- }
- //查看信息 2017-07-24
- function seeData(appealid){
- fullOpen("${ctx}/myconsole/complaint/register/seeData?appealid="+appealid);
- }
- </script>
-
- <title>投诉信息登记</title>
- <meta name="keywords" content="">
- <meta name="description" content="">
- </head>
- <body >
-
- <form id="form1" method="post" class="form-horizontal" role="form">
- <div style="display: none">
- <input type="hidden" id="SendInterfaceFlag" name="SendInterfaceFlag" value="${SendInterfaceFlag!''}"/>
- <input type="hidden" id="Modal_Main" name="Modal_Main" value="appeal"/>
- <input type="hidden" id="CurDate" name="CurDate" value="${curDate}"/>
- <input type="hidden" id="AppealID" name="AppealID" value="${appealID}"/>
- <input type="hidden" id="Modal_PersonType" name="Modal_PersonType" value=""/>
- <input type="hidden" id="Modal_PersonID" name="Modal_PersonID" value=""/>
- <input type="hidden" id="Modal_AppealID" name="Modal_AppealID" value=""/>
- <input type="hidden" id="Modal_PersonRepeatFlag" name="Modal_PersonRepeatFlag" value="false"/>
- <input type="hidden" id="Modal_LinkTel2" name="Modal_LinkTel2" value=""/>
- <input type="hidden" id="Modal_WechatNo" name="Modal_WechatNo" value=""/>
- <input type="hidden" id="Modal_LinkPerson" name="Modal_LinkPerson" value=""/>
- <input type="hidden" id="Modal_ProvinceID" name="Modal_ProvinceID" value=""/>
- <input type="hidden" id="Modal_ProvinceName" name="Modal_ProvinceName" value=""/>
- <input type="hidden" id="Modal_AreaID" name="Modal_AreaID" value=""/>
- <input type="hidden" id="Modal_AreaName" name="Modal_AreaName" value=""/>
- <input type="hidden" id="Modal_CountyID" name="Modal_CountyID" value=""/>
- <input type="hidden" id="Modal_CountyName" name="Modal_CountyName" value=""/>
- <input type="hidden" id="Modal_Postalcode" name="Modal_Postalcode" value=""/>
- <input type="hidden" id="Modal_EMail" name="Modal_EMail" value=""/>
-
- <input type="hidden" id="PersonID" name="person.PersonID" value="${person.PersonID!''}"/>
- <input type="hidden" id="respondent.KeyID" name="respondent.KeyID" value="${respondent.KeyID!''}"/>
- <input type="hidden" id="respondent1.KeyID" name="respondent1.KeyID" value="${respondent1.KeyID!''}"/>
- <input type="hidden" id="respondent2.KeyID" name="respondent2.KeyID" value="${respondent2.KeyID!''}"/>
- <input type="hidden" id="respondent3.KeyID" name="respondent3.KeyID" value="${respondent3.KeyID!''}"/>
- <input type="hidden" id="respondent4.KeyID" name="respondent4.KeyID" value="${respondent4.KeyID!''}"/>
-
- <input type="hidden" id="transact.KeyID" name="transact.KeyID" value="${transact.KeyID!}"/>
-
- <input type="hidden" id="ProvinceModel" name="ProvinceModel" value=""/>
- <input type="hidden" id="personProvinceName" name="person.ProvinceName" value="${person.ProvinceName!''}"/>
- <input type="hidden" id="personAreaName" name="person.AreaName" value="${person.AreaName!''}"/>
- <input type="hidden" id="personCountyName" name="person.CountyName" value="${person.CountyName!''}"/>
-
-
-
- <input type="hidden" id="appealAppealID" name="appeal.AppealID" value="${appealID}"/>
- <input type="hidden" id="ForeignKeyID" name="appeal.ForeignKeyID" value="${appeal.ForeignKeyID!''}"/>
- <input type="hidden" id="appealDoState" name="appeal.DoState" value="${appeal.DoState!''}"/>
- <input type="hidden" id="RecordDate" name="appeal.RecordDate" value="${curDate}"/>
-
- <input type="hidden" id="SerialNumber" name="appeal.SerialNumber" value="${appeal.SerialNumber!''}"/>
-
- <input type="hidden" id="InsceTypeName1" name="appeal.InsceTypeName1" value="${appeal.InsceTypeName1!''}"/>
- <input type="hidden" id="InsceTypeName2" name="appeal.InsceTypeName2" value="${appeal.InsceTypeName2!''}"/>
- <input type="hidden" id="InsceTypeName3" name="appeal.InsceTypeName3" value="${appeal.InsceTypeName3!''}"/>
- <input type="hidden" id=Repcomplaints name="appeal.Repcomplaints" value="${appeal.Repcomplaints!''}"/>
- <input type="hidden" id="RepcomplaintsNum" name="appeal.RepcomplaintsNum" value="${appeal.RepcomplaintsNum!''}"/>
- <input type="hidden" id="EndAppealDate" name="appeal.EndAppealDate" value="${appeal.EndAppealDate!''}"/>
- <input type="hidden" id="ComplaintTypeName1" name="appeal.ComplaintTypeName1" value="${appeal.ComplaintTypeName1!''}"/>
- <input type="hidden" id="ComplaintTypeName2" name="appeal.ComplaintTypeName2" value="${appeal.ComplaintTypeName2!''}"/>
- <input type="hidden" id="ReasonName1" name="appeal.ReasonName1" value="${appeal.ReasonName1!''}"/>
- <input type="hidden" id="ReasonName2" name="appeal.ReasonName2" value="${appeal.ReasonName2!''}"/>
- <input type="hidden" id="ReasonName3" name="appeal.ReasonName3" value="${appeal.ReasonName3!''}"/>
- <input type="hidden" id="AskTypeName1" name="appeal.AskTypeName1" value="${appeal.AskTypeName1!''}"/>
- <input type="hidden" id="AskTypeName2" name="appeal.AskTypeName2" value="${appeal.AskTypeName2!''}"/>
- <input type="hidden" id="AskTypeName3" name="appeal.AskTypeName3" value="${appeal.AskTypeName3!''}"/>
-
- <input type="hidden" id="AskTimeBlockName" name="appeal.AskTimeBlockName" value="${appeal.AskTimeBlockName!''}"/>
- <input type="hidden" id="UrgeDoTypeName1" name="appeal.UrgeDoTypeName1" value="${appeal.UrgeDoTypeName1!''}"/>
- <input type="hidden" id="UrgeDoTypeName2" name="appeal.UrgeDoTypeName2" value="${appeal.UrgeDoTypeName2!''}"/>
-
- <input type="hidden" id="NotTallyInfo" name="appeal.NotTallyInfo" value="${appeal.NotTallyInfo!''}"/>
- <input type="hidden" id="NotTallyState" name="appeal.NotTallyState" value="${appeal.NotTallyState!''}"/>
- <input type="hidden" id="NotTallyPay" name="appeal.NotTallyPay" value="${appeal.NotTallyPay!''}"/>
- <input type="hidden" id="NotTallyCorrect" name="appeal.NotTallyCorrect" value="${appeal.NotTallyCorrect!''}"/>
- <input type="hidden" id="NotTallyClaims" name="appeal.NotTallyClaims" value="${appeal.NotTallyClaims!''}"/>
- <input type="hidden" id="NotTallyOther" name="appeal.NotTallyOther" value="${appeal.NotTallyOther!''}"/>
- <input type="hidden" id="LimitDaysType" name="appeal.LimitDaysType" value="${dateType!''}"/>
-
- <input type="hidden" id="ProductModel" name="ProductModel" value=""/>
- <input type="hidden" id="RespondentModel" name="RespondentModel" value=""/>
- <input type="hidden" id="RespondentNumber" name="appeal.RespondentNumber" value="1"/>
-
- <input type="hidden" id="respondentFilialeName" name="respondent.FilialeName" value="${respondent.FilialeName!''}"/>
- <input type="hidden" id="respondentCentreCompanyName" name="respondent.CentreCompanyName" value="${respondent.CentreCompanyName!''}"/>
- <input type="hidden" id="respondentBusinessHallName" name="respondent.BusinessHallName" value="${respondent.BusinessHallName!''}"/>
- <input type="hidden" id="respondentProvinceName" name="respondent.ProvinceName" value=""/>
- <input type="hidden" id="respondentAreaName" name="respondent.AreaName" value=""/>
-
- <input type="hidden" id="respondent1FilialeName" name="respondent1.FilialeName" value=""/>
- <input type="hidden" id="respondent1CentreCompanyName" name="respondent1.CentreCompanyName" value=""/>
- <input type="hidden" id="respondent1BusinessHallName" name="respondent1.BusinessHallName" value=""/>
- <input type="hidden" id="respondent1ProvinceName" name="respondent1.ProvinceName" value=""/>
- <input type="hidden" id="respondent1AreaName" name="respondent1.AreaName" value=""/>
-
- <input type="hidden" id="respondent2FilialeName" name="respondent2.FilialeName" value=""/>
- <input type="hidden" id="respondent2CentreCompanyName" name="respondent2.CentreCompanyName" value=""/>
- <input type="hidden" id="respondent2BusinessHallName" name="respondent2.BusinessHallName" value=""/>
- <input type="hidden" id="respondent2ProvinceName" name="respondent2.ProvinceName" value=""/>
- <input type="hidden" id="respondent2AreaName" name="respondent2.AreaName" value=""/>
-
- <input type="hidden" id="respondent3FilialeName" name="respondent3.FilialeName" value=""/>
- <input type="hidden" id="respondent3CentreCompanyName" name="respondent3.CentreCompanyName" value=""/>
- <input type="hidden" id="respondent3BusinessHallName" name="respondent3.BusinessHallName" value=""/>
- <input type="hidden" id="respondent3ProvinceName" name="respondent3.ProvinceName" value=""/>
- <input type="hidden" id="respondent3AreaName" name="respondent3.AreaName" value=""/>
-
- <input type="hidden" id="respondent4FilialeName" name="respondent4.FilialeName" value=""/>
- <input type="hidden" id="respondent4CentreCompanyName" name="respondent4.CentreCompanyName" value=""/>
- <input type="hidden" id="respondent4BusinessHallName" name="respondent4.BusinessHallName" value=""/>
- <input type="hidden" id="respondent4ProvinceName" name="respondent4.ProvinceName" value=""/>
- <input type="hidden" id="respondent4AreaName" name="respondent4.AreaName" value=""/>
-
- <input type="hidden" id="transactDoState" name="transact.DoState" value="${transact.DoState!''}"/>
- <input type="hidden" id="TransactOrgID" name="transact.TransactOrgID" value="${user.OrgID}"/>
- <input type="hidden" id="TransactOrgName" name="transact.TransactOrgName" value="${user.OrgName}"/>
- <input type="hidden" id="TransactUserID" name="transact.TransactUserID" value="${user.UserID}"/>
- <input type="hidden" id="TransactUserName" name="transact.TransactUserName" value="${user.UserName}"/>
-
- <input type="hidden" id="ToFilialeOrgID" name="transact.ToFilialeOrgID" value="${transact.ToFilialeOrgID!''}"/>
- <input type="hidden" id="ToFilialeOrgName" name="transact.ToFilialeOrgName" value="${transact.ToFilialeOrgName!''}"/>
- <input type="hidden" id="ToCentreOrgID" name="transact.ToCentreOrgID" value="${transact.ToCentreOrgID!''}"/>
- <input type="hidden" id="ToCentreOrgName" name="transact.ToCentreOrgName" value="${transact.ToCentreOrgName!''}"/>
-
- <input type="hidden" id="ToOrgID" name="transact.ToOrgID" value=""/>
- <input type="hidden" id="ToOrgName" name="transact.ToOrgName" value=""/>
- <input type="hidden" id="ToJobID" name="transact.ToJobID" value=""/>
- <input type="hidden" id="ToJobName" name="transact.ToJobName" value=""/>
-
- <input type="hidden" id="ToUserID" name="transact.ToUserID" value=""/>
- <input type="hidden" id="ToUserName" name="transact.ToUserName" value=""/>
-
- <input type="hidden" id="CopyToUserID" name="transact.CopyToUserID" value=""/>
- <input type="hidden" id="CopyToUserName" name="transact.CopyToUserName" value=""/>
-
- <input type="hidden" id="transactLimitEndDate" name="transact.LimitEndDate" value="${transact.LimitEndDate!''}"/>
- <input type="hidden" id="transactAppealState" name="transact.AppealState" value="受理"/>
- <input type="hidden" id="transactNewFlag" name="transact.NewFlag" value="true"/>
-
- <input type="hidden" id="transactArriveTime" name="transact.ArriveTime" value="${curDateTime}"/>
-
- <input type="hidden" id="ProductNumber" name="appeal.ProductNumber" value="0"/>
- <input type="hidden" id="ProductFlagNumber" name="ProductFlagNumber" value="0"/>
- <input type="hidden" id="RedemptionNumber" name="appeal.RedemptionNumber" value="1"/>
- <input type="hidden" id="QuestionTypeName1" name="appeal.QuestionTypeName1" value="${appeal.QuestionTypeName1!''}"/>
- <input type="hidden" id="QuestionTypeName2" name="appeal.QuestionTypeName2" value="${appeal.QuestionTypeName2!''}"/>
- </div>
- <div class="container-fluid" style="margin-top:15px;">
- <div class="panel panel-primary">
- <div class="panel-heading">
- <div style="display:inline;" >客户信息 </div>
- <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>
- </div>
- <div id="collapsePerson" class="panel-collapse collapse in">
- <div class="panel-body" style="font-size:14px">
-
- <div class="row" style="padding:5px" >
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="TName" id="Label_TName">姓名</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback" >
- <input type="text" class="form-control" onBlur="setLinkPerson()" value="${person.TName!''}" placeholder="" id="TName" name="person.TName" maxlength="40" vmode="not null" vdisp="姓名" vtype="string">
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="TSex">性别</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback" >
- <select id="TSex" name="person.TSex" class="form-control" vmode="not null" vdisp="性别" vtype="chinese">
- <option value="">请选择</option>
- <option value="男">男</option>
- <option value="女">女</option>
- </select>
- <script type="text/javascript">$(function(){$("#TSex").val("${person.TSex!''}");})</script>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="CardType">证件类型</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3" >
- <select id="CardType" name="person.CardType" onChange=setIDCard() class="form-control" vmode="" vdisp="证件类型" vtype="chinese">
- <option value="">请选择</option>
- <option value='居民身份证'>居民身份证</option>
- <option value='护照'>护照</option>
- <option value='军人证'>军人证</option>
- <option value='其他'>其他</option>
- </select>
- <script type="text/javascript">$(function(){$("#CardType").val("${person.CardType!''}");})</script>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="IDCard">证件号码</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3" >
- <div class="input-group">
- <input type="text" class="form-control" onBlur="setNavIDCard()" value="${person.IDCard!''}" placeholder="" id="IDCard" name="person.IDCard" vmode="" vdisp="证件号码" vtype="${cardTypeVtype!''}">
- <div class="input-group-btn">
- <button type="button" class="btn btn-default" aria-label="Left Align" onclick="repeatIDCard()" title="根据证件号码判重">
- <span class="glyphicon glyphicon-check" aria-hidden="true"></span>
- </button>
- </div>
- </div>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="LinkTel1">联系电话1</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <div class="input-group">
- <input type="text" class="form-control" onBlur="telIsMobile('auto')" value="${person.LinkTel1!''}" placeholder="" id="LinkTel1" name="person.LinkTel1" maxlength="20" vmode="not null" vdisp="联系电话1" vtype="phone">
- <div class="input-group-btn">
- <button type="button" class="btn btn-default" aria-label="Left Align" onclick="repeatLinkTel('assign')" title="根据电话号码判重">
- <span class="glyphicon glyphicon-check" aria-hidden="true"></span>
- </button>
- </div>
- </div>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="Status">客户身份</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3" >
- <select id="Status" name="person.Status" class="form-control" vmode="" vdisp="客户类型" vtype="chinese">
- <option value="">请选择</option>
- ${dic_statusName!''}
- </select>
- <script type="text/javascript">$(function(){$("#Status").val("${person.Status!''}");})</script>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="ProvinceID">通讯地址省</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id="personProvinceID" name="person.ProvinceID" onChange=setAreaID('person') class="form-control" vmode="" vdisp="通讯地址省" vtype="number">
- <option value="">请选择</option>
- ${provinceID!''}
- </select>
- <script type="text/javascript">$(function(){$("#personProvinceID").val("${person.ProvinceID!''}");})</script>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="AreaID">地市</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id="personAreaID" name="person.AreaID" onChange=setCountyID('person') class="form-control" vmode="" vdisp="地市" vtype="number">
- <option value="">请选择</option>
- ${areaID!''}
- </select>
- <script type="text/javascript">$(function(){$("#personAreaID").val("${person.AreaID!''}");})</script>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="CountyID">区县</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id="personCountyID" name="person.CountyID" onChange=setTownAddress('person') class="form-control" vmode="" vdisp="区县" vtype="number">
- <option value="" >请选择</option>
- ${countyID!''}
- </select>
- <script type="text/javascript">$(function(){$("#personCountyID").val("${person.CountyID!''}");})</script>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="TownAddress">详细地址</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <input type="text" class="form-control" value="${person.TownAddress!''}" placeholder="" id="TownAddress" name="person.TownAddress" maxlength="26" vmode="" vdisp="详细地址" vtype="string">
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="Postalcode">邮编</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <input type="text" class="form-control" value="${person.Postalcode!''}" placeholder="" id="Postalcode" name="person.Postalcode" maxlength="6" vmode="" vdisp="邮编" vtype="postcode">
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="EMail">电子邮箱</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <input type="text" class="form-control" value="${person.EMail!''}" placeholder="" id="EMail" name="person.EMail" maxlength="40" vmode="" vdisp="电子邮箱" vtype="email">
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="PlanID" title="个人计划证明号">计划证明号</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <input type="text" class="form-control" placeholder="个人计划证明号" value="${person.PlanID!''}" id="PlanID" name="person.PlanID" maxlength="40" vmode="" vdisp="个人计划证明号" vtype="string">
- </div>
- </div>
-
- </div>
- </div>
- </div>
- <div class="panel panel-success">
- <div class="panel-heading">
- <div style="display:inline;" >业务/产品信息查询 </div>
- <div style="display:inline;" ><a class="panel-title" data-toggle="collapse" data-parent="#accordion" href="#collapseCompact"><span id="CompactCollapseIcon" onClick="setCollapseIcon('CompactCollapseIcon')" class="glyphicon glyphicon-menu-up" aria-hidden="true"></span></a> </div>
- <div style="display:inline;" ><a class="panel-title" data-toggle="collapse" data-parent="#accordion" href=""><span onClick="addProduct()" class="glyphicon glyphicon-plus" aria-hidden="true"></span></a></div>
- </div>
- <div id="collapseCompact" class="panel-collapse collapse in">
- <div class="panel-body" style="font-size:14px" id=ProductObj>
- <div class="row" style="padding:5px">
-
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="QueryIDCard">证件号码</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3" >
- <div class="input-group">
- <div class="input-group-btn">
- <button type="button" class="btn btn-default" id="QueryCompactButton" onclick="synchronizationIDCard()" >同步</button>
-
- </div>
- <input type="text" class="form-control" value="" placeholder="身份证号" id="QueryIDCard" name="QueryIDCard" vmode="" vdisp="身份证号" vtype="string">
-
- </div>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3" >
- <div class="input-group">
-
- <div class="input-group-btn">
- <button type="button" class="btn btn-primary" id="QueryUnitButton" onclick="queryUnit()" ${Query!''}>个养/直销</button>
- <button type="button" class="btn btn-success" id="QueryCompactButton" onclick="queryCompactBasic()" ${Query!''} >团养/企业年金</button>
-
- </div>
- </div>
- </div>
- </div>
-
- </div>
- </div>
- </div>
-
- <div class="panel panel-info">
- <div class="panel-heading">
- <div style="display:inline;" >被诉人信息 </div>
- <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> </div>
-
- <div style="display:inline;" ><a class="panel-title" data-toggle="collapse" data-parent="#accordion" href=""><span id="ComplainPersonCollapseIcon" onClick="addRespondent()" class="glyphicon glyphicon-plus" aria-hidden="true"></span></a></div>
- </div>
- <div id="collapseRespondent" class="panel-collapse collapse in">
-
- <div class="panel-body" style="font-size:14px" id=ComplainPersonObj>
- <div class="row" style="padding:5px" id="respondent_2" >
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="respondentRespondentTypeID1">主被诉机构</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <select id="respondentFilialeID" name="respondent.FilialeID" onChange=setBusinessHallID('respondent') class="form-control" vmode='not null' vdisp='主被诉公司' vtype='string'>
- <option value="">请选择</option>
- ${filialeID!''}
- </select>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="respondentBusinessHallID">被诉部门</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id="respondentBusinessHallID" name="respondent.BusinessHallID" onChange=setBusinessHallName('respondent') class="form-control" vmode="" vdisp="被诉部门" vtype="string">
- <option value="">请选择</option>
- </select>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="respondentRespondentTypeID2">被投诉类型</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <select id="respondentRespondentType" name="respondent.RespondentType" class="form-control" vmode="not null" vdisp="被投诉类型" vtype="string">
- <option value="">请选择</option>
- ${dic_respondenttype!''}
- </select>
- </div>
- </div>
-
- <div class="row" style="padding:5px" id="respondent_3" >
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="ProvinceID">归属地省</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <select id="respondentProvinceID" name="respondent.ProvinceID" onChange=setAreaID('respondent') class="form-control" vmode="not null" vdisp="归属地省" vtype="number">
- <option value="">请选择</option>
- ${provinceID!''}
- </select>
-
- </div>
- <div id="dsa" class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label id="ds" class="control-label" for="AreaID">地市</label></div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <select id="respondentAreaID" name="respondent.AreaID" onChange=setAreaName('respondent') class="form-control" vmode="not null" vdisp="地市" vtype="number">
- <option value="">请选择</option>
- ${clpccc_areaID!''}
- </select>
-
- </div>
- </div>
-
- </div>
- </div>
- </div>
-
-
-
-
- <div class="panel panel-warning">
- <div class="panel-heading">
- <div style="display:inline;" >客诉事项信息 </div>
- <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>
- </div>
- <div id="collapseAppeal" class="panel-collapse collapse in">
- <div class="panel-body" style="font-size:14px">
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="Question" style="line-height:100px;">事由</label>
- </div>
- <div class="col-xs-12 col-sm-11 col-md-11 col-lg-11 has-error has-feedback">
- <textarea class="form-control" rows="5" id="Question" name="appeal.Question" maxlength="600" vmode="not null" vdisp="事由" vtype="string">${appeal.Question!''}</textarea>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="AskInfo">要求</label>
- </div>
- <div class="col-xs-12 col-sm-11 col-md-11 col-lg-11 has-error has-feedback">
- <input type="text" class="form-control" value="${appeal.AskInfo!''}" placeholder="" id="AskInfo" name="appeal.AskInfo" maxlength="200" vmode="not null" vdisp="要求" vtype="string">
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="ReceptionSuggest" style="line-height:100px;">坐席建议描述</label>
- </div>
- <div class="col-xs-12 col-sm-11 col-md-11 col-lg-11 has-error has-feedback">
- <textarea class="form-control" rows="5" id="ReceptionSuggest" name="appeal.ReceptionSuggest" maxlength="600" vmode="not null" vdisp="坐席建议描述" vtype="string"></textarea>
- </div>
- </div>
- <div class="row" style="padding:5px">
-
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="QuestionTypeID1">事由类别</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <select id="QuestionTypeID1" name="appeal.QuestionTypeID1" onChange=setQuestionTypeID2() class="form-control" vmode="not null" vdisp="事由类别" vtype="string">
- <option value="">请选择</option>
- ${dic_questiontype!''}
- </select>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="QuestionTypeID2">二级类别</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <select id=QuestionTypeID2 name="appeal.QuestionTypeID2" onChange=setQuestionTypeName2() class="form-control" vmode="not null" vdisp="二级事由类别" vtype="string">
- <option value="">请选择</option>
- </select>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="ComplaintTypeID1">投诉级别</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <select id="ComplaintTypeID1" name="appeal.ComplaintTypeID1" onChange=setComplaintTypeID2() class="form-control" vmode="not null" vdisp="投诉级别" vtype="string">
- <option value="">请选择</option>
- ${dic_complainttypeID1!''}
- </select>
- <script type="text/javascript">$(function(){$("#ComplaintTypeID1").val("${appeal.ComplaintTypeID1!''}");})</script>
- </div>
-
-
- </div>
-
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="InsceTypeID1">险种类别</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id="InsceTypeID1" name="appeal.InsceTypeID1" onChange=setInsceTypeID2() class="form-control" vmode="" vdisp="一级险种类别" vtype="string">
- <option value="">请选择</option>
- ${dic_inscetypeID1!''}
- </select>
- <script type="text/javascript">$(function(){$("#InsceTypeID1").val("${appeal.InsceTypeID1!''}");})</script>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="InsceTypeID2">二级类别</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id="InsceTypeID2" name="appeal.InsceTypeID2" onChange=setInsceTypeID3() class="form-control" vmode="" vdisp="二级险种类别" vtype="string">
- <option value="">请选择</option>
- ${dic_inscetypeID2!''}
- </select>
- <script type="text/javascript">$(function(){$("#InsceTypeID2").val("${appeal.InsceTypeID2!''}");})</script>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="InsceTypeID3">三级类别</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id="InsceTypeID3" name="appeal.InsceTypeID3" onChange=setInsceTypeName3() class="form-control" vmode="" vdisp="三级险种类别" vtype="string">
- <option value="">请选择</option>
- ${dic_inscetypeID3!''}
- </select>
- <script type="text/javascript">$(function(){$("#InsceTypeID3").val("${appeal.InsceTypeID3!''}");})</script>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="AppealType">客诉类别</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <select id="AppealType" name="appeal.AppealType" class="form-control" vmode="not null" vdisp="客诉类别" vtype="string">
- <option value="${appeal.AppealType!''}">${appeal.AppealType!''}</option>
- </select>
- <script type="text/javascript">$(function(){$("#AppealType").val("${appeal.AppealType!''}");})</script>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="AppealSource">客诉来源</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <select id="AppealSource" name="appeal.AppealSource" class="form-control" vmode="not null" vdisp="客诉来源" vtype="string">
- <option value="监管系统转办">监管系统转办</option>
-
- </select>
-
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="ComplaintPersonNum">投诉人数量</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <input type="text" class="form-control" onBlur=setComplaintPersonNum() value="${appeal.ComplaintPersonNum!''}" placeholder="" id="ComplaintPersonNum" name="appeal.ComplaintPersonNum" maxlength="3" vmode="" vdisp="投诉人数量" vtype="int">
- </div>
-
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="AppealDate">客诉时间</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <div class="input-group">
- <input type="text" class="form-control" value="${appeal.AppealDate!''}" placeholder="" id="AppealDate" name="appeal.AppealDate" onChange="setAskEndTime()" vmode="not null" vdisp="客诉时间" vtype="string" readonly>
- <div class="input-group-btn">
- <button type="button" class="btn btn-default" aria-label="Left Align" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',el:'AppealDate',maxDate:'${CurEndDateHHmm!''}'})" title="选择客诉时间">
- <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
- </button>
- </div>
- </div>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="SupTransactDate">监管转办日期</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <div class="input-group">
- <input type="text" class="form-control" onChange=setSupEndDate15() id="SupTransactDate" name="appeal.SupTransactDate" >
- <div class="input-group-btn">
- <button type="button" class="btn btn-default" aria-label="Left Align" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'SupTransactDate',maxDate:'new Date()'})" title="选择客诉时间">
- <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
- </button>
- </div>
- </div>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="SupTransactNum">监管投诉次数</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <input type="text" class="form-control" value="1" id="SupTransactNum" name="appeal.SupTransactNum" maxlength="3" vmode="" vdisp="监管投诉次数" vtype="int">
- </div>
- </div>
-
- <div class="row" style="padding:5px" id=Complain1 >
-
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="UrgentLevel" >前期是否投诉至机构</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id="IsUpLevel" name="appeal.IsUpLevel" class="form-control" vmode="" vdisp="前期是否投诉至机构" vtype="string">
- <option value=""></option>
- <option value="是">是</option>
- <option value="否">否</option>
- </select>
-
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="FrontGoOrgNumber">前期至机构投诉数</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 ">
- <input type="text" class="form-control" value="0" id="FrontGoOrgNumber" name="appeal.FrontGoOrgNumber" maxlength="3" vmode="" vdisp="前期至机构投诉数" vtype="int">
- </div>
-
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="GoOrgNumber">机构投诉数合计</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 ">
- <input type="text" class="form-control" value="0" id="GoOrgNumber" name="appeal.GoOrgNumber" maxlength="3" vmode="" vdisp="机构投诉数合计" vtype="int">
- </div>
-
-
- </div>
-
- <div class="row" style="padding:5px" id=Complain2 >
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="ReasonID1">投诉原因</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <select id="ReasonID1" name="appeal.ReasonID1" onChange=setReasonID2() class="form-control" vmode="" vdisp="投诉原因" vtype="string">
- <option value="">请选择</option>
- ${reasonID1!''}
- </select>
- <script type="text/javascript">$(function(){$("#ReasonID1").val("${appeal.ReasonID1!''}");})</script>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="ReasonID2">二级原因</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id=ReasonID2 name="appeal.ReasonID2" onChange=setReasonID3() class="form-control" vmode="" vdisp="二类原因" vtype="string">
- <option value="">请选择</option>
- ${reasonID2!''}
- </select>
- <script type="text/javascript">$(function(){$("#ReasonID2").val("${appeal.ReasonID2!''}");})</script>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="ReasonID3">三级原因</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id="ReasonID3" name="appeal.ReasonID3" onChange=setReasonName3() class="form-control" vmode="" vdisp="三类原因" vtype="string">
- <option value="">请选择</option>
- ${reasonID3!''}
- </select>
- <script type="text/javascript">$(function(){$("#ReasonID3").val("${appeal.ReasonID3!''}");})</script>
- </div>
- </div>
-
- <div class="row" style="padding:5px" id=Complain3 >
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="AskTypeID1">诉求类别</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id="AskTypeID1" name="appeal.AskTypeID1" onChange=setAskTypeID2() class="form-control" vmode="" vdisp="诉求类别" vtype="string">
- <option value="">请选择</option>
- ${dic_asktypeID1!''}
- </select>
- <script type="text/javascript">$(function(){$("#AskTypeID1").val("${appeal.AskTypeID1!''}");})</script>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="AskTypeID2">二级类别</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id=AskTypeID2 name="appeal.AskTypeID2" onChange=setAskTypeID3() class="form-control" vmode="" vdisp="二级类别" vtype="string">
- <option value="">请选择</option>
- ${dic_asktypeID2!''}
- </select>
- <script type="text/javascript">$(function(){$("#AskTypeID2").val("${appeal.AskTypeID2!''}");})</script>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="AskTypeID3">三级类别</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <select id=AskTypeID3 name="appeal.AskTypeID3" onChange=setAskTypeName3() class="form-control" vmode="" vdisp="三级类别" vtype="string">
- <option value="">请选择</option>
- ${dic_asktypeID3!''}
- </select>
- <script type="text/javascript">$(function(){$("#AskTypeID3").val("${appeal.AskTypeID3!''}");})</script>
- </div>
- </div>
-
-
- <div class="row" style="padding:5px" >
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="InvolvedMoney">份额合计</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <div class="input-group">
-
- <input type="text" class="form-control" value="${appeal.InvolvedCopies!''}" id="InvolvedCopies" name="appeal.InvolvedCopies" maxlength="12" vmode="" vdisp="份额合计" vtype="float" readonly>
- <span class="input-group-addon">份</span>
- </div>
- </div>
-
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="InvolvedMoney">金额合计</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <div class="input-group">
- <span class="input-group-addon">¥</span>
- <input type="text" class="form-control" value="${appeal.InvolvedMoney!''}" id="InvolvedMoney" name="appeal.InvolvedMoney" maxlength="12" vmode="" vdisp="金额合计" vtype="float" readonly>
- <span class="input-group-addon">元</span>
- </div>
- </div>
- </div>
-
-
- </div>
- </div>
- </div>
-
-
-
- <div class="panel panel-danger">
- <div class="panel-heading">
- <div style="display:inline;" >客诉办理信息 </div>
- <div style="display:inline;" ><a class="panel-title" data-toggle="collapse" data-parent="#accordion" href="#collapseTransact"><span id="TransactCollapseIcon" onClick="setCollapseIcon('TransactCollapseIcon')" class="glyphicon glyphicon-menu-up" aria-hidden="true"></span></a></div>
- </div>
- <div id="collapseTransact" class="panel-collapse collapse in">
-
- <div class="panel-body" style="font-size:14px">
- <div class="row" style="padding:5px;">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="TransactIdea" style="line-height:100px;">办理意见</label>
- </div>
- <div class="col-xs-12 col-sm-11 col-md-11 col-lg-11 has-error has-feedback">
- <textarea class="form-control" rows="5" value="" placeholder="" id="TransactIdea" name="transact.TransactIdea" maxlength="600" vmode="not null" vdisp="办理意见" vtype="string">${transact.TransactIdea!''}</textarea>
- </div>
- </div>
- <div class="row" style="padding:5px">
-
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="ToAllOrgID">办理方式</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 has-error has-feedback">
- <select id="TransactType" name="transact.TransactType" onChange=setTransactType() class="form-control" vmode="not null" vdisp="办理方式" vtype="string">
- <option value="">请选择</option>
-
- <option value="转办处理">转办处理</option>
- </select>
-
- </div>
-
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="LimitDays">办理时限</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <div class="input-group spinner" data-trigger="spinner" id="LimitDaysSpinner">
- <input type="text" class="form-control text-center" value="15" data-max="30" data-min="0" data-step="1" id="LimitDays" name="appeal.LimitDays" onChange="setLimitEndDate()" maxlength="2" vmode="" vdisp="办理时限" vtype="int" >
- <span class="input-group-addon" id="basic-addon2">${dateType!''}</span>
- <div class="input-group-addon">
- <a href="javascript:;" class="spin-up" data-spin="up" ><i class="fa fa-caret-up"></i></a>
- <a href="javascript:;" class="spin-down" data-spin="down"><i class="fa fa-caret-down"></i></a>
- </div>
- </div>
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="SupEndDate15">15日办结日期</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <input type="text" class="form-control" placeholder="" id="SupEndDate15" name="appeal.SupEndDate15" readonly>
-
- </div>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="LimitEndDate">截止日期</label>
- </div>
- <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
- <input type="text" class="form-control" placeholder="" id="LimitEndDate" name="appeal.LimitEndDate" readonly>
-
- </div>
- </div>
- <div class="row" style="padding:5px" id="ToOrgInfo" hidden>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" >
- <label class="control-label" for="AskInfo">承办人员</label>
- </div>
- <div class="col-xs-12 col-sm-11 col-md-11 col-lg-11">
-
- <div class="input-group">
- <input type="text" class="form-control" value="${transact.ToOrgAndJob!''}" placeholder="" id="ToOrgAndJob" name="transact.ToOrgAndJob" maxlength="200" vmode="" vdisp="承办人员" vtype="string" readonly>
- <div class="input-group-btn">
- <button type="button" class="btn btn-default" aria-label="Left Align" onclick="setZBOrgUser()" title="选择承办人">
- <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
- </button>
- </div>
- </div>
-
- </div>
- </div>
- <div class="row" style="padding:5px" id="CopyToOrgInfo" hidden>
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="AskInfo">抄送人员</label>
- </div>
- <div class="col-xs-12 col-sm-11 col-md-11 col-lg-11">
- <div class="input-group">
- <input type="text" class="form-control" value="" placeholder="" id="CopyToUserShow" name="transact.CopyToUserShow" maxlength="200" vmode="" vdisp="案件抄送人" vtype="string" readonly>
- <div class="input-group-btn">
- <button type="button" class="btn btn-default" aria-label="Left Align" onclick="setSignUser()" title="选择抄送人员">
- <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
- </button>
- </div>
- </div>
-
- </div>
- </div>
-
- </div>
- </div>
- </div>
- </form>
- <div class="panel panel-default">
- <div class="panel-heading">
- <div style="display:inline;" >客诉资料附件 </div>
- <div style="display:inline;" ><a class="panel-title" data-toggle="collapse" data-parent="#accordion" href="#collapseFile"><span id="FileCollapseIcon" onClick="setCollapseIcon('FileCollapseIcon')" class="glyphicon glyphicon-menu-up" aria-hidden="true"></span></a></div>
- </div>
- <div id="collapseFile" class="panel-collapse collapse in">
-
- <div class="panel-body" style="font-size:14px">
-
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-1 col-md-1 col-lg-1" >
-
- <label class="control-label" for="FileAppealID">选择文件</label></div>
- <div class="col-xs-12 col-sm-11 col-md-11 col-lg-11" >
- <input type="hidden" id="FileAppealID" name="FileAppealID" value="${appealID}"/>
- <input id="file-0a" class="file-loading" type="file" multiple data-min-file-count="1">
-
-
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" >
- <table class="table table-striped">
- <tr>
- <td ><label class="form-label" for="web.title">文件名称</label></td>
- <td ><label class="form-label" for="web.title">文件大小</label></td>
- <td ><label class="form-label" for="web.title">上传人</label></td>
- <td ><label class="form-label" for="web.title">上传时间</label></td>
- </tr>
- ${subjoinFileList!''}
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
-
-
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" align=center>
-
- <button type="button" class="btn btn-warning" id="SubmitButton" onclick=doSubmit() disabled><span class="glyphicon glyphicon-save"></span> 提 交</button>
-
- </div>
-
- </div>
-
-
- ${historyInfoList!''}
-
-
-
- </div>
-
- <!-- 根据姓名和证件号码判重后弹出页面,模态框(Modal) -->
- <div class="modal fade" id="repeatModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
- <div class="modal-dialog" role="document" style="width:900px"> >
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
- ×
- </button>
- <h3 class="modal-title" id="myModalLabel">
- <span class="label label-danger">该客户此前进行过客诉,请人工查询判断是否重复录入!</span>
- </h3>
- </div>
- <div class="modal-body">
-
-
- <div class="row" style="padding:1px" >
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="control-label" >姓名</label></div>
- <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" >
- <input type="text" class="form-control" value="" placeholder="" id="Modal_TName" name="Modal_TName" readonly>
- </div>
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="control-label" >身份</label></div>
- <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" >
- <input type="text" class="form-control" value="" placeholder="" id="Modal_Status" name="Modal_Status" readonly>
- </div>
- </div>
- <div class="row" style="padding:1px" >
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="control-label" >证件类型</label></div>
- <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" >
- <input type="text" class="form-control" value="" placeholder="" id="Modal_CardType" name="Modal_CardType" readonly>
- </div>
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="control-label" >证件号码</label></div>
- <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" >
- <input type="text" class="form-control" value="" placeholder="" id="Modal_IDCard" name="Modal_IDCard" readonly>
- </div>
- </div>
- <div class="row" style="padding:2px">
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="control-label" >联系电话1</label></div>
- <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
- <input type="text" class="form-control" value="" placeholder="" id="Modal_LinkTel1" name="Modal_LinkTel1" readonly>
- </div>
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="control-label" >联系地址</label></div>
- <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
- <input type="text" class="form-control" value="" placeholder="" id="Modal_TownAddress" name="Modal_TownAddress" readonly>
- </div>
- </div>
-
- <div class="table-responsive">
- <table class="table table-bordered" id="Modal_Appeal">
- <tr class="info">
- <th class="text-center" width="100px">客诉日期</th>
- <th class="text-center">客诉来源</th>
- <th class="text-center">客诉类型</th>
- <th class="text-center" width="100px">查看详细</th>
- </tr>
- </table>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-warning" onClick="repeatPerson()"><span class="glyphicon glyphicon-user"> 同人新件
- </button>
- <button type="button" class="btn btn-success" onClick="repeatClose()"><span class="glyphicon glyphicon-remove"> 关闭
- </button>
-
- </div>
- </div><!-- /.modal-content -->
- </div><!-- /.modal -->
- </div>
- <!-- 多事故理赔信息弹出页面,模态框(Modal) -->
- <div class="modal fade" id="riskModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
- <div class="modal-dialog" role="document" style="width:900px"> >
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
- ×
- </button>
- <h3 class="modal-title" id="myModalLabel">
- <span class="label label-danger">事故列表!</span>
- </h3>
- </div>
- <div class="modal-body">
-
- <div class="table-responsive">
- <table class="table table-bordered" id="Modal_Risk">
- <tr class="info">
- <th class="text-center">事故编号</th>
- <th class="text-center">事故时间</th>
- <th class="text-center">事故地点</th>
- </tr>
- </table>
- </div>
-
- </div>
- <div class="modal-footer">
-
- <button type="button" class="btn btn-primary" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span> 关闭
- </button>
- </div>
- </div><!-- /.modal-content -->
- </div><!-- /.modal -->
- </div>
- <!-- 根据姓名和证件号码判重后弹出页面,模态框(Modal) 结束-->
- <!-- 根据保单编号查询包含险种信息弹出页面,模态框(Modal)结束 -->
- <!-- 选择单位弹出页面,模态框(Modal) -->
- <div class="modal fade" id="orgModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
- <div class="modal-dialog" role="document" style="width:600px;height:500px;"> >
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
- ×
- </button>
-
- </div>
- <div class="modal-body">
-
-
- <div class="row" style="padding:1px" >
- <ul id="UserTree" class="ztree"></ul>
- </div>
-
-
-
-
- </div>
- <div class="modal-footer">
-
- </div>
- </div><!-- /.modal-content -->
- </div><!-- /.modal -->
- </div>
- <!-- 选择会签人员弹出页面,模态框(Modal) -->
- <div class="modal fade" id="signOrgModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
- <div class="modal-dialog" role="document" style="width:600px;height:500px;">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
- ×
- </button>
- </div>
- <div class="modal-body">
- <div class="row" style="padding:1px" >
- <ul id="SignUserTree" class="ztree"></ul>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-success" onClick="getSignOrgAndJob()"><span class="glyphicon glyphicon-user"> 确定</span></button>
-
- </div>
- </div><!-- /.modal-content -->
- </div><!-- /.modal -->
- </div>
- <div class="modal fade" id="CompactModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
- <div class="modal-dialog" role="document" style="width:900px">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
- ×
- </button>
- <h3 class="modal-title" id="myModalLabel">
- <span class="label label-danger">产品列表!</span>
- </h3>
- </div>
- <div class="modal-body">
-
- <div class="table-responsive">
- <table class="table table-bordered" id="CompactModal_Table">
- <tr class="info">
- <th class="text-center">操作</th>
- <th class="text-center">渠道名称</th>
- <th class="text-center">产品名称</th>
- <th class="text-center">产品占比</th>
- </tr>
- </table>
- </div>
-
-
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-primary" id="InCompactBut" onclick=okCompact() ><span class="glyphicon glyphicon-ok"></span> 确定</button>
- <button type="button" class="btn btn-primary" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span> 关闭
- </button>
- </div>
- </div><!-- /.modal-content -->
- </div><!-- /.modal -->
- </div>
-
- </body>
- <script type="text/javascript">
- $(document).on('ready', function() {
- $('#file-0a').fileinput({
- language: 'zh',
- uploadUrl: '${ctx}/myconsole/complaint/uploadfile/upload?FileAppealID=${appealID}',
- deleteUrl: '${ctx}/myconsole/complaint/uploadfile/delete',
- dropZoneEnabled: false,
- showPreview: true, //显示预览
- allowedFileExtensions : ['jpg', 'png','gif','doc','docx','pdf','mp3','mp4','xlsx'],
- }).on("fileuploaded", function(event,data,previewId,index) {
- if(data.response)
- {
- var result = data.response.id;
- }
- });
- });
-
- $(function() {
- setLimitEndDate();
- setEndDate15();
- $('#LimitDaysSpinner').spinner('changed', function(e, newVal, oldVal) {
- setLimitEndDate();
- });
- });
-
- //删除多余被诉对象
- $(function()
- {
- var respondentNumber=parseInt($("#RespondentNumber").val());
- for(var i=respondentNumber;i<5;i++)
- {
- $("div").remove("#respondent"+i+"_1 div");
- $("div").remove("#respondent"+i+"_2 div");
-
- }
-
- }
- )
-
- </script>
- </html>
|