应收账款等4个新增页面
This commit is contained in:
@@ -36,12 +36,12 @@ import ReportHeader from "../components/noRouterHeader.vue";
|
||||
import { Sidebar } from "../../../layout/components";
|
||||
import screenfull from "screenfull";
|
||||
import { mapState } from "vuex";
|
||||
import operatingLineChart from "../accountsReceivableComponents/operatingLineChart";
|
||||
import operatingLineChartCumulative from "../accountsReceivableComponents/operatingLineChartCumulative.vue";
|
||||
import operatingLineChart from "../electricityCostAnalysisComponents/operatingLineChart";
|
||||
import operatingLineChartCumulative from "../electricityCostAnalysisComponents/operatingLineChartCumulative.vue";
|
||||
|
||||
import { getElectricityCostAnalysisData } from '@/api/cockpit'
|
||||
export default {
|
||||
name: "AccountsReceivable",
|
||||
name: "electricityCostAnalysis",
|
||||
components: {
|
||||
ReportHeader,
|
||||
operatingLineChartCumulative,
|
||||
@@ -140,19 +140,11 @@ export default {
|
||||
index: undefined,
|
||||
factory: undefined
|
||||
}).then((res) => {
|
||||
console.log('res==============================',res);
|
||||
this.monthData= res.data.month
|
||||
this.ytdData = res.data.ytd
|
||||
|
||||
// this.saleData = res.data.SaleData
|
||||
// this.premiumProduct = res.data.premiumProduct
|
||||
// this.salesTrendMap = res.data.salesTrendMap
|
||||
// this.grossMarginTrendMap = res.data.grossMarginTrendMap
|
||||
// this.salesProportion = res.data.salesProportion ? res.data.salesProportion : {}
|
||||
})
|
||||
},
|
||||
handleTimeChange(obj) {
|
||||
console.log(obj, 'obj');
|
||||
this.dateData= obj
|
||||
this.getData()
|
||||
},
|
||||
|
||||
@@ -84,7 +84,7 @@ import moment from "moment";
|
||||
// import html2canvas from 'html2canvas'
|
||||
// import JsPDF from 'jspdf'
|
||||
export default {
|
||||
name: "DayReport",
|
||||
name: "electricityCostAnalysisBase",
|
||||
components: {
|
||||
ReportHeader,
|
||||
changeBase,
|
||||
@@ -107,7 +107,7 @@ export default {
|
||||
monData: {},
|
||||
totalData: {},
|
||||
trend: [],
|
||||
relatedData: [],
|
||||
relatedData: {},
|
||||
trendName: '原片电费',
|
||||
// cusProData: {},
|
||||
};
|
||||
@@ -201,7 +201,7 @@ export default {
|
||||
endTime: this.dateData.endTime,
|
||||
sort: 1,
|
||||
index: this.trendName,
|
||||
factory: null
|
||||
factory: this.factory
|
||||
};
|
||||
// 调用接口
|
||||
getElectricityCostAnalysisFData(requestParams).then((res) => {
|
||||
@@ -211,7 +211,7 @@ export default {
|
||||
relatedMon: res.data.monthAnalysis,
|
||||
relatedTotal: res.data.ytdAnalysis
|
||||
}
|
||||
this.trend = res.data.dataTrend
|
||||
this.trend = res.data.trend
|
||||
});
|
||||
},
|
||||
handleTimeChange(obj) {
|
||||
|
||||
Reference in New Issue
Block a user