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
bb113f68
Commit
bb113f68
authored
Jul 26, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工单详情
parent
f5ffa484
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
19 deletions
+23
-19
detail.vue
gassafety-web/src/views/workOrder/basicsInfo/detail.vue
+23
-19
No files found.
gassafety-web/src/views/workOrder/basicsInfo/detail.vue
View file @
bb113f68
...
...
@@ -34,21 +34,25 @@
</el-form-item>
<el-form-item
label=
"工单描述:"
prop=
"actualTime"
>
<font>
{{form.actualTime}}
</font>
</el-form-item>
</el-form-item>
</el-form>
<el-form
ref=
"form"
v-model=
"form"
:rules=
"rules"
label-width=
"100px"
style=
"float: left;"
>
<el-form-item
label=
"设备类型:"
prop=
"deviceType"
>
<el-form-item
label=
"设备类型:"
prop=
"deviceType"
v-if=
"form.orderType != 1"
>
<font
v-if=
"form.deviceType == 0"
>
管道
</font>
<font
v-if=
"form.deviceType == 1"
>
调压阀
</font>
<font
v-if=
"form.deviceType == 2"
>
阀门井
</font>
<font
v-if=
"form.deviceType == 3"
>
流量计
</font>
<font
v-if=
"form.deviceType == 4"
>
压力表
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"设备编号:"
prop=
"deviceCodes"
>
<font>
{{form.deviceCodes}}
</font>
</el-form-item>
<el-form-item
label=
"设备位置:"
prop=
"remarks"
>
<font>
{{form.remarks}}
</font>
<el-form-item
label=
"设备位置:"
v-if=
"form.orderType != 1"
>
<font
v-if=
"form.deviceType == 0"
>
{{form.coordinates}}
</font>
<font
v-if=
"form.deviceType != 0"
>
{{form.longitude}},{{form.longitude}}
</font>
</el-form-item>
<el-form-item
label=
"工单进度:"
v-if=
"form.orderType == 1"
>
<font>
{{form.deviceNum}}/{{form.deviceNum}}
</font>
</el-form-item>
<el-form-item
label=
"下发时间:"
prop=
"allotTime"
>
<font>
{{form.allotTime}}
</font>
...
...
@@ -61,7 +65,7 @@
<div
style=
"width: 100%;height: 100%"
id=
"container"
></div>
</div>
</div>
<el-divider></el-divider>
<div
style=
"color: #31EAEA;width: 100%;height: 40px;"
>
<ul><li>
接单信息
</li></ul>
...
...
@@ -72,7 +76,7 @@
</el-form-item>
<el-form-item
label=
"接单时间:"
prop=
"actualTime"
style=
"float: left;"
>
<font>
{{form.actualTime}}
</font>
</el-form-item>
</el-form-item>
</el-form>
<el-divider></el-divider>
<div
style=
"width: 100%;font-weight: 600;height: 250px;"
>
...
...
@@ -120,16 +124,16 @@
</el-form-item>
<el-form-item
label=
"反馈时间:"
prop=
"feedbackTime"
>
<font>
{{form.feedbackTime}}
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"是否解决:"
prop=
"dealStatus"
>
<font
v-if=
"form.dealStatus == 3"
>
未解决
</font>
<font
v-if=
"form.dealStatus != 3"
>
已解决
</font>
</el-form-item>
</el-form-item>
</el-form>
</div>
</div>
<div
style=
"width: 5%;height: 50px;margin-left: 20px;"
@
click=
"$router.go(-1)"
>
<el-button
size=
"medium"
...
...
@@ -137,14 +141,14 @@
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>
</div>
</template>
<
script
>
import
{
listBasicsInfo
,
getBasicsInfo
,
delBasicsInfo
,
addBasicsInfo
,
updateBasicsInfo
,
exportBasicsInfo
}
from
"@/api/workOrder/basicsInfo"
;
import
gaodeMap
from
"utils/gaodeMap.js"
import
{
map
,
DEVICE_TYPE
}
from
"utils/gaodeMap.js"
...
...
@@ -209,7 +213,7 @@ export default {
// 如果是跳转来的,则接受初始化参数
// this.user_id = this.$route.query.id; //详细信息页接收参数
this
.
orderId
=
this
.
$route
.
query
.
orderId
;
this
.
getList
();
this
.
getDicts
(
"t_order_status"
).
then
(
response
=>
{
this
.
typeOptions
=
response
.
data
;
...
...
@@ -220,10 +224,10 @@ export default {
this
.
getBasicsInfo
();
},
mounted
(){
let
map
=
new
gaodeMap
(
"平山"
);
let
map
=
new
gaodeMap
(
"平山"
);
let
data
=
{
longitude
:
"114.208371"
,
latitude
:
"38.267036"
}
map
.
addMarker
(
DEVICE_TYPE
.
WORKORDER
,
data
)
},
methods
:
{
...
...
@@ -396,4 +400,4 @@ export default {
font-size
:
15px
;
font-weight
:
900
;
}
</
style
>
\ No newline at end of file
</
style
>
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