| | |
| | | <el-icon><Search /></el-icon> |
| | | 查询</el-button |
| | | > |
| | | |
| | | <slot name="right"></slot> |
| | | </el-form-item> |
| | | <el-form-item></el-form-item> |
| | | |
| | | <el-form-item> |
| | | <el-button type="primary" :loading="loading" @click="onClickExportExcel" size="small"> |
| | | <el-icon><Link /></el-icon> |
| | | 导出</el-button |
| | | > |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-col> |
| | | <el-col :span="24" v-loading="loading"> |
| | |
| | | import { formatDate } from '/@/utils/formatTime'; |
| | | import { doStatByResult } from '/@/api/QC'; |
| | | import * as echarts from 'echarts'; |
| | | import { exportTableToExcel } from '/@/utils/Export2'; |
| | | const stores = useUserInfo(); |
| | | const { userInfos } = storeToRefs(stores); |
| | | const end = new Date(); |
| | |
| | | } |
| | | }; |
| | | |
| | | // /** 导出 */ |
| | | // const onClickExportExcel = () => { |
| | | // exportTableToExcel('#exportTbale', state.title); |
| | | // }; |
| | | /** 导出 */ |
| | | const onClickExportExcel = () => { |
| | | exportTableToExcel('#exportTbale', state.title); |
| | | }; |
| | | |
| | | const setTableHeight = () => { |
| | | let height = document.documentElement.clientHeight; |
| | |
| | | myEchartsRef, |
| | | rowClassName, |
| | | onClickSearch, |
| | | onClickExportExcel, |
| | | initCompData, |
| | | onClickByStatusChange, |
| | | limitBottomInp, |