|
@@ -917,7 +917,7 @@
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody id="reportedConsultantList">
|
|
|
- <c:forEach items="${info}" var = "info" varStatus="status">
|
|
|
+ <%--<c:forEach items="${info}" var = "info" varStatus="status">
|
|
|
<tr>
|
|
|
<td width="60px">
|
|
|
<input id="reportedConsultantList${status.index+1}_costNum" name="reportedConsultantList[${status.index+1}].costNum" readonly="readonly" style="text-align: center" value="${status.index+1}" type="text" class="form-control contentDetail"/>
|
|
@@ -941,7 +941,7 @@
|
|
|
<span class="op-btn op-btn-delete" onclick="delRow(this, '#reportedConsultantList${status.index+1}')" title="删除"><i class="fa fa-trash"></i> 删除</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- </c:forEach>
|
|
|
+ </c:forEach>--%>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
<script type="text/template" id="workClientBankTpl">//<!--
|
|
@@ -950,6 +950,7 @@
|
|
|
<input id="reportedConsultantList{{idx}}_id" name="reportedConsultantList[{{idx}}].id" type="hidden" value="{{row.id}}"/>
|
|
|
<input id="reportedConsultantList{{idx}}_delFlag" name="reportedConsultantList[{{idx}}].delFlag" type="hidden" value="0"/>
|
|
|
<input id="reportedConsultantList{{idx}}_remindId" name="reportedConsultantList[{{idx}}].remindId" type="hidden" value="{{row.remindId}}"/>
|
|
|
+ <input id="reportedConsultantList{{idx}}_zhucezigezhKey" name="reportedConsultantList[{{idx}}].zhucezigezhKey" type="hidden" value="{{row.zhucezigezhKey}}"/>
|
|
|
</td>
|
|
|
|
|
|
<td width="60px">
|
|
@@ -1640,9 +1641,9 @@
|
|
|
return false;
|
|
|
}
|
|
|
function addRow(list, idx, tpl, row){
|
|
|
- var idx1 = $("#reportedConsultantList tr").length;
|
|
|
- idx1 +=1;
|
|
|
- bornTemplete(list, idx1, tpl, row, idx);
|
|
|
+ /*var idx1 = $("#reportedConsultantList tr").length;
|
|
|
+ idx1 +=1;*/
|
|
|
+ bornTemplete(list, idx+1, tpl, row, idx);
|
|
|
}
|
|
|
|
|
|
function bornTemplete(list, idx, tpl, row, idx1){
|
|
@@ -1787,7 +1788,7 @@
|
|
|
var workClientBankRowIdx = 0,
|
|
|
workClientBankTpl = $("#workClientBankTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g, "");
|
|
|
$(document).ready(function () {
|
|
|
- var dataBank = ${fns:toJson(ruralProjectRecordsReported.reportedConsultantList)};
|
|
|
+ var dataBank = ${fns:toJson(info)};
|
|
|
for (var i = 0; i < dataBank.length; i++) {
|
|
|
addRow('#reportedConsultantList', workClientBankRowIdx, workClientBankTpl, dataBank[i]);
|
|
|
workClientBankRowIdx = workClientBankRowIdx + 1;
|