zjf
2023-03-03 bafa9dff4d9880c562f4d3a7b83bd4c1129240c5
src/views/clients/components/CRMExport.vue
@@ -250,6 +250,19 @@
      console.log(request)
      request(params)
        .then(res => {
          if (this.crmType === 'subscriptions') {
            if (res.data.type === 'application/json') {
              // this.show = false
              this.closeView()
              let reader = new FileReader()
              reader.readAsText(res.data, 'utf-8')
              reader.onload = (e) => {
                let resData = JSON.parse(reader.result)
                this.$message.error(resData.Message)
              }
              return
            }
          }
          this.exportQueueIndex = ''
          this.done = true
          var blob