|
|
|
@ -37,9 +37,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="my-checkbox">
|
|
|
|
|
<el-checkbox-group v-model="checkList" @change="setmealSelect">
|
|
|
|
|
<el-checkbox label="00">全部</el-checkbox>
|
|
|
|
|
<el-checkbox label="">全部</el-checkbox>
|
|
|
|
|
<el-checkbox label="1">已检查</el-checkbox>
|
|
|
|
|
<el-checkbox label="0">未检查</el-checkbox>
|
|
|
|
|
<el-checkbox label="2">未检查</el-checkbox>
|
|
|
|
|
</el-checkbox-group>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -90,9 +90,9 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div
|
|
|
|
|
style="font-family: 'Alibaba PuHuiTi'"
|
|
|
|
|
:class="scope.row.checkStatus == '0' ? 'isStyle' : ''"
|
|
|
|
|
:class="scope.row.checkStatus == '2' ? 'isStyle' : ''"
|
|
|
|
|
>
|
|
|
|
|
{{ scope.row.checkStatus == 0 ? "未检查" : "已检查" }}
|
|
|
|
|
{{ scope.row.checkStatus == 2 ? "未检查" : "已检查" }}
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
@ -174,9 +174,9 @@ export default {
|
|
|
|
|
district: "",
|
|
|
|
|
plannedYear: "",
|
|
|
|
|
//检测状态
|
|
|
|
|
checkStatus: "00",
|
|
|
|
|
checkStatus: "",
|
|
|
|
|
},
|
|
|
|
|
checkList: ["00"],
|
|
|
|
|
checkList: [""],
|
|
|
|
|
checkListTwo: [],
|
|
|
|
|
listDes: [
|
|
|
|
|
{
|
|
|
|
@ -316,7 +316,7 @@ export default {
|
|
|
|
|
district: "",
|
|
|
|
|
plannedYear: "",
|
|
|
|
|
//检测状态
|
|
|
|
|
checkStatus: "00",
|
|
|
|
|
checkStatus: "",
|
|
|
|
|
};
|
|
|
|
|
this.searchBefore = {
|
|
|
|
|
pageSize: 10,
|
|
|
|
@ -418,18 +418,25 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 导出
|
|
|
|
|
exportFile() {
|
|
|
|
|
// console.log(this.multipleSelection)
|
|
|
|
|
this.$confirm(`确认根据您的搜索条件导出搜索之后的数据吗?`, "警告", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
|
type: "warning",
|
|
|
|
|
})
|
|
|
|
|
.then(() => {
|
|
|
|
|
this.download(
|
|
|
|
|
"/pharmaceuticals/bPlanEnterprise/export",
|
|
|
|
|
{
|
|
|
|
|
...this.form,
|
|
|
|
|
},
|
|
|
|
|
`执法列表.xlsx`
|
|
|
|
|
);
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.checkListTwo = this.checkList;
|
|
|
|
|
// this.$nextTick(()=>{
|
|
|
|
|
// let dom = document.getElementsByClassName('tables');
|
|
|
|
|
// let height = dom[0].getBoundingClientRect();
|
|
|
|
|
// let windowHeight = window.innerHeight;
|
|
|
|
|
// let relativeHeight = windowHeight - height.top
|
|
|
|
|
// this.main.height = relativeHeight - 80
|
|
|
|
|
// })
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|