|
|
@ -33,6 +33,7 @@ import {NzTooltipDirective} from "ng-zorro-antd/tooltip"; |
|
|
|
import {DateMinutesDiffPipe} from "../../../pipes/common/date-minutes-diff.pipe"; |
|
|
|
import {DateMinutesDiffPipe} from "../../../pipes/common/date-minutes-diff.pipe"; |
|
|
|
import {NzDividerComponent} from "ng-zorro-antd/divider"; |
|
|
|
import {NzDividerComponent} from "ng-zorro-antd/divider"; |
|
|
|
import {NzTypographyComponent} from "ng-zorro-antd/typography"; |
|
|
|
import {NzTypographyComponent} from "ng-zorro-antd/typography"; |
|
|
|
|
|
|
|
import {environment} from "../../../../environments/environment"; |
|
|
|
|
|
|
|
|
|
|
|
@Component({ |
|
|
|
@Component({ |
|
|
|
selector: 'app-gas-order-receipt', |
|
|
|
selector: 'app-gas-order-receipt', |
|
|
@ -89,6 +90,7 @@ import {NzTypographyComponent} from "ng-zorro-antd/typography"; |
|
|
|
styleUrl: './gas-order-receipt.component.less' |
|
|
|
styleUrl: './gas-order-receipt.component.less' |
|
|
|
}) |
|
|
|
}) |
|
|
|
export class GasOrderReceiptComponent { |
|
|
|
export class GasOrderReceiptComponent { |
|
|
|
|
|
|
|
imageUrl = environment.imageUrl; |
|
|
|
loadingObject = { |
|
|
|
loadingObject = { |
|
|
|
title: "加载中...", |
|
|
|
title: "加载中...", |
|
|
|
status: false, |
|
|
|
status: false, |
|
|
@ -249,4 +251,15 @@ export class GasOrderReceiptComponent { |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 导出加油订单 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
export() { |
|
|
|
|
|
|
|
this.gasOrderReceiptService.export(this.searchForm.value, (data:any) => { |
|
|
|
|
|
|
|
window.location.href = this.imageUrl + 'temporary/' + data['return_data']; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|