Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yindong-tongbai-automation
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lichunliang
yindong-tongbai-automation
Commits
d0ac0705
Commit
d0ac0705
authored
Jul 31, 2025
by
sxl
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:维修列表展示优化
parent
a9e0e8d5
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
104 additions
and
196 deletions
+104
-196
index.vue
src/views/inspection/patrol/patrolLocation/index.vue
+0
-1
index.vue
src/views/inspection/patrol/patrolLocationLog/index.vue
+0
-1
index.vue
src/views/inspection/patrol/patrolLog/index.vue
+5
-1
index.vue
src/views/inspection/patrol/patrolProject/index.vue
+1
-1
index.vue
src/views/inspection/repair/repairLog/index.vue
+73
-183
index.vue
src/views/inspection/repair/repairProject/index.vue
+25
-9
No files found.
src/views/inspection/patrol/patrolLocation/index.vue
View file @
d0ac0705
...
...
@@ -39,7 +39,6 @@
:data=
"placeList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"地点名称"
align=
"center"
prop=
"placeName"
/>
<el-table-column
label=
"地点位置"
align=
"center"
prop=
"location"
/>
<el-table-column
label=
"信息"
align=
"center"
prop=
"information"
/>
...
...
src/views/inspection/patrol/patrolLocationLog/index.vue
View file @
d0ac0705
...
...
@@ -28,7 +28,6 @@
</el-row>
<el-table
v-loading=
"loading"
:data=
"inspectionList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"ID"
width=
"55"
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"巡检日期"
align=
"center"
prop=
"pollingData"
width=
"180"
>
<template
slot-scope=
"scope"
>
...
...
src/views/inspection/patrol/patrolLog/index.vue
View file @
d0ac0705
...
...
@@ -21,7 +21,6 @@
</el-row>
<el-table
v-loading=
"loading"
:data=
"inspectionList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"报修单编号"
align=
"center"
prop=
"repairsId"
/>
<el-table-column
label=
"巡检日期"
align=
"center"
prop=
"pollingData"
width=
"180"
>
<template
slot-scope=
"scope"
>
...
...
@@ -31,6 +30,11 @@
<
el
-
table
-
column
label
=
"
巡检人
"
align
=
"
center
"
prop
=
"
inspectionUserName
"
/>
<
el
-
table
-
column
label
=
"
设备名称
"
align
=
"
center
"
prop
=
"
deviceName
"
/>
<
el
-
table
-
column
label
=
"
设备状态
"
align
=
"
center
"
prop
=
"
deviceState
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
tag
v
-
if
=
"
scope.row.deviceState == 1
"
type
=
"
success
"
>
正常
<
/el-tag
>
<
el
-
tag
v
-
else
type
=
"
danger
"
>
异常
<
/el-tag
>
...
...
src/views/inspection/patrol/patrolProject/index.vue
View file @
d0ac0705
...
...
@@ -31,7 +31,7 @@
<el-table
v-loading=
"loading"
:data=
"taskList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"
ID
"
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"
报修单编号
"
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"巡检日期"
align=
"center"
prop=
"pollingData"
width=
"180"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
pollingData
,
'
{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
...
...
src/views/inspection/repair/repairLog/index.vue
View file @
d0ac0705
This diff is collapsed.
Click to expand it.
src/views/inspection/repair/repairProject/index.vue
View file @
d0ac0705
...
...
@@ -21,12 +21,14 @@
</el-row>
<el-table
v-loading=
"loading"
:data=
"workOrderList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"维修单编号"
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"设备名称"
align=
"center"
prop=
"deviceName"
/>
<el-table-column
label=
"设备编码"
align=
"center"
prop=
"deviceNo"
/>
<el-table-column
label=
"巡检人"
align=
"center"
prop=
"inspectionUserName"
/>
<el-table-column
label=
"维修人"
align=
"center"
prop=
"maintainUserName"
/>
<el-table-column
label=
"巡检人"
align=
"center"
prop=
"inspectionUserName"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
inspectionUserName
||
'
-
'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"设备故障描述"
align=
"center"
prop=
"deviceErrorDetail"
/>
<el-table-column
label=
"故障日期"
align=
"center"
prop=
"erroDate"
width=
"180"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -38,7 +40,21 @@
<
span
>
{{
selectDictLabels
(
orderStatesList
,
scope
.
row
.
orderStates
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
维修人
"
align
=
"
center
"
prop
=
"
maintainUserName
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
maintainUserName
||
'
-
'
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
维修情况描述
"
align
=
"
center
"
prop
=
"
maintainDetail
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
maintainDetail
||
'
-
'
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
维修日期
"
align
=
"
center
"
prop
=
"
maintainDate
"
width
=
"
180
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
maintainDate
?
parseTime
(
scope
.
row
.
maintainDate
,
'
{y
}
-{m
}
-{d
}
'
)
:
'
-
'
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
class
-
name
=
"
small-padding fixed-width
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
handleUpdate(scope.row)
"
v
-
hasPermi
=
"
['workOrder:workOrder:edit']
"
v
-
if
=
"
scope.row.orderStates == 0
"
...
...
@@ -164,7 +180,7 @@ export default {
deviceName
:
null
,
inspectionUserId
:
null
,
deviceErrorDetail
:
null
,
deviceErroPhotos
:
null
,
deviceErro
r
Photos
:
null
,
erroDate
:
null
,
orderStates
:
null
,
maintainUserId
:
null
,
...
...
@@ -191,7 +207,7 @@ export default {
// 表单校验
rules
:
{
repairsId
:
[{
required
:
true
,
message
:
'
维修单编号不能为空
'
,
trigger
:
'
blur
'
}
],
deviceErroPhotos
:
[{
required
:
true
,
message
:
'
设备故障图片不能为空
'
,
trigger
:
'
blur
'
}
],
deviceErro
r
Photos
:
[{
required
:
true
,
message
:
'
设备故障图片不能为空
'
,
trigger
:
'
blur
'
}
],
deviceErrorDetail
:
[{
required
:
true
,
message
:
'
设备故障描述不能为空
'
,
trigger
:
'
blur
'
}
],
erroDate
:
[{
required
:
true
,
message
:
'
故障日期不能为空
'
,
trigger
:
'
blur
'
}
],
maintainEndDate
:
[{
required
:
true
,
message
:
'
维修截止日期不能为空
'
,
trigger
:
'
blur
'
}
],
...
...
@@ -246,7 +262,7 @@ export default {
deviceName
:
null
,
inspectionUserId
:
null
,
deviceErrorDetail
:
null
,
deviceErroPhotos
:
null
,
deviceErro
r
Photos
:
null
,
erroDate
:
null
,
orderStates
:
null
,
maintainUserId
:
null
,
...
...
@@ -367,11 +383,11 @@ export default {
// 文件上传回调
fileSuccess
(
val
)
{
this
.
form
.
deviceErroPhotos
=
val
this
.
form
.
deviceErro
r
Photos
=
val
}
,
// 文件删除
handleRemove
(
url
)
{
this
.
form
.
deviceErroPhotos
=
url
this
.
form
.
deviceErro
r
Photos
=
url
}
,
}
,
}
...
...
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