Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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-progress
Commits
cc1cece6
Commit
cc1cece6
authored
Feb 22, 2022
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
状态颜色调整
parent
941814ef
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
17 deletions
+18
-17
index.vue
gassafetyprogress-web/src/views/complainDeal/index.vue
+1
-1
index.vue
gassafetyprogress-web/src/views/index.vue
+13
-12
index.vue
...ogress-web/src/views/operationMonitor/workOrder/index.vue
+4
-4
No files found.
gassafetyprogress-web/src/views/complainDeal/index.vue
View file @
cc1cece6
...
@@ -420,7 +420,7 @@ export default {
...
@@ -420,7 +420,7 @@ export default {
taskStateFormat
(
row
,
column
)
{
taskStateFormat
(
row
,
column
)
{
var
status
=
this
.
selectDictLabel
(
this
.
taskStateOptions
,
row
.
complainStatus
);
var
status
=
this
.
selectDictLabel
(
this
.
taskStateOptions
,
row
.
complainStatus
);
if
(
status
==
'派发中'
){
if
(
status
==
'派发中'
){
return
<
p
style
=
'color: #ff
4949
'
>
派发中
<
/p
>
return
<
p
style
=
'color: #ff
7272
'
>
派发中
<
/p
>
}
else
if
(
status
==
"已反馈"
){
}
else
if
(
status
==
"已反馈"
){
return
<
p
style
=
'color: #1890ff'
>
已反馈
<
/p
>
return
<
p
style
=
'color: #1890ff'
>
已反馈
<
/p
>
}
else
{
}
else
{
...
...
gassafetyprogress-web/src/views/index.vue
View file @
cc1cece6
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
<span
class=
"div-header"
style=
"cursor: pointer; float: right;"
@
click=
"$router.push('/complainDeal')"
>
更多>>
</span>
<span
class=
"div-header"
style=
"cursor: pointer; float: right;"
@
click=
"$router.push('/complainDeal')"
>
更多>>
</span>
</div>
</div>
<div
class=
"body"
>
<div
class=
"body"
>
<el-table
v-loading=
"orderLoading"
:data=
"orderList"
height=
"3
10
"
style=
"width: 100%; border: 1px solid #e6ebf5;"
>
<el-table
v-loading=
"orderLoading"
:data=
"orderList"
height=
"3
54
"
style=
"width: 100%; border: 1px solid #e6ebf5;"
>
<el-table-column
label=
"序号"
type=
"index"
align=
"center"
/>
<el-table-column
label=
"序号"
type=
"index"
align=
"center"
/>
<el-table-column
label=
"任务类型"
align=
"center"
prop=
"workType"
width=
"90"
>
<el-table-column
label=
"任务类型"
align=
"center"
prop=
"workType"
width=
"90"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
@@ -148,12 +148,13 @@
...
@@ -148,12 +148,13 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"任务名称"
align=
"left"
prop=
"workTitle"
/>
<el-table-column
label=
"任务名称"
align=
"left"
prop=
"workTitle"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"200"
/>
<el-table-column
label=
"状态"
align=
"center"
prop=
"workStatus"
width=
"100"
>
<el-table-column
label=
"状态"
align=
"center"
prop=
"workStatus"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.workStatus ==
'0'
"
>
派发中
</span>
<span
v-if=
"scope.row.workStatus ==
0"
style=
"color: #ff7272
"
>
派发中
</span>
<span
v-if=
"scope.row.workStatus ==
'1'
"
>
已接单
</span>
<span
v-if=
"scope.row.workStatus ==
1"
style=
"color: #ffba00
"
>
已接单
</span>
<span
v-if=
"scope.row.workStatus ==
'2'
"
>
已反馈
</span>
<span
v-if=
"scope.row.workStatus ==
2"
style=
"color: #1890ff
"
>
已反馈
</span>
<span
v-if=
"scope.row.workStatus ==
'3'
"
>
已归档
</span>
<span
v-if=
"scope.row.workStatus ==
3"
style=
"color: #30B46B
"
>
已归档
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -167,15 +168,15 @@
...
@@ -167,15 +168,15 @@
<span
class=
"div-header"
style=
"cursor: pointer; float: right;"
@
click=
"$router.push('/complainDeal')"
>
更多>>
</span>
<span
class=
"div-header"
style=
"cursor: pointer; float: right;"
@
click=
"$router.push('/complainDeal')"
>
更多>>
</span>
</div>
</div>
<div
class=
"body"
>
<div
class=
"body"
>
<el-table
v-loading=
"complainLoading"
:data=
"complainList"
height=
"3
10
"
style=
"width: 100%; border: 1px solid #e6ebf5;"
>
<el-table
v-loading=
"complainLoading"
:data=
"complainList"
height=
"3
55
"
style=
"width: 100%; border: 1px solid #e6ebf5;"
>
<el-table-column
label=
"序号"
type=
"index"
align=
"center"
/>
<el-table-column
label=
"序号"
type=
"index"
align=
"center"
/>
<el-table-column
label=
"投诉事项"
align=
"left"
prop=
"complainMatter"
/>
<el-table-column
label=
"投诉事项"
align=
"left"
prop=
"complainMatter"
/>
<el-table-column
label=
"投诉时间"
align=
"center"
prop=
"createTime"
width=
"200"
/>
<el-table-column
label=
"投诉时间"
align=
"center"
prop=
"createTime"
width=
"200"
/>
<el-table-column
label=
"状态"
align=
"center"
prop=
"complainStatus"
width=
"100"
>
<el-table-column
label=
"状态"
align=
"center"
prop=
"complainStatus"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.complainStatus == '1'"
>
派发中
</span>
<span
v-if=
"scope.row.complainStatus == '1'"
style=
"color: #ff7272"
>
派发中
</span>
<span
v-if=
"scope.row.complainStatus == '2'"
>
已反馈
</span>
<span
v-if=
"scope.row.complainStatus == '2'"
style=
"color: #1890ff"
>
已反馈
</span>
<span
v-if=
"scope.row.complainStatus == '3'"
>
已归档
</span>
<span
v-if=
"scope.row.complainStatus == '3'"
style=
"color: #30B46B"
>
已归档
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -238,7 +239,7 @@ export default {
...
@@ -238,7 +239,7 @@ export default {
getOrderList
()
{
getOrderList
()
{
this
.
orderLoading
=
true
;
this
.
orderLoading
=
true
;
listOrder
(
this
.
orderParams
).
then
(
response
=>
{
listOrder
(
this
.
orderParams
).
then
(
response
=>
{
this
.
orderList
=
response
.
rows
.
slice
(
0
,
6
);
this
.
orderList
=
response
.
rows
.
slice
(
0
,
7
);
this
.
orderTotal
=
response
.
total
;
this
.
orderTotal
=
response
.
total
;
this
.
orderLoading
=
false
;
this
.
orderLoading
=
false
;
});
});
...
@@ -246,7 +247,7 @@ export default {
...
@@ -246,7 +247,7 @@ export default {
getComplainDealList
()
{
getComplainDealList
()
{
this
.
complainLoading
=
true
;
this
.
complainLoading
=
true
;
listComplainDeal
(
this
.
complainParams
).
then
(
response
=>
{
listComplainDeal
(
this
.
complainParams
).
then
(
response
=>
{
this
.
complainList
=
response
.
rows
.
slice
(
0
,
6
);
this
.
complainList
=
response
.
rows
.
slice
(
0
,
7
);
this
.
complainTotal
=
response
.
total
;
this
.
complainTotal
=
response
.
total
;
this
.
complainLoading
=
false
;
this
.
complainLoading
=
false
;
});
});
...
@@ -286,7 +287,7 @@ export default {
...
@@ -286,7 +287,7 @@ export default {
.div-col2
{
.div-col2
{
width
:
12
.5%
;
width
:
12
.5%
;
padding
:
15
px
6px
;
padding
:
9
px
6px
;
float
:
left
;
float
:
left
;
text-align
:
center
;
text-align
:
center
;
cursor
:
pointer
;
cursor
:
pointer
;
...
...
gassafetyprogress-web/src/views/operationMonitor/workOrder/index.vue
View file @
cc1cece6
...
@@ -96,10 +96,10 @@
...
@@ -96,10 +96,10 @@
<el-table-column
label=
"指派人"
align=
"center"
prop=
"workAssignMan"
/>
<el-table-column
label=
"指派人"
align=
"center"
prop=
"workAssignMan"
/>
<el-table-column
label=
"任务状态"
align=
"center"
prop=
"workStatus"
>
<el-table-column
label=
"任务状态"
align=
"center"
prop=
"workStatus"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.workStatus == 0"
style=
'color: #ff4949'
>
派发中
</span>
<span
v-if=
"scope.row.workStatus == 0"
style=
"color: #ff7272"
>
派发中
</span>
<span
v-if=
"scope.row.workStatus == 1"
style=
"color:
mediumblue
"
>
已接单
</span>
<span
v-if=
"scope.row.workStatus == 1"
style=
"color:
#ffba00
"
>
已接单
</span>
<span
v-if=
"scope.row.workStatus == 2"
style=
'color: #1890ff'
>
已反馈
</span>
<span
v-if=
"scope.row.workStatus == 2"
style=
"color: #1890ff"
>
已反馈
</span>
<span
v-if=
"scope.row.workStatus == 3"
style=
'color: #30B46B'
>
已归档
</span>
<span
v-if=
"scope.row.workStatus == 3"
style=
"color: #30B46B"
>
已归档
</span>
</
template
>
</
template
>
</el-table-column>
>
</el-table-column>
>
<!--<el-table-column label="巡检时间" align="center" prop="inspectionDate" width="180">
<!--<el-table-column label="巡检时间" align="center" prop="inspectionDate" width="180">
...
...
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