Commit 5acb94f8 authored by 陈慧敏's avatar 陈慧敏

覆盖率统计

parent 696d42db
...@@ -70,10 +70,12 @@ ...@@ -70,10 +70,12 @@
highlight-current-row highlight-current-row
style="width: 100%" style="width: 100%"
> >
<el-table-column align="center" label="序号" width="65"> <!-- <el-table-column align="center" label="序号" width="65">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.index }} {{ scope.row.index }}
</template> </template>
</el-table-column> -->
<el-table-column align="center" label="序号" type="index" width="65">
</el-table-column> </el-table-column>
<el-table-column align="center" label="省份"> <el-table-column align="center" label="省份">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -168,8 +170,8 @@ export default { ...@@ -168,8 +170,8 @@ export default {
provinceList:[], provinceList:[],
years:[], years:[],
monthList:[], monthList:[],
disabled : false, disabled : true,
isShow : false, isShow : true,
}; };
}, },
mounted() { mounted() {
...@@ -207,19 +209,23 @@ export default { ...@@ -207,19 +209,23 @@ export default {
//月份 //月份
initSelectMonth(){ initSelectMonth(){
this.monthList = []; this.monthList = [];
for(let i = 0;i<12;i++){ for(let i = 0;i <12;i++){
this.monthList.push({value:(1 + i),label:(1 + i)+ "月"}); this.monthList.push({value:(1 + i),label:(1 + i)+ "月"});
} }
}, },
//切换省份 //切换省份
typeChange(value){ typeChange(value){
if(value == 2){ if(value == undefined){
console.log(216,value);
this.disabled = true
this.isShow = true
}else if(value == 2){
this.searchForm.dateYear = undefined this.searchForm.dateYear = undefined
this.disabled = false this.disabled = false
this.isShow = true this.isShow = false
}else if(value == 3){ }else if(value == 3){
this.searchForm.dateMonth = undefined this.searchForm.dateMonth = undefined
this.disabled = true this.disabled = false
this.isShow = false this.isShow = false
} }
}, },
......
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