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
acde26c4
Commit
acde26c4
authored
Aug 26, 2024
by
xuhaoze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
天气工况名称输入框增大,表格名称列和对应温度列缩短,描述自适应,标题字段固定
parent
7c02838c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
PhenomenonPage.vue
src/views/SchedulingPage/PhenomenonPage.vue
+8
-7
No files found.
src/views/SchedulingPage/PhenomenonPage.vue
View file @
acde26c4
...
...
@@ -219,10 +219,10 @@ function customSort(a, b) {
<
template
>
<div
class=
"phenomenon-container"
>
<div
class=
"search-wrapper"
>
<el-row>
<el-col
:span=
"8"
label
>
名称:
</el-col>
<el-col
:span=
"16"
>
<el-input
clearable
v-model=
"searchKey"
/>
<el-row
>
<el-col
:span=
"8"
label
style=
"font-size: 18px"
>
名称:
</el-col>
<el-col
:span=
"16"
>
<el-input
clearable
style=
"height: 31px"
v-model=
"searchKey"
/>
</el-col>
</el-row>
<el-button
type=
"primary"
@
click=
"search"
class=
"add-search-btn"
>
查询
</el-button>
...
...
@@ -235,10 +235,10 @@ function customSort(a, b) {
:header-cell-class-name="tableHeaderClass"
:row-class-name="tableBodyClass">
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"phenomenonName"
sortable
:sort-method=
"customSort"
label=
"名称"
/>
<el-table-column
prop=
"phenomenonTemp"
label=
"对应温度"
/>
<el-table-column
prop=
"phenomenonName"
sortable
:sort-method=
"customSort"
label=
"名称"
width=
"100"
/>
<el-table-column
prop=
"phenomenonTemp"
label=
"对应温度"
width=
"100"
/>
<el-table-column
prop=
"phenomenonDesc"
label=
"描述"
/>
<el-table-column
label=
"操作"
width=
"190"
>
<el-table-column
label=
"操作"
width=
"190"
fixed=
"right"
>
<template
#
default=
"scope"
>
<div
class=
"table-operate-column"
>
<el-button
link
@
click=
"revise(scope.row)"
type=
"primary"
>
修改
</el-button>
...
...
@@ -356,6 +356,7 @@ function customSort(a, b) {
width: 100%;
display: flex;
justify-content: start;
}
.search-wrapper .el-row {
...
...
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