| | |
| | | <apex:page id="Page" showHeader="false" sidebar="false" Controller="SetPersonalTargetController" action="{!init}"> |
| | | <apex:page id="Page" showHeader="false" sidebar="false" Controller="SetPersonalTargetController" action="{!init}" lightningStylesheets="true"> |
| | | <head> |
| | | <title>部门担当者目标设定(医院担当)</title> |
| | | |
| | |
| | | unblockUI(); |
| | | } |
| | | } |
| | | function DisableAllButtons (actionText) { |
| | | var button = document.getElementById("Page:Form:headBlock:updateToTarget"); |
| | | button.disabled = true; |
| | | button.classList.add("btnDisabled"); |
| | | } |
| | | //20200618 SWAG-BQ7CM9 添加UpdateJs 调用Apex 中Update函数 by ljh |
| | | function UpdateJs(actionText) { |
| | | blockme_dark(); |
| | | if (window.confirm('确定要反应到目标吗?')) { |
| | | Update(); |
| | | // j$(escapeVfId('Page:Form:headBlock:updateToTarget')).attr("disabled",true); |
| | | // alert('请等待提示【反映到目标成功】在做其他操作'); |
| | | DisableAllButtons(actionText); |
| | | } else { |
| | | unblockUI(); |
| | | } |
| | | } |
| | | // 20220613 WLIG-CER9NQ you 页面中拿掉改成batch执行 |
| | | // function DisableAllButtons (actionText) { |
| | | // var button = document.getElementById("Page:Form:headBlock:updateToTarget"); |
| | | // button.disabled = true; |
| | | // button.classList.add("btnDisabled"); |
| | | // } |
| | | |
| | | |
| | | // //20200618 SWAG-BQ7CM9 添加UpdateJs 调用Apex 中Update函数 by ljh |
| | | // function UpdateJs(actionText) { |
| | | // blockme_dark(); |
| | | // if (window.confirm('确定要反应到目标吗?')) { |
| | | // Update(); |
| | | // // j$(escapeVfId('Page:Form:headBlock:updateToTarget')).attr("disabled",true); |
| | | // // alert('请等待提示【反映到目标成功】在做其他操作'); |
| | | // DisableAllButtons(actionText); |
| | | // } else { |
| | | // unblockUI(); |
| | | // } |
| | | // } |
| | | function nextJs() { |
| | | blockme(); |
| | | if (j$(escapeVfId('Page:Form:editBlock:changeFlg')).value() == 1) { |
| | |
| | | </apex:actionFunction> |
| | | <!--CHAN-BDQBLX 20210125 you end --> |
| | | <apex:actionFunction name="save" action="{!saveBtn}" rerender="MessageP,editBlock" oncomplete="unblockUI();" /> |
| | | <!--20220613 WLIG-CER9NQ you 页面中拿掉改成batch执行--> |
| | | <!-- 20200618 SWAG-BQ7CM9 添加Update action function by ljh --> |
| | | <apex:actionFunction name="Update" action="{!UpdateBtn}" rerender="MessageP,dataBlock" oncomplete="unblockUI();Secin();" /> |
| | | <!--<apex:actionFunction name="Update" action="{!UpdateBtn}" rerender="MessageP,dataBlock" oncomplete="unblockUI();Secin();" /> --> |
| | | <apex:actionFunction name="next" action="{!next}" rerender="Form" oncomplete="unblockUI();"> |
| | | <apex:param name="saveFlg" assignTo="{!saveFlg}" value="" /> |
| | | </apex:actionFunction> |
| | |
| | | <apex:inputCheckBox value="{!p.check}" id="post" onchange="searchByFilterJs();return false;"/><apex:outputLabel value="{!p.positionName}" for="post"/> |
| | | </apex:repeat> |
| | | </td> |
| | | <!-- 20220613 WLIG-CER9NQ you 页面中拿掉改成batch执行 |
| | | <td align="right" width="80"> |
| | | <!-- 20200619 add 反应到目标 按钮 --> |
| | | 20200619 add 反应到目标 按钮 |
| | | <apex:commandButton value="反应到目标" id="updateToTarget" style="margin-left: 20px;" rerender="dummy" onclick="UpdateJs(this);return false;" rendered="{!Not(isPast)}"/> |
| | | </td> |
| | | --> |
| | | <!--CHAN-BDQBLX 20210125 you start --> |
| | | <td width="80"> |
| | | <apex:commandbutton onclick="exportJs();return false;" id="export" value="导出数据模板"> |
| | |
| | | <th width="70px" class="headerRow booleanColumn">省</th> |
| | | <th class="headerRow booleanColumn">角色</th> |
| | | <th width="70px" class="headerRow booleanColumn">担当</th> |
| | | <th width="70px" class="headerRow booleanColumn">职位</th> |
| | | <th width="70px" class="headerRow booleanColumn">HR通用职级</th> <!-- 20220517 lt SWAG-CD28H3 Update --> |
| | | <th width="70px" class="headerRow booleanColumn">负责<br/>产品分类(主)</th> |
| | | <!--wangweipeng 20210615--> |
| | | <th width="70px" class="headerRow booleanColumn">负责<br/>产品分类(兼)</th> |
| | |
| | | <td class="dataCell">{!dbs.user.Province__c}</td> |
| | | <td class="dataCell">{!dbs.user.UserRole.Name}</td> |
| | | <td class="dataCell">{!dbs.user.Alias}</td> |
| | | <td class="dataCell">{!dbs.user.Post__c}</td> |
| | | <td class="dataCell">{!dbs.user.HR_Post__c}</td> <!-- 20220517 lt SWAG-CD28H3 Update --> |
| | | <td class="dataCell" style="word-wrap:break-word;max-width:70px;">{!SUBSTITUTE(dbs.user.Product_specialist_incharge_product__c, ";", "; ")}</td> |
| | | <!--wangweipeng 20210615--> |
| | | <td class="dataCell" style="word-wrap:break-word;max-width:70px;">{!SUBSTITUTE(dbs.user.Responsible_for_Products_Concurrently__c, ";", "; ")}</td> |