zjf
2023-03-08 51468f93275c2bcfcc7ad25bf05f3d6a079ff764
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