| | |
| | | <!-- 20220217 Li Jun for PIPL End --> |
| | | <script type="text/javascript"> |
| | | AWSService.sfSessionId = '{!GETSESSIONID()}'; |
| | | //像医生区分(职务)下拉列表加入**** |
| | | // var o = new Option(); |
| | | // o.text = '****'; |
| | | // document.getElementById('Page:mainForm:idSearchVisitor:updateContactDoctorDivision').add(o); |
| | | function addContact(){ |
| | | window.opener.showModal(); |
| | | |
| | |
| | | let y=window.event.y; |
| | | createDiv.style.left=x; |
| | | createDiv.style.top=y; |
| | | createDiv.style.marginLeft='20px'; |
| | | createDiv.style.marginTop='-40px'; |
| | | createDiv.style.height='80px'; |
| | | createDiv.style.width='120px'; |
| | | createDiv.style.background = "#dddddd"; |
| | | createDiv.style.position = "absolute"; |
| | | parentNode.appendChild(createDiv); |
| | |
| | | return JSON.stringify([{ |
| | | lastName : document.getElementById("Page:mainForm:idSearchVisitor:updateContactLastName").value, |
| | | phone : document.getElementById("Page:mainForm:idSearchVisitor:updateContactPhone").value, |
| | | type : document.getElementById("Page:mainForm:idSearchVisitor:updateContactType").value, |
| | | doctorDivision1 : document.getElementById("Page:mainForm:idSearchVisitor:updateContactDoctorDivision").value, |
| | | dataId:selectedAwsDataId |
| | | }]); |
| | | } |
| | |
| | | return; |
| | | } |
| | | blockme(); |
| | | let es = document.getElementsByTagName('select') |
| | | for(let ei in es){ |
| | | let e = es[ei]; |
| | | for(let opi in e.options){ |
| | | let op = e.options[opi]; |
| | | if(!op)continue; |
| | | if(op.value == "*****" && op.selected){ |
| | | unblockUI(); |
| | | alert('下拉框不能主动选择密文选项') |
| | | return; |
| | | } |
| | | } |
| | | } |
| | | ProcessPIForAWS({},GetEditObj()); |
| | | } |
| | | function Trans(){ |