提交代码

pull/1/head
胡锐 2 years ago
parent 92c89442f0
commit b4ebcc2ab3
  1. 3252
      package-lock.json
  2. 1
      package.json
  3. 5
      src/app/admin/activate/activate-edit/activate-edit.component.ts
  4. 2
      src/app/admin/activate/activate-list/activate-list.component.ts
  5. 4
      src/app/admin/activate/activate-lottery-record/activate-lottery-record.component.ts
  6. 4
      src/app/admin/activate/activate.module.ts
  7. 14
      src/app/admin/agent/agent-list/agent-list.component.html
  8. 14
      src/app/admin/agent/agent-list/agent-list.component.ts
  9. 2
      src/app/admin/agent/agent.module.ts
  10. 4
      src/app/admin/api-merchants/api-merchants.module.ts
  11. 6
      src/app/admin/api-merchants/list/list.component.ts
  12. 4
      src/app/admin/api-product/api-product.module.ts
  13. 6
      src/app/admin/api-product/list/list.component.ts
  14. 4
      src/app/admin/company-amount/company-amount-record/company-amount-record.component.ts
  15. 6
      src/app/admin/company-amount/company-amount.module.ts
  16. 6
      src/app/admin/company-amount/pay-pwd/pay-pwd.component.ts
  17. 6
      src/app/admin/config-manage/brand/brand.component.ts
  18. 4
      src/app/admin/config-manage/config-manage.module.ts
  19. 6
      src/app/admin/config-manage/goods-type/goods-type.component.ts
  20. 6
      src/app/admin/device/device-list/device-list.component.ts
  21. 6
      src/app/admin/device/device.module.ts
  22. 4
      src/app/admin/discount-package/discount-package-edit/discount-package-edit.component.ts
  23. 6
      src/app/admin/discount-package/discount-package-list/discount-package-list.component.ts
  24. 4
      src/app/admin/discount-package/discount-package.module.ts
  25. 6
      src/app/admin/discount-package/inventory-record/inventory-record.component.ts
  26. 6
      src/app/admin/discount-package/order-list/order-list.component.ts
  27. 14
      src/app/admin/discount/discount-edit/discount-edit.component.html
  28. 1
      src/app/admin/discount/discount-edit/discount-edit.component.ts
  29. 20
      src/app/admin/discount/discount-list/discount-list.component.html
  30. 7
      src/app/admin/gas-oil-price/gas-oil-price.module.ts
  31. 6
      src/app/admin/gas-oil-price/oil-price-official-list/oil-price-official-list.component.ts
  32. 6
      src/app/admin/gas-oil-price/oil-price-task-edit/oil-price-task-edit.component.ts
  33. 6
      src/app/admin/gas-oil-price/oil-price-task-list/oil-price-task-list.component.ts
  34. 6
      src/app/admin/gas-staff/gas-staff-edit/gas-staff-edit.component.ts
  35. 6
      src/app/admin/gas-staff/gas-staff-list/gas-staff-list.component.ts
  36. 6
      src/app/admin/gas-staff/gas-staff.module.ts
  37. 4
      src/app/admin/gz-sinopec/gz-sinopec.module.ts
  38. 4
      src/app/admin/gz-sinopec/offline-assign/offline-assign.component.ts
  39. 4
      src/app/admin/gz-sinopec/use-order/use-order.component.ts
  40. 4
      src/app/admin/index/index/index.component.ts
  41. 2
      src/app/admin/index/test/test.component.ts
  42. 6
      src/app/admin/merchant-store/gas-station-list/gas-station-list.component.ts
  43. 6
      src/app/admin/merchant-store/oli/oli.component.ts
  44. 6
      src/app/admin/oil-card/oil-card-list/oil-card-list.component.ts
  45. 8
      src/app/admin/oil-card/oil-card-op-record-list/oil-card-op-record-list.component.ts
  46. 6
      src/app/admin/oil-card/oil-card-order/oil-card-order.component.ts
  47. 6
      src/app/admin/oil-card/oil-card-record-list/oil-card-record-list.component.ts
  48. 6
      src/app/admin/oil-card/oil-card.module.ts
  49. 4
      src/app/admin/order/discount-use-condition-list/discount-use-condition-list.component.ts
  50. 6
      src/app/admin/order/oil-station-order/oil-station-order.component.ts
  51. 6
      src/app/admin/order/order-agent/order-agent.component.ts
  52. 2
      src/app/admin/order/order.module.ts
  53. 6
      src/app/admin/order/package-record-list/package-record-list.component.ts
  54. 4
      src/app/admin/tuanyou-agent/order-st/order-st.component.ts
  55. 4
      src/app/admin/tuanyou-agent/order/ty-order-list/ty-order-list.component.ts
  56. 4
      src/app/admin/tuanyou-agent/petrol-station-manage/petrol-station-manage.ts
  57. 2
      src/app/admin/tuanyou-agent/tuanyou-agent.module.ts
  58. 4
      src/app/admin/tuanyou-agent/ty-agent/ty-agent-list/ty-agent-list.component.ts
  59. 6
      src/app/admin/tuanyou-agent/ty-salesman/ty-salesman-edit/ty-salesman-edit.component.ts
  60. 6
      src/app/admin/tuanyou-agent/ty-salesman/ty-salesman-list/ty-salesman-list.component.ts
  61. 2
      src/app/services/activate.service.ts
  62. 6
      src/app/services/agent.service.ts
  63. 2
      src/app/services/api-merchants.service.ts
  64. 2
      src/app/services/api-product.service.ts
  65. 2
      src/app/services/company-account.service.ts
  66. 2
      src/app/services/company-two-pwd.service.ts
  67. 2
      src/app/services/config.service.ts
  68. 2
      src/app/services/device.service.ts
  69. 2
      src/app/services/gas-staff.service.ts
  70. 2
      src/app/services/gas.service.ts
  71. 2
      src/app/services/mer-amount.service.ts
  72. 3
      src/app/services/merchant-tripartite-platform.service.ts
  73. 2
      src/app/services/oil-card.service.ts
  74. 2
      src/app/services/oil-price/oil-price-official.service.ts
  75. 2
      src/app/services/oil-price/oil-price-task.service.ts
  76. 2
      src/app/services/organization.service.ts
  77. 2
      src/app/services/ty-agent-oil-station.service.ts
  78. 2
      src/app/services/ty-agent-price.service.ts
  79. 2
      src/app/services/ty-agent.service.ts
  80. 2
      src/app/services/ty-salesman.service.ts

3252
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -24,6 +24,7 @@
"echarts": "^4.9.0", "echarts": "^4.9.0",
"jquery": "^3.5.1", "jquery": "^3.5.1",
"ng-zorro-antd": "^9.3.0", "ng-zorro-antd": "^9.3.0",
"ngx-clipboard": "^12.3.0",
"ngx-echarts": "^4.2.2", "ngx-echarts": "^4.2.2",
"rxjs": "~6.5.4", "rxjs": "~6.5.4",
"tslib": "^1.10.0", "tslib": "^1.10.0",

@ -1,12 +1,11 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {ActivatedRoute} from '_@angular_router@9.0.7@@angular/router';
import {CouponService} from '../../../services/coupon.service'; import {CouponService} from '../../../services/coupon.service';
import {ActivateService} from '../../../services/activate.service'; import {ActivateService} from '../../../services/activate.service';
import {NzUploadFile} from 'ng-zorro-antd'; import {NzMessageService, NzUploadFile} from 'ng-zorro-antd';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {AgentService} from '../../../services/agent.service'; import {AgentService} from '../../../services/agent.service';
import {ActivatedRoute} from '@angular/router';
function getBase64(file: File): Promise<string | ArrayBuffer | null> { function getBase64(file: File): Promise<string | ArrayBuffer | null> {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {

@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {CompanyService} from '../../../services/company.service'; import {CompanyService} from '../../../services/company.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService} from 'ng-zorro-antd';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {FormBuilder, FormGroup} from '@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {Router} from '@angular/router'; import {Router} from '@angular/router';

@ -1,9 +1,9 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup} from "_@angular_forms@9.0.7@@angular/forms";
import {ActivateService} from "../../../services/activate.service"; import {ActivateService} from "../../../services/activate.service";
import {IconService} from "../../../services/icon.service"; import {IconService} from "../../../services/icon.service";
import {NzMessageService} from "_ng-zorro-antd@9.3.0@ng-zorro-antd";
import { Params, ActivatedRoute } from '@angular/router'; import { Params, ActivatedRoute } from '@angular/router';
import {FormBuilder, FormGroup} from '@angular/forms';
import {NzMessageService} from 'ng-zorro-antd';
@Component({ @Component({
selector: 'app-activate-lottery-record', selector: 'app-activate-lottery-record',

@ -4,9 +4,9 @@ import { CommonModule } from '@angular/common';
import { ActivateRoutingModule } from './activate-routing.module'; import { ActivateRoutingModule } from './activate-routing.module';
import { ActivateListComponent } from './activate-list/activate-list.component'; import { ActivateListComponent } from './activate-list/activate-list.component';
import { ActivateEditComponent } from './activate-edit/activate-edit.component'; import { ActivateEditComponent } from './activate-edit/activate-edit.component';
import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NgZorroAntdModule} from 'ng-zorro-antd';
import {SeparateModule} from '../../common/separate/separate.module'; import {SeparateModule} from '../../common/separate/separate.module';
import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms'; import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {RegionSelectorModule} from '../../common/region-selector/region-selector.module'; import {RegionSelectorModule} from '../../common/region-selector/region-selector.module';
import {AppCommonModule} from "../../app-common.module"; import {AppCommonModule} from "../../app-common.module";

@ -141,8 +141,8 @@
</form> </form>
</nz-modal> </nz-modal>
<nz-modal [(nzVisible)]="isVisibleDiscount" nzWidth="1000" nzTitle="分配优惠券列表" (nzOnCancel)="handleCancelDiscount()" <nz-modal [(nzVisible)]="isVisibleDiscount" nzWidth="1000" nzTitle="代理商优惠券列表" (nzOnCancel)="handleCancelDiscount()"
(nzOnOk)="handleCancelDiscount()"> (nzOnOk)="handleCancelDiscount()" [nzFooter]="null">
<nz-table <nz-table
class="table" class="table"
#ajaxTableDiscount #ajaxTableDiscount
@ -165,6 +165,7 @@
<th nzWidth="70px">有效天数</th> <th nzWidth="70px">有效天数</th>
<th nzWidth="100px">截止日期</th> <th nzWidth="100px">截止日期</th>
<th nzWidth="100px">库存数量</th> <th nzWidth="100px">库存数量</th>
<th nzWidth="100px">操作</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -186,6 +187,15 @@
<td>{{data['highDiscount'].effectiveDay}}</td> <td>{{data['highDiscount'].effectiveDay}}</td>
<td>{{data['highDiscount'].salesEndTime | date: 'yyyy-MM-dd HH:mm'}}</td> <td>{{data['highDiscount'].salesEndTime | date: 'yyyy-MM-dd HH:mm'}}</td>
<td>{{data.stockCount}}</td> <td>{{data.stockCount}}</td>
<td>
<a nz-dropdown [nzDropdownMenu]="menu">操作列表 <i nz-icon nzType="down"></i></a>
<nz-dropdown-menu #menu="nzDropdownMenu">
<ul nz-menu nzSelectable>
<li nz-menu-item (click)="copyReceiveDiscountLink(data.id)">复制领取链接</li>
<li nz-menu-item>分发用户</li>
</ul>
</nz-dropdown-menu>
</td>
</tbody> </tbody>
</nz-table> </nz-table>
</nz-modal> </nz-modal>

@ -8,6 +8,7 @@ import {CommonsService} from '../../../services/commons.service';
import {AgentService} from '../../../services/agent.service'; import {AgentService} from '../../../services/agent.service';
import {DiscountService} from '../../../services/discount.service'; import {DiscountService} from '../../../services/discount.service';
import {CouponService} from '../../../services/coupon.service'; import {CouponService} from '../../../services/coupon.service';
import {ClipboardService} from "ngx-clipboard";
@Component({ @Component({
selector: 'app-agent-list', selector: 'app-agent-list',
@ -57,6 +58,7 @@ export class AgentListComponent implements OnInit {
private iconService: IconService, private iconService: IconService,
private message: NzMessageService, private message: NzMessageService,
private router: Router, private router: Router,
private clipboardService: ClipboardService,
private common: CommonsService private common: CommonsService
) { ) {
} }
@ -317,5 +319,17 @@ export class AgentListComponent implements OnInit {
} }
}); });
} }
copyReceiveDiscountLink(id: number) {
this.agent.getReceiveLink(id, data => {
if (data['return_code']) {
this.clipboardService.copy(data['return_data']);
this.message.success('复制成功');
} else {
this.message.error('复制失败');
}
});
}
} }

@ -10,6 +10,7 @@ import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {RegionSelectorModule} from '../../common/region-selector/region-selector.module'; import {RegionSelectorModule} from '../../common/region-selector/region-selector.module';
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';
import {ClipboardModule} from 'ngx-clipboard';
@NgModule({ @NgModule({
@ -23,6 +24,7 @@ import {AppCommonModule} from '../../app-common.module';
FormsModule, FormsModule,
BreadcrumbModule, BreadcrumbModule,
RegionSelectorModule, RegionSelectorModule,
ClipboardModule,
AppCommonModule AppCommonModule
] ]
}) })

@ -3,12 +3,12 @@ import {CommonModule} from '@angular/common';
import {ApiMerchantsRoutingModule} from './api-merchants-routing.module'; import {ApiMerchantsRoutingModule} from './api-merchants-routing.module';
import {ListComponent} from './list/list.component'; import {ListComponent} from './list/list.component';
import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {SeparateModule} from '../../common/separate/separate.module'; import {SeparateModule} from '../../common/separate/separate.module';
import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {RegionSelectorModule} from '../../common/region-selector/region-selector.module'; import {RegionSelectorModule} from '../../common/region-selector/region-selector.module';
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';
import {NgZorroAntdModule} from 'ng-zorro-antd';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
@NgModule({ @NgModule({

@ -1,13 +1,13 @@
import {Component, OnInit} from '@angular/core'; import {Component, OnInit} from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms';
import {CouponService} from '../../../services/coupon.service'; import {CouponService} from '../../../services/coupon.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {Router} from '_@angular_router@9.0.7@@angular/router';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {ApiMerchantsService} from '../../../services/api-merchants.service'; import {ApiMerchantsService} from '../../../services/api-merchants.service';
import {ApiProductService} from '../../../services/api-product.service'; import {ApiProductService} from '../../../services/api-product.service';
import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzMessageService} from 'ng-zorro-antd';
import {Router} from '@angular/router';
@Component({ @Component({

@ -3,12 +3,12 @@ import {CommonModule} from '@angular/common';
import {ApiProductRoutingModule} from './api-product-routing.module'; import {ApiProductRoutingModule} from './api-product-routing.module';
import {ListComponent} from './list/list.component'; import {ListComponent} from './list/list.component';
import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {SeparateModule} from '../../common/separate/separate.module'; import {SeparateModule} from '../../common/separate/separate.module';
import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {RegionSelectorModule} from '../../common/region-selector/region-selector.module'; import {RegionSelectorModule} from '../../common/region-selector/region-selector.module';
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';
import {NgZorroAntdModule} from 'ng-zorro-antd';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
@NgModule({ @NgModule({

@ -1,14 +1,14 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms';
import {RechargeService} from '../../../services/recharge.service'; import {RechargeService} from '../../../services/recharge.service';
import {DiscountService} from '../../../services/discount.service'; import {DiscountService} from '../../../services/discount.service';
import {CouponService} from '../../../services/coupon.service'; import {CouponService} from '../../../services/coupon.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {Router} from '_@angular_router@9.0.7@@angular/router';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {ApiProductService} from '../../../services/api-product.service'; import {ApiProductService} from '../../../services/api-product.service';
import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzMessageService} from 'ng-zorro-antd';
import {Router} from '@angular/router';
@Component({ @Component({
selector: 'app-list', selector: 'app-list',

@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {OrganizationService} from '../../../services/organization.service'; import {OrganizationService} from '../../../services/organization.service';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';

@ -3,11 +3,11 @@ import { CommonModule } from '@angular/common';
import { CompanyAmountRoutingModule } from './company-amount-routing.module'; import { CompanyAmountRoutingModule } from './company-amount-routing.module';
import { CompanyAmountRecordComponent } from './company-amount-record/company-amount-record.component'; import { CompanyAmountRecordComponent } from './company-amount-record/company-amount-record.component';
import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NgZorroAntdModule} from 'ng-zorro-antd';
import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms'; import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';
import {NgxEchartsModule} from '_ngx-echarts@4.2.2@ngx-echarts'; import {NgxEchartsModule} from 'ngx-echarts';
import { PayPwdComponent } from './pay-pwd/pay-pwd.component'; import { PayPwdComponent } from './pay-pwd/pay-pwd.component';

@ -1,12 +1,12 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormControl, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormControl, FormGroup, Validators} from '@angular/forms';
import {ValidatorsService} from '../../../services/validators.service'; import {ValidatorsService} from '../../../services/validators.service';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {LoginService} from '../../../services/login.service'; import {LoginService} from '../../../services/login.service';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {CompanyTwoPwdService} from '../../../services/company-two-pwd.service'; import {CompanyTwoPwdService} from '../../../services/company-two-pwd.service';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
@Component({ @Component({

@ -1,9 +1,9 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService, NzModalService, NzUploadFile} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService, NzUploadFile} from 'ng-zorro-antd';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {Router} from '@angular/router';
import {ConfigService} from '../../../services/config.service'; import {ConfigService} from '../../../services/config.service';
function getBase64(file: File): Promise<string | ArrayBuffer | null> { function getBase64(file: File): Promise<string | ArrayBuffer | null> {

@ -4,11 +4,11 @@ import { CommonModule } from '@angular/common';
import { ConfigManageRoutingModule } from './config-manage-routing.module'; import { ConfigManageRoutingModule } from './config-manage-routing.module';
import { GoodsTypeComponent } from './goods-type/goods-type.component'; import { GoodsTypeComponent } from './goods-type/goods-type.component';
import { BrandComponent } from './brand/brand.component'; import { BrandComponent } from './brand/brand.component';
import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {SeparateModule} from '../../common/separate/separate.module'; import {SeparateModule} from '../../common/separate/separate.module';
import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {RegionSelectorModule} from '../../common/region-selector/region-selector.module'; import {RegionSelectorModule} from '../../common/region-selector/region-selector.module';
import {NgZorroAntdModule} from 'ng-zorro-antd';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
@NgModule({ @NgModule({

@ -1,10 +1,10 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService, NzModalService, NzUploadFile} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService, NzUploadFile} from 'ng-zorro-antd';
import {Router} from '_@angular_router@9.0.7@@angular/router';
import {ConfigService} from '../../../services/config.service'; import {ConfigService} from '../../../services/config.service';
import {Router} from '@angular/router';
function getBase64(file: File): Promise<string | ArrayBuffer | null> { function getBase64(file: File): Promise<string | ArrayBuffer | null> {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {

@ -1,15 +1,15 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {OilCardService} from '../../../services/oil-card.service'; import {OilCardService} from '../../../services/oil-card.service';
import {OrganizationService} from '../../../services/organization.service'; import {OrganizationService} from '../../../services/organization.service';
import {CompanyAccountService} from '../../../services/company-account.service'; import {CompanyAccountService} from '../../../services/company-account.service';
import {ActivatedRoute, Router} from '_@angular_router@9.0.7@@angular/router';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {ValidatorsService} from '../../../services/validators.service'; import {ValidatorsService} from '../../../services/validators.service';
import {DeviceService} from "../../../services/device.service"; import {DeviceService} from "../../../services/device.service";
import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {ActivatedRoute} from '@angular/router';
@Component({ @Component({
selector: 'app-device-list', selector: 'app-device-list',

@ -3,11 +3,11 @@ import { CommonModule } from '@angular/common';
import { DeviceRoutingModule } from './device-routing.module'; import { DeviceRoutingModule } from './device-routing.module';
import { DeviceListComponent } from './device-list/device-list.component'; import { DeviceListComponent } from './device-list/device-list.component';
import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';
import {NgxEchartsModule} from '_ngx-echarts@4.2.2@ngx-echarts'; import {NgxEchartsModule} from 'ngx-echarts';
import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NgZorroAntdModule} from 'ng-zorro-antd';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
@NgModule({ @NgModule({

@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService} from 'ng-zorro-antd';
import {ActivatedRoute} from '_@angular_router@9.0.7@@angular/router'; import {ActivatedRoute} from '@angular/router';
import {CouponService} from '../../../services/coupon.service'; import {CouponService} from '../../../services/coupon.service';
import {ActivateService} from '../../../services/activate.service'; import {ActivateService} from '../../../services/activate.service';
import {NzUploadFile} from 'ng-zorro-antd'; import {NzUploadFile} from 'ng-zorro-antd';

@ -1,11 +1,11 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {CompanyService} from '../../../services/company.service'; import {CompanyService} from '../../../services/company.service';
import {ActivateService} from '../../../services/activate.service'; import {ActivateService} from '../../../services/activate.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService} from 'ng-zorro-antd';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {Router} from '@angular/router';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {DiscountPackageService} from '../../../services/discount-package.service'; import {DiscountPackageService} from '../../../services/discount-package.service';

@ -3,9 +3,9 @@ import { CommonModule } from '@angular/common';
import { DiscountPackageRoutingModule } from './discount-package-routing.module'; import { DiscountPackageRoutingModule } from './discount-package-routing.module';
import { DiscountPackageListComponent } from './discount-package-list/discount-package-list.component'; import { DiscountPackageListComponent } from './discount-package-list/discount-package-list.component';
import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NgZorroAntdModule} from 'ng-zorro-antd';
import {SeparateModule} from '../../common/separate/separate.module'; import {SeparateModule} from '../../common/separate/separate.module';
import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms'; import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {RegionSelectorModule} from '../../common/region-selector/region-selector.module'; import {RegionSelectorModule} from '../../common/region-selector/region-selector.module';
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';

@ -1,11 +1,11 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {CompanyService} from '../../../services/company.service'; import {CompanyService} from '../../../services/company.service';
import {ActivateService} from '../../../services/activate.service'; import {ActivateService} from '../../../services/activate.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService} from 'ng-zorro-antd';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {Router} from '@angular/router';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {DiscountPackageService} from '../../../services/discount-package.service'; import {DiscountPackageService} from '../../../services/discount-package.service';

@ -1,11 +1,11 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {CompanyService} from '../../../services/company.service'; import {CompanyService} from '../../../services/company.service';
import {ActivateService} from '../../../services/activate.service'; import {ActivateService} from '../../../services/activate.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService} from 'ng-zorro-antd';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {Router} from '@angular/router';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {DiscountPackageService} from '../../../services/discount-package.service'; import {DiscountPackageService} from '../../../services/discount-package.service';

@ -72,8 +72,8 @@
<div nz-col [nzSpan]="8"> <div nz-col [nzSpan]="8">
<nz-form-item> <nz-form-item>
<nz-form-label [nzFor]="'salesEndTime'" nzRequired>截止日期</nz-form-label> <nz-form-label [nzFor]="'salesEndTime'" nzRequired>使用截止日期</nz-form-label>
<nz-form-control nzErrorTip="请选择销售截止日期!"> <nz-form-control>
<nz-date-picker <nz-date-picker
nzFormat="yyyy-MM-dd" nzFormat="yyyy-MM-dd"
[formControlName]="'salesEndTime'" [formControlName]="'salesEndTime'"
@ -90,6 +90,16 @@
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
</div> </div>
<div nz-col [nzSpan]="8">
<nz-form-item>
<nz-form-label [nzFor]="'effectiveDay'" nzRequired>可领取次数</nz-form-label>
<nz-form-control nzErrorTip="请输入可领取次数!">
<nz-input-number [formControlName]="'receiveNumber'" [nzMin]="0" [nzStep]="1" [nzMax]="999"></nz-input-number>
</nz-form-control>
</nz-form-item>
</div>
<div nz-col [nzSpan]="8"> <div nz-col [nzSpan]="8">
<nz-form-item> <nz-form-item>
<nz-form-label nzRequired>优惠券图片</nz-form-label> <nz-form-label nzRequired>优惠券图片</nz-form-label>

@ -61,6 +61,7 @@ export class DiscountEditComponent implements OnInit {
salesEndTime: [null, [Validators.required]], salesEndTime: [null, [Validators.required]],
useScope: [null, [Validators.required]], useScope: [null, [Validators.required]],
effectiveDay: [1, [Validators.required]], effectiveDay: [1, [Validators.required]],
receiveNumber: [1, [Validators.required]],
status: [null], status: [null],
usingRange: [null], usingRange: [null],
createTime: [null], createTime: [null],

@ -73,16 +73,17 @@
(nzPageSizeChange)="getRequest(false , searchForm.value)"> (nzPageSizeChange)="getRequest(false , searchForm.value)">
<thead nzSingleSort> <thead nzSingleSort>
<tr> <tr>
<th nzWidth="50px">编号</th> <th nzWidth="60px">编号</th>
<th nzWidth="80px">优惠券KEY</th> <th nzWidth="150px">优惠券KEY</th>
<th nzWidth="80px">优惠券名称</th> <th nzWidth="130px">优惠券名称</th>
<th nzWidth="80px">优惠券类型</th> <th nzWidth="100px">优惠券类型</th>
<th nzWidth="70px">优惠内容</th> <th nzWidth="100px">优惠内容</th>
<th nzWidth="70px">有效天数</th> <th nzWidth="100px">有效天数</th>
<th nzWidth="100px">可领取次数</th>
<th nzWidth="100px">截止日期</th> <th nzWidth="100px">截止日期</th>
<th nzWidth="100px">创建时间</th> <th nzWidth="100px">创建时间</th>
<th nzWidth="100px">状态</th> <th nzWidth="100px">状态</th>
<th nzWidth="80px" nzRight="0px">操作</th> <th nzWidth="110px" nzRight="0px">操作</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -103,8 +104,9 @@
</span> </span>
</td> </td>
<td>{{data.effectiveDay}}</td> <td>{{data.effectiveDay}}</td>
<td>{{data.salesEndTime | date: 'yyyy-MM-dd HH:mm'}}</td> <td>{{data.receiveNumber}}</td>
<td>{{data.createTime}}</td> <td>{{data.salesEndTime | date: 'yyyy-MM-dd HH:mm:ss'}}</td>
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm:ss'}}</td>
<td>{{data.status | discountStatus}}</td> <td>{{data.status | discountStatus}}</td>
<td nzRight="0px" class="table-td-operation"> <td nzRight="0px" class="table-td-operation">
<!-- <a (click)="getEdit(data.id)"><i nz-icon nzType="form" nzTheme="outline" nz-tooltip="编辑"></i></a>--> <!-- <a (click)="getEdit(data.id)"><i nz-icon nzType="form" nzTheme="outline" nz-tooltip="编辑"></i></a>-->

@ -3,13 +3,14 @@ import { CommonModule } from '@angular/common';
import { GasOilPriceRoutingModule } from './gas-oil-price-routing.module'; import { GasOilPriceRoutingModule } from './gas-oil-price-routing.module';
import { OilPriceOfficialListComponent } from './oil-price-official-list/oil-price-official-list.component'; import { OilPriceOfficialListComponent } from './oil-price-official-list/oil-price-official-list.component';
import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';
import {NgxEchartsModule} from '_ngx-echarts@4.2.2@ngx-echarts';
import { OilPriceTaskListComponent } from './oil-price-task-list/oil-price-task-list.component'; import { OilPriceTaskListComponent } from './oil-price-task-list/oil-price-task-list.component';
import { OilPriceTaskEditComponent } from './oil-price-task-edit/oil-price-task-edit.component'; import { OilPriceTaskEditComponent } from './oil-price-task-edit/oil-price-task-edit.component';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {NgZorroAntdModule} from 'ng-zorro-antd';
import {NgxEchartsModule} from 'ngx-echarts';
@NgModule({ @NgModule({

@ -1,10 +1,10 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {Router} from '@angular/router';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {OilPriceOfficialService} from '../../../services/oil-price/oil-price-official.service'; import {OilPriceOfficialService} from '../../../services/oil-price/oil-price-official.service';

@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzModalService} from 'ng-zorro-antd';
import {ActivatedRoute, Router} from '_@angular_router@9.0.7@@angular/router'; import {ActivatedRoute, Router} from '@angular/router';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {OilPriceTaskService} from '../../../services/oil-price/oil-price-task.service'; import {OilPriceTaskService} from '../../../services/oil-price/oil-price-task.service';
import {LocalStorageService} from "../../../services/local-storage.service"; import {LocalStorageService} from "../../../services/local-storage.service";

@ -1,10 +1,10 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {Router} from '@angular/router';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {OilPriceTaskService} from '../../../services/oil-price/oil-price-task.service'; import {OilPriceTaskService} from '../../../services/oil-price/oil-price-task.service';

@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzModalService} from 'ng-zorro-antd';
import {ActivatedRoute, Router} from '_@angular_router@9.0.7@@angular/router'; import {ActivatedRoute, Router} from '@angular/router';
import {GasStaffService} from '../../../services/gas-staff.service'; import {GasStaffService} from '../../../services/gas-staff.service';
import {CommonsService} from "../../../services/commons.service"; import {CommonsService} from "../../../services/commons.service";
import {ValidatorsService} from "../../../services/validators.service"; import {ValidatorsService} from "../../../services/validators.service";

@ -1,11 +1,11 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {OrganizationService} from '../../../services/organization.service'; import {OrganizationService} from '../../../services/organization.service';
import {CompanyAccountService} from '../../../services/company-account.service'; import {CompanyAccountService} from '../../../services/company-account.service';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {Router} from '@angular/router';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {GasStaffService} from '../../../services/gas-staff.service'; import {GasStaffService} from '../../../services/gas-staff.service';
import {CommonsService} from "../../../services/commons.service"; import {CommonsService} from "../../../services/commons.service";

@ -4,11 +4,11 @@ import { CommonModule } from '@angular/common';
import { GasStaffRoutingModule } from './gas-staff-routing.module'; import { GasStaffRoutingModule } from './gas-staff-routing.module';
import { GasStaffListComponent } from './gas-staff-list/gas-staff-list.component'; import { GasStaffListComponent } from './gas-staff-list/gas-staff-list.component';
import { GasStaffEditComponent } from './gas-staff-edit/gas-staff-edit.component'; import { GasStaffEditComponent } from './gas-staff-edit/gas-staff-edit.component';
import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NgZorroAntdModule} from 'ng-zorro-antd';
import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms'; import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';
import {NgxEchartsModule} from '_ngx-echarts@4.2.2@ngx-echarts'; import {NgxEchartsModule} from 'ngx-echarts';
@NgModule({ @NgModule({

@ -4,10 +4,10 @@ import { CommonModule } from '@angular/common';
import { GzSinopecRoutingModule } from './gz-sinopec-routing.module'; import { GzSinopecRoutingModule } from './gz-sinopec-routing.module';
import { OfflineAssignComponent } from './offline-assign/offline-assign.component'; import { OfflineAssignComponent } from './offline-assign/offline-assign.component';
import { UseOrderComponent } from './use-order/use-order.component'; import { UseOrderComponent } from './use-order/use-order.component';
import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms'; import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';
import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NgZorroAntdModule} from 'ng-zorro-antd';
@NgModule({ @NgModule({
declarations: [OfflineAssignComponent, UseOrderComponent], declarations: [OfflineAssignComponent, UseOrderComponent],

@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {TyAgentService} from '../../../services/ty-agent.service'; import {TyAgentService} from '../../../services/ty-agent.service';
import {CouponService} from "../../../services/coupon.service"; import {CouponService} from "../../../services/coupon.service";
import {environment} from "../../../../environments/environment"; import {environment} from "../../../../environments/environment";

@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {CouponService} from '../../../services/coupon.service'; import {CouponService} from '../../../services/coupon.service';
@Component({ @Component({

@ -2,9 +2,9 @@ import {Component, OnInit} from '@angular/core';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {IndexService} from '../../../services/index.service'; import {IndexService} from '../../../services/index.service';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {NzMessageService} from 'ng-zorro-antd';
import {Router} from '@angular/router';
@Component({ @Component({

@ -1,5 +1,5 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {ActivatedRoute} from '_@angular_router@9.0.7@@angular/router'; import {ActivatedRoute} from '@angular/router';
import {Params} from '@angular/router'; import {Params} from '@angular/router';
import {WebsocketService} from '../../../services/websocket.service'; import {WebsocketService} from '../../../services/websocket.service';

@ -1,10 +1,10 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {CompanyAccountService} from '../../../services/company-account.service'; import {CompanyAccountService} from '../../../services/company-account.service';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {Router} from '@angular/router';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {IndexService} from '../../../services/index.service'; import {IndexService} from '../../../services/index.service';
import {Validators} from '@angular/forms'; import {Validators} from '@angular/forms';

@ -1,10 +1,10 @@
import {Component, OnInit} from '@angular/core'; import {Component, OnInit} from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {MerchantStoreService} from '../../../services/merchant-store.service'; import {MerchantStoreService} from '../../../services/merchant-store.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {ActivatedRoute, Router} from '_@angular_router@9.0.7@@angular/router'; import {ActivatedRoute, Router} from '@angular/router';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';

@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {OilCardService} from '../../../services/oil-card.service'; import {OilCardService} from '../../../services/oil-card.service';
@ -8,7 +8,7 @@ import {CompanyAccountService} from '../../../services/company-account.service';
import {OrganizationService} from "../../../services/organization.service"; import {OrganizationService} from "../../../services/organization.service";
import {NavigationComponent} from "../../navigation/navigation.component"; import {NavigationComponent} from "../../navigation/navigation.component";
import {environment} from "../../../../environments/environment"; import {environment} from "../../../../environments/environment";
import {Router} from "_@angular_router@9.0.7@@angular/router"; import {Router} from "@angular/router";
import {ValidatorsService} from "../../../services/validators.service"; import {ValidatorsService} from "../../../services/validators.service";
@Component({ @Component({

@ -1,14 +1,14 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup} from "_@angular_forms@9.0.7@@angular/forms";
import {NzMessageService, NzModalService} from "_ng-zorro-antd@9.3.0@ng-zorro-antd";
import {LocalStorageService} from "../../../services/local-storage.service"; import {LocalStorageService} from "../../../services/local-storage.service";
import {OilCardService} from "../../../services/oil-card.service"; import {OilCardService} from "../../../services/oil-card.service";
import {OrganizationService} from "../../../services/organization.service"; import {OrganizationService} from "../../../services/organization.service";
import {NavigationComponent} from "../../navigation/navigation.component"; import {NavigationComponent} from "../../navigation/navigation.component";
import {CompanyAccountService} from "../../../services/company-account.service"; import {CompanyAccountService} from "../../../services/company-account.service";
import {ActivatedRoute} from "_@angular_router@9.0.7@@angular/router";
import {ADMIN_INFO_OBJECT} from "../../../services/local-storage.namespace";
import {ADMIN_INFO_OBJECT} from "../../../services/local-storage.namespace";
import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {FormBuilder, FormGroup} from "@angular/forms";
import {ActivatedRoute} from "@angular/router";
@Component({ @Component({
selector: 'app-oil-card-op-record-list', selector: 'app-oil-card-op-record-list',
templateUrl: './oil-card-op-record-list.component.html', templateUrl: './oil-card-op-record-list.component.html',

@ -1,12 +1,12 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {OilCardService} from '../../../services/oil-card.service'; import {OilCardService} from '../../../services/oil-card.service';
import {OrganizationService} from '../../../services/organization.service'; import {OrganizationService} from '../../../services/organization.service';
import {NavigationComponent} from '../../navigation/navigation.component'; import {NavigationComponent} from '../../navigation/navigation.component';
import {CompanyAccountService} from '../../../services/company-account.service'; import {CompanyAccountService} from '../../../services/company-account.service';
import {ActivatedRoute} from '_@angular_router@9.0.7@@angular/router'; import {ActivatedRoute} from '@angular/router';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';

@ -1,13 +1,13 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {OilCardService} from '../../../services/oil-card.service'; import {OilCardService} from '../../../services/oil-card.service';
import {OrganizationService} from '../../../services/organization.service'; import {OrganizationService} from '../../../services/organization.service';
import {NavigationComponent} from '../../navigation/navigation.component'; import {NavigationComponent} from '../../navigation/navigation.component';
import {CompanyAccountService} from '../../../services/company-account.service'; import {CompanyAccountService} from '../../../services/company-account.service';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {ActivatedRoute} from '_@angular_router@9.0.7@@angular/router'; import {ActivatedRoute} from '@angular/router';
@Component({ @Component({
selector: 'app-oil-card-record-list', selector: 'app-oil-card-record-list',

@ -3,11 +3,11 @@ import { CommonModule } from '@angular/common';
import { OilCardRoutingModule } from './oil-card-routing.module'; import { OilCardRoutingModule } from './oil-card-routing.module';
import { OilCardListComponent } from './oil-card-list/oil-card-list.component'; import { OilCardListComponent } from './oil-card-list/oil-card-list.component';
import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NgZorroAntdModule} from 'ng-zorro-antd';
import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms'; import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';
import {NgxEchartsModule} from '_ngx-echarts@4.2.2@ngx-echarts'; import {NgxEchartsModule} from 'ngx-echarts';
import { OilCardRecordListComponent } from './oil-card-record-list/oil-card-record-list.component'; import { OilCardRecordListComponent } from './oil-card-record-list/oil-card-record-list.component';
import { OilCardOpRecordListComponent } from './oil-card-op-record-list/oil-card-op-record-list.component'; import { OilCardOpRecordListComponent } from './oil-card-op-record-list/oil-card-op-record-list.component';
import { OilCardOrderComponent } from './oil-card-order/oil-card-order.component'; import { OilCardOrderComponent } from './oil-card-order/oil-card-order.component';

@ -1,12 +1,12 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {RechargeService} from '../../../services/recharge.service'; import {RechargeService} from '../../../services/recharge.service';
import {DiscountService} from '../../../services/discount.service'; import {DiscountService} from '../../../services/discount.service';
import {CouponService} from '../../../services/coupon.service'; import {CouponService} from '../../../services/coupon.service';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService} from 'ng-zorro-antd';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {NzModalService} from "ng-zorro-antd"; import {NzModalService} from "ng-zorro-antd";
import {AgentService} from "../../../services/agent.service"; import {AgentService} from "../../../services/agent.service";

@ -1,10 +1,10 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {OrderService} from '../../../services/order.service'; import {OrderService} from '../../../services/order.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {Router} from '@angular/router';
import {CompanyService} from '../../../services/company.service'; import {CompanyService} from '../../../services/company.service';
import {MerchantService} from '../../../services/merchant.service'; import {MerchantService} from '../../../services/merchant.service';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';

@ -1,10 +1,10 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {OrderService} from '../../../services/order.service'; import {OrderService} from '../../../services/order.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService} from 'ng-zorro-antd';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {Router} from '@angular/router';
import {CompanyService} from '../../../services/company.service'; import {CompanyService} from '../../../services/company.service';
import {MerchantService} from '../../../services/merchant.service'; import {MerchantService} from '../../../services/merchant.service';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';

@ -21,7 +21,7 @@ import { PreOrderComponent } from './pre-order/pre-order.component';
import { PackageRecordListComponent } from './package-record-list/package-record-list.component'; import { PackageRecordListComponent } from './package-record-list/package-record-list.component';
import { DiscountUseConditionListComponent } from './discount-use-condition-list/discount-use-condition-list.component'; import { DiscountUseConditionListComponent } from './discount-use-condition-list/discount-use-condition-list.component';
import {DicountPackageOrderListComponent} from "./dicount-package-order-list/dicount-package-order-list.component"; import {DicountPackageOrderListComponent} from "./dicount-package-order-list/dicount-package-order-list.component";
import {NzSpaceModule} from "_ng-zorro-antd@9.3.0@ng-zorro-antd/space"; import {NzSpaceModule} from "ng-zorro-antd/space";
import { OilStationOrderComponent } from './oil-station-order/oil-station-order.component'; import { OilStationOrderComponent } from './oil-station-order/oil-station-order.component';
@NgModule({ @NgModule({

@ -1,11 +1,11 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {environment} from '../../../../environments/environment'; import {environment} from '../../../../environments/environment';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {CompanyService} from '../../../services/company.service'; import {CompanyService} from '../../../services/company.service';
import {ActivateService} from '../../../services/activate.service'; import {ActivateService} from '../../../services/activate.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService} from 'ng-zorro-antd';
import {Router} from '_@angular_router@9.0.7@@angular/router'; import {Router} from '@angular/router';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {DiscountPackageService} from '../../../services/discount-package.service'; import {DiscountPackageService} from '../../../services/discount-package.service';

@ -1,8 +1,8 @@
import {Component, OnInit} from '@angular/core'; import {Component, OnInit} from '@angular/core';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {AuditService} from '../../../services/audit.service'; import {AuditService} from '../../../services/audit.service';
import {IconService} from '../../../services/icon.service'; import {IconService} from '../../../services/icon.service';
import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService} from 'ng-zorro-antd';
import {CommonsService} from '../../../services/commons.service'; import {CommonsService} from '../../../services/commons.service';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {LocalStorageService} from '../../../services/local-storage.service'; import {LocalStorageService} from '../../../services/local-storage.service';

@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {TyAgentOilStationService} from '../../../../services/ty-agent-oil-station.service'; import {TyAgentOilStationService} from '../../../../services/ty-agent-oil-station.service';
import {ADMIN_INFO_OBJECT} from "../../../../services/local-storage.namespace"; import {ADMIN_INFO_OBJECT} from "../../../../services/local-storage.namespace";
import {LocalStorageService} from "../../../../services/local-storage.service"; import {LocalStorageService} from "../../../../services/local-storage.service";

@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {TyAgentService} from '../../../services/ty-agent.service'; import {TyAgentService} from '../../../services/ty-agent.service';
import {TyAgentOilStationService} from '../../../services/ty-agent-oil-station.service'; import {TyAgentOilStationService} from '../../../services/ty-agent-oil-station.service';
import {Validators} from '@angular/forms'; import {Validators} from '@angular/forms';

@ -13,7 +13,7 @@ import { TySalesmanListComponent } from './ty-salesman/ty-salesman-list/ty-sales
import { TySalesmanEditComponent } from './ty-salesman/ty-salesman-edit/ty-salesman-edit.component'; import { TySalesmanEditComponent } from './ty-salesman/ty-salesman-edit/ty-salesman-edit.component';
import { OrderStComponent } from './order-st/order-st.component'; import { OrderStComponent } from './order-st/order-st.component';
import { TyOrderListComponent } from './order/ty-order-list/ty-order-list.component'; import { TyOrderListComponent } from './order/ty-order-list/ty-order-list.component';
import {NgxEchartsModule} from '_ngx-echarts@4.2.2@ngx-echarts'; import {NgxEchartsModule} from 'ngx-echarts';
@NgModule({ @NgModule({
declarations: [PetrolStationManageComponent, TyAgentListComponent, TyAgentEditComponent, TySalesmanListComponent, TySalesmanEditComponent, OrderStComponent, TyOrderListComponent], declarations: [PetrolStationManageComponent, TyAgentListComponent, TyAgentEditComponent, TySalesmanListComponent, TySalesmanEditComponent, OrderStComponent, TyOrderListComponent],

@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {TyAgentService} from '../../../../services/ty-agent.service'; import {TyAgentService} from '../../../../services/ty-agent.service';
@Component({ @Component({

@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzModalService} from 'ng-zorro-antd';
import {ActivatedRoute, Router} from '_@angular_router@9.0.7@@angular/router'; import {ActivatedRoute, Router} from '@angular/router';
import {TySalesmanService} from '../../../../services/ty-salesman.service'; import {TySalesmanService} from '../../../../services/ty-salesman.service';
@Component({ @Component({

@ -1,10 +1,10 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms'; import {FormBuilder, FormGroup} from '@angular/forms';
import {NzMessageService, NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; import {NzMessageService, NzModalService} from 'ng-zorro-antd';
import {TySalesmanService} from '../../../../services/ty-salesman.service'; import {TySalesmanService} from '../../../../services/ty-salesman.service';
import {ADMIN_INFO_OBJECT} from "../../../../services/local-storage.namespace"; import {ADMIN_INFO_OBJECT} from "../../../../services/local-storage.namespace";
import {LocalStorageService} from "../../../../services/local-storage.service"; import {LocalStorageService} from "../../../../services/local-storage.service";
import {ActivatedRoute} from "_@angular_router@9.0.7@@angular/router"; import {ActivatedRoute} from "@angular/router";
@Component({ @Component({
selector: 'app-ty-salesman-list', selector: 'app-ty-salesman-list',

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -185,4 +185,10 @@ export class AgentService {
callBack(data); callBack(data);
}); });
} }
public getReceiveLink(id: number, callBack) {
this.http.get(environment.baseUrl + 'discountAgentRel/getReceiveLink?id=' + id).subscribe(data => {
callBack(data);
});
}
} }

@ -1,7 +1,7 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from "_@angular_common@9.0.7@@angular/common/http";
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from "../../environments/environment"; import {environment} from "../../environments/environment";
import {HttpClient} from '@angular/common/http';
@Injectable({ @Injectable({
providedIn: 'root' providedIn: 'root'

@ -1,7 +1,7 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from "../../environments/environment"; import {environment} from "../../environments/environment";
import {HttpClient} from '@angular/common/http';
@Injectable({ @Injectable({
providedIn: 'root' providedIn: 'root'

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -1,7 +1,8 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';
import {HttpClient} from '@angular/common/http';
@Injectable({ @Injectable({
providedIn: 'root' providedIn: 'root'

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from '../commons.service'; import {CommonsService} from '../commons.service';
import {environment} from '../../../environments/environment'; import {environment} from '../../../environments/environment';

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from '../commons.service'; import {CommonsService} from '../commons.service';
import {environment} from '../../../environments/environment'; import {environment} from '../../../environments/environment';

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -1,7 +1,7 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from "_@angular_common@9.0.7@@angular/common/http";
import {CommonsService} from "./commons.service"; import {CommonsService} from "./commons.service";
import {environment} from "../../environments/environment"; import {environment} from "../../environments/environment";
import {HttpClient} from '@angular/common/http';
@Injectable({ @Injectable({
providedIn: 'root' providedIn: 'root'

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {HttpClient} from '_@angular_common@9.0.7@@angular/common/http'; import {HttpClient} from '@angular/common/http';
import {CommonsService} from './commons.service'; import {CommonsService} from './commons.service';
import {environment} from '../../environments/environment'; import {environment} from '../../environments/environment';

Loading…
Cancel
Save