|
|
@@ -458,21 +458,27 @@ export default {
|
|
|
employeeId:this.$store.state.user.employeeId
|
|
|
}
|
|
|
},
|
|
|
+ created() {
|
|
|
+ this.getAuditingInfo()
|
|
|
+ },
|
|
|
mounted () {
|
|
|
let user = this.$store.state.user
|
|
|
this.employeeType = user.employeeType
|
|
|
- this.getpayActualTotalByDay()
|
|
|
- this.getpayActualTotalByHour()
|
|
|
- this.getOrderRefundDayByTime()
|
|
|
- this.getOrderCount()
|
|
|
- this.getRefundInfo()
|
|
|
- this.getRefundRankingByProd()
|
|
|
- this.getRefundRankingByReason()
|
|
|
- this.getpayInfo()
|
|
|
- this.getRefSumEchartData()
|
|
|
- this.getRefPerEchartData()
|
|
|
- this.getAuditingInfo()
|
|
|
- this.getEntiretyDataChart()
|
|
|
+ if(this.employeeType === 0){
|
|
|
+ this.getpayActualTotalByDay()
|
|
|
+ this.getpayActualTotalByHour()
|
|
|
+ this.getOrderRefundDayByTime()
|
|
|
+ this.getOrderCount()
|
|
|
+ this.getRefundInfo()
|
|
|
+ this.getRefundRankingByProd()
|
|
|
+ this.getRefundRankingByReason()
|
|
|
+ this.getpayInfo()
|
|
|
+ this.getRefSumEchartData()
|
|
|
+ this.getRefPerEchartData()
|
|
|
+ this.getAuditingInfo()
|
|
|
+ this.getEntiretyDataChart()
|
|
|
+ }
|
|
|
+
|
|
|
let erd = elementResizeDetectorMaker()
|
|
|
erd.listenTo(document.getElementById('entirety-data-chart'), this.resizeFunc)
|
|
|
},
|