Commit cc1cece6 authored by 王晓倩's avatar 王晓倩

状态颜色调整

parent 941814ef
...@@ -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: #ff4949'>派发中</p> return <p style='color: #ff7272'>派发中</p>
}else if(status=="已反馈"){ }else if(status=="已反馈"){
return <p style='color: #1890ff'>已反馈</p> return <p style='color: #1890ff'>已反馈</p>
}else{ }else{
......
...@@ -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="310" style="width: 100%; border: 1px solid #e6ebf5;"> <el-table v-loading="orderLoading" :data="orderList" height="354" 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="310" style="width: 100%; border: 1px solid #e6ebf5;"> <el-table v-loading="complainLoading" :data="complainList" height="355" 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: 15px 6px; padding: 9px 6px;
float: left; float: left;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
......
...@@ -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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment