Commit a0d10389 by Kim Gyeongeun

#55499 アンケート回答結果画面の集計件数のうち、性別・年代の集計部分の表示を消す

parent accc908d
...@@ -10,26 +10,7 @@ $!enqueteSumBatchForm.enquete.enqueteName ...@@ -10,26 +10,7 @@ $!enqueteSumBatchForm.enquete.enqueteName
#foreach($age in $enqueteSumBatchForm.ageList) #foreach($age in $enqueteSumBatchForm.ageList)
#set($totalCnt = $totalCnt + $age.cnt) #set($totalCnt = $totalCnt + $age.cnt)
#end #end
#if($enqueteSumBatchForm.enquete.enqueteType != 4) <BR>
<font color="#0000ff">設問: 年代</font><br>
<font color="#0000ff">有効回答者数: ${totalCnt}名</font><br>
#foreach($age in $enqueteSumBatchForm.ageList)
##パーセント計算
##set($percent = $math.toInteger($math.mul($math.div($age.cnt,$totalCnt), 100)))
#set($percent = $math.round( $math.mul( $math.div( $age.cnt , $totalCnt ) , 100) ) )
$!age.sai10<br>
<div align="right">$!{age.cnt}件 ${percent}%</div><br>
#end
<font color="#0000ff">設問: 性別</font><br>
<font color="#0000ff">有効回答者数: $!{enqueteSumBatchForm.genderInfo.totalCnt}名</font><br>
男性<br>
<div align="right">$!{enqueteSumBatchForm.genderInfo.manCnt}件 $!{enqueteSumBatchForm.genderInfo.manCntPer}%</div><br>
女性<br>
<div align="right">$!{enqueteSumBatchForm.genderInfo.womanCnt}件 $!{enqueteSumBatchForm.genderInfo.womanCntPer}%</div><br>
不明<br>
<div align="right">$!{enqueteSumBatchForm.genderInfo.whoCnt}件 $!{enqueteSumBatchForm.genderInfo.whoCntPer}%</div><br>
#end <!-- WEBアンケートの場合 年齢、性別出さない -->
<!-- 開始 --> <!-- 開始 -->
#if($enqueteSumBatchForm.enqueteResultSumList) #if($enqueteSumBatchForm.enqueteResultSumList)
#foreach($enqueteResultSumList in $!enqueteSumBatchForm.enqueteResultSumList) #foreach($enqueteResultSumList in $!enqueteSumBatchForm.enqueteResultSumList)
......
...@@ -32,98 +32,6 @@ ...@@ -32,98 +32,6 @@
#foreach(${age} in $enqueteSumBatchForm.ageList) #foreach(${age} in $enqueteSumBatchForm.ageList)
#set($totalCnt = $totalCnt + $age.cnt) #set($totalCnt = $totalCnt + $age.cnt)
#end #end
#if($enqueteSumBatchForm.enquete.enqueteType != 4)
<table width="950">
<tr>
<td class=""><font color="#000099">設問: 年代</font></td>
<td nowrap class="" align="right" width="20%"><font color="#000099">有効回答者数: ${totalCnt}名</font></td>
</tr>
</table>
<table width="950" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<td class="listmenu" align="left"><font color="#FFA500">選択項目</font></td>
<td class="listmenu" align="right"><font color="#FFA500">回答件数</font></td>
<td class="listmenu" align="right"><font color="#FFA500">割合</font></td>
<td class="listmenu" >&nbsp;</th>
</tr>
#set($percent = 0)
#foreach($age in $enqueteSumBatchForm.ageList)
##パーセント計算
#set($percent = $math.round( $math.mul( $math.div( $age.cnt , $totalCnt ) , 100) ) )
<tr>
<td class="listcts" width="170" align="left"><font color="#666666"> $!{age.sai10} </font></td>
<td class="listcts" width="100" align="right"><font color="#666666">$!{age.cnt}件</font></td>
<td class="listcts" width="80" align="right"><font color="#666666"> $!{percent}%</font></td>
<td class="listcts" width="600" align="left">
<table border="0" cellpadding="1" cellspacing="1">
<tr>
<td align="left" height="8" width="${math.mul(${percent},6)}" #if($math.mul($percent,6) != 0 ) bgcolor="#0000ff" #end ></td>
</tr>
</table>
</td>
</tr>
#end
</table>
<BR>
<table width="950">
<tr>
<td class=""><font color="#000099">設問: 性別</font></td>
<td nowrap class="" align="right" width="20%"><font color="#000099">有効回答者数: $!{enqueteSumBatchForm.genderInfo.totalCnt}名</font></td>
</tr>
</table>
<table width="950" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<td class="listmenu" align="left"><font color="#FFA500">選択項目</font></td>
<td class="listmenu" align="right"><font color="#FFA500">回答件数</font></td>
<td class="listmenu" align="right"><font color="#FFA500">割合</font></td>
<td class="listmenu" >&nbsp;</th>
</tr>
<!-- 男性 -->
<tr>
<td class="listcts" width="170" align="left"><font color="#666666">男性</font></td>
<td class="listcts" width="100" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.manCnt}件</font></td>
<td class="listcts" width="80" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.manCntPer}%</font></td>
<td class="listcts" width="600" align="left">
<table border="0" cellpadding="1" cellspacing="1">
<tr>
<td align="left" height="8" width="$math.mul($!{enqueteSumBatchForm.genderInfo.manCntPer},6)" #if($math.mul($!{enqueteSumBatchForm.genderInfo.manCntPer},6) != 0 ) bgcolor="#0000ff" #end></td>
</tr>
</table>
</td>
</tr>
<!-- 女性 -->
<tr>
<td class="listcts" width="170" align="left"><font color="#666666">女性</font></td>
<td class="listcts" width="100" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.womanCnt}件</font></td>
<td class="listcts" width="80" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.womanCntPer}%</font></td>
<td class="listcts" width="600" align="left">
<table border="0" cellpadding="1" cellspacing="1">
<tr>
<td align="left" height="8" width="$math.mul($!{enqueteSumBatchForm.genderInfo.womanCntPer},6)" #if($math.mul($!{enqueteSumBatchForm.genderInfo.womanCntPer},6) != 0 ) bgcolor="#0000ff" #end></td>
</tr>
</table>
</td>
</tr>
##if($enqueteSumBatchForm.genderInfo.whoCnt > 0)
<!-- 不明 -->
<tr>
<td class="listcts" width="170" align="left"><font color="#666666">不明</font></td>
<td class="listcts" width="100" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.whoCnt}件</font></td>
<td class="listcts" width="80" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.whoCntPer}%</font></td>
<td class="listcts" width="600" align="left">
<table border="0" cellpadding="1" cellspacing="1">
<tr>
<td align="left" height="8" width="$math.mul($!{enqueteSumBatchForm.genderInfo.whoCntPer},6)" #if($math.mul($!{enqueteSumBatchForm.genderInfo.whoCntPer},6) != 0 ) bgcolor="#0000ff" #end></td>
</tr>
</table>
</td>
</tr>
##end
</table>
#end <!-- WEBアンケートの場合 年齢、性別出さない -->
<BR> <BR>
<!-- 開始 --> <!-- 開始 -->
#if($enqueteSumBatchForm.enqueteResultSumList) #if($enqueteSumBatchForm.enqueteResultSumList)
......
...@@ -49,97 +49,6 @@ ...@@ -49,97 +49,6 @@
#foreach($age in $enqueteSumBatchForm.ageList) #foreach($age in $enqueteSumBatchForm.ageList)
#set($totalCnt = $totalCnt + $age.cnt) #set($totalCnt = $totalCnt + $age.cnt)
#end #end
#if($enqueteSumBatchForm.enquete.enqueteType != 4)
<table width="90%">
<tr>
<td class=""><font color="#000099">設問: 年代</font></td>
<td nowrap class="" align="right" width="20%"><font color="#000099">有効回答者数: ${totalCnt}名</font></td>
</tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<td class="listmenu" align="left"><font color="#FFA500">選択項目</font></td>
<td class="listmenu" align="right"><font color="#FFA500">回答件数</font></td>
<td class="listmenu" align="right"><font color="#FFA500">割合</font></td>
<td class="listmenu" >&nbsp;</th>
</tr>
#set($percent = 0)
#foreach($age in $enqueteSumBatchForm.ageList)
##パーセント計算
#set($percent = $math.round( $math.mul( $math.div( $age.cnt , $totalCnt ) , 100) ) )
<tr>
<td class="listcts" width="40%" align="left"><font color="#666666">$!{age.sai10}</font></td>
<td class="listcts" width="20%" align="right"><font color="#666666">$!{age.cnt}件</font></td>
<td class="listcts" width="10%" align="right"><font color="#666666"> $!{percent}%</font></td>
<td class="listcts" width="30%" align="left">
<table border="0" cellpadding="1" cellspacing="1" width="$!{percent}%">
<tr>
<td align="left" height="8" #if($math.mul($percent,6) != 0 ) bgcolor="#0000ff" #end ></td>
</tr>
</table>
</td>
</tr>
#end
</table>
<BR>
<table width="90%">
<tr>
<td class=""><font color="#000099">設問: 性別</font></td>
<td nowrap class="" align="right" width="20%"><font color="#000099">有効回答者数: $!{enqueteSumBatchForm.genderInfo.totalCnt}名</font></td>
</tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<td class="listmenu" align="left"><font color="#FFA500">選択項目</font></td>
<td class="listmenu" align="right"><font color="#FFA500">回答件数</font></td>
<td class="listmenu" align="right"><font color="#FFA500">割合</font></td>
<td class="listmenu" >&nbsp;</th>
</tr>
<!-- 男性 -->
<tr>
<td class="listcts" width="40%" align="left"><font color="#666666">男性</font></td>
<td class="listcts" width="20%" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.manCnt}件</font></td>
<td class="listcts" width="10%" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.manCntPer}%</font></td>
<td class="listcts" width="30%" align="left">
<table border="0" cellpadding="1" cellspacing="1" width="$!{enqueteSumBatchForm.genderInfo.manCntPer}%">
<tr>
<td align="left" height="8" #if($math.mul($!{enqueteSumBatchForm.genderInfo.manCntPer},6) != 0 ) bgcolor="#0000ff" #end></td>
</tr>
</table>
</td>
</tr>
<!-- 女性 -->
<tr>
<td class="listcts" width="40%" align="left"><font color="#666666">女性</font></td>
<td class="listcts" width="20%" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.womanCnt}件</font></td>
<td class="listcts" width="10%" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.womanCntPer}%</font></td>
<td class="listcts" width="30%" align="left">
<table border="0" cellpadding="1" cellspacing="1" width="$!{enqueteSumBatchForm.genderInfo.womanCntPer}%" >
<tr>
<td align="left" height="8" #if($math.mul($!{enqueteSumBatchForm.genderInfo.womanCntPer},6) != 0 ) bgcolor="#0000ff" #end></td>
</tr>
</table>
</td>
</tr>
##if($enqueteSumBatchForm.genderInfo.whoCnt > 0)
<!-- 不明 -->
<tr>
<td class="listcts" width="40%" align="left"><font color="#666666">不明</font></td>
<td class="listcts" width="20%" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.whoCnt}件</font></td>
<td class="listcts" width="10%" align="right"><font color="#666666">$!{enqueteSumBatchForm.genderInfo.whoCntPer}%</font></td>
<td class="listcts" width="30%" align="left">
<table border="0" cellpadding="1" cellspacing="1" width="$!{enqueteSumBatchForm.genderInfo.whoCntPer}%" >
<tr>
<td align="left" height="8" #if($math.mul($!{enqueteSumBatchForm.genderInfo.whoCntPer},6) != 0 ) bgcolor="#0000ff" #end></td>
</tr>
</table>
</td>
</tr>
##end
</table>
#end <!-- WEBアンケートの場合 年齢、性別出さない -->
<BR> <BR>
<!-- 開始 --> <!-- 開始 -->
#if($enqueteSumBatchForm.enqueteResultSumList) #if($enqueteSumBatchForm.enqueteResultSumList)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment