|
@@ -113,12 +113,19 @@ $(document).ready(() => {
|
|
|
});
|
|
|
});
|
|
|
|
|
|
+ //
|
|
|
+ const cca = getLocalCache('change-checkbox-account-' + accountId);
|
|
|
+ if (cca !== null && cca !== undefined) {
|
|
|
+ $('#customCheck1').prop('checked', cca);
|
|
|
+ }
|
|
|
// 变更详情展示和隐藏
|
|
|
$('.change-detail-checkbox').on('click', function (e) {
|
|
|
if($(e.target).is('label')){
|
|
|
return;
|
|
|
}
|
|
|
let column = table.column(3);
|
|
|
+ // 设置用户项目本地记录展示和隐藏情况
|
|
|
+ setLocalCache('change-checkbox-account-'+ accountId, $(this).is(':checked'));
|
|
|
column.visible(!column.visible());
|
|
|
})
|
|
|
});
|