|
|
@@ -202,6 +202,7 @@
|
|
|
*/
|
|
|
uploadXLS(param) {
|
|
|
// console.log(param);
|
|
|
+ this.editdialogUpLoad = false
|
|
|
this.loading = true
|
|
|
let form = new FormData();
|
|
|
form.append('file', param.file);
|
|
|
@@ -217,7 +218,6 @@
|
|
|
.then(res => {
|
|
|
// console.log(res)
|
|
|
this.loading = false
|
|
|
- this.editdialogUpLoad = false
|
|
|
this.$message.success('文件上传成功!')
|
|
|
this.tableData = []
|
|
|
this.getTableData(this.$Api.paylist)
|
|
|
@@ -238,6 +238,7 @@
|
|
|
cancelButtonText: '取消',
|
|
|
}).then(() => {
|
|
|
window.location.href = 'https://jtishfw.ncjti.edu.cn/jiaofei/static/images/增加名单模板.xlsx'
|
|
|
+ this.editdialogUpLoad = false
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: '下载成功!'
|
|
|
@@ -251,7 +252,8 @@
|
|
|
},
|
|
|
//导入删除文件
|
|
|
deleteXLS(param) {
|
|
|
- console.log(param)
|
|
|
+ // console.log(param)
|
|
|
+ this.editdialogUpLoad = false
|
|
|
this.loading = true
|
|
|
let form = new FormData();
|
|
|
form.append('file', param.file);
|
|
|
@@ -266,7 +268,6 @@
|
|
|
})
|
|
|
.then(res => {
|
|
|
this.loading = false
|
|
|
- this.editdialogUpLoad = false
|
|
|
this.$message.success('文件上传成功!')
|
|
|
let _this = this
|
|
|
setTimeout(() => {
|
|
|
@@ -285,6 +286,7 @@
|
|
|
cancelButtonText: '取消',
|
|
|
}).then(() => {
|
|
|
window.location.href = 'https://jtishfw.ncjti.edu.cn/jiaofei/static/images/删除名单模板.xlsx'
|
|
|
+ this.editdialogUpLoad = false
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: '下载成功!',
|