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
941814ef
Commit
941814ef
authored
Feb 22, 2022
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页调整
parent
39fbb01a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
35 deletions
+17
-35
index.vue
gassafetyprogress-web/src/views/index.vue
+17
-35
No files found.
gassafetyprogress-web/src/views/index.vue
View file @
941814ef
...
@@ -133,15 +133,12 @@
...
@@ -133,15 +133,12 @@
<div
class=
"div-col3"
>
<div
class=
"div-col3"
>
<el-card>
<el-card>
<div
slot=
"header"
>
<div
slot=
"header"
>
<span
class=
"div-header"
style=
"cursor: pointer;"
@
click=
"$router.push('/operationMonitor/workOrder')"
>
任务下发
</span>
<span>
任务下发
</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=
"265"
style=
"width: 100%; border: 1px solid #e6ebf5;"
>
<el-table
v-loading=
"orderLoading"
:data=
"orderList"
height=
"310"
style=
"width: 100%; border: 1px solid #e6ebf5;"
>
<el-table-column
label=
"序号"
type=
"index"
align=
"center"
>
<el-table-column
label=
"序号"
type=
"index"
align=
"center"
/>
<template
slot-scope=
"scope"
>
<span>
{{
(
orderParams
.
pageNum
-
1
)
*
orderParams
.
pageSize
+
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<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"
>
<span
v-if=
"scope.row.workType == '1'"
>
入户安检
</span>
<span
v-if=
"scope.row.workType == '1'"
>
入户安检
</span>
...
@@ -154,48 +151,34 @@
...
@@ -154,48 +151,34 @@
<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'"
>
派发中
</span>
<span
v-if=
"scope.row.workStatus == '1'"
>
已接单
</span>
<span
v-if=
"scope.row.workStatus == '2'"
>
已反馈
</span>
<span
v-if=
"scope.row.workStatus == '3'"
>
已归档
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"orderTotal>=0"
:total=
"orderTotal"
:page
.
sync=
"orderParams.pageNum"
:limit
.
sync=
"orderParams.pageSize"
@
pagination=
"getOrderList"
/>
</div>
</div>
</el-card>
</el-card>
</div>
</div>
<div
class=
"div-col3"
>
<div
class=
"div-col3"
>
<el-card>
<el-card>
<div
slot=
"header"
>
<div
slot=
"header"
>
<span
class=
"div-header"
style=
"cursor: pointer;"
@
click=
"$router.push('/complainDeal')"
>
投诉处置
</span>
<span>
投诉处置
</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=
"265"
style=
"width: 100%; border: 1px solid #e6ebf5;"
>
<el-table
v-loading=
"complainLoading"
:data=
"complainList"
height=
"310"
style=
"width: 100%; border: 1px solid #e6ebf5;"
>
<el-table-column
label=
"序号"
type=
"index"
align=
"center"
>
<el-table-column
label=
"序号"
type=
"index"
align=
"center"
/>
<
template
slot-scope=
"scope"
>
<span>
{{
(
complainParams
.
pageNum
-
1
)
*
complainParams
.
pageSize
+
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<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'"
>
派发中
</span>
<span
v-if=
"scope.row.complainStatus == '2'"
>
已反馈
</span>
<span
v-if=
"scope.row.complainStatus == '3'"
>
已归档
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"complainTotal>=0"
:total=
"complainTotal"
:page
.
sync=
"complainParams.pageNum"
:limit
.
sync=
"complainParams.pageSize"
@
pagination=
"getComplainDealList"
/>
</div>
</div>
</el-card>
</el-card>
</div>
</div>
...
@@ -227,13 +210,11 @@ export default {
...
@@ -227,13 +210,11 @@ export default {
orderParams
:
{
orderParams
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
workStatus
:
'0'
,
isDel
:
'0'
isDel
:
'0'
},
},
complainParams
:
{
complainParams
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
complainStatus
:
'1'
,
isDel
:
'0'
isDel
:
'0'
},
},
};
};
...
@@ -257,7 +238,7 @@ export default {
...
@@ -257,7 +238,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
;
this
.
orderList
=
response
.
rows
.
slice
(
0
,
6
)
;
this
.
orderTotal
=
response
.
total
;
this
.
orderTotal
=
response
.
total
;
this
.
orderLoading
=
false
;
this
.
orderLoading
=
false
;
});
});
...
@@ -265,7 +246,7 @@ export default {
...
@@ -265,7 +246,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
;
this
.
complainList
=
response
.
rows
.
slice
(
0
,
6
)
;
this
.
complainTotal
=
response
.
total
;
this
.
complainTotal
=
response
.
total
;
this
.
complainLoading
=
false
;
this
.
complainLoading
=
false
;
});
});
...
@@ -305,7 +286,7 @@ export default {
...
@@ -305,7 +286,7 @@ export default {
.div-col2
{
.div-col2
{
width
:
12
.5%
;
width
:
12
.5%
;
padding
:
6px
;
padding
:
15px
6px
;
float
:
left
;
float
:
left
;
text-align
:
center
;
text-align
:
center
;
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -319,6 +300,7 @@ export default {
...
@@ -319,6 +300,7 @@ export default {
.div-header
:hover
{
.div-header
:hover
{
text-decoration
:underline
;
text-decoration
:underline
;
color
:
#1890ff
;
}
}
}
}
</
style
>
</
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