| | |
| | | </el-dialog> |
| | | <el-dialog :visible.sync="downloadDialog" title="导出" width="600px"> |
| | | <span> |
| | | <el-button plain type="primary" @click="controlDown">记录单导出</el-button> |
| | | <el-button plain type="primary" @click="processingDown">处理单导出</el-button> |
| | | <el-button plain type="primary" @click="supervisoryDown">纠正单导出</el-button> |
| | | <el-button plain type="primary" :disabled="download.recordStatus !== 3" @click="controlDown">记录单导出</el-button> |
| | | <el-button plain type="primary" :disabled="download.accordingStatus !== 3" @click="processingDown">处理单导出</el-button> |
| | | <el-button plain type="primary" :disabled="download.correctStatus !== 3" @click="supervisoryDown">纠正单导出</el-button> |
| | | </span> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="downloadDialog = false">取 消</el-button> |
| | |
| | | this.timer = setTimeout(() => { |
| | | this.closeUploadDia() |
| | | }, 1000) |
| | | }else{ |
| | | this.$message.error(response.msg) |
| | | } |
| | | }, |
| | | splitList(val) { |
| | |
| | | // 关闭导入弹框 |
| | | closeUploadDia() { |
| | | this.uploadDia = false; |
| | | this.uploading = false |
| | | this.$refs.upload1.clearFiles() |
| | | this.recordUserIds = [] |
| | | this.ratifyUserId = '' |
| | | this.superviseYear = '' |