|
|
@@ -93,11 +93,7 @@
|
|
|
<div class="row cl">
|
|
|
<label class="form-label col-xs-4 col-sm-2"></label>
|
|
|
<div class="formControls col-xs-8 col-sm-9">
|
|
|
- <input type="checkbox"
|
|
|
- th:name="'defaultList['+${itemStat.index}+']'"
|
|
|
- th:value="${item.id}"
|
|
|
- th:id="'checkbox_'+${itemStat.index}"
|
|
|
- >要求反馈意见
|
|
|
+ <input type="checkbox" th:name="'defaultList['+${itemStat.index}+']'" th:value="${item.id}">要求反馈意见
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row cl" th:id=" 'department'+${item.id}">
|
|
|
@@ -117,13 +113,10 @@
|
|
|
<tr class="text-c">
|
|
|
<td class="td_material">
|
|
|
<input type="text" class="input-text consultation" placeholder="请输入咨询的问题"
|
|
|
- th:name="'consultationList['+${itemStat.index}+'].consultation'"
|
|
|
- th:onchange="'checkboxChecked('+${itemStat.index}+')'"
|
|
|
- />
|
|
|
+ th:name="'consultationList['+${itemStat.index}+'].consultation'"/>
|
|
|
<input class="department_id" type="hidden"
|
|
|
th:name="'consultationList['+${itemStat.index}+'].department_id'"
|
|
|
- th:value="${item.id}"
|
|
|
- />
|
|
|
+ th:value="${item.id}"/>
|
|
|
</td>
|
|
|
<td class="icon_font"><i class='Hui-iconfont' onclick='removeLine(this)'> 删除</i>
|
|
|
</td>
|
|
|
@@ -410,14 +403,6 @@
|
|
|
function removeLine(obj) {
|
|
|
$(obj).parent().parent().remove();
|
|
|
}
|
|
|
-
|
|
|
- function checkboxChecked(index){
|
|
|
- var id="checkbox_"+index;
|
|
|
- var b= document.getElementById(id);
|
|
|
- // b.setAttribute('checked',false);
|
|
|
- // b.setAttribute('checked',true);
|
|
|
- $("#"+id).prop('checked',true);
|
|
|
- }
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|