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
92eabaee
Commit
92eabaee
authored
Jul 29, 2021
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情反馈
parent
59be76f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
110 additions
and
14 deletions
+110
-14
detail.vue
gassafety-web/src/views/workOrder/basicsInfo/detail.vue
+110
-14
No files found.
gassafety-web/src/views/workOrder/basicsInfo/detail.vue
View file @
92eabaee
...
@@ -3,8 +3,15 @@
...
@@ -3,8 +3,15 @@
<!-- 工单信息 -->
<!-- 工单信息 -->
<div
style=
"padding-top: 10px;background: #fff;height: 100%;"
>
<div
style=
"padding-top: 10px;background: #fff;height: 100%;"
>
<div>
<div>
<span
style=
"color: #31EAEA;font-weight: 900;margin-left: 15px;"
>
工单信息
</span>
<div
style=
"width: 5%;height: 50px;margin-left: 20px;"
@
click=
"$router.go(-1)"
>
<el-steps
:active=
"active"
finish-status=
"success"
simple
prop=
"orderStatus"
style=
"margin-top: 20px"
>
<el-button
size=
"medium"
type=
"text"
style=
"font-size: 18px; color: rgb(7, 63, 112);float: left;"
>
返回
</el-button>
<div
style=
"float: left;margin-top: 8px;margin-left: 5px;"
><img
src=
"../../../assets/logo/fanhui.png"
style=
"width: 25px;"
alt=
""
></div>
</div>
<el-steps
:active=
"active"
finish-status=
"success"
simple
prop=
"orderStatus"
style=
"margin-top: 5px"
>
<el-step
title=
"未接收"
></el-step>
<el-step
title=
"未接收"
></el-step>
<el-step
title=
"已接收"
></el-step>
<el-step
title=
"已接收"
></el-step>
<!--
<el-step
title=
"进行中"
></el-step>
-->
<!--
<el-step
title=
"进行中"
></el-step>
-->
...
@@ -95,12 +102,90 @@
...
@@ -95,12 +102,90 @@
</el-form>
</el-form>
</div>
</div>
<!-- 反馈信息 -->
<!-- 反馈信息 -->
<div
style=
"width: 100%;font-weight: 600;height: 200px;"
v-if=
"form.dealStatus != '' && form.dealStatus != null"
>
<!--
<div
style=
"width: 100%;font-weight: 600;height: 200px;"
v-if=
"form.dealStatus != '' && form.dealStatus != null"
>
-->
<div
style=
"width: 100%;font-weight: 600;"
>
<el-divider></el-divider>
<el-divider></el-divider>
<div
style=
"color: #31EAEA;width: 100%;height: 40px;"
>
<div
style=
"color: #31EAEA;width: 100%;height: 40px;"
>
<ul><li>
反馈信息
</li></ul>
<ul><li>
反馈信息
</li></ul>
</div>
</div>
<div
style=
"width: 95%;float: left;"
>
<!--
<el-table
:data=
"form.feedbackList"
height=
"250"
border
style=
"width: 100%"
>
<el-table-column
prop=
"contents"
label=
"反馈信息"
>
</el-table-column>
<el-table-column
prop=
"feedbackTime"
label=
"反馈时间"
>
</el-table-column>
<el-table-column
prop=
"dealStatus"
label=
"是否解决"
>
<template
slot-scope=
"scope"
>
<font
v-if=
"scope.row.dealStatus == 3"
>
未解决
</font>
<font
v-if=
"scope.row.dealStatus != 3 && scope.row.dealStatus != null"
>
已解决
</font>
</
template
>
</el-table-column>
<el-table-column
prop=
"pictureUrl1"
label=
"图片1"
>
<
template
slot-scope=
"scope"
>
<el-image
:src=
"scope.row.pictureUrl1"
fit=
"cover"
v-if=
"scope.row.pictureUrl1 != null && scope.row.pictureUrl1 != ''"
style=
"width: 100px;height: 100px;"
>
</el-image>
</
template
>
</el-table-column>
<el-table-column
prop=
"pictureUrl2"
label=
"图片2"
>
<
template
slot-scope=
"scope"
>
<el-image
:src=
"scope.row.pictureUrl2"
fit=
"cover"
v-if=
"scope.row.pictureUrl2 != null && scope.row.pictureUrl2 != ''"
style=
"width: 100px;height: 100px;"
>
</el-image>
</
template
>
</el-table-column>
<el-table-column
prop=
"pictureUrl3"
label=
"图片3"
>
<
template
slot-scope=
"scope"
>
<el-image
:src=
"scope.row.pictureUrl3"
fit=
"cover"
v-if=
"scope.row.pictureUrl3 != null && scope.row.pictureUrl3 != ''"
style=
"width: 100px;height: 100px;"
>
</el-image>
</
template
>
</el-table-column>
</el-table>
-->
<div
class=
"block"
style=
"width: 95%;margin-left: 2%;"
>
<el-timeline>
<el-timeline-item
v-for=
"(activity, index) in form.feedbackList"
:key=
"index"
:timestamp=
"activity.feedbackTime"
>
<el-card>
<div
style=
"float: left;margin-left: 50px;"
>
<p>
设备类型:{{activity.deviceType}}
</p>
<p>
设备名称:{{activity.deviceType}}
</p>
<p>
反馈信息:{{activity.contents}}
</p>
</div>
<div
style=
"float: left;margin-left: 50px;"
>
<p
v-if=
"activity.dealStatus == 3"
>
是否解决:未解决
</p>
<p
v-if=
"activity.dealStatus != 3"
>
是否解决:已解决
</p>
<p>
反馈时间:{{activity.feedbackTime}}
</p>
</div>
<div
class=
"feedbackTime-div"
>
<div
class=
"feedbackTime"
>
<el-image
:src=
"activity.pictureUrl1"
:preview-src-list=
"activity.pictureUrl1"
v-if=
"activity.pictureUrl1 != null && activity.pictureUrl1 != ''"
style=
"width: 70px;"
></el-image>
</div>
<div
class=
"feedbackTime"
>
<el-image
:src=
"activity.pictureUrl2"
v-if=
"activity.pictureUrl2 != null && activity.pictureUrl2 != ''"
style=
"width: 70px;"
></el-image>
</div>
<div
class=
"feedbackTime"
>
<el-image
:src=
"activity.pictureUrl3"
v-if=
"activity.pictureUrl3 != null && activity.pictureUrl3 != ''"
style=
"width: 70px;"
></el-image>
</div>
</div>
</el-card>
</el-timeline-item>
</el-timeline>
</div>
<!-- <el-timeline-item timestamp="2018/4/3" placement="top">
<el-card>
<p>反馈时间:{{contents}}</p>
</el-card>
</el-timeline-item>
<el-timeline-item timestamp="2018/4/2" placement="top">
<el-card>
<p>是否解决:{{contents}}</p>
</el-card>
</el-timeline-item> -->
<!-- <div style="width: 95%;float: left;">
<div style="float: left;margin-left: 50px;" >
<div style="float: left;margin-left: 50px;" >
<el-image :src="form.pictureUrl1" fit="cover" v-if="form.pictureUrl1 != null && form.pictureUrl1 != ''" style="width: 100px;height: 100px;">
<el-image :src="form.pictureUrl1" fit="cover" v-if="form.pictureUrl1 != null && form.pictureUrl1 != ''" style="width: 100px;height: 100px;">
</el-image>
</el-image>
...
@@ -121,17 +206,10 @@
...
@@ -121,17 +206,10 @@
<font v-if="form.dealStatus != 3 && form.dealStatus != null">已解决</font>
<font v-if="form.dealStatus != 3 && form.dealStatus != null">已解决</font>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
-->
</div>
</div>
<!-- 返回按钮 -->
<!-- 返回按钮 -->
<div
style=
"width: 5%;height: 50px;margin-left: 20px;"
@
click=
"$router.go(-1)"
>
<el-button
size=
"medium"
type=
"text"
style=
"font-size: 18px; color: rgb(7, 63, 112);float: left;"
>
返回
</el-button>
<div
style=
"float: left;margin-top: 8px;margin-left: 5px;"
><img
src=
"../../../assets/logo/fanhui.png"
style=
"width: 25px;"
alt=
""
></div>
</div>
</div>
</div>
...
@@ -171,6 +249,7 @@ export default {
...
@@ -171,6 +249,7 @@ export default {
total
:
0
,
total
:
0
,
// 工单基础信息表格数据
// 工单基础信息表格数据
basicsInfoList
:
[],
basicsInfoList
:
[],
// feedbackList: [],
// 弹出层标题
// 弹出层标题
title
:
""
,
title
:
""
,
// 是否显示弹出层
// 是否显示弹出层
...
@@ -254,6 +333,7 @@ export default {
...
@@ -254,6 +333,7 @@ export default {
getBasicsInfo
(){
getBasicsInfo
(){
getBasicsInfo
(
this
.
orderId
).
then
(
response
=>
{
getBasicsInfo
(
this
.
orderId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
console
.
log
(
this
.
form
,
"00000000000"
)
this
.
active
=
parseInt
(
response
.
data
.
orderStatus
)
+
1
;
this
.
active
=
parseInt
(
response
.
data
.
orderStatus
)
+
1
;
if
(
this
.
form
.
deviceInfoList
.
length
>
0
){
if
(
this
.
form
.
deviceInfoList
.
length
>
0
){
this
.
gaoMap
.
resetMapCenter
([
this
.
form
.
deviceInfoList
[
0
].
longitude
,
this
.
form
.
deviceInfoList
[
0
].
latitude
]);
this
.
gaoMap
.
resetMapCenter
([
this
.
form
.
deviceInfoList
[
0
].
longitude
,
this
.
form
.
deviceInfoList
[
0
].
latitude
]);
...
@@ -388,6 +468,22 @@ export default {
...
@@ -388,6 +468,22 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
>
.feedbackTime-div
{
float
:
left
;
margin-left
:
150px
;
margin-top
:
10px
;
}
.feedbackTime
{
height
:
100px
;
width
:
100px
;
float
:
left
;
margin-left
:
15px
;
margin-bottom
:
15px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
.el-card__body
{
padding
:
5px
20px
20px
20px
;
}
.detail
.el-form
{
.detail
.el-form
{
width
:
20%
;
width
:
20%
;
}
}
...
...
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