| | |
| | | <p>导入失败,失败的原因是{{ error_message }}!</p> |
| | | </div> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <span slot="footer" class="dialog-footer" style="display: flex;"> |
| | | <el-button v-if="button_text !="完成"" @click="colos()">取 消</el-button> |
| | | <el-button |
| | | type="primary" |
| | |
| | | // } |
| | | // }) |
| | | ExcelModelCheck(data).then(res => { |
| | | |
| | | this.div2_state = res.StuCode |
| | | setTimeout(() => { |
| | | this.cg4 = true |
| | | }, 2000) |
| | | this.error_list = res.list |
| | | this.total_num = res.Count |
| | | if (res.StuCode === '200') { |
| | | this.disState = false |
| | | } |
| | | }) |
| | | }, |
| | | beforeUpload(file) { |
| | |
| | | // window.location.href = res |
| | | // }) |
| | | DownLoadExcel(data).then(res => { |
| | | window.location.href = res |
| | | console.log(res.data) |
| | | console.log(process.env.VUE_APP_BASE_API) |
| | | console.log(process.env.VUE_APP_BASE_API_FILE) |
| | | console.log(window.location.origin + res.data) |
| | | window.location.href = process.env.VUE_APP_BASE_API_FILE + res.data |
| | | }) |
| | | } |
| | | } |