|
@@ -20,16 +20,19 @@ $(function() {
|
|
|
* @returns
|
|
|
*/
|
|
|
function refreshColumn(columnLength){
|
|
|
+ var checkBoxList=$('input[type=checkbox][name=columnShow]');
|
|
|
+ console.log(checkBoxList);
|
|
|
for(var i=1;i<=columnLength;i++){
|
|
|
var isAccept=localStorage.getItem("curingColumn_"+i);
|
|
|
|
|
|
+
|
|
|
+
|
|
|
isColumnShow(isAccept,i);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
function isColumnShow(isAccept,column){
|
|
|
if (isAccept==null||isAccept) {
|
|
|
-
|
|
|
$('table[columnShow] tr').find('th:eq('+column+')').show();
|
|
|
$('table[columnShow] tr').find('td:eq('+column+')').show();
|
|
|
} else {
|