| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-form :model="filters" :inline="true"> |
| | | <el-form-item label="发放季度:" prop="season"> |
| | | <el-select |
| | | style="width: 200px;" |
| | | @change="handleQuery" |
| | | v-model="filters.season" |
| | | placeholder="请选择" |
| | | :clearable="false" |
| | | > |
| | | <el-option :label="item.label" :value="item.value" v-for="(item,index) in jidu" :key="value" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="员工名称:"> |
| | | <el-input |
| | | v-model="filters.staffName" |
| | |
| | | import { ElMessageBox, ElMessage } from "element-plus"; |
| | | import dayjs from "dayjs"; |
| | | import FilesDia from "./filesDia.vue"; |
| | | import { getCurrentMonth } from "@/utils/util" |
| | | |
| | | // 表格多选框选中项 |
| | | const multipleList = ref([]); |
| | |
| | | listPage, |
| | | { |
| | | staffName: '', |
| | | season: getCurrentMonth(), |
| | | }, |
| | | [ |
| | | { |
| | |
| | | }, |
| | | ] |
| | | ); |
| | | |
| | | const jidu = ref([ |
| | | { |
| | | value: '1', |
| | | label: '第一季度' |
| | | }, |
| | | { |
| | | value: '2', |
| | | label: '第二季度' |
| | | }, |
| | | { |
| | | value: '3', |
| | | label: '第三季度' |
| | | }, |
| | | { |
| | | value: '4', |
| | | label: '第四季度' |
| | | } |
| | | ]) |
| | | |
| | | // 多选后做什么 |
| | | const handleSelectionChange = (selectionList) => { |
| | |
| | | type: "warning", |
| | | }) |
| | | .then(() => { |
| | | proxy.download(`/lavorIssue/export`, {}, "劳保台账.xlsx"); |
| | | proxy.download(`/lavorIssue/exportCopy`, {season: filters.season}, "劳保台账.xlsx"); |
| | | }) |
| | | .catch(() => { |
| | | proxy.$modal.msg("已取消"); |