|
@@ -2649,9 +2649,7 @@ export default {
|
|
const currentDate = new Date();
|
|
const currentDate = new Date();
|
|
const currentYear = currentDate.getFullYear();
|
|
const currentYear = currentDate.getFullYear();
|
|
let month = currentDate.getMonth();
|
|
let month = currentDate.getMonth();
|
|
- console.log(month)
|
|
|
|
this.compareList.analysisData[3].target.valueA = new Date(currentYear,month,2);
|
|
this.compareList.analysisData[3].target.valueA = new Date(currentYear,month,2);
|
|
- console.log(new Date(currentYear,month,2))
|
|
|
|
if (month==1){
|
|
if (month==1){
|
|
this.compareList.analysisData[3].compareC.valueA = new Date(currentYear-1,12,2)
|
|
this.compareList.analysisData[3].compareC.valueA = new Date(currentYear-1,12,2)
|
|
this.compareList.analysisData[3].compareB.valueA = new Date(currentYear-1,11,2)
|
|
this.compareList.analysisData[3].compareB.valueA = new Date(currentYear-1,11,2)
|
|
@@ -2737,7 +2735,6 @@ export default {
|
|
const url = window.URL.createObjectURL(blob);
|
|
const url = window.URL.createObjectURL(blob);
|
|
const link = document.createElement('a');
|
|
const link = document.createElement('a');
|
|
link.href = url;
|
|
link.href = url;
|
|
- console.log(blob)
|
|
|
|
link.setAttribute('download',fileName+'产品包.zip');
|
|
link.setAttribute('download',fileName+'产品包.zip');
|
|
document.body.appendChild(link);
|
|
document.body.appendChild(link);
|
|
link.click();
|
|
link.click();
|