Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
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
海康威视
web-project
Commits
f6a29b74
Commit
f6a29b74
authored
Aug 27, 2024
by
xuhaoze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
气象干预、天气工况、风力配置表格标题固定
parent
7d73c86f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
5 deletions
+17
-5
PhenomenonPage.vue
src/views/SchedulingPage/PhenomenonPage.vue
+6
-2
WeatherManagePage.vue
src/views/SchedulingPage/WeatherManagePage.vue
+1
-0
WindManagePage.vue
src/views/SchedulingPage/WindManagePage.vue
+10
-3
No files found.
src/views/SchedulingPage/PhenomenonPage.vue
View file @
f6a29b74
...
...
@@ -230,10 +230,14 @@ function customSort(a, b) {
<el-button
type=
"primary"
@
click=
"resetSearch"
class=
"add-search-btn"
>
重置
</el-button>
</div>
<div
class=
"table-wrapper"
>
<el-table
:data=
"data"
stripe
border
style=
"width: 100%"
<el-table
:data=
"data"
stripe
border
style=
"width: 100%"
:default-sort=
"
{ prop: 'phenomenonName', order: 'descending' }"
:header-cell-class-name="tableHeaderClass"
:row-class-name="tableBodyClass">
:row-class-name="tableBodyClass"
height="750px"
>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"phenomenonName"
sortable
:sort-method=
"customSort"
label=
"名称"
width=
"100"
/>
<el-table-column
prop=
"phenomenonTemp"
label=
"对应温度"
width=
"100"
/>
...
...
src/views/SchedulingPage/WeatherManagePage.vue
View file @
f6a29b74
...
...
@@ -235,6 +235,7 @@ const tableHeight = ref(h);
<el-table
:data=
"data"
stripe
height=
"750px"
border
style=
"width: 100%"
:header-cell-class-name=
"tableHeaderClass"
...
...
src/views/SchedulingPage/WindManagePage.vue
View file @
f6a29b74
...
...
@@ -248,9 +248,16 @@ function customSort(a, b) {
<el-button
type=
"primary"
@
click=
"resetSearch"
class=
"add-search-btn"
>
重置
</el-button>
</div>
<div
class=
"table-wrapper"
>
<el-table
:data=
"data"
stripe
border
style=
"width: 100%"
:default-sort=
"
{ prop: 'windLevel', order: 'descending' }" :header-cell-class-name="tableHeaderClass"
:row-class-name="tableBodyClass">
<el-table
:data=
"data"
stripe
border
style=
"width: 100%"
:default-sort=
"
{ prop: 'windLevel', order: 'descending' }"
:header-cell-class-name="tableHeaderClass"
:row-class-name="tableBodyClass"
height="750px"
>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"windLevel"
sortable
:sort-method=
"customSort"
label=
"级数"
width=
"100"
/>
<el-table-column
prop=
"windTemp"
label=
"对应温度"
width=
"100"
/>
...
...
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