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
ca388f4f
Commit
ca388f4f
authored
Aug 26, 2024
by
xuhaoze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
风力配置表格标题字段固定,调整字段宽度,级数增大
parent
acde26c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
WindManagePage.vue
src/views/SchedulingPage/WindManagePage.vue
+4
-4
No files found.
src/views/SchedulingPage/WindManagePage.vue
View file @
ca388f4f
...
@@ -236,7 +236,7 @@ function customSort(a, b) {
...
@@ -236,7 +236,7 @@ function customSort(a, b) {
<div
class=
"windManage-container"
>
<div
class=
"windManage-container"
>
<div
class=
"search-wrapper"
>
<div
class=
"search-wrapper"
>
<el-row>
<el-row>
<el-col
:span=
"8"
label
>
级数:
</el-col>
<el-col
:span=
"8"
label
style=
"font-size: 20px"
>
级数:
</el-col>
<el-col
:span=
"16"
>
<el-col
:span=
"16"
>
<el-select
placeholder=
""
clearable
style=
"width: 200px"
v-model=
"searchKey"
>
<el-select
placeholder=
""
clearable
style=
"width: 200px"
v-model=
"searchKey"
>
<el-option
v-for=
"item in 14"
:key=
"item"
:value=
"item"
:label=
"item + '级风'"
/>
<el-option
v-for=
"item in 14"
:key=
"item"
:value=
"item"
:label=
"item + '级风'"
/>
...
@@ -252,10 +252,10 @@ function customSort(a, b) {
...
@@ -252,10 +252,10 @@ function customSort(a, b) {
:default-sort=
"
{ prop: 'windLevel', order: 'descending' }" :header-cell-class-name="tableHeaderClass"
:default-sort=
"
{ prop: 'windLevel', order: 'descending' }" :header-cell-class-name="tableHeaderClass"
:row-class-name="tableBodyClass">
:row-class-name="tableBodyClass">
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"windLevel"
sortable
:sort-method=
"customSort"
label=
"级数"
/>
<el-table-column
prop=
"windLevel"
sortable
:sort-method=
"customSort"
label=
"级数"
width=
"100"
/>
<el-table-column
prop=
"windTemp"
label=
"对应温度"
/>
<el-table-column
prop=
"windTemp"
label=
"对应温度"
width=
"100"
/>
<el-table-column
prop=
"windDesc"
label=
"描述"
/>
<el-table-column
prop=
"windDesc"
label=
"描述"
/>
<el-table-column
label=
"操作"
width=
"190"
>
<el-table-column
label=
"操作"
width=
"190"
fixed=
"right"
>
<template
#
default=
"scope"
>
<template
#
default=
"scope"
>
<div
class=
"table-operate-column"
>
<div
class=
"table-operate-column"
>
<el-button
link
@
click=
"revise(scope.row)"
type=
"primary"
>
修改
</el-button>
<el-button
link
@
click=
"revise(scope.row)"
type=
"primary"
>
修改
</el-button>
...
...
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