Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
DataCenter_Core2.1_20190520
Commits
4ea924b5
Commit
4ea924b5
authored
Jan 31, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加动态适应屏幕,可适配不同尺寸屏幕
parent
59760a90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
AdministrativeCost.cshtml
...Web/Areas/Reports/Views/Finance/AdministrativeCost.cshtml
+3
-6
No files found.
Bailun.DC.Web/Areas/Reports/Views/Finance/AdministrativeCost.cshtml
View file @
4ea924b5
...
...
@@ -45,7 +45,7 @@
<div class="bootstrap-table">
<div class="fixed-table-container">
<div class="fixed-table-body">
<table id="roletable" style="table table-bordered" class="table table-border table-bordered table-hover table-bg table-sort" data-toggle="table"
data-height="350"
>
<table id="roletable" style="table table-bordered" class="table table-border table-bordered table-hover table-bg table-sort" data-toggle="table">
<thead>
<tr id="tb_head" class="text-c"></tr>
</thead>
...
...
@@ -82,7 +82,7 @@
laydate.render({ elem: '#start' });
laydate.render({ elem: '#end' });
$('#roletable').attr('data-height', document.body.clientHeight - 170);
//
$('#roletable').attr('data-height', document.body.clientHeight - 170);
list();
...
...
@@ -182,14 +182,11 @@
//初始化固定头和固定列
$("#roletable").bootstrapTable({
height: (document.body.clientHeight-170),
fixedColumns: true,
fixedNumber: 1 //固定列数
});
$(window).resize(function () {
$('#roletable').attr('data-height', document.body.clientHeight - 170);
$('#roletable').bootstrapTable('resetView');
});
}
else {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment