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
deaaae04
Commit
deaaae04
authored
Aug 05, 2024
by
裴文涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
年度参数模块修改按钮弹出窗口
parent
b35a2d0b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
107 additions
and
12 deletions
+107
-12
AnnualParamPage.vue
src/views/SchedulingPage/AnnualParamPage.vue
+105
-2
BindWindow.vue
src/views/SchedulingPage/weatherManageSub/BindWindow.vue
+1
-5
ReviseWindow.vue
src/views/SchedulingPage/weatherManageSub/ReviseWindow.vue
+1
-5
No files found.
src/views/SchedulingPage/AnnualParamPage.vue
View file @
deaaae04
...
...
@@ -73,7 +73,12 @@ const tableBodyClass = data => { // 表体样式
const
searchKey
=
ref
(
''
)
// 查询参数
const
currentPage
=
ref
(
1
)
// 当前页码
const
pageSize
=
ref
(
30
)
// 每页显示条数
const
reviseWindowOpen
=
ref
(
false
)
const
reviseForm
=
ref
({})
function
handleEdit
(
val
)
{
reviseForm
.
value
=
{...
val
}
reviseWindowOpen
.
value
=
true
}
// 处理修改
function
handleDelete
(
val
)
{
...
...
@@ -83,6 +88,11 @@ function handleAdd() {
}
// 处理新增
function
handleSearch
()
{
}
// 处理查询
function
onSubmit
()
{
}
// 提交修改
function
handleClose
()
{
reviseWindowOpen
.
value
=
false
}
// 关闭弹窗
</
script
>
<
template
>
...
...
@@ -136,6 +146,68 @@ function handleSearch() {
class=
"pagination"
/>
</el-config-provider>
</div>
<div
class=
"revise-window-dialog"
>
<el-dialog
title=
"年度参数修改"
v-model=
"reviseWindowOpen"
width=
"700px"
:before-close=
"handleClose"
>
<
template
#
default
>
<el-row
first
>
<el-col
:span=
"8"
col-label
>
节能等级:
</el-col>
<el-col
:span=
"16"
col-value
>
<el-select
placeholder=
""
size=
"small"
style=
"width: 370px"
>
</el-select>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
col-label
>
年度:
</el-col>
<el-col
:span=
"16"
col-value
>
<el-select
placeholder=
""
size=
"small"
style=
"width: 370px"
>
</el-select>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
col-label
>
标准:
</el-col>
<el-col
:span=
"16"
col-value
>
<el-input
v-model=
"reviseForm.standard"
placeholder=
""
style=
"width: 370px"
/>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
col-label
>
度日数标定值:
</el-col>
<el-col
:span=
"16"
col-value
>
<el-input
v-model=
"reviseForm.degreeStandard"
style=
"width: 370px"
/>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
col-label
>
室内温度:
</el-col>
<el-col
:span=
"16"
col-value
>
<el-input
v-model=
"reviseForm.indoorTemperature"
style=
"width: 370px"
/>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
col-label
>
室外温度:
</el-col>
<el-col
:span=
"16"
col-value
>
<el-input
v-model=
"reviseForm.outdoorTemperature"
style=
"width: 370px"
/>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
col-label
>
回水温度:
</el-col>
<el-col
:span=
"16"
col-value
>
<el-input
v-model=
"reviseForm.backWaterTemperature"
style=
"width: 370px"
/>
</el-col>
</el-row>
</
template
>
<
template
#
footer
>
<div
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"handleClose"
>
关闭
</el-button>
</div>
</
template
>
</el-dialog>
</div>
</div>
</template>
...
...
@@ -161,7 +233,8 @@ function handleSearch() {
justify-content: end;
align-items: center;
}
.add-search-btn{
.add-search-btn {
margin: 5px 10px 5px 0;
}
...
...
@@ -190,10 +263,40 @@ function handleSearch() {
::v-deep .el-table__body tr:hover > td {
background: linear-gradient(to top, rgb(0, 198, 255), rgb(255, 255, 255)) !important;
}
.pagination-wrapper{
.pagination-wrapper {
padding: 5px;
display: flex;
justify-content: space-between;
align-items: center;
}
.el-row[first]{
border-top: 1px solid #a6c3e9;
}
.el-row{
border-left: 1px solid #a6c3e9;
border-right: 1px solid #a6c3e9;
border-bottom: 1px solid #a6c3e9;
width: 100%;
height: 35px;
color: #124362;
}
.el-col[col-label]{
display: flex;
justify-content: end;
align-items: center;
border-right: 1px solid #a6c3e9;
background-color: #f2f6f8;
padding-right: 5px;
}
.el-col[col-value]{
display: flex;
justify-content: start;
align-items: center;
padding-left: 5px;
}
.el-input{
color: black;
height: 24px;
}
</
style
>
\ No newline at end of file
src/views/SchedulingPage/weatherManageSub/BindWindow.vue
View file @
deaaae04
...
...
@@ -64,12 +64,8 @@ const onSubmit = ()=>{
<el-dialog
v-model=
"props.open"
width=
"1000px"
title=
"换热站绑定"
@
close=
"emit('onCancel')"
>
<template
#
header
>
<div
class=
"dialog-custom-header"
>
换热站绑定
</div>
</
template
>
<template
#
default
>
<div
class=
"dialog-content"
>
<el-row
style=
"border-top: #a6c3e9 1px solid"
class=
"not-select-row"
>
...
...
src/views/SchedulingPage/weatherManageSub/ReviseWindow.vue
View file @
deaaae04
...
...
@@ -55,12 +55,8 @@ const switchingModel = computed({
<el-dialog
v-model=
"props.open"
width=
"1000px"
title=
"自定义修改"
@
close=
"emit('onCancel')"
>
<template
#
header
>
<div
class=
"dialog-custom-header"
>
自定义修改
</div>
</
template
>
<template
#
default
>
<div
class=
"dialog-content"
>
<el-row
style=
"border-top: #a6c3e9 1px solid"
>
...
...
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