Procházet zdrojové kódy

新增组件及页面

liuqiwen před 4 roky
rodič
revize
4c9c065e78

+ 8 - 3
dgtis-ui/src/views/system/sameCustomer/index.vue

@@ -88,9 +88,14 @@ export default {
       },
     /** 导出按钮操作 */
     handleExportZero() {
-      // this.download('system/user/export', {
-      //   ...this.queryParams
-      // }, `user_${new Date().getTime()}.xlsx`)
+      var that = this;
+      that.exportLoadingZero = true;
+      this.downloadNew('data/customer/exportSameZero', {}, `customer_${new Date().getTime()}.csv`).then(response => {
+        console.log(response);
+        if(response){
+          that.exportLoadingZero = false;
+        }
+      })
     },
     handleExportOne() {
       var that = this;