|
@@ -0,0 +1,1131 @@
|
|
|
|
+<script id="ruleTpl" type="text/template">
|
|
|
|
+ <div class="titles">
|
|
|
|
+ <span style="position:relative">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_19}
|
|
|
|
+ ${rows.ruleName}</span>
|
|
|
|
+ <span class="instructions"></span>
|
|
|
|
+ <span style="margin-left:42px">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_20}
|
|
|
|
+ ${rows.perfModelName}</span>
|
|
|
|
+ <span class="name_time">${rows.planName}</span>
|
|
|
|
+ <span class="name_time">${rows.periodName}(${rows.pStartDate}-${rows.pEndDate})</span>
|
|
|
|
+ </div>
|
|
|
|
+</script>
|
|
|
|
+<script id="wrapTpl" type="text/template">
|
|
|
|
+ <!-- <div class="titles">
|
|
|
|
+ <span style="position:relative">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_19}
|
|
|
|
+ ${rows.ruleName}</span>
|
|
|
|
+ <span class="instructions"></span>
|
|
|
|
+ <span style="margin-left:42px">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_20}
|
|
|
|
+ ${rows.perfModelName}</span>
|
|
|
|
+ <span class="name_time">${rows.planName}(${rows.pStartDate}-${rows.pEndDate})</span>
|
|
|
|
+ </div> -->
|
|
|
|
+ <div class="evaluation clearfix">
|
|
|
|
+ </div>
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<script id="contentTpl" type="text/template">
|
|
|
|
+ {@each rows as list,index0}
|
|
|
|
+ <div class="areawrap" areaId="${list.areaId}" areatype="${list.areaType}">
|
|
|
|
+ <!-- <div class="areaname">
|
|
|
|
+ ${list.areaName}(<span class="areaweight" areaWeight="${list.areaWeight}">${list.areaWeight}</span>%)
|
|
|
|
+ </div> -->
|
|
|
|
+ <div class="areaname" realAreaName=${list.areaName} area-id="${list.areaId}"
|
|
|
|
+ {@if list.weightControl=="1" && (list.sumScoreRule=="400" || list.sumScoreRule=="500")}
|
|
|
|
+ title="${list.areaName}({@if list.scoringWay == 0}${jsBizMultLan.perfweb_perfGoalsFillNew_26551296_i18n_65}:${list.areaControlWeight}%{@else}${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_37|formatMsg,[list.areaControlWeight]}{@/if})">
|
|
|
|
+ <span class="areaname-text">${list.areaName}</span>
|
|
|
|
+ {@if list.scoringWay == 0}
|
|
|
|
+ (
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_40|formatMsg,[list.areaControlWeight]}
|
|
|
|
+ {@else}
|
|
|
|
+ (
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_37|formatMsg,[list.areaControlWeight]}
|
|
|
|
+ {@/if}
|
|
|
|
+ )
|
|
|
|
+ {@else if list.weightControl=="1"}
|
|
|
|
+ title="${list.areaName}({@if list.scoringWay == 0}${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_38|formatMsg,[list.areaControlWeight]}{@else}${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_25|formatMsg,[list.areaControlWeight]}{@/if})">
|
|
|
|
+ <span class="areaname-text">${list.areaName}(
|
|
|
|
+ {@if list.scoringWay == 0}
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_38|formatMsg,[list.areaControlWeight]}
|
|
|
|
+ {@else}
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_36|formatMsg,[list.areaControlWeight]}
|
|
|
|
+
|
|
|
|
+ {@/if}
|
|
|
|
+ )</span>
|
|
|
|
+ {@else if list.sumScoreRule=="400" || list.sumScoreRule=="500"}
|
|
|
|
+ title="
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_0|formatMsg,[list.areaName]}
|
|
|
|
+ ">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_0|formatMsg,[list.areaName]}
|
|
|
|
+ {@else}
|
|
|
|
+ title="${list.areaName}"><span class="areaname-text">${list.areaName}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if list.canRate == '1' && list.subAreaType != '1'}
|
|
|
|
+ <div class="partGrade">
|
|
|
|
+ {@if list.scoringWay == 0}
|
|
|
|
+ (${jsBizMultLan.perfweb_perfGoalsFillNew_26551296_i18n_65}:
|
|
|
|
+ <span class="areaweight" sumScoreRule="${list.sumScoreRule}" areaControlWeight="${list.areaControlWeight}" weightControl="${list.weightControl}" areaweight="${list.areaWeight}"> ${list.areaWeight}%</span>)
|
|
|
|
+ {@else}
|
|
|
|
+ (${jsBizMultLan.perfweb_perfGoalsFillNew_26551296_i18n_41}:
|
|
|
|
+ <span class="areaweight" sumScoreRule="${list.sumScoreRule}" areaControlWeight="${list.areaControlWeight}" weightControl="${list.weightControl}"> ${list.areaWeight}${jsBizMultLan.perfweb_perfgoalsfill_1593331244239_i18n_0}</span>)
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if (pageType == 0 || pageType == 1 || pageType == 6) && operatestate != 'VIEW' && btnPerm}
|
|
|
|
+ <div class="movebtn-wrap">
|
|
|
|
+ {@if btnPerm.addTargetPerm && !list.hideadd }
|
|
|
|
+ <span class="movebtn-up add-indicator" onclick="it.addIndicatorsNew(this,'${list.areaId}','${list.areaType}','addIndicator',${index0})">${jsBizMultLan.perfweb_evaluationdetailsJuicer_1593047101393_i18n_0}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if btnPerm.refTargetPerm && !list.hideref }
|
|
|
|
+ <span class="movebtn-up ref-indicator" onclick="it.addIndicatorsNew(this,'${list.areaId}','${list.areaType}','referenceIndicator',${index0})">${jsBizMultLan.perfweb_evaluationdetailsJuicer_1593047101393_i18n_1}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+
|
|
|
|
+ {@if viewType == 'list' && !list.hidemovebtn }
|
|
|
|
+ <span class="movebtn-up" onclick="it.moveUpForGrid(this,'tab${index0}','${list.areaType}')">${jsBizMultLan.perfweb_perfgoalsfillnew_20230307yw_01}</span>
|
|
|
|
+ <span class="movebtn-down" onclick="it.moveDownForGrid(this,'tab${index0}','${list.areaType}')">${jsBizMultLan.perfweb_perfgoalsfillnew_20230307yw_02}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ <span class="btn-control controller_active" onclick="it.foldIndicator(this)"></span>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if list.rema}
|
|
|
|
+ <div class="area-rema-box" area-id="${list.areaId}">
|
|
|
|
+ <span>${jsBizMultLan.perfweb_evaluationdetailsJuicer_1586069239184_i18n_5}</span>
|
|
|
|
+ <pre area-id="${list.areaId}">${list.rema}</pre>
|
|
|
|
+ <div class="area-rema-btn" onclick="showMoreRema(this,'${list.areaId}')">${jsBizMultLan.perfweb_perfGoalsFillNew_26551296_i18n_102}</div>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ {@if viewType == 'list'}
|
|
|
|
+ <div class="tabwrap">
|
|
|
|
+ <table class="indictab" id="tab${index0}" areaId="${list.areaId}"></table>
|
|
|
|
+ </div>
|
|
|
|
+ {@else}
|
|
|
|
+ <ul class="indicatorwrap">
|
|
|
|
+ {@each list.targetItems as item,index1}
|
|
|
|
+ <li indId="${item.FID}">
|
|
|
|
+ <!--{# personalGoalStatus,0:保存,1:提交,2:下达,3:已统一下达}-->
|
|
|
|
+ <div class="state state${item.FGOALSSTATUS.value}"><i></i>${item.FGOALSSTATUS.alias}</div>
|
|
|
|
+ <div class="field-line first-line">
|
|
|
|
+ <pre class="indicaname">{@if item.FNAME}${item.FNAME}{@else if item.FKEYITEM}${item.FKEYITEM} {@/if}</pre>
|
|
|
|
+ {@if list.canRate == '1' && list.subAreaType != 1}
|
|
|
|
+ <span class="weightorscore">
|
|
|
|
+ {@if list.scoringWay == 1}
|
|
|
|
+ (<span class="ind-weight">${item.FTARSCORE}</span>${jsBizMultLan.perfweb_perfgoalsfill_1593331244239_i18n_0})
|
|
|
|
+ {@else if list.scoringWay == 0}
|
|
|
|
+ (<span class="ind-weight">${item.FWEIGHT}</span>%)
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if pageType != 1 && pageType != 0 && dataType == 'targetDecompose'}
|
|
|
|
+ <!-- {# 指标分解新增字段,目标值、实际完成值} -->
|
|
|
|
+ {@each item.fieldslist as field, index}
|
|
|
|
+ {@if field.colName == 'FTARGETVALUE'}
|
|
|
|
+ <span class="decfileds">${field.showName}:<em class="ptargetvalue">
|
|
|
|
+ {@if field.fieldvalue && field.fieldvalue !='NaN' && field.fieldvalue !='null'}
|
|
|
|
+ ${field.fieldvalue}
|
|
|
|
+ {@/if}
|
|
|
|
+ </em>
|
|
|
|
+ {@if item.FUNIT && item.FUNIT !='NaN' && item.FUNIT !='null'}
|
|
|
|
+ ${item.FUNIT}
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if field.colName == 'FACTUALCOMPLEVALUE'}
|
|
|
|
+ <span class="decfileds">${field.showName}:<em class="pactualvalue">${field.fieldvalue}</em>${item.FUNIT}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/each}
|
|
|
|
+ <span class="schedule parentschedule">
|
|
|
|
+ <span class="schedule-name">${jsBizMultLan.perfweb_perfgoalsfill_1593331244239_i18n_1}</span>
|
|
|
|
+ <span class="wholebar">
|
|
|
|
+ <span class="finishbar" style="width: ${list.FTARGETVALUE | targetSchedule , list.FACTUALCOMPLEVALUE}%"></span>
|
|
|
|
+ </span>
|
|
|
|
+ <span class="percentnum">0</span>%
|
|
|
|
+ </span>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ {@if showAllFields}
|
|
|
|
+ class="field-box show-more"
|
|
|
|
+ {@else}
|
|
|
|
+ class="field-box"
|
|
|
|
+ {@/if}
|
|
|
|
+ >
|
|
|
|
+ {@if dataType != 'targetDecompose'}
|
|
|
|
+ <!-- {# 目标填报页面新增指标来源、指标负责人字段} -->
|
|
|
|
+ {@if item.FSOURCE}
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_66}">${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_67}</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ ${item.FSOURCE}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if item.FRESPONSERNAME}
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title=${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_27}>${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_28}</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ ${item.FRESPONSERNAME}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/if}
|
|
|
|
+ {@each item.fieldslist as it,index2}
|
|
|
|
+ {# 指标维护阶段为非指标评价阶段 非是否统一下达字段 }
|
|
|
|
+ {@if it.fieldMaintenanceStage !== '200' && it.colName !== 'FISUNITED' && it.colName !== 'FNAME' && it.colName !== 'FKEYITEM' && it.colName !== 'FWEIGHT' && it.colName !== 'FTARSCORE'}
|
|
|
|
+ <!--{# 计划完成日期}-->
|
|
|
|
+ {@if it.colName == 'FPSTARTDATE' || it.colName == 'FPENDDATE' || it.colName == 'FPLANEDDATE'}
|
|
|
|
+ <div class="field-line" field-type="${it.fieldType}">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span><span class="field-value">
|
|
|
|
+ {@if it.fieldvalue}
|
|
|
|
+ ${it.fieldvalue.substr(0,10)}
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else if it.colName == 'FREJECTION' || (it.colName.indexOf('FEXTEND') > -1 && it.fieldType === 'Boolean' && it.fieldMaintenanceStage !== '200')} {# 否决项、扩展字段布尔类型}
|
|
|
|
+ <div class="field-line" field-type="${it.fieldType}">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span><span class="field-value">
|
|
|
|
+ ${it.fieldvalue=='1' ? jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_52 : jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_12}</span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else if it.colName == 'FQUALIORRATION'}
|
|
|
|
+ <!--{# 定性/定量}-->
|
|
|
|
+ <div class="field-line" field-type="${it.fieldType}">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span><span class="field-value">
|
|
|
|
+ ${it.fieldvalue=="0" ? jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_11 : jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_10}</span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else if it.colName == 'FISVISIBLE'}
|
|
|
|
+ <!-- {# 可见性} -->
|
|
|
|
+ <div class="field-line" field-type="${it.fieldType}">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span>
|
|
|
|
+ <span class="field-value">${it.fieldvalue=="0" ? jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_2 : jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_14}</span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else if it.colName == 'FISUNITED'}
|
|
|
|
+ <!--{# 是否统一下达}-->
|
|
|
|
+ <div class="field-line" field-type="${it.fieldType}">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span><span class="field-value">
|
|
|
|
+ ${it.fieldvalue=="0" ? jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_12 : jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_52}</span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else if it.colName == 'FSCORINGFORMULA' || it.colName == 'FINDECATORTYPE'}
|
|
|
|
+ <!--{# 评分公式、指标类型}-->
|
|
|
|
+ <div class="field-line" field-type="${it.fieldType}">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ {@if it.fieldvalue}
|
|
|
|
+ ${it.fieldvalue.name}
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else if it.colName == 'FISVISIBLE'}
|
|
|
|
+ <!--{# 可见性}-->
|
|
|
|
+ <div class="field-line" field-type="${it.fieldType}">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span><span class="field-value">
|
|
|
|
+ {@if it.fieldvalue=="0" }
|
|
|
|
+ <!--不公開-->
|
|
|
|
+ ${$.perfwebI18n.tableConstant.msg4}
|
|
|
|
+ {@else}
|
|
|
|
+ <!--公開-->
|
|
|
|
+ ${$.perfwebI18n.tableConstant.msg3}
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {# 如果是扩展字段匹配字段维护阶段配置 }
|
|
|
|
+ {@else if it.colName.indexOf('FEXTEND') > -1}
|
|
|
|
+ {@if it.fieldMaintenanceStage !== '200'}
|
|
|
|
+ <div class="field-line" field-type="${it.fieldType}">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span>
|
|
|
|
+ {@if it.fieldvalue }
|
|
|
|
+ <pre class="field-value" title="${it.fieldvalue}">${it.fieldvalue}</pre>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@else}
|
|
|
|
+ <div class="field-line" field-type="${it.fieldType}">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span>
|
|
|
|
+ {@if it.fieldvalue }
|
|
|
|
+ <pre class="field-value" title="${it.fieldvalue}">${it.fieldvalue}</pre>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/each}
|
|
|
|
+ </div>
|
|
|
|
+ {@if dataType == 'targetDecompose'} <!--{# 指标分解页面}-->
|
|
|
|
+ <div class="field-line-show first-line">
|
|
|
|
+ <span class="field-name" title="${jsBizMultLan.perfweb_perfgoalsfill_1593167704813_i18n_0}">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_1593167704813_i18n_1}</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ {@if isOrg == '0'}
|
|
|
|
+ <span class="puphotowrap">
|
|
|
|
+ <img src="/shr/personSquarePhoto.do?personId=${item.FPERSON}" class="puphoto">
|
|
|
|
+ </span>
|
|
|
|
+ {@/if}
|
|
|
|
+ ${item.FPERSONNAME}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@if parent.length > 0}
|
|
|
|
+ <div class="field-line-show">
|
|
|
|
+ <span class="field-name" title="${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_66}">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_67}</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ {@if parent[0].FNAME}
|
|
|
|
+ ${parent[0].FNAME}
|
|
|
|
+ {@else if parent[0].FKEYITEM}
|
|
|
|
+ ${parent[0].FKEYITEM}
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="field-line-show">
|
|
|
|
+ <span class="field-name" title="${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_27}">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_28}</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ ${parent[0].FPERSONNAME}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/if}
|
|
|
|
+ <div class="btnwrap" indId="${item.FID}">
|
|
|
|
+ {@if pageType != 5 && pageType != 10 && operatestate != 'VIEW'} <!--{# 考核计划执行-未发送-查看评估表,所有按钮统统没有}-->
|
|
|
|
+ {@if (item.FISUNITED == '1' && targetCanEdit==1 ) || item.FISUNITED == '0'} <!--{# 如果指标是统一下达状态,不显示:编辑、删除 的按钮,只显示“指标分解”}-->
|
|
|
|
+ {@if pageType != 7 && pageType != 2 && pageType != 8 && pageType != 4 && pageType != 3} <!--{# 绩效已办-我已填报的目标、我的绩效-我的目标,3绩效已办-我已下达的目标查看,4团队绩效-团队目标查看,8目标确认与打回,不能编辑 、删除}-->
|
|
|
|
+ <span class="editbtn" onclick="it.editIndicator(${index0},${index1})">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_1}</span>
|
|
|
|
+ {@if item.FISUNITED == '0'}
|
|
|
|
+ <span class="delbtn" onclick="it.delgoal(this)">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_44}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if (pageType == 2 || pageType == 4) && item.FGOALSSTATUS.value > 1 && progressUpdate && dataType != 'targetDecompose' && (hideDecompose != '1' || pageType == 4)} <!--{# 我的绩效-我的目标打开的填报页面,且指标已下达才显示进度更新按钮}-->
|
|
|
|
+ <span class="updbtn" onclick="it.openTargetDecomposePage('${list.areaId}','${item.FID}',0)">
|
|
|
|
+ {@if pageType == 4}
|
|
|
|
+ <!--查看进度-->
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfillhtml_888}
|
|
|
|
+ {@else}
|
|
|
|
+ <!--{# 进度更新}-->
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_18}
|
|
|
|
+ {@/if}
|
|
|
|
+
|
|
|
|
+ </span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if pageType != 3 && pageType != 7 && pageType != 8 && list.areaType != 300 && hideDecompose != '1'} <!--{# 绩效已办-我已下达的目标和我已填报的目标不显示指标分解按钮。targetDecompose为false不显示,为true显示。记录表区域不显示指标分解按钮}-->
|
|
|
|
+ {@if targetDecompose}
|
|
|
|
+ <span class="decbtn" onclick="it.openTargetDecomposePage('${list.areaId}','${item.FID}',1)">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_65}
|
|
|
|
+ </span>
|
|
|
|
+ {@/if}
|
|
|
|
+
|
|
|
|
+ <!--{# 补丁11 任务管理-指标填报页面显示任务按钮-yien todo 增加权限项}-->
|
|
|
|
+ <!--{# BT1460759 指标任务按钮 只在我的目标目标状态已下达了 才显示}-->
|
|
|
|
+ {@if item.FGOALSSTATUS.value > 1}
|
|
|
|
+ <!-- <span class="decbtn" onclick="it.openTargetDecomposePage('${list.areaId}','${item.FID}',2)">
|
|
|
|
+ <!–{# 指标任务}–>
|
|
|
|
+ ${$.perfwebI18n.perfTask.indicatorTask}
|
|
|
|
+ </span>-->
|
|
|
|
+ {@/if}
|
|
|
|
+
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if dataType == 'targetDecompose' && list.areaType != 300} <!--{# 指标分解页面}-->
|
|
|
|
+ {@if parent.length > 0}
|
|
|
|
+ <span class="relatbtn" onclick="it.cancelRelation('${item.FID}','${parent[0].FID}','${parent[0].FDECOMPOSETYPE}')">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_41}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if pageType != 4}
|
|
|
|
+ <span class="relatbtn" onclick="it.targetRelation('up','${list.areaType}')">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_58} <span class="uptips"></span></span>
|
|
|
|
+ <span class="relatbtn" onclick="it.targetRelation('down','${list.areaType}')">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_59} <span class="downtips"></span></span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/if}
|
|
|
|
+ <!--BT1423084 执行地图去掉-->
|
|
|
|
+ {@if pageType != 1 && pageType != 0 && dataType == 'targetDecompose'}
|
|
|
|
+ {# <span class="mapbtn" onclick="it.openPerformMapPage('${list.areaId}','${item.FID}',0)">${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_5}</span>}
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if dataType != 'targetDecompose' && pageType != 2 && pageType != 4 }
|
|
|
|
+ <span class="moveup" onclick="it.moveUp('${item.FID}','${list.areaType}')"></span>
|
|
|
|
+ <span class="movedown" onclick="it.moveDown('${item.FID}','${list.areaType}')"></span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if showAllFields}
|
|
|
|
+ <span class="morefields onspread" onclick="it.showMoreFields(this)">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfGoalsFillNew_26551296_i18n_73}</span>
|
|
|
|
+ {@else}
|
|
|
|
+ <span class="morefields" onclick="it.showMoreFields(this)">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_64}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ </li>
|
|
|
|
+ {@/each}
|
|
|
|
+ </ul>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ {@/each}
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<!--补丁10 是否必填-yien-->
|
|
|
|
+<script id="editBoxTpl" type="text/template">
|
|
|
|
+ <div id="editboxDialog" indid="${rows.FID}" isUnited="${rows.FISUNITED}" areatype="${rows.areaType}">
|
|
|
|
+ {@if rows.isToPerson == 1||rows.s2d == 'orgToOrg' || rows.s2d== 'orgToPerson'}
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${jsBizMultLan.perfweb_perfTargetDecompose_bw0812_01}">${jsBizMultLan.perfweb_perfTargetDecompose_bw0812_01}</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ <input type="text" id="toPersonArea" name="toPersonArea" value="" onblur="" >
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@each rows.fieldslist as it,index}
|
|
|
|
+ {# 指标维护阶段为非指标评价阶段 非是否统一下达字段 }
|
|
|
|
+ {@if (typeof it.fieldMaintenanceStage === 'string' && it.fieldMaintenanceStage !== '200') || (it.fieldMaintenanceStage.hasOwnProperty('value') && it.fieldMaintenanceStage.value !== '200') && it.colName !== 'FISUNITED'}
|
|
|
|
+ <!--{# 否决项}-->
|
|
|
|
+ {@if it.colName == 'FREJECTION'}
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ <input type="checkbox" id="${it.colName}" name="${it.colName}" fname="${it.colName}" showName="${it.showName}"
|
|
|
|
+ {@if it.fieldvalue=='1'}
|
|
|
|
+ checked
|
|
|
|
+ {@/if}
|
|
|
|
+ >
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {# 扩展字段 }
|
|
|
|
+ {@else if it.colName.indexOf('FEXTEND') === 0}
|
|
|
|
+ {# 匹配字段维护阶段 }
|
|
|
|
+ {@if (typeof it.fieldMaintenanceStage === 'string' && it.fieldMaintenanceStage !== '200') || (it.fieldMaintenanceStage.hasOwnProperty('value') && it.fieldMaintenanceStage.value !== '200')}
|
|
|
|
+ <div class="field-line
|
|
|
|
+ {@if it.fieldType == 'LongText'}
|
|
|
|
+ full-line
|
|
|
|
+ {@/if}
|
|
|
|
+ ">
|
|
|
|
+ <span class="field-name" data-fieldType="${it.fieldType}" title="${it.showName}">${it.showName}:</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ {@if typeof it.fieldType === 'string'}
|
|
|
|
+ {@if it.fieldType == 'LongText'}
|
|
|
|
+ <textarea data-value_l1="${it.fieldvalue_l1}" data-value_l2="${it.fieldvalue_l2}" data-value_l3="${it.fieldvalue_l3}" id="${it.colName}" name="${it.colName}" fname="${it.colName}" showName="${it.showName}" onblur="it.judgeVal(this)" class="${it.isRequired == "1" ? "required" : ""}" data-isrequired="${it.isRequired}" data-showname="${it.showName}" field-type="${it.fieldType}">${it.fieldvalue}</textarea>
|
|
|
|
+ {@else if it.fieldType == 'Boolean'}
|
|
|
|
+ <input type="checkbox" id="${it.colName}" name="${it.colName}" fname="${it.colName}" showName="${it.showName}" field-type="${it.fieldType}"
|
|
|
|
+ {@if it.fieldvalue=="1"}
|
|
|
|
+ checked
|
|
|
|
+ {@/if}
|
|
|
|
+ >
|
|
|
|
+ {@else}
|
|
|
|
+ <input data-value_l1="${it.fieldvalue_l1}" data-value_l2="${it.fieldvalue_l2}" data-value_l3="${it.fieldvalue_l3}" type="text" id="${it.colName}" name="${it.colName}" fname="${it.colName}" value="${it.fieldvalue}" onblur="it.judgeVal(this)" showName="${it.showName}" class="${it.isRequired == "1" ? "required" : ""}" data-isrequired="${it.isRequired}" data-showname="${it.showName}" field-type="${it.fieldType}"
|
|
|
|
+ {@if it.fieldType=="Select"}
|
|
|
|
+ select-options="${it | dealWithOptions}"
|
|
|
|
+ {@/if}
|
|
|
|
+ >
|
|
|
|
+ {@/if}
|
|
|
|
+ {@else}
|
|
|
|
+ {@if it.fieldType.value == '20'}
|
|
|
|
+ <textarea data-value_l1="${it.fieldvalue_l1}" data-value_l2="${it.fieldvalue_l2}" data-value_l3="${it.fieldvalue_l3}" id="${it.colName}" name="${it.colName}" fname="${it.colName}" showName="${it.showName}" onblur="it.judgeVal(this)" class="${it.isRequired == "1" ? "required" : ""}" data-isrequired="${it.isRequired}" data-showname="${it.showName}" field-type="${it.fieldType | dealWithFieldType}">${it.fieldvalue}</textarea>
|
|
|
|
+ {@else if it.fieldType.value == '40'}
|
|
|
|
+ <input type="checkbox" id="${it.colName}" name="${it.colName}" fname="${it.colName}" showName="${it.showName}" field-type="${it.fieldType | dealWithFieldType}"
|
|
|
|
+ {@if it.fieldvalue=="1"}
|
|
|
|
+ checked
|
|
|
|
+ {@/if}
|
|
|
|
+ >
|
|
|
|
+ {@else}
|
|
|
|
+ <input data-value_l1="${it.fieldvalue_l1}" data-value_l2="${it.fieldvalue_l2}" data-value_l3="${it.fieldvalue_l3}" type="text" id="${it.colName}" name="${it.colName}" fname="${it.colName}" value="${it.fieldvalue}" onblur="it.judgeVal(this)" showName="${it.showName}" class="${it.isRequired == "1" ? "required" : ""}" data-isrequired="${it.isRequired}" data-showname="${it.showName}" field-type="${it.fieldType | dealWithFieldType}"
|
|
|
|
+ {@if it.fieldType.value=="50"}
|
|
|
|
+ select-options="${it | dealWithOptions}"
|
|
|
|
+ {@/if}
|
|
|
|
+ >
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/if}
|
|
|
|
+ <div class="errowmsg" for="${it.colName}"></div>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {# 长字段}
|
|
|
|
+ {# 评价标准、指标描述、衡量标准、备注}
|
|
|
|
+ {@else if it.colName == 'FEVALSTANDARD' || it.colName == 'FINDECATORDESC' || it.colName == 'FREMARK' || it.colName == 'FMEASURESTANDARD' || it.colName == 'FREMA' || it.colName == 'FNAME' || it.colName == 'FKEYITEM'
|
|
|
|
+ } <!-- 补丁10优化-自定义扩展字段能多行显示 modified by Janeou_xie -->
|
|
|
|
+ <div class="field-line full-line">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ {# 补丁11 指标实例多语言字段改造}
|
|
|
|
+ <textarea data-value_l1="${it.fieldvalue_l1}" data-value_l2="${it.fieldvalue_l2}" data-value_l3="${it.fieldvalue_l3}" id="${it.colName}" name="${it.colName}" fname="${it.colName}" showName="${it.showName}" onblur="it.judgeVal(this)" class="${it.isRequired == "1" ? "required" : ""}" data-isrequired="${it.isRequired}" data-showname="${it.showName}">${it.fieldvalue}</textarea>
|
|
|
|
+ <div class="errowmsg" for="${it.colName}"></div>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {# 必录字段蓝底}
|
|
|
|
+ {@else if it.colName == 'FNUMBER' || it.colName == 'FWEIGHT' || it.colName == 'FTARSCORE' || it.colName == 'FINDECATORTYPE'}
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}{@if it.colName == 'FWEIGHT'}(%){@/if}:</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ {@if it.colName == 'FINDECATORTYPE'}
|
|
|
|
+ {# 指标类型 F7}
|
|
|
|
+ <input type="text" id="${it.colName}" name="${it.colName}" fname="${it.colName}" onblur="it.judgeVal(this)" readonly="readonly" showName="${it.showName}" class="${it.isRequired == "1" ? "required" : ""}" data-isrequired="${it.isRequired}" data-showname="${it.showName}"/>
|
|
|
|
+ {@else if it.colName == 'FWEIGHT'|| it.colName == 'FTARSCORE'}<!--权重和分值设置最大长度-->
|
|
|
|
+ <input type="text" id="${it.colName}" name="${it.colName}" fname="${it.colName}" value="${it.fieldvalue}" onblur="it.judgeVal(this)" showName="${it.showName}" maxlength="7" class="${it.isRequired == "1" ? "required" : ""}" data-isrequired="${it.isRequired}" data-showname="${it.showName}"/>
|
|
|
|
+ {@else}
|
|
|
|
+ <input data-value_l1="${it.fieldvalue_l1}" data-value_l2="${it.fieldvalue_l2}" data-value_l3="${it.fieldvalue_l3}" type="text" id="${it.colName}" name="${it.colName}" fname="${it.colName}" value="${it.fieldvalue}" onblur="it.judgeVal(this)" showName="${it.showName}" class="${it.isRequired == "1" ? "required" : ""}" data-isrequired="${it.isRequired}" data-showname="${it.showName}"/>
|
|
|
|
+ {@/if}
|
|
|
|
+ <div class="errowmsg" for="${it.colName}"></div>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else}
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ {@if it.colName == 'FSCORINGFORMULA'}
|
|
|
|
+ {# 评分公式 F7}
|
|
|
|
+ <input type="text" id="${it.colName}" name="${it.colName}" fname="${it.colName}" readonly="readonly" showName="${it.showName}" class="${it.isRequired == "1" ? "required" : ""}" data-isrequired="${it.isRequired}" data-showname="${it.showName}">
|
|
|
|
+ <div class="errowmsg" for="${it.colName}"></div>
|
|
|
|
+ {@else}
|
|
|
|
+ <input data-value_l1="${it.fieldvalue_l1}" data-value_l2="${it.fieldvalue_l2}" data-value_l3="${it.fieldvalue_l3}" type="text" id="${it.colName}" name="${it.colName}" fname="${it.colName}" value="${it.fieldvalue}" showName="${it.showName}" onblur="it.judgeVal(this)" class="${it.isRequired == "1" ? "required" : ""}" data-isrequired="${it.isRequired}" data-showname="${it.showName}">
|
|
|
|
+ <div class="errowmsg" for="${it.colName}"></div>
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/each}
|
|
|
|
+ </div>
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<script id="addNewIndicatorsTpl" type="text/template">
|
|
|
|
+ <div id="addPerfIndicatorsDialog">
|
|
|
|
+ <div id="addnewPIbox" class="PIbox">
|
|
|
|
+ <p style="margin:20px 0 0">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_60}</p>
|
|
|
|
+ <ul class="partplist" id="partplist">
|
|
|
|
+ {@each rows.evaAreaList as area,i}
|
|
|
|
+ {@if i == 0}
|
|
|
|
+ <li class="partlistselect"><span class="partnumber_1 textOverflow" areaId="${area.areaId}" areaType="${area.areaType}" title="${area.areaName}">${area.areaName}</span>
|
|
|
|
+ <span class="grouplistselect_icon"></span></li>
|
|
|
|
+ {@else}
|
|
|
|
+ <li><span class="partnumber_1 textOverflow" areaId="${area.areaId}" areaType="${area.areaType}" title="${area.areaName}">${area.areaName}</span></li>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/each}
|
|
|
|
+ </ul>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<script id="referenceIndicatorsTpl" type="text/template">
|
|
|
|
+ <div id="addPerfIndicatorsDialog">
|
|
|
|
+ <div style="color:#666">
|
|
|
|
+ {@if currAreaType == '300'}
|
|
|
|
+ <span class="radio-btn-wrap" id="referencePI" data-index="0" onclick="it.addPI(this.id)" style="display:none;">
|
|
|
|
+ {@else}
|
|
|
|
+ <span class="radio-btn-wrap" id="referencePI" data-index="0" onclick="it.addPI(this.id)" >
|
|
|
|
+ {@/if}
|
|
|
|
+ <span class="radio-btn radio-checked"></span>
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_15}
|
|
|
|
+ </span>
|
|
|
|
+
|
|
|
|
+ <span class="radio-btn-wrap" id="reference_existingPI" data-index="1" onclick="it.addPI(this.id)">
|
|
|
|
+ <span class="radio-btn"></span>
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_62}
|
|
|
|
+ </span>
|
|
|
|
+ <span class="radio-btn-wrap" id="reference_existingPI_2" data-index="2" onclick="it.addPI(this.id)">
|
|
|
|
+ <span class="radio-btn"></span>
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_62}
|
|
|
|
+ </span>
|
|
|
|
+ <span class="radio-btn-wrap" id="reference_orgPI" data-index="3" onclick="it.addPI(this.id)">
|
|
|
|
+ <span class="radio-btn"></span>
|
|
|
|
+ <!--组织指标-->
|
|
|
|
+ ${$.perfwebI18n.commonMsg.orgTarget}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@if currAreaType == '300'}
|
|
|
|
+ <div id="referencePIbox" class="PIbox" style="display:none;">
|
|
|
|
+ {@else}
|
|
|
|
+ <div id="referencePIbox" class="PIbox">
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if !currAreaType}
|
|
|
|
+ <ul class="partplist_1" id="partplist_1">
|
|
|
|
+ {@each rows.evaAreaList as area,i}
|
|
|
|
+ {@if area.areaType == 200}
|
|
|
|
+ <li><span class="partnumber_1 textOverflow" areaId="${area.areaId}" areaType="${area.areaType}" title="${area.areaName}">${area.areaName}</span></li>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/each}
|
|
|
|
+ </ul>
|
|
|
|
+ {@/if}
|
|
|
|
+ <div style="margin:5px 0;clear:both" class="color6">
|
|
|
|
+ <span class="infname">${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_68}</span>
|
|
|
|
+ <span class="f7long" style="width:100px"><form id="indiTypeForm" action="indiTypeForm" style="width:236px;"><input type="text" id="indiType" name="indiType" /><input id="hiddenText" type="text" style="display:none" /></form></span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="datarecords show">
|
|
|
|
+ <ul class="recordsmenu">
|
|
|
|
+ <li class="selectli">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_42}(<span id="PIall_num"></span>)
|
|
|
|
+ </li>
|
|
|
|
+ <li id="PIselectLi">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_61}(<span id="PIselected_num"></span>)
|
|
|
|
+ </li>
|
|
|
|
+ </ul>
|
|
|
|
+ <div id="referencePI_searcher"></div>
|
|
|
|
+ <div class="tablewrap">
|
|
|
|
+ <div class="recordtab show">
|
|
|
|
+ <table id="PIall" class="tab">
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="recordtab">
|
|
|
|
+ <table id="PIselected" class="tab recordtabchecked">
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="reference_existingPIbox" class="PIbox">
|
|
|
|
+ <div style="margin:5px 0;clear:both" class="color6"></div>
|
|
|
|
+ <div class="datarecords show">
|
|
|
|
+ <div class="tablewrap">
|
|
|
|
+ <div>
|
|
|
|
+ <table id="existingPIall">
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="reference_existingPI_2box" class="PIbox">
|
|
|
|
+ <div style="margin:5px 0;clear:both" class="color6">
|
|
|
|
+ <span class="infname">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_21}</span>
|
|
|
|
+ <span class="f7long"><form id="perfPlayForm" action="perfPlayForm"><input type="text" id="perfPlay" name="perfPlay"><input id="hiddenText" type="text" style="display:none" /></form></span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="datarecords show">
|
|
|
|
+ <div class="useMyOwnTargetwrap"><input type="checkbox" id="useMyOwnTarget"/><label for="useMyOwnTarget">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_16}</label></div>
|
|
|
|
+ <div id="existingPIall_searcher"></div>
|
|
|
|
+ <div class="tablewrap">
|
|
|
|
+ <div class="recordtab show">
|
|
|
|
+ <table id="existingPIall_2">
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <!--组织目标-->
|
|
|
|
+ <div id="reference_orgPIbox" class="PIbox">
|
|
|
|
+ {@if !currAreaType}
|
|
|
|
+ <ul class="partplist_1" id="org_partplist_1">
|
|
|
|
+ {@each rows.evaAreaList as area,i}
|
|
|
|
+ {@if area.areaType == 200 || area.areaType == 300}
|
|
|
|
+ <li><span class="partnumber_1 textOverflow" areaId="${area.areaId}" areaType="${area.areaType}" title="${area.areaName}">${area.areaName}</span></li>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/each}
|
|
|
|
+ </ul>
|
|
|
|
+ {@/if}
|
|
|
|
+ <div style="margin:5px 0;clear:both" class="color6">
|
|
|
|
+ <!--<span class="infname">组织名称:</span>-->
|
|
|
|
+ <span class="infname"> ${$.perfwebI18n.tableConstant.msg7}:</span>
|
|
|
|
+ <span class="f7long" style="width:100px"><form id="refOrgUnitForm" action="refOrgUnitForm" style="width:236px;"><input type="text" id="refOrgUnit" name="refOrgUnit" /></form></span>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="datarecords show">
|
|
|
|
+ <div class="tablewrap">
|
|
|
|
+ <div class="recordtab show">
|
|
|
|
+ <table id="existingOrgPI" class="tab">
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<!-- 设置指标流程第一层弹框 -->
|
|
|
|
+<script id="setTargetWorkflowTpl" type="text/template">
|
|
|
|
+ <div id="setTargetWorkflowDialog" style="display:none;">
|
|
|
|
+ <div id="workFlows"></div>
|
|
|
|
+ <div class="tablewrap">
|
|
|
|
+ <div class="recordtab show">
|
|
|
|
+ <table id="setTargetWorkflowTable" class="tab"></table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<!-- 设置指标流程第二层弹框(没有地方用到,先复制过来) -->
|
|
|
|
+<script id="setTargetWorkflowTpl" type="text/template">
|
|
|
|
+ <div id="secondTargetWorkflowDialog">
|
|
|
|
+ <div style="margin:5px 0;clear:both" class="color6">
|
|
|
|
+ <span class="infname">${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_33}</span>
|
|
|
|
+ <span class="f7long" style="width:100px"><form id="nodeHandlerF7Form" action="nodeHandlerF7Form" style="width:236px;"><input type="text" id="nodeHandlerF7" name="nodeHandlerF7" /><input id="hiddenText" type="text" style="display:none" /></form></span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="tablewrap">
|
|
|
|
+ <div class="recordtab show">
|
|
|
|
+ <table id="secondTargetWorkflowTable" class="tab"></table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<script id="backReasonListTpl" type="text/template">
|
|
|
|
+ <div id="backReasonForm">
|
|
|
|
+ {@if list.length == 0}
|
|
|
|
+ <div class="backReason_noRecord"><p>${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_63}</p></div>
|
|
|
|
+ {@else}
|
|
|
|
+ {@each list as item,i}
|
|
|
|
+ <div class="timeline-box">
|
|
|
|
+ <div class="backReason_div">
|
|
|
|
+ <p class="backReason_title">
|
|
|
|
+ <span class="fl">
|
|
|
|
+ <!-- ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_7} -->
|
|
|
|
+ ${item.createTime}
|
|
|
|
+ </span>
|
|
|
|
+ <span class="fr">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_6}
|
|
|
|
+ ${item.creator}
|
|
|
|
+ </span>
|
|
|
|
+ </p>
|
|
|
|
+ <pre class="backReason_reason"><!-- ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_8} -->${item.reason}</pre>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="timeline">
|
|
|
|
+ <div class="timeline-circle"></div>
|
|
|
|
+ <div class="timeline-line"></div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ {@/each}
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+<!-- 指标分解模板 -->
|
|
|
|
+<script id="targetDecomposeTpl" type="text/template">
|
|
|
|
+ <div class="cont-box">
|
|
|
|
+ <div class="tabbox">
|
|
|
|
+ <div class="tabbtnwrap">
|
|
|
|
+ <!--{# 指标填报页面不显示进度反馈页签,个人目标状态未下达的不显示进度反馈页签}-->
|
|
|
|
+ {@if pageType != 1 && pageType != 0 && goalsstatus.value > 1 && progressUpdate}
|
|
|
|
+ <span class="tabbtn active" onclick="it.showProgressUpdateTab(this)" tabindex="0">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_17}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if areaType == 200 && targetDecompose && pageType != 4}<!--{# 记录表不能指标分解, // 从我负责的绩效-员工目标-查看进度进入时不展示}-->
|
|
|
|
+ <span class="tabbtn" onclick="it.showtargetdecomposeTab(this)" tabindex="1">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_65}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ <!--{# 补丁11-任务管理-yien todo 增加权限项}-->
|
|
|
|
+ <!--{# 补丁11-BT1465270 目标状态已下达了允许添加任务的情况下才显示}-->
|
|
|
|
+ {@if areaType == 200 && goalsstatus.value > 1}<!--{# 记录表不能指标分解}-->
|
|
|
|
+ <!-- <span class="tabbtn" onclick="it.showPerfTaskTab(this)" tabindex="2">
|
|
|
|
+ <!–{# 指标任务}–>
|
|
|
|
+ ${$.perfwebI18n.perfTask.indicatorTask}
|
|
|
|
+ </span>-->
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!--{# 指标填报页面不显示进度反馈页签}-->
|
|
|
|
+ {@if pageType != 1 && pageType != 0 }
|
|
|
|
+ <div id="progressUpdateBox">
|
|
|
|
+ {@if pageType !=4 }
|
|
|
|
+ <div class="updateitembox">
|
|
|
|
+ {@if isShowField.targetValue}
|
|
|
|
+ <div>
|
|
|
|
+ <span class="field-name">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_31}</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ <input type="text" id="targetValue" name="targetValue" fname="targetValue" disabled = "disabled" showname="${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_30}" onblur="it.judgeVal(this)">
|
|
|
|
+ <div class="errowmsg" for="targetValue"></div>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if isShowField.actualCompleValue}
|
|
|
|
+ <div>
|
|
|
|
+ <span class="field-name">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_51}</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ <input type="text" id="realValue" name="realValue" fname="realValue" showname="${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_50}" onblur="it.judgeVal(this)">
|
|
|
|
+ <div class="errowmsg" for="realValue"></div>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ <div>
|
|
|
|
+ <span class="field-name">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_55}</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ <input type="text" id="completedProgress" name="completedProgress" fname="completedProgress" showname="${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_54}" onblur="it.judgeVal(this)">%
|
|
|
|
+ <div class="errowmsg" for="completedProgress"></div>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <span class="field-name">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_56}</span>
|
|
|
|
+ <span class="field-value shrselectwrap">
|
|
|
|
+ <input type="text" id="completedStatus" name="completedStatus" class="required" readonly>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="textarealine">
|
|
|
|
+ <span class="field-name">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_49}</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ <textarea id="actualCompletion" name="actualCompletion" fname="actualCompletion" showname="${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_48}" onblur="it.judgeVal(this)"></textarea>
|
|
|
|
+ <div class="errowmsg" for="actualCompletion"></div>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="textarealine">
|
|
|
|
+ <span class="field-name">${jsBizMultLan.perfweb_perfgoalsfill_202112090001}</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ <textarea id="nextPlan" name="nextPlan" fname="nextPlan" showname="${jsBizMultLan.perfweb_perfgoalsfill_202112090001}" onblur="it.judgeVal(this)"></textarea>
|
|
|
|
+ <div class="errowmsg" for="nextPlan"></div>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <!-- <span class="field-name">附件</span>
|
|
|
|
+ <div class="attachmentUploadArea">
|
|
|
|
+ <p style="height:1px;margin:0 0 0"><input type="file" id="upload-file" class="attachment_style"></p>
|
|
|
|
+ <div id="upload-file_attachList"></div>
|
|
|
|
+ </div> -->
|
|
|
|
+ <div>
|
|
|
|
+ <span class="uploadbtn" onclick="it.uploadFileDialog('upload')">${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_45}</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ <ul class="progressupdatelist"></ul>
|
|
|
|
+ {@if pageType != 4}<!-- {# // 从我负责的绩效-员工目标-查看进度进入时不展示} -->
|
|
|
|
+ <div class="updatebtn-wrap"><button class="shrbtn updatebtn" onclick="it.doProgressUpdate()">${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_13}</button></div>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ <div class="listwrap">
|
|
|
|
+ <!--{# 组织才显示分解给个人 && 评估表的时候 并且是分解状态}-->
|
|
|
|
+ {@if isOrg== '1' && areaType == 200 && targetDecompose}
|
|
|
|
+ <div class="tabSub">
|
|
|
|
+ <span class="tabbtn active" onclick="it.switchTargetdecomposeTab(this,'targetDecomposeBox')" tabSubIndex="0">${jsBizMultLan.perfweb_perfTargetDecompose_bw0415_07}</span>
|
|
|
|
+ <span class="tabbtn " onclick="it.switchTargetdecomposeTab(this,'targetDecomposeBoxToPerson')" tabSubIndex="1">${jsBizMultLan.perfweb_perfTargetDecompose_bw0415_08}</span>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if areaType == 200}<!--{# 记录表不能指标分解}-->
|
|
|
|
+ <div id="targetDecomposeBox" class="targetDecomposeBoxTab">
|
|
|
|
+ <div class="addperson" onclick="it.addTargetSuccessor()">
|
|
|
|
+ {@if isOrg == '1'}
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_keymsf3_i18n_addTargetOrg}+
|
|
|
|
+ {@else}
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_53}
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ <ul id="targetSuccessorlist" class="targetSuccessorlist"></ul>
|
|
|
|
+ </div>
|
|
|
|
+ {@if isOrg== '1'}
|
|
|
|
+ <div id="targetDecomposeBoxToPerson" class="targetDecomposeBoxTab hide">
|
|
|
|
+ <div class="addperson" onclick="it.addpersonDialog()">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfTargetDecompose_bw0415_09}
|
|
|
|
+ <!--{# 添加目标承接人+}-->
|
|
|
|
+ </div>
|
|
|
|
+ <ul id="targetSuccessorlistToPerson" class="targetSuccessorlist"></ul>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ <div class="addpersonF7wrap">
|
|
|
|
+ <input type="text" id="targetSuccessor_hide" name="targetSuccessor_hide">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="relationF7wrap200up">
|
|
|
|
+ <input type="text" id="relationF7wrap200up_hide" name="relationF7wrap200up_hide">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="relationF7wrap200down">
|
|
|
|
+ <input type="text" id="relationF7wrap200down_hide" name="relationF7wrap200down_hide">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="relationF7wrap300up">
|
|
|
|
+ <input type="text" id="relationF7wrap300up_hide" name="relationF7wrap300up_hide">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="relationF7wrap300down">
|
|
|
|
+ <input type="text" id="relationF7wrap300down_hide" name="relationF7wrap300down_hide">
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+
|
|
|
|
+ <!--{# 补丁11-任务管理-yien}-->
|
|
|
|
+ {@if areaType == 200}<!--{# 记录表不能指标添加任务}-->
|
|
|
|
+ <div id="perfTaskBox" class="perfTaskTab">
|
|
|
|
+ {# BT1461035 暂时屏蔽指标分解页面添加任务的功能}
|
|
|
|
+ <!--<div class="addPerfTask" onclick="it.addPerfTask()">
|
|
|
|
+ <!–{# 添加任务}–>
|
|
|
|
+ ${$.perfwebI18n.perfTask.addTask}
|
|
|
|
+ </div>-->
|
|
|
|
+ <div id="perfTaskListSearcher"></div>
|
|
|
|
+ <ul id="perfTaskList" class="perftasklist"></ul>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<!-- 进度反馈列表 -->
|
|
|
|
+<script id="progressUListTsp" type="text/template">
|
|
|
|
+ {@each rows as list, index}
|
|
|
|
+ <li listid="${list.id}">
|
|
|
|
+ <div class="fieldsbox">
|
|
|
|
+ <span class="decfileds">
|
|
|
|
+ {@if list.lastUpdateTime}
|
|
|
|
+ ${list.lastUpdateTime.substr(0,10).split('-').join('/')}
|
|
|
|
+ {@/if}
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_13}
|
|
|
|
+ </span>
|
|
|
|
+ <span class="decfileds">
|
|
|
|
+ <span class="puphotowrap">
|
|
|
|
+ <img src="/shr/personSquarePhoto.do?personId=${list.lastUpdateUser.id}" class="puphoto">
|
|
|
|
+ </span>
|
|
|
|
+ <span class="namewrap"> ${list.lastUpdateUser.name} </span>
|
|
|
|
+ </span>
|
|
|
|
+ {@if isShowField.actualCompleValue}
|
|
|
|
+ <span class="decfileds">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_51}
|
|
|
|
+ {@if list.actualCompleValue && list.actualCompleValue!='NaN' && list.actualCompleValue!='null'}
|
|
|
|
+ ${list.actualCompleValue}
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if isShowField.targetValue}
|
|
|
|
+ <span class="decfileds">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_31}
|
|
|
|
+ {@if list.targetValue && list.targetValue!='NaN' && list.targetValue!='null'}
|
|
|
|
+ ${list.targetValue}
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ {@/if}
|
|
|
|
+ <span class="decfileds">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_55}
|
|
|
|
+ ${list.compleProgress}%</span>
|
|
|
|
+ {@if list.hasattachment }
|
|
|
|
+ <span class="decfileds attachname" onclick="it.uploadFileDialog('view', '${list.id}')">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_4}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ {@if list.compleState}
|
|
|
|
+ {@if list.compleState.value == 2}
|
|
|
|
+ <div class="state state3">
|
|
|
|
+ {@else}
|
|
|
|
+ <div class="state">
|
|
|
|
+ {@/if}
|
|
|
|
+ <i></i>${list.compleState.alias}
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if list.actualCompleteDesc || list.nextPlan}
|
|
|
|
+ <div class="controlbtnwrap"><span class="controlbtn" onclick="it.showMoreDecFIelds(this,'${list.id}')"></span></div>
|
|
|
|
+ <div class="fieldsboxhide" indId="${list.id}">
|
|
|
|
+ {@if list.actualCompleteDesc}
|
|
|
|
+ <div style="color: #777;font-size: 12px;margin-right: 20px;" >${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_49}</div>
|
|
|
|
+ <pre>${list.actualCompleteDesc}</pre>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if list.nextPlan}
|
|
|
|
+ <div style="color: #777;font-size: 12px;margin-right: 20px;">${jsBizMultLan.perfweb_perfgoalsfill_202112090001}</div>
|
|
|
|
+ <pre>${list.nextPlan}</pre>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@else}
|
|
|
|
+ <div class="controlbtnwrap height1"></div>
|
|
|
|
+ {@/if}
|
|
|
|
+ </li>
|
|
|
|
+ {@/each}
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<!-- 指标分解列表 -->
|
|
|
|
+<script id="targetSListTsp" type="text/template">
|
|
|
|
+ {@each rows as list,index}
|
|
|
|
+ <li indid="${list.FID}">
|
|
|
|
+ <div class="leftbox">
|
|
|
|
+ {@if isOrg == '0'}
|
|
|
|
+ <span class="personphoto" personid="${list.FPERSON.id}">
|
|
|
|
+ <img id="personPhoto" src="/shr/personSquarePhoto.do?personId=${list.FPERSON.id}">
|
|
|
|
+ </span>
|
|
|
|
+ {@/if}
|
|
|
|
+ <span class="personname">${list.FPERSONNAME}</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="rightbox">
|
|
|
|
+ <div>
|
|
|
|
+ <span class="indicaname"
|
|
|
|
+ {@if list.FNAME}
|
|
|
|
+ title="${list.FNAME}">
|
|
|
|
+ ${list.FNAME}
|
|
|
|
+ {@else if list.FKEYITEM}
|
|
|
|
+ title="${list.FKEYITEM}">
|
|
|
|
+ ${list.FKEYITEM}
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if list.scoringWay == 0}
|
|
|
|
+ (${list.FWEIGHT}%)
|
|
|
|
+ {@else}
|
|
|
|
+ (${list.FTARSCORE}${jsBizMultLan.perfweb_perfgoalsfill_1593331244239_i18n_0})
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ {@each list.fieldslist as field, index}
|
|
|
|
+ {@if field.colName == 'FTARGETVALUE'}
|
|
|
|
+ <span class="decfileds">${field.showName}:${list.FTARGETVALUE}${list.FUNIT}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@if field.colName == 'FACTUALCOMPLEVALUE'}
|
|
|
|
+ <span class="decfileds">${field.showName}:${list.FACTUALCOMPLEVALUE}${list.FUNIT}</span>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/each}
|
|
|
|
+ <span class="decfileds schedule">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_29}
|
|
|
|
+ <span class="wholebar">
|
|
|
|
+ <span class="finishbar" style="width: ${list.compleProgress}%"></span>
|
|
|
|
+ </span>
|
|
|
|
+ ${list.compleProgress}%
|
|
|
|
+ </span>
|
|
|
|
+ <!--{# 指标状态,0:保存,1:提交,2:下达,3:统一下达}-->
|
|
|
|
+ {@if list.FGOALSSTATUS}
|
|
|
|
+ <div class="state state${list.FGOALSSTATUS.value}"><i></i>${list.FGOALSSTATUS.alias}</div>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mtop">
|
|
|
|
+ <span class="decfileds">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_32}
|
|
|
|
+ ${list.FPERIODNAME}
|
|
|
|
+ (
|
|
|
|
+ {@if list.FPSTARTDATE}
|
|
|
|
+ ${list.FPSTARTDATE.substr(0,10).split('-').join('/')}
|
|
|
|
+ {@/if}
|
|
|
|
+ -
|
|
|
|
+ {@if list.FPENDDATE}
|
|
|
|
+ ${list.FPENDDATE.substr(0,10).split('-').join('/')}
|
|
|
|
+ {@/if}
|
|
|
|
+ )
|
|
|
|
+ </span>
|
|
|
|
+ <span class="decfileds">
|
|
|
|
+ ${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_69}
|
|
|
|
+ {@if list.FLASTUPDATETIME}
|
|
|
|
+ ${list.FLASTUPDATETIME.substr(0,10).split('-').join('/')}
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ <div class="btngroup">
|
|
|
|
+ {@if list.FGOALSSTATUS.value == 0 && list.FDECOMPOSETYPE == 1}<!--{# 只有保存状态的可以编辑、删除指标}-->
|
|
|
|
+ <button class="shrbtn" onclick="it.editDecomposeIndiator(this,'${index}','${isToPerson}','${list.FAREABASE.id}','${list.FPERFPERIOD.id}')">${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_1}</button>
|
|
|
|
+ {@/if}
|
|
|
|
+ <button class="shrbtn" onclick="it.cencalDecRelation('${list.FID}','','${list.FDECOMPOSETYPE}')">${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_41}</button>
|
|
|
|
+ {@if list.FGOALSSTATUS.value == 0 && list.FDECOMPOSETYPE == 1} <!--{# 只有保存状态的可以编辑、删除指标}-->
|
|
|
|
+ <button class="shrbtn" onclick="it.deleteDecRelation('${list.FID}')">${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_44}</button>
|
|
|
|
+ {@/if}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="controlbtnwrap"><span class="controlbtn" onclick="it.showMoreDecFIelds(this,'${list.FID}')"></span></div>
|
|
|
|
+ <div class="fieldsboxhide" indId="${list.FID}">
|
|
|
|
+ {@each list.fieldslist as it,index2}
|
|
|
|
+ <!--{# 计划完成日期}-->
|
|
|
|
+ {@if it.colName == 'FPLANEDDATE' || it.colName == 'FPLANDATE'}
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span><span class="field-value">
|
|
|
|
+ {@if it.fieldvalue}
|
|
|
|
+ ${it.fieldvalue.substr(0,10)}
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else if it.colName == 'FISUNITED'|| it.colName == 'FSCORE'|| it.colName == 'FSUMSCORE'|| it.colName == 'FACTUALCOMPLETE'||it.colName == 'FCOMMENT'||it.colName == 'FUPDATEDATE'||it.colName == 'FNAME'||it.colName == 'FKEYITEM'||it.colName == 'FTARSCORE'||it.colName == 'FWEIGHT'||it.colName == 'FTARGETVALUE'||it.colName == 'FACTUALCOMPLEVALUE'}
|
|
|
|
+ {@else if it.colName == 'FREJECTION'} <!--{# 否决项}-->
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span><span class="field-value">
|
|
|
|
+ ${it.fieldvalue=='1' ? jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_52 : jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_12}</span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else if it.colName == 'FQUALIORRATION'}
|
|
|
|
+ <!--{# 定性/定量}-->
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span><span class="field-value">
|
|
|
|
+ ${it.fieldvalue=="0" ? jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_11 : jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_10}</span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else if it.colName == 'FISUNITED'}
|
|
|
|
+ <!--{# 是否统一下达}-->
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span><span class="field-value">
|
|
|
|
+ ${it.fieldvalue=="0" ? jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_12 : jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_52}</span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else if it.colName == 'FSCORINGFORMULA' || it.colName == 'FINDECATORTYPE'}
|
|
|
|
+ <!--{# 评分公式、指标类型}-->
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span>
|
|
|
|
+ <span class="field-value">
|
|
|
|
+ {@if it.fieldvalue}
|
|
|
|
+ ${it.fieldvalue.name}
|
|
|
|
+ {@/if}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else if it.colName == 'FISVISIBLE'}
|
|
|
|
+ <!-- {# 可见性} -->
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span>
|
|
|
|
+ <span class="field-value">${it.fieldvalue=="0" ? jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_2 : jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_14}</span>
|
|
|
|
+ </div>
|
|
|
|
+ {@else}
|
|
|
|
+ <div class="field-line">
|
|
|
|
+ <span class="field-name" title="${it.showName}">${it.showName}:</span><pre class="field-value" title="${it.fieldvalue}">${it.fieldvalue}</pre>
|
|
|
|
+ </div>
|
|
|
|
+ {@/if}
|
|
|
|
+ {@/each}
|
|
|
|
+ </div>
|
|
|
|
+ </li>
|
|
|
|
+ {@/each}
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<script id="uploadAttachmentsTpl" type="text/template">
|
|
|
|
+ <div id="attachmentsDialog">
|
|
|
|
+ <span class="uploadfilebtn">
|
|
|
|
+ <span class="linkstyle">${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_47}</span>
|
|
|
|
+ <span id = "uploadAttachSize" style="color:#666; padding-left:8px;">(${uploadAttachSize})</span>
|
|
|
|
+ <input type="file" id="uploadAttach" name="uploadAttach" multiple="multiple" title="${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_47}">
|
|
|
|
+ </span>
|
|
|
|
+ <table class="tab">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th width="294">${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_57}</th>
|
|
|
|
+ <th>${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_46}</th>
|
|
|
|
+ <th> ${$.perfwebI18n.tableConstant.msg10}</th>
|
|
|
|
+ <th>${jsBizMultLan.perfweb_perfgoalsfill_26551093_i18n_3}</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody id="uploadFileBox">
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+<!-- 指标任务列表 -->
|
|
|
|
+<script id="perfTaskListTsp" type="text/template">
|
|
|
|
+ {@each rows as item,index}
|
|
|
|
+ <li taskId="${item.id}">
|
|
|
|
+ <div class="rightbox">
|
|
|
|
+ <div>
|
|
|
|
+ <span class="perfTaskName">
|
|
|
|
+ ${item.name}
|
|
|
|
+ </span>
|
|
|
|
+ <span class="decfileds">
|
|
|
|
+ ${item.frequence}
|
|
|
|
+ (
|
|
|
|
+ {@if item.startDate}
|
|
|
|
+ ${item.startDate.substr(0,10).split('-').join('')}
|
|
|
|
+ {@/if}
|
|
|
|
+ -
|
|
|
|
+ {@if item.endDate}
|
|
|
|
+ ${item.endDate.substr(0,10).split('-').join('')}
|
|
|
|
+ {@/if}
|
|
|
|
+ )
|
|
|
|
+ </span>
|
|
|
|
+ <span class="decfileds schedule">
|
|
|
|
+ <!--进度-->
|
|
|
|
+ ${$.perfwebI18n.perfTask.progress}
|
|
|
|
+ <span class="wholebar">
|
|
|
|
+ <span class="finishbar" style="width: ${item.progress}%"></span>
|
|
|
|
+ </span>
|
|
|
|
+ ${item.progress}%
|
|
|
|
+ </span>
|
|
|
|
+ <span class="decfileds">
|
|
|
|
+ <!--优先级:-->
|
|
|
|
+ ${$.perfwebI18n.perfTask.priority}:
|
|
|
|
+ ${item.priority}
|
|
|
|
+ </span>
|
|
|
|
+ <!--<div class="state" onclick="alert(1)">反馈</div>-->
|
|
|
|
+ <!--<div class="state" onclick="alert(2)">删除</div>-->
|
|
|
|
+ <!--<div class="state" onclick="alert(3)">提交</div>-->
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mtop">
|
|
|
|
+ <div class="btngroup">
|
|
|
|
+ <button class="shrbtn" onclick="it.initPerfTaskIframe(this)" data-taskid="${item.id}" data-iframe="perfTaskCommentList">
|
|
|
|
+ ${$.perfwebI18n.perfTask.likeAndComment}
|
|
|
|
+ </button>
|
|
|
|
+ <button class="shrbtn" onclick="it.initPerfTaskIframe(this)" data-taskid="${item.id}" data-iframe="perfTaskHisList">
|
|
|
|
+ <!--操作记录-->
|
|
|
|
+ ${$.perfwebI18n.perfTask.log}
|
|
|
|
+ </button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </li>
|
|
|
|
+ <iframe data-iframe="perfTaskHisList${item.id}" frameborder="0" scrolling="yes" width="100%" height="80px" data-uipk="com.kingdee.shr.perfweb.app.base.perftask.PerfTaskHIS.form" style="display: none;"></iframe>
|
|
|
|
+
|
|
|
|
+ <iframe data-iframe="perfTaskCommentList${item.id}" frameborder="0" scrolling="yes" width="100%" height="220px" data-uipk="com.kingdee.shr.perfweb.app.base.perftask.PerfTaskComment.form" style="display: none;"></iframe>
|
|
|
|
+
|
|
|
|
+ {@/each}
|
|
|
|
+
|
|
|
|
+</script>
|