zhang преди 4 години
родител
ревизия
0702ac580f
променени са 2 файла, в които са добавени 7 реда и са изтрити 5 реда
  1. 2 2
      src/components/orderList/orderList.vue
  2. 5 3
      src/components/payNameList/payNameList.vue

+ 2 - 2
src/components/orderList/orderList.vue

@@ -239,7 +239,7 @@
         this.all_money = 0
         this.timeValue = this.monthValue
         this.getTableData(this.$Api.orderList, this.flag, this.index, this.selectOrder, this.timeValue, this.bankValue)
-        this.$message.success("选择成功")
+        this.$message.success("月份选择成功")
         // console.log(this.flag+'   '+this.timeValue)
       },
       //确定选择日期
@@ -251,7 +251,7 @@
         this.all_money = 0
         this.timeValue = this.dayValue
         this.getTableData(this.$Api.orderList, this.flag, this.index, this.selectOrder, this.timeValue, this.bankValue)
-        this.$message.success("选择成功")
+        this.$message.success("日期选择成功")
         // console.log(this.flag+'    '+this.timeValue)
       },
       //退出选择

+ 5 - 3
src/components/payNameList/payNameList.vue

@@ -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: '下载成功!',