Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -106,7 +106,7 @@ export class DatatableBusiindexComponent implements OnInit {
|
|||||||
} else if(this.mode === 'date') {
|
} else if(this.mode === 'date') {
|
||||||
this.time = [this.datePipe.transform(this.date, 'yyyy-MM-dd') + ' 00:00:00']
|
this.time = [this.datePipe.transform(this.date, 'yyyy-MM-dd') + ' 00:00:00']
|
||||||
} else{
|
} else{
|
||||||
this.time = [this.datePipe.transform(this.defineDate[0], 'yyyy-MM-dd') + '00:00:00', this.datePipe.transform(this.defineDate[1], 'yyyy-MM-dd') + ' 00:00:00']
|
this.time = [this.datePipe.transform(this.defineDate[0], 'yyyy-MM-dd') + ' 00:00:00', this.datePipe.transform(this.defineDate[1], 'yyyy-MM-dd') + ' 00:00:00']
|
||||||
}
|
}
|
||||||
this.st.reload({ ...this.reqParams });
|
this.st.reload({ ...this.reqParams });
|
||||||
}
|
}
|
||||||
|
|||||||
@ -53,7 +53,13 @@ export class BusitableCurveComponent implements OnInit, OnChanges {
|
|||||||
nice: true,
|
nice: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
this.chart.axis('value', {
|
||||||
|
label: {
|
||||||
|
formatter: (val: any) => {
|
||||||
|
return val;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
this.chart.tooltip({
|
this.chart.tooltip({
|
||||||
showCrosshairs: true, // 展示 Tooltip 辅助线
|
showCrosshairs: true, // 展示 Tooltip 辅助线
|
||||||
shared: true,
|
shared: true,
|
||||||
|
|||||||
@ -1,3 +1,13 @@
|
|||||||
|
/*
|
||||||
|
* @Description :
|
||||||
|
* @Version : 1.0
|
||||||
|
* @Author : Shiming
|
||||||
|
* @Date : 2022-04-06 14:32:03
|
||||||
|
* @LastEditors : Shiming
|
||||||
|
* @LastEditTime : 2022-04-18 14:25:25
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\datatable\\components\\busitable\\pillar\\pillar.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
|
*/
|
||||||
import { Component, ElementRef, Input, NgZone, OnChanges, OnInit, SimpleChanges, ViewChild } from '@angular/core';
|
import { Component, ElementRef, Input, NgZone, OnChanges, OnInit, SimpleChanges, ViewChild } from '@angular/core';
|
||||||
import { Chart } from '@antv/g2';
|
import { Chart } from '@antv/g2';
|
||||||
import { DataService } from 'src/app/routes/datatable/services/data.service';
|
import { DataService } from 'src/app/routes/datatable/services/data.service';
|
||||||
@ -45,10 +55,16 @@ export class BusitablePillarComponent implements OnInit, OnChanges {
|
|||||||
|
|
||||||
this.chart.data(this.chartData);
|
this.chart.data(this.chartData);
|
||||||
|
|
||||||
|
const itemTpl = `
|
||||||
|
<div style="padding: 15px; color: red">
|
||||||
|
业绩量: {value}
|
||||||
|
</div>
|
||||||
|
`
|
||||||
this.chart.tooltip({
|
this.chart.tooltip({
|
||||||
|
showTitle: true,
|
||||||
showMarkers: false,
|
showMarkers: false,
|
||||||
});
|
itemTpl: itemTpl
|
||||||
|
});
|
||||||
this.chart.interval().position('time*number');
|
this.chart.interval().position('time*number');
|
||||||
this.chart.render();
|
this.chart.render();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -324,7 +324,7 @@ export class OrderManagementBulkComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
enterpriseInfoId: {
|
enterpriseInfoName: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '网络货运人',
|
title: '网络货运人',
|
||||||
ui: {
|
ui: {
|
||||||
|
|||||||
@ -299,7 +299,7 @@ export class OrderManagementVehicleComponent extends BasicTableComponent impleme
|
|||||||
placeholder: '请选择'
|
placeholder: '请选择'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
enterpriseInfoId: {
|
enterpriseInfoName: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '网络货运人',
|
title: '网络货运人',
|
||||||
ui: {
|
ui: {
|
||||||
|
|||||||
Reference in New Issue
Block a user