Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
Project
Project
Details
Activity
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
耿迪迪
gassafety
Commits
eb4b2117
Commit
eb4b2117
authored
Aug 23, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
b1e2d4b3
53b375e1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
12 deletions
+37
-12
index.vue
gassafety-web/src/views/dataMonitoring/alarmdetail/index.vue
+14
-1
index.vue
...web/src/views/deviceInspection/inspectiondetail/index.vue
+14
-3
index.vue
gassafety-web/src/views/workOrder/basicsInfo/index.vue
+7
-7
index.vue
gassafety-web/src/views/workOrder/detail/index.vue
+2
-1
No files found.
gassafety-web/src/views/dataMonitoring/alarmdetail/index.vue
View file @
eb4b2117
...
...
@@ -46,7 +46,10 @@
<el-col
:span=
"6"
>
<el-form
ref=
"form"
v-model=
"form"
style=
"width: 100%;"
>
<el-form-item
label=
"工单编号:"
prop=
"orderId"
>
<font>
{{
form
.
orderId
}}
</font>
<!--
<font>
{{
form
.
orderId
}}
</font>
-->
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"showDetail(form.orderId)"
>
{{
form
.
orderId
}}
</el-button>
</
template
>
</el-form-item>
<el-form-item
label=
"处理状态:"
prop=
"dealStatus"
>
<font
v-if=
"form.orderId == null || form.orderId == ''"
>
未生成工单
</font>
...
...
@@ -519,6 +522,16 @@ export default {
]
});
},
/** 详细信息跳转 */
showDetail
(
orderId
)
{
this
.
$router
.
push
({
path
:
'/workOrder/detail'
,
query
:{
orderId
:
orderId
}
})
//带参跳转
},
getDetail
(){
getDeviceAlarm
(
this
.
alarmId
).
then
(
response
=>
{
const
{
deviceName
,
deviceCode
,
alarmType
,
alarmValue
,
startTime
,
endTime
,
deviceStatus
}
=
response
.
data
;
...
...
gassafety-web/src/views/deviceInspection/inspectiondetail/index.vue
View file @
eb4b2117
...
...
@@ -104,7 +104,10 @@
<el-col
:span=
"6"
>
<el-form
ref=
"form"
v-model=
"form"
:rules=
"rules"
label-width=
"100px"
style=
"height: 30px;width: 100%;"
>
<el-form-item
label=
"工单编号:"
prop=
"orderId"
>
<font>
{{form.orderId}}
</font>
<!-- <font>{{form.orderId}}</font> -->
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"showDetail(form.orderId)"
>
{{
form
.
orderId
}}
</el-button>
</
template
>
</el-form-item>
</el-form>
</el-col>
...
...
@@ -256,7 +259,15 @@ export default {
this
.
resetForm
(
"form"
);
},
/** 详细信息跳转 */
showDetail
(
orderId
)
{
this
.
$router
.
push
({
path
:
'/workOrder/detail'
,
query
:{
orderId
:
orderId
}
})
//带参跳转
},
/** 归档按钮操作 */
handleFinish
(
res
)
{
// this.reset();
...
...
gassafety-web/src/views/workOrder/basicsInfo/index.vue
View file @
eb4b2117
...
...
@@ -61,9 +61,9 @@
<el-table-column
label=
"工单编号"
align=
"center"
prop=
"orderId"
/>
<el-table-column
label=
"工单类型"
align=
"center"
prop=
"orderType"
>
<template
slot-scope=
"scope"
>
<
span
type=
"primary"
v-if=
"scope.row.orderType == 1"
>
巡检信息
</spa
n>
<
span
type=
"primary"
v-if=
"scope.row.orderType == 2"
>
隐患信息
</spa
n>
<
span
type=
"primary"
v-if=
"scope.row.orderType == 3"
>
报警信息
</spa
n>
<
el-button
type=
"primary"
v-if=
"scope.row.orderType == 1"
>
巡检信息
</el-butto
n>
<
el-button
type=
"warning"
v-if=
"scope.row.orderType == 2"
>
隐患信息
</el-butto
n>
<
el-button
type=
"danger"
v-if=
"scope.row.orderType == 3"
>
报警信息
</el-butto
n>
</
template
>
</el-table-column>
<el-table-column
label=
"指定执行人员"
align=
"center"
prop=
"appointInspectorName"
>
...
...
@@ -71,10 +71,10 @@
<el-table-column
label=
"工单名称"
align=
"center"
prop=
"orderName"
/>
<el-table-column
label=
"工单状态"
align=
"center"
prop=
"orderStatus"
>
<
template
slot-scope=
"scope"
>
<
el-button
type=
"info"
v-if=
"scope.row.orderStatus == 0"
>
未接收
</el-butto
n>
<
el-button
type=
"warning"
v-if=
"scope.row.orderStatus == 1"
>
已接收
</el-butto
n>
<
el-button
type=
"primary"
v-if=
"scope.row.orderStatus == 2"
>
已反馈
</el-butto
n>
<
el-button
type=
"success"
v-if=
"scope.row.orderStatus == 3"
>
已归档
</el-butto
n>
<
span
type=
"info"
v-if=
"scope.row.orderStatus == 0"
>
未接收
</spa
n>
<
span
type=
"warning"
v-if=
"scope.row.orderStatus == 1"
>
已接收
</spa
n>
<
span
type=
"primary"
v-if=
"scope.row.orderStatus == 2"
>
已反馈
</spa
n>
<
span
type=
"success"
v-if=
"scope.row.orderStatus == 3"
>
已归档
</spa
n>
</
template
>
</el-table-column>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"allotTime"
width=
"180"
>
...
...
gassafety-web/src/views/workOrder/detail/index.vue
View file @
eb4b2117
...
...
@@ -69,7 +69,7 @@
<font
v-if=
"form.deviceType == 4"
>
压力表
</font>
</el-form-item>
<el-form-item
label=
"设备名称:"
prop=
"deviceName"
style=
"margin-bottom: 0px;"
>
<
font
v-if=
"form.orderType != 1"
>
{{
form
.
deviceName
}}
</font
>
<
!--
<font
v-if=
"form.orderType != 1"
>
{{
form
.
deviceName
}}
</font>
--
>
<el-tree
:data=
"deviceOptions"
:props=
"defaultProps"
...
...
@@ -601,6 +601,7 @@ export default {
}
.el-tree
{
margin-top
:
5px
;
margin-left
:
70px
;
}
.avatar-uploader
{
width
:
25%
;
...
...
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