|
|
|
@ -37,9 +37,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="my-checkbox">
|
|
|
|
|
<el-checkbox-group v-model="checkList" @change="setmealSelect">
|
|
|
|
|
<el-checkbox label="全部"></el-checkbox>
|
|
|
|
|
<el-checkbox label="已检查"></el-checkbox>
|
|
|
|
|
<el-checkbox label="未检查"></el-checkbox>
|
|
|
|
|
<el-checkbox label="">全部</el-checkbox>
|
|
|
|
|
<el-checkbox label="1">已检查</el-checkbox>
|
|
|
|
|
<el-checkbox label="0">未检查</el-checkbox>
|
|
|
|
|
</el-checkbox-group>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -83,8 +83,16 @@
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!-- <el-table-column prop="state" label="状态" header-align="center">
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
<el-table-column prop="checkStatus" label="状态" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div
|
|
|
|
|
style="font-family: 'Alibaba PuHuiTi'"
|
|
|
|
|
:class="scope.row.checkStatus == '0' ? 'isStyle' : ''"
|
|
|
|
|
>
|
|
|
|
|
{{ scope.row.checkStatus == 0 ? "未检查" : "已检查" }}
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="tabs-btns">
|
|
|
|
@ -152,14 +160,14 @@ export default {
|
|
|
|
|
total: 0,
|
|
|
|
|
options: [],
|
|
|
|
|
//这个是点击搜索之前的值
|
|
|
|
|
district:'',
|
|
|
|
|
district: "",
|
|
|
|
|
form: {
|
|
|
|
|
district: "",
|
|
|
|
|
plannedYear: "",
|
|
|
|
|
//检测状态
|
|
|
|
|
checkStatus: "",
|
|
|
|
|
},
|
|
|
|
|
checkList: ["全部"],
|
|
|
|
|
checkList: [""],
|
|
|
|
|
checkListTwo: [],
|
|
|
|
|
listDes: [
|
|
|
|
|
{
|
|
|
|
@ -357,14 +365,12 @@ export default {
|
|
|
|
|
this.checkList = this.checkList.slice(-1);
|
|
|
|
|
if (this.checkList.length > 0) {
|
|
|
|
|
this.checkListTwo = this.checkList;
|
|
|
|
|
this.changeList();
|
|
|
|
|
this.form.checkStatus = this.checkList[0]
|
|
|
|
|
} else {
|
|
|
|
|
this.checkList = this.checkListTwo;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
changeList() {
|
|
|
|
|
console.log(this.checkList[0]); // 拿到需要筛选的值
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// tabs不同行给不同class
|
|
|
|
|
tableRowClassName({ row, rowIndex }) {
|
|
|
|
|
if (rowIndex % 2 !== 0) {
|
|
|
|
@ -407,6 +413,9 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.isStyle {
|
|
|
|
|
color: #f71052;
|
|
|
|
|
}
|
|
|
|
|
.dialog-slot {
|
|
|
|
|
.closeClick {
|
|
|
|
|
position: absolute;
|
|
|
|
|