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
ddf8f5e1
Commit
ddf8f5e1
authored
Aug 06, 2024
by
xuhaoze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
参数配置,获取数据列表第二次提交
parent
bd65cda3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
ConfigBoilerPage.vue
src/views/SchedulingPage/ConfigBoilerPage.vue
+10
-8
No files found.
src/views/SchedulingPage/ConfigBoilerPage.vue
View file @
ddf8f5e1
...
...
@@ -159,8 +159,6 @@
</tr>
<tr>
<th
style=
"width: 25%"
>
总管流量上下限范围内持续时间
</th>
<td
style=
"width: 60%; margin: 0; padding: 0"
>
...
...
@@ -185,19 +183,15 @@
<th
rowspan=
"3"
>
<div>
<div
class=
"btngrounp"
>
<el-button
type=
"primary"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"save"
>
保存
</el-button>
<el-button
type=
"primary"
style=
"margin: 0 0 0 5px"
>
关闭
</el-button>
</div>
</div>
</th>
</tr>
</table>
</el-card>
</div>
</div>
...
...
@@ -221,12 +215,20 @@ const formDatas = ref({
const
listData
=
()
=>
{
http
.
get
(
"/api/configboiler/getData"
).
then
((
result
)
=>
{
formDatas
.
value
=
result
.
data
;
console
.
log
(
'***********&&&&&&&&&&&&'
)
console
.
log
(
formDatas
.
value
)
console
.
log
({...
formDatas
.
value
})
})
}
listData
()
const
save
=
()
=>
{
console
.
log
(
formDatas
.
value
)
http
.
post
(
"/api/configboiler/Save"
,{...
formDatas
.
value
},
false
).
then
((
result
)
=>
{
}).
catch
((
error
)
=>
{
console
.
log
(
error
)
})
}
...
...
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