whychdw
2020-07-17 acbca5f9009e1e80ce5f10c70f6395cc73ba04f0
提交内容
3个文件已修改
8 ■■■■■ 已修改文件
src/assets/js/config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/ProgressLoad.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/batt-list/history-page.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/js/config.js
@@ -2,5 +2,5 @@
    http:process.env.NODE_ENV == 'dev'?
        'http://localhost:8919/Equip_System/':'',
    url:process.env.NODE_ENV == 'dev'?
    'http://localhost:8919/':'',
    'http://localhost:8919/Equip_System/':'',
};
src/components/ProgressLoad.vue
@@ -24,9 +24,6 @@
            default: 0,
        },
    },
    data() {
        return {}
    }
}
</script>
src/pages/batt-list/history-page.vue
@@ -743,6 +743,8 @@
                this.base64 = base64;
                
                this.$nextTick(()=>{
                    // 显示进度条
                    this.progress.show = true;
                    if(this.allData.length != 0) {
                        // 请求后台
                        this.$api.file.clearProgress()
@@ -756,7 +758,6 @@
                                states: this.getState,
                                dis: this.allData,
                            };
                            console.log(searchParams);
                            // 请求后台获取数据
                            this.$api.file.download(searchParams)
                            .then(res=>{