|
@@ -17,12 +17,12 @@
|
|
|
<el-table-column label="单位" align="center" prop="name" />
|
|
|
<el-table-column label="加分" align="center" prop="addscore">
|
|
|
<template slot-scope="scope">
|
|
|
- <div style="color:#008000;">{{ scope.row.addscore }}</div>
|
|
|
+ <div style="color:rgb(2 255 2);">{{ scope.row.addscore }}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="减分" align="center" prop="subscore">
|
|
|
<template slot-scope="scope">
|
|
|
- <div style="color:#f00;">{{ scope.row.subscore }}</div>
|
|
|
+ <div style="color:rgb(255 106 0)">{{ scope.row.subscore }}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="总分" align="center" prop="zongfen" />
|
|
@@ -46,7 +46,7 @@
|
|
|
<el-table-column label="状态" align="center" prop="currentState"></el-table-column>
|
|
|
<el-table-column label="减分" align="center" prop="score">
|
|
|
<template slot-scope="scope">
|
|
|
- <div style="color:#f00;">{{ scope.row.score }}</div>
|
|
|
+ <div style="color:rgb(255 106 0);">{{ scope.row.score }}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="事由" align="center" prop="question" />
|
|
@@ -95,7 +95,8 @@ import {
|
|
|
unitrank,
|
|
|
pendingacceptance,
|
|
|
completeproportion,
|
|
|
- unitproportion
|
|
|
+ unitproportion,
|
|
|
+ getRegularinfo
|
|
|
} from "@/api/bdglregular/regularcountinfo";
|
|
|
import * as echarts from "echarts";
|
|
|
export default {
|
|
@@ -103,7 +104,7 @@ export default {
|
|
|
return {
|
|
|
peopleList: [],
|
|
|
peopleList2: [],
|
|
|
- peopleList3: []
|
|
|
+ peopleList3: [],
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -175,19 +176,27 @@ export default {
|
|
|
},
|
|
|
data: [
|
|
|
{
|
|
|
- value: res.data[0].daiyanshou==0?null:res.data[0].daiyanshou,
|
|
|
+ value:
|
|
|
+ res.data[0].daiyanshou == 0
|
|
|
+ ? null
|
|
|
+ : res.data[0].daiyanshou,
|
|
|
name: "待验收"
|
|
|
},
|
|
|
{
|
|
|
- value: res.data[0].yitongguo==0?null:res.data[0].yitongguo,
|
|
|
+ value:
|
|
|
+ res.data[0].yitongguo == 0 ? null : res.data[0].yitongguo,
|
|
|
name: "已通过"
|
|
|
},
|
|
|
{
|
|
|
- value: res.data[0].daichuli==0?null:res.data[0].daichuli,
|
|
|
+ value:
|
|
|
+ res.data[0].daichuli == 0 ? null : res.data[0].daichuli,
|
|
|
name: "待处理"
|
|
|
},
|
|
|
{
|
|
|
- value: res.data[0].weitongguo==0?null:res.data[0].weitongguo,
|
|
|
+ value:
|
|
|
+ res.data[0].weitongguo == 0
|
|
|
+ ? null
|
|
|
+ : res.data[0].weitongguo,
|
|
|
name: "未通过"
|
|
|
}
|
|
|
],
|
|
@@ -263,19 +272,31 @@ export default {
|
|
|
},
|
|
|
data: [
|
|
|
{
|
|
|
- value: this.peopleList3[i].daichuli==0?null:this.peopleList3[i].daichuli,
|
|
|
+ value:
|
|
|
+ this.peopleList3[i].daichuli == 0
|
|
|
+ ? null
|
|
|
+ : this.peopleList3[i].daichuli,
|
|
|
name: "待处理"
|
|
|
},
|
|
|
{
|
|
|
- value: this.peopleList3[i].daiyanshou==0?null:this.peopleList3[i].daiyanshou,
|
|
|
+ value:
|
|
|
+ this.peopleList3[i].daiyanshou == 0
|
|
|
+ ? null
|
|
|
+ : this.peopleList3[i].daiyanshou,
|
|
|
name: "待验收"
|
|
|
},
|
|
|
{
|
|
|
- value: this.peopleList3[i].weitongguo==0?null:this.peopleList3[i].weitongguo,
|
|
|
+ value:
|
|
|
+ this.peopleList3[i].weitongguo == 0
|
|
|
+ ? null
|
|
|
+ : this.peopleList3[i].weitongguo,
|
|
|
name: "未通过"
|
|
|
},
|
|
|
{
|
|
|
- value: this.peopleList3[i].yitongguo==0?null:this.peopleList3[i].yitongguo,
|
|
|
+ value:
|
|
|
+ this.peopleList3[i].yitongguo == 0
|
|
|
+ ? null
|
|
|
+ : this.peopleList3[i].yitongguo,
|
|
|
name: "已通过"
|
|
|
}
|
|
|
],
|
|
@@ -294,9 +315,13 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- rowclick(row){
|
|
|
- console.log(row.id)
|
|
|
- }
|
|
|
+ rowclick(row) {
|
|
|
+ console.log(row.inspectedUnitId);
|
|
|
+ this.$router
|
|
|
+ .push({ path: "/bdglregular/regularinfo", query: { id:row.inspectedUnitId } })
|
|
|
+ .catch(() => {});
|
|
|
+
|
|
|
+ },
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
@@ -398,4 +423,5 @@ export default {
|
|
|
width: 90%;
|
|
|
height: 380px;
|
|
|
}
|
|
|
+
|
|
|
</style>
|