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
1290b850
Commit
1290b850
authored
Aug 16, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 接口对接更新,样式修改
parent
3a41f8fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
16 deletions
+25
-16
WeatherManagePage.vue
src/views/SchedulingPage/WeatherManagePage.vue
+1
-1
ReviseWindow.vue
src/views/SchedulingPage/weatherManageSub/ReviseWindow.vue
+24
-15
No files found.
src/views/SchedulingPage/WeatherManagePage.vue
View file @
1290b850
...
...
@@ -73,8 +73,8 @@ const confirmRevise = val => { // 修改弹窗确认按钮事件
}
alterWeatherMagData
(
params
).
then
(
res
=>
{
if
(
res
.
success
){
getData
()
reviseWindowOpen
.
value
=
false
getData
()
ElMessage
({
message
:
'修改成功.'
,
type
:
'success'
,
...
...
src/views/SchedulingPage/weatherManageSub/ReviseWindow.vue
View file @
1290b850
...
...
@@ -78,23 +78,32 @@ function onOpen() {
async
function
handleConfirm
()
{
if
(
reviseData
.
value
.
hasOwnProperty
(
'supplyId'
))
{
if
(
reviseData
.
value
.
supplyId
)
{
const
result
=
await
getTransferInterface
(
param
)
for
(
let
item
of
result
.
data
)
{
reviseData
.
value
.
transfers
.
push
(
{
customizeId
:
reviseData
.
value
.
customizeId
,
unitId
:
item
.
transferId
,
updateNullFields
:
''
}
)
}
getTransferInterface
({
customizeId
:
reviseData
.
value
.
customizeId
,
supplyId
:
reviseData
.
value
.
supplyId
}).
then
(
result
=>
{
for
(
let
item
of
result
.
data
)
{
if
(
item
.
selected
.
toLowerCase
()
===
'true'
){
reviseData
.
value
.
transfers
.
push
(
{
customizeId
:
reviseData
.
value
.
customizeId
,
unitId
:
item
.
transferId
,
updateNullFields
:
''
}
)
}
}
formRef
.
value
.
validate
(
valid
=>
{
if
(
valid
)
{
emit
(
'onConfirm'
,
reviseData
.
value
)
}
})
})
}
}
formRef
.
value
.
validate
(
valid
=>
{
if
(
valid
)
{
emit
(
'onConfirm'
,
reviseData
.
value
)
}
})
}
</
script
>
...
...
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