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
7f7e528b
Commit
7f7e528b
authored
Aug 08, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决冲突
parent
7ed9fbec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
61 deletions
+0
-61
scheduling.js
src/api/scheduling.js
+0
-61
No files found.
src/api/scheduling.js
View file @
7f7e528b
import
http
from
'./http'
//能源消耗-获取
export
const
postEnergyManage
=
params
=>
{
<<<<<<<
HEAD
return
http
.
post
(
`/api/energy/getData`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
=======
return
http
.
post
(
`/api/energy/getData`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
>>>>>>>
4
ac876ed216e6184e11a156638cd9a19a43ddb02
}
// 能源消耗-删除
// export const postEnergyDel = EnergyId => {
...
...
@@ -33,56 +27,27 @@ export const postEnergyUpdate = params => {
// 瞬时热量-获取列表
export
const
postInstantHeat
=
params
=>
{
<<<<<<<
HEAD
return
http
.
post
(
`api/Scheduling/BizInstantaneousHeat/Get`
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
=======
return
http
.
post
(
`api/Scheduling/BizInstantaneousHeat/Get`
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
>>>>>>>
4
ac876ed216e6184e11a156638cd9a19a43ddb02
}
// 瞬时热量-新增修改
export
const
postInstantHeatUpdate
=
params
=>
{
<<<<<<<
HEAD
return
http
.
post
(
`api/Scheduling/BizInstantaneousHeat/Update`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
=======
return
http
.
post
(
`api/Scheduling/BizInstantaneousHeat/Update`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
>>>>>>>
4
ac876ed216e6184e11a156638cd9a19a43ddb02
}
// 参数设置
export
const
postConfigBoilerUpdate
=
params
=>
{
<<<<<<<
HEAD
return
http
.
post
(
`api/configboiler/Save`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
=======
return
http
.
post
(
`api/configboiler/Save`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
>>>>>>>
4
ac876ed216e6184e11a156638cd9a19a43ddb02
}
export
const
postSecAbsTUc
=
params
=>
{
<<<<<<<
HEAD
return
http
.
post
(
`/api/analysis/external/SecAbsTUc`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
}
export
const
postEnergyManageSave
=
params
=>
{
return
http
.
post
(
`/api/energy/Save`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
=======
return
http
.
post
(
`/api/analysis/external/SecAbsTUc`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
...
...
@@ -92,7 +57,6 @@ export const postEnergyManageSave = params => {
return
http
.
post
(
`/api/energy/Save`
,
params
).
then
(
res
=>
res
).
catch
(
function
(
error
)
{
console
.
log
(
error
);
})
>>>>>>>
4
ac876ed216e6184e11a156638cd9a19a43ddb02
}
...
...
@@ -105,19 +69,11 @@ export const alterWeatherMagData = params => { // 添加或修改气象干预数
}
export
const
getTransfer
=
param
=>
{
// 获取换热站列表
<<<<<<<
HEAD
return
http
.
post
(
`/api/cusweather/getTransferIds?id=
${
param
}
`
,
param
)
}
export
const
getAnnualParam
=
()
=>
{
// 获取年度参数列表
return
http
.
post
(
'/api/Scheduling/BizHeatSet/Get'
)
=======
return
http
.
post
(
`/api/cusweather/getTransferIds?id=
${
param
}
`
,
param
)
}
export
const
getAnnualParam
=
()
=>
{
// 获取年度参数列表
return
http
.
post
(
'/api/Scheduling/BizHeatSet/Get'
)
>>>>>>>
4
ac876ed216e6184e11a156638cd9a19a43ddb02
}
export
const
alterAnnualParam
=
params
=>
{
// 修改年度参数
...
...
@@ -125,18 +81,6 @@ export const alterAnnualParam = params => { // 修改年度参数
}
export
const
addAnnualParam
=
params
=>
{
// 新增年度参数
<<<<<<<
HEAD
return
http
.
post
(
'/api/Scheduling/BizHeatSet/Add'
,
params
)
}
export
const
deleteAnnualParam
=
params
=>
{
// 删除年度参数
// console.log("地址:",`/api/Scheduling/BizHeatSet/Delete?Id=${params}`)
return
http
.
post
(
`/api/Scheduling/BizHeatSet/Delete?Id=
${
params
}
`
)
}
export
const
getPhenomenon
=
()
=>
{
// 获取数据列表————天气工况
return
http
.
post
(
'/api/Scheduling/WeatherCondition/Get'
)
=======
return
http
.
post
(
'/api/Scheduling/BizHeatSet/Add'
,
params
)
}
...
...
@@ -147,7 +91,6 @@ export const deleteAnnualParam = params => { // 删除年度参数
export
const
getPhenomenon
=
()
=>
{
// 获取数据列表————天气工况
return
http
.
post
(
'/api/Scheduling/WeatherCondition/Get'
)
>>>>>>>
4
ac876ed216e6184e11a156638cd9a19a43ddb02
}
export
const
addPhenomenon
=
params
=>
{
// 新增数据————天气工况
...
...
@@ -158,11 +101,7 @@ export const alterPhenomenon = params => { // 修改数据————天气工
}
export
const
deletePhenomenon
=
params
=>
{
// 删除数据————天气工况
<<<<<<<
HEAD
return
http
.
post
(
`/api/Scheduling/WeatherCondition/Delete?Id=
${
params
}
`
)
=======
return
http
.
post
(
`/api/Scheduling/WeatherCondition/Delete?Id=
${
params
}
`
)
>>>>>>>
4
ac876ed216e6184e11a156638cd9a19a43ddb02
}
export
const
getWind
=
()
=>
{
// 获取数据列表————风力配置
...
...
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