<#include '/public/template/editTemplate.html'> <#macro editContent>
*
*
*
<@ZKUI.Input hideLabel="true" type = "checkbox" name = "isCrossDay1" id = "isCrossDay1" value = "0" /><@i18n 'patrol_plan_isCrossDay' />
<@ZKUI.Input hideLabel="true" type="radio" name="cycleType" value="0" style="margin-${rightRTL!'right'}:7px;" checked="checked" id="dateType" /> <@i18n 'patrol_plan_byDate'/> <#if (item.cycleType)?? && (item.cycleType!) == 1> <@ZKUI.Input hideLabel="true" type = "radio" name="cycleType" value = "1" style="margin-${rightRTL!'right'}:7px;" checked="checked" id="weekType"/> <#else> <@ZKUI.Input hideLabel="true" type = "radio" name="cycleType" value = "1" style="margin-${rightRTL!'right'}:7px;" id="weekType"/> <@i18n 'patrol_plan_byWeek'/> <#if (item.cycleType)?? && (item.cycleType!) == 2> <@ZKUI.Input hideLabel="true" type="radio" name="cycleType" value = "2" style="margin-${rightRTL!'right'}:7px;" checked = "checked" id="monthType"/> <#else> <@ZKUI.Input hideLabel="true" type="radio" name="cycleType" value = "2" style="margin-${rightRTL!'right'}:7px;" id="monthType"/> <@i18n 'patrol_plan_byMonth'/>
<@i18n 'patrol_plan_byDate'/>
* <@ZKUI.Input hideLabel="true" type="date" id="patrol_plan_startId" today="true" min="today" name="startDate" value="${((item.startDate)?string('yyyy-MM-dd'))!}" readonly="false" style="cursor:default;"/> * <@ZKUI.Input hideLabel="true" type="date" id="patrol_plan_endId" today="true" min="today" name="endDate" value="${((item.endDate)?string('yyyy-MM-dd'))!}" readonly="false" style="cursor:default;"/>
<@i18n 'patrol_plan_byWeek'/>
<@i18n 'common_tree_selectAll'/> <@i18n 'common_tree_unselectAll'/>
<@ZKUI.Input hideLabel="true" type = "checkbox" name = "weekValue" value = "0" id = "sunday"/><@i18n 'common_sunday'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "weekValue" value = "1" id = "monday"/><@i18n 'common_monday'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "weekValue" value = "2" id = "tuesday"/><@i18n 'common_tuesday'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "weekValue" value = "3" id = "wednesday"/><@i18n 'common_wednesday'/>
<@ZKUI.Input hideLabel="true" type = "checkbox" name = "weekValue" value = "4" id = "thursday"/><@i18n 'common_thursday'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "weekValue" value = "5" id = "friday"/><@i18n 'common_friday'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "weekValue" value = "6" id = "saturday"/><@i18n 'common_saturday'/>
<@i18n 'patrol_plan_byMonth'/>
<@i18n 'common_tree_selectAll'/> <@i18n 'common_tree_unselectAll'/>
<@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "1" id = "jan"/><@i18n 'common_jan'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "2" id = "feb"/><@i18n 'common_feb'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "3" id = "mar"/><@i18n 'common_mar'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "4" id = "apr"/><@i18n 'common_apr'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "5" id = "may"/><@i18n 'common_may'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "6" id = "jun"/><@i18n 'common_jun'/>
<@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "7" id = "jul"/><@i18n 'common_jul'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "8" id = "aug"/><@i18n 'common_aug'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "9" id = "sep"/><@i18n 'common_sep'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "10" id = "oct"/><@i18n 'common_oct'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "11" id = "nov"/><@i18n 'common_nov'/> <@ZKUI.Input hideLabel="true" type = "checkbox" name = "monthValue" value = "12" id = "dec"/><@i18n 'common_dec'/>
<@ZKUI.Input hideLabel="true" type = "radio" name="monthMode" id="dailyWork" value="0" checked = "checked" /><@i18n 'patrol_plan_byDaily'/>
<#if (item.monthMode)?? && (item.monthMode!) == 1> <@ZKUI.Input hideLabel="true" type = "radio" name="monthMode" id="regularWork" value="1" checked = "checked" /><@i18n 'patrol_plan_byRegular'/>
<#else> <@ZKUI.Input hideLabel="true" type = "radio" name="monthMode" id="regularWork" value="1"/><@i18n 'patrol_plan_byRegular'/>
* <@ZKUI.Combo width="60" empty="true" id = "patrol_plan_monthStartDateId" value="${(item.monthStartDate)!}" hideLabel="true" name="monthStartDate" onChange="validDate"/>
* <@ZKUI.Combo width="60" empty="true" id = "patrol_plan_monthEndDateId" value="${(item.monthEndDate)!}" hideLabel="true" name="monthEndDate" onChange="validDate"/>