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 9ee78ced
authored
Jun 24, 2022
by
张晓玮
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'zxw-v1.8.0' into 'v1.8.0'
Zxw v1.8.0 See merge request
!41
2 parents
e0ad5dd3
2f4ca57f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
12 deletions
src/views/alarmCenter/alarm.vue
src/views/alarmCenter/alarmLog.vue
src/views/reportManage/statistics_car.vue
src/views/reportManage/statistics_device.vue
src/views/alarmCenter/alarm.vue
View file @
9ee78ce
...
...
@@ -76,7 +76,7 @@ import moment from "moment";
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
GlsxTable
from
"@/components/glsx-table/table"
;
import
{
GET_ALARM_LIST
,
GET_ALARM_EXPORT
}
from
"@/services/alarmCenter"
;
import
{
deepClone
,
showToast
}
from
"@/utils/util"
;
import
{
deepClone
,
showToast
,
downFileByPath
}
from
"@/utils/util"
;
// import { alarmShortcuts } from "@/common"
import
qs
from
'qs'
export
default
{
...
...
@@ -188,7 +188,8 @@ export default {
if
(
res
.
code
!=
200
)
{
return
false
;
}
window
.
open
(
res
.
data
);
// window.open(res.data);
downFileByPath
(
res
.
data
)
});
},
...
...
src/views/alarmCenter/alarmLog.vue
View file @
9ee78ce
...
...
@@ -10,7 +10,7 @@
<div
class=
"search_box"
>
<el-form
:inline=
"true"
size=
"small"
>
<el-form-item
label=
"关键字"
>
<el-input
v-model
.
trim=
"searchForm.keywords"
maxlength=
"20"
placeholder=
"设备号|车架号|姓名|
工单号"
></el-input>
<el-input
v-model
.
trim=
"searchForm.keywords"
class=
"longInput"
maxlength=
"20"
placeholder=
"设备号|车架号|姓名|业务
工单号"
></el-input>
</el-form-item>
<el-form-item
label=
"车辆归属:"
>
<el-popover
v-model=
"filterVisible"
placement=
"bottom-start"
width=
"400"
trigger=
"click"
>
...
...
@@ -25,6 +25,11 @@
<el-date-picker
v-model=
"searchForm.offDate"
type=
"daterange"
class=
"data_picker"
:clearable=
"false"
unlink-panels
range-separator=
"~"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
:picker-options=
"offPickerOptions"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"报警等级:"
>
<el-select
v-model=
"searchForm.alarmLevel"
class=
"small_select"
>
<el-option
v-for=
"(item, index) in alarmLevelList"
:key=
"index"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button
icon=
"el-icon-search"
type=
"primary"
@
click=
"searchEvent()"
>
搜索
</el-button>
</el-form-item>
...
...
@@ -57,7 +62,7 @@
<
script
>
import
moment
from
"moment"
;
import
{
GET_ALARM_HANDLE_LOG
,
GET_ALARM_HANDLE_LOG_EXPORT
}
from
"@/services/alarmCenter"
;
import
{
deepClone
}
from
"@/utils/util"
;
import
{
deepClone
,
downFileByPath
}
from
"@/utils/util"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
{
alarmLogShortcuts
}
from
"@/common"
import
GlsxTable
from
"@/components/glsx-table/table"
;
...
...
@@ -69,7 +74,7 @@ export default {
},
data
()
{
return
{
searchForm
:
{
offDate
:
[
""
,
""
]},
searchForm
:
{
offDate
:
[
""
,
""
]
,
alarmLevel
:
""
},
offPickerOptions
:
{
shortcuts
:
alarmLogShortcuts
,
},
...
...
@@ -85,7 +90,15 @@ export default {
{
label
:
"处理时间"
,
prop
:
"processTime"
},
],
tableParams
:
{},
GET_ALARM_HANDLE_LOG
GET_ALARM_HANDLE_LOG
,
alarmLevelList
:[
{
name
:
'全部'
,
id
:
''
},
{
name
:
'1级'
,
id
:
'1'
},
{
name
:
'2级'
,
id
:
'2'
},
{
name
:
'3级'
,
id
:
'3'
},
{
name
:
'4级'
,
id
:
'4'
},
// {name:'5级',id:'5'},
]
};
},
created
()
{
...
...
@@ -103,7 +116,7 @@ export default {
// 重置
rest
()
{
// this.defaultDate();
this
.
searchForm
=
{
offDate
:
[
""
,
""
]}
this
.
searchForm
=
{
offDate
:
[
""
,
""
]
,
alarmLevel
:
""
}
this
.
$refs
.
glsxTable
.
restParams
()
this
.
tableParams
=
this
.
getParams
();
},
...
...
@@ -155,7 +168,8 @@ export default {
if
(
res
.
code
!=
200
)
{
return
false
;
}
window
.
open
(
res
.
data
);
// window.open(res.data);
downFileByPath
(
res
.
data
)
});
},
...
...
@@ -174,6 +188,11 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"@/styles/hadoop.scss"
;
.search_box
{
.longInput{
width
:
220px
;
}
}
</
style
>
<
style
lang=
"scss"
>
.alarmLog
{
...
...
src/views/reportManage/statistics_car.vue
View file @
9ee78ce
...
...
@@ -61,7 +61,7 @@ import {
GET_OPEREPORT_VEHICLE_SEARCH
,
}
from
"services/report"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
{
deepClone
,
showToast
}
from
"@/utils/util"
;
import
{
deepClone
,
showToast
,
downFileByPath
}
from
"@/utils/util"
;
import
GlsxDialog
from
"@/components/dialog"
;
import
{
staticReportCarShortcuts
}
from
"@/common"
;
export
default
{
...
...
@@ -155,7 +155,8 @@ export default {
if
(
res
.
code
!=
200
)
{
return
false
;
}
window
.
open
(
res
.
data
);
// window.open(res.data);
downFileByPath
(
res
.
data
);
});
},
...
...
src/views/reportManage/statistics_device.vue
View file @
9ee78ce
...
...
@@ -61,7 +61,7 @@ import {
GET_OPEREPORT_DEVICE_EXPORT
,
}
from
"services/report"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
{
deepClone
,
showToast
}
from
"@/utils/util"
;
import
{
deepClone
,
showToast
,
downFileByPath
}
from
"@/utils/util"
;
import
GlsxDialog
from
"@/components/dialog"
;
import
{
staticReportCarShortcuts
}
from
'@/common'
export
default
{
...
...
@@ -155,7 +155,8 @@ export default {
if
(
res
.
code
!=
200
)
{
return
false
;
}
window
.
open
(
res
.
data
);
// window.open(res.data);
downFileByPath
(
res
.
data
)
});
},
...
...
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