<apex:page controller="StatusPageController" showHeader="false" id="allPage" sidebar="false" action="{!init}" docType="html-5.0" lightningStylesheets="true">
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
|
<head>
|
<title>跟进</title>
|
<style>
|
body .bPageBlock .detailList .labelCol{
|
width: 22%;
|
}
|
/*kkbes 修改产品咨询相关页面 选择框大小字体 20230918*/
|
body .multiSelectPicklistRow optgroup[label], .slds-vf-scope .multiSelectPicklistRow optgroup[label] {
|
font-size: .80rem;
|
line-height: 1.5;
|
color: rgb(68, 68, 68);
|
font-weight: bold;
|
}
|
body select[size] option, body select[multiple] option, .slds-vf-scope select[size] option, .slds-vf-scope select[multiple] option {
|
text-indent: 0.12rem;
|
font-size: small;
|
}
|
body .bPageBlock .dataCol .multiSelectPicklistRow select[multiple], .slds-vf-scope .bPageBlock .dataCol .multiSelectPicklistRow select[multiple] {
|
display: block;
|
min-width: auto;
|
width: 97px;
|
|
|
</style>
|
|
</head>
|
<script type="text/javascript">
|
function save(){
|
var content = j$(escapeVfId('allPage:allForm:pageBlock:pageBlockSection:content')).value();
|
var contentOther = j$(escapeVfId('allPage:allForm:pageBlock:pageBlockSection:contentOther')).value();
|
if ((content == '' || content == null) && (contentOther.trim() == null || contentOther.trim() == '')) {
|
alert('服务跟进内容不能为空!');
|
return;
|
}else if (content == '其他' && (contentOther.trim() == '' || contentOther.trim() == null)) {
|
alert('服务跟进内容(其他)不能为空!');
|
return;
|
}else if (content == '' || content == null) {
|
alert('服务跟进内容不能为空!');
|
return;
|
}else{
|
blockme();
|
allSave();
|
}
|
}
|
function check(){
|
window.opener.location.href = "/{!Inquiryform.id}";
|
window.close();
|
}
|
</script>
|
<apex:form id="allForm">
|
<apex:actionfunction action="{!servicesavefo}" name="allSave" onComplete="check();unblockUI();"></apex:actionfunction>
|
<apex:pageBlock id="pageBlock">
|
<apex:pageBlockSection id="pageBlockSection">
|
<apex:inputField id="content" value="{!Inquiryform.Service_Follow_Content__c}" />
|
<br />
|
<apex:inputField id="contentOther" value="{!Inquiryform.Service_Follow_Content_Other__c}" style="width: 150px"/>
|
<br />
|
</apex:pageBlockSection>
|
|
<apex:pageblockbuttons location="bottom">
|
<apex:commandButton onclick="save();return false;" value="保存"></apex:commandButton>
|
</apex:pageblockbuttons>
|
</apex:pageBlock>
|
</apex:form>
|
</apex:page>
|