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
95a1666f
Commit
95a1666f
authored
Aug 06, 2024
by
xuke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
瞬时热量接口调用完成
parent
de026362
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
scheduling.js
src/api/scheduling.js
+3
-3
InstantHeatPage.vue
src/views/SchedulingPage/InstantHeatPage.vue
+3
-2
No files found.
src/api/scheduling.js
View file @
95a1666f
...
...
@@ -6,7 +6,7 @@ export const postEnergyManage = params => {
})
}
<<<<<<<
HEAD
// 瞬时热量-获取列表
export
const
postInstantHeat
=
params
=>
{
return
http
.
post
(
`api/Scheduling/BizInstantaneousHeat/Get`
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
...
...
@@ -34,7 +34,7 @@ export const postEnergyManageSave = params => {
}
=======
export
const
getWeatherMagData
=
()
=>
{
// 获取气象干预数据
return
http
.
get
(
`/api/cusweather/getData`
)
}
...
...
@@ -54,4 +54,4 @@ export const getAnnualParam = ()=>{ // 获取年度参数列表
export
const
alterAnnualParam
=
params
=>
{
return
http
.
post
(
'/api/Scheduling/BizHeatSet/Update'
,
params
)
}
>>>>>>>
ddf8f5e185594dc0e6e809967cda5d8f5acc4157
src/views/SchedulingPage/InstantHeatPage.vue
View file @
95a1666f
...
...
@@ -119,11 +119,12 @@ const getInstanceHeat = async () => {
}
const
onSave
=
async
()
=>
{
// await postInstantHeatUpdate(List.value)
// ElMessage.success('修改成功')
http
.
post
(
"/api/Scheduling/BizInstantaneousHeat/Update"
,{...
List
.
value
},
false
).
then
((
result
)
=>
{
await
http
.
post
(
"/api/Scheduling/BizInstantaneousHeat/Update"
,{...
List
.
value
},
false
).
then
((
result
)
=>
{
}).
catch
((
error
)
=>
{
console
.
log
(
error
)
})
ElMessage
.
success
(
'修改成功'
)
getInstanceHeat
()
}
onMounted
(()
=>
{
...
...
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