Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 611af6d6
authored
Jun 21, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改bug 警情研判详情 日历交互修改
1 parent
1beecc63
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
src/views/alarmCenter/alarmDetail.vue
src/views/alarmCenter/alarmDetail.vue
View file @
611af6d
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
placement=
"bottom-start"
placement=
"bottom-start"
width=
"400"
width=
"400"
v-model=
"editModalVisible"
v-model=
"editModalVisible"
trigger=
"
click
"
>
trigger=
"
manual
"
>
<div
class=
"popover-header"
>
<div
class=
"popover-header"
>
</div>
</div>
<el-form
:model=
"form"
:rules=
"rules"
ref=
"form"
:inline=
"false"
size=
"mini"
label-width=
"90px"
>
<el-form
:model=
"form"
:rules=
"rules"
ref=
"form"
:inline=
"false"
size=
"mini"
label-width=
"90px"
>
...
@@ -288,6 +288,7 @@ export default {
...
@@ -288,6 +288,7 @@ export default {
filterChange
()
{
filterChange
()
{
let
oParams
=
this
.
getParams
()
let
oParams
=
this
.
getParams
()
GET_ALARM_INFO_CALENDAR
(
oParams
).
then
(
res
=>
{
GET_ALARM_INFO_CALENDAR
(
oParams
).
then
(
res
=>
{
this
.
editModalVisible
=
false
this
.
selectedDay
=
this
.
month
this
.
selectedDay
=
this
.
month
this
.
defaultDate
=
this
.
month
this
.
defaultDate
=
this
.
month
this
.
calendarData
=
res
.
data
this
.
calendarData
=
res
.
data
...
@@ -362,12 +363,18 @@ export default {
...
@@ -362,12 +363,18 @@ export default {
async
dateClick
(
data
)
{
async
dateClick
(
data
)
{
this
.
currIdx
=
0
this
.
currIdx
=
0
this
.
selectedDay
=
data
.
day
this
.
selectedDay
=
data
.
day
this
.
editModalVisible
=
false
let
currentMonth
=
moment
(
this
.
month
).
month
()
+
1
if
(
moment
(
data
.
day
).
month
()
+
1
!==
currentMonth
)
{
this
.
month
=
data
.
day
}
// 获取最新的警情处理结果
// 获取最新的警情处理结果
if
(
!
this
.
currItem
.
length
)
return
if
(
!
this
.
currItem
.
length
)
return
this
.
getHandleResult
()
this
.
getHandleResult
()
},
},
getHandleResult
()
{
getHandleResult
()
{
GET_LAST_ALARM_RESULT
({
alarmId
:
this
.
currItem
[
this
.
currIdx
].
id
}).
then
(
res
=>
{
GET_LAST_ALARM_RESULT
({
alarmId
:
this
.
currItem
[
this
.
currIdx
].
id
}).
then
(
res
=>
{
this
.
editModalVisible
=
false
this
.
alarmHandleResult
=
res
.
data
||
{}
this
.
alarmHandleResult
=
res
.
data
||
{}
})
})
},
},
...
@@ -375,6 +382,7 @@ export default {
...
@@ -375,6 +382,7 @@ export default {
editResolve
()
{
editResolve
()
{
this
.
form
.
actionText
=
this
.
alarmHandleResult
.
resolvent
||
''
;
this
.
form
.
actionText
=
this
.
alarmHandleResult
.
resolvent
||
''
;
this
.
form
.
remark
=
this
.
alarmHandleResult
.
remark
||
''
;
this
.
form
.
remark
=
this
.
alarmHandleResult
.
remark
||
''
;
this
.
editModalVisible
=
true
},
},
// operation(status, num) {
// operation(status, num) {
// if (status === 2) {
// if (status === 2) {
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment