From 448dfdc458690537b0211dc8b464075796af3815 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Tue, 11 Jan 2022 09:23:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/index/index/index.component.html | 77 +++++ src/app/admin/index/index/index.component.ts | 90 ++++- .../order-agent/order-agent.component.ts | 2 - src/app/app-routing.module.ts | 4 - src/app/login/login-routing.module.ts | 14 - src/app/login/login.component.html | 311 ------------------ src/app/login/login.component.scss | 129 -------- src/app/login/login.component.ts | 194 ----------- src/app/login/login.module.ts | 20 -- src/app/services/commons.service.ts | 1 - src/app/services/index.service.ts | 94 ++++++ 11 files changed, 259 insertions(+), 677 deletions(-) delete mode 100644 src/app/login/login-routing.module.ts delete mode 100644 src/app/login/login.component.html delete mode 100644 src/app/login/login.component.scss delete mode 100644 src/app/login/login.component.ts delete mode 100644 src/app/login/login.module.ts create mode 100644 src/app/services/index.service.ts diff --git a/src/app/admin/index/index/index.component.html b/src/app/admin/index/index/index.component.html index e69de29..b75c0fa 100644 --- a/src/app/admin/index/index/index.component.html +++ b/src/app/admin/index/index/index.component.html @@ -0,0 +1,77 @@ + + + + + +
+
+
+ +

汇联通预充值账号

+

余额:{{balance}}

+

订单数量:{{balanceData['count']}}

+

支付总额:{{balanceData['payRealPrice'] == null ? '0': balanceData['payRealPrice']}}

+
+
+
+ +

中石化订单

+

订单数量:{{orderData['count']}}

+

订单总额:{{orderData['orderPrice'] == null ? '0': orderData['orderPrice']}}

+

支付总额:{{orderData['payRealPrice'] == null ? '0': orderData['payRealPrice']}}

+
+
+
+ +

话费订单

+

订单数量:{{rechargeData['count']}}

+

订单总额:{{rechargeData['orderPrice'] == null ? '0': rechargeData['orderPrice']}}

+

支付总额:{{rechargeData['payRealPrice'] == null ? '0': rechargeData['payRealPrice']}}

+
+
+
+
+ + + + + + + 编号 + 商品名称 + 订单来源 + 订单类型 + 订单号 + 支付流水号 + 客户名称 + 客户电话 + 支付模式 + 支付方式 + 支付金额 + 生成时间 + 支付时间 + 取消时间 + 状态 + + + + + {{i+1}} + {{data.goodsName}} + {{data.giveawayType}} + {{data.goodsType}} + {{data.orderNo}} + {{data.paySerialNo}} + {{data.memName == null ? '暂无': data.memName}} + {{data.memPhone == null ? '暂无': data.memPhone}} + {{data.payModel}} + {{data.payType}} + {{data.payPrice}} + {{data.createTime | date: 'yyyy-MM-dd HH:mm:ss'}} + {{data.payTime | date: 'yyyy-MM-dd HH:mm:ss'}} + {{data.cancelTime | date: 'yyyy-MM-dd HH:mm:ss'}} + {{data.orderStatus}} + + + + diff --git a/src/app/admin/index/index/index.component.ts b/src/app/admin/index/index/index.component.ts index aa6d1b0..447515a 100644 --- a/src/app/admin/index/index/index.component.ts +++ b/src/app/admin/index/index/index.component.ts @@ -1,4 +1,9 @@ import {Component, OnInit} from '@angular/core'; +import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; +import {LocalStorageService} from '../../../services/local-storage.service'; +import {CommonsService} from '../../../services/commons.service'; +import {IndexService} from '../../../services/index.service'; +import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd'; @Component({ @@ -7,13 +12,94 @@ import {Component, OnInit} from '@angular/core'; styleUrls: ['./index.component.less'] }) export class IndexComponent implements OnInit { - constructor( + secRoleId: number; + loading = true; + isVisible = false; + balance: number; + code = 60; + listOfData; + orderData = {}; + balanceData = {}; + rechargeData = {}; + constructor( + private store: LocalStorageService, // 数据缓存 + private message: NzMessageService, // 信息提示 + private index: IndexService ) { } ngOnInit(): void { - console.log((96.3 + 92.4 + 96.4 + 97.5 + 99.6 + 98.5 + 96.6 + 94.4 + 95.7 + 95.2 + 97.8 + 98.9 ) / 12 - 0.393 * 2.03); + this.store.get(ADMIN_INFO_OBJECT)['secRole'].id = this.secRoleId; + if (this.store.get(ADMIN_INFO_OBJECT)['highAgent'] != null) { + this.code = this.store.get(ADMIN_INFO_OBJECT)['highAgent'].id; + } + if (this.store.get(ADMIN_INFO_OBJECT)['bsCompany'].id === 3) { + this.code = 60; + } + this.getHLTBalance(); + this.orderByIndex(); + this.HLTOrderByIndex(); + this.rechargeOrderByIndex(); + this.HLTOrderByList(); + } + + // 查询余额 + public getHLTBalance(): void { + const paramsObject = { + codeType: 'HLT_BALANCE', + codeName: '汇联通预充值余额' + }; + this.index.getHLTBalance(paramsObject , data => { + if (data['return_code'] === '000000') { + this.loading = false; + this.balance = data['return_data']; + } else { + this.message.error(data['return_msg']); + } + }); + } + + public orderByIndex(): void { + this.index.orderByIndex(this.code , data => { + if (data['return_code'] === '000000') { + this.orderData = data['return_data']; + this.loading = false; + } else { + this.message.error(data['return_msg']); + } + }); } + public HLTOrderByIndex(): void { + this.index.HLTOrderByIndex(this.code , data => { + if (data['return_code'] === '000000') { + this.balanceData = data['return_data']; + this.loading = false; + } else { + this.message.error(data['return_msg']); + } + }); + } + + public rechargeOrderByIndex(): void { + this.index.rechargeOrderByIndex(this.code , data => { + if (data['return_code'] === '000000') { + this.rechargeData = data['return_data']; + this.loading = false; + } else { + this.message.error(data['return_msg']); + } + }); + } + + public HLTOrderByList(): void { + this.index.HLTOrderByList(this.code , data => { + if (data['return_code'] === '000000') { + this.listOfData = data['return_data']; + } else { + this.message.error(data['return_msg']); + } + }); + } } diff --git a/src/app/admin/order/order-agent/order-agent.component.ts b/src/app/admin/order/order-agent/order-agent.component.ts index aff4d31..9464cd3 100644 --- a/src/app/admin/order/order-agent/order-agent.component.ts +++ b/src/app/admin/order/order-agent/order-agent.component.ts @@ -45,8 +45,6 @@ export class OrderAgentComponent implements OnInit { } ngOnInit(): void { - console.log(this.store.get(ADMIN_INFO_OBJECT)['highAgent']['id']); - this.init(); const whereObject = {}; whereObject['pageNum'] = 1; diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 4bfd38e..7a67b41 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -9,10 +9,6 @@ const routes: Routes = [ path: 'adminLogin', loadChildren: () => import('./admin/login/login.module').then(m => m.LoginModule) }, - { - path: 'login', - loadChildren: () => import('./login/login.module').then(m => m.LoginModule) - }, { path: 'admin', component: NavigationComponent, children: [ diff --git a/src/app/login/login-routing.module.ts b/src/app/login/login-routing.module.ts deleted file mode 100644 index 3e7a40e..0000000 --- a/src/app/login/login-routing.module.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { NgModule } from '@angular/core'; -import { Routes, RouterModule } from '@angular/router'; -import {LoginComponent} from './login.component'; - - -const routes: Routes = [ - { path: '', component: LoginComponent} -]; - -@NgModule({ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule] -}) -export class LoginRoutingModule { } diff --git a/src/app/login/login.component.html b/src/app/login/login.component.html deleted file mode 100644 index 98c674a..0000000 --- a/src/app/login/login.component.html +++ /dev/null @@ -1,311 +0,0 @@ -
-
-
- - -
-
- - -
-

(本协议于2020年9月23日最新修订)

-

- 尊敬的用户,我们对《瑞职网用户协议》进行了更新,此版本更新主要集中在用户注册相关条款的修改以及关联平台用人者可同步获取用户简历的新功能。 -

-

正文:

-

- 《瑞职网用户协议》(以下简称“本协议”)作为瑞职网(以下简称“本网站”)提供服务的依据,确定用户在何种条件、以何种方式使用本网站及本网站的服务(具体载体包括但不限于网页、APP应用程序、微信公众号平台、微信小程序等)。在使用本网站及相关服务前,您应当注册成为本网站用户。进行用户注册时,请您认真阅读本协议(尤其是字体加粗及/或下划线的内容),一旦完成注册即表示您已经知悉并了解本协议,接受本协议的条款约束,本协议当即具有合同效力; 如您对本协议的任何条款表示异议,您应当立即停止访问瑞职网及使用相关服务。用户根据自身招聘需求可以向本平台购买其他付费服务/产品,相关服务/产品的部分或全部利用本网站所提供的互联网信息业务和增值业务(载体包括但不限于网页、APP、微信公众号、微信小程序等),也应遵守本用户协议的规定。 -

-

- 本协议包括基于本协议制定的各项规则,所有规则为本协议不可分割的一部分,与本协议具有同等效力。随着平台业务经营的发展及相关政策的变更,本网站用户协议将不时更新,我们会通过在网站公告、APP端推送、电子邮件等适当方式提醒您相关内容的更新。当您继续使用本网站及相关服务,则视为您接受协议的变更,否则您应当停止访问网站及使用服务。 -

- -

一、服务描述及定义

-

- 本网站是连接候选人与用人者的中介信息平台及职业社区。“本网站”“本平台”“瑞职”“瑞职招聘”:指四川信华腾科技有限公司全权所有并运营的瑞职网。“用户”:指具有完全民事行为能力的瑞职网使用者。用户身份包括“用人者”、“候选人”等。“用人者”:指有用人需求,具有用人资格,在本网站上发布招聘及相关信息的企事业公司或其他组织。“候选人”:指利用本网站进行职位浏览、投递等等行为的个人。“账号”:指用户为使用本网站及相关服务而登记注册的用户身份识别信息;用户只有注册账号才能使用本网站的服务。 -

-

二、成为注册用户

-

(一)用户主体适格

-

- 符合下列条件之一且未曾被本网站封禁账户的自然人或者组织可以注册成为本网站用户,但本网站不保证一定能够通过注册。 -

- -

(二)用户信息完备

-

- 用户需要提供明确的联系方式、通讯地址、注册者真实姓名或名称、资质文件(如企业营业执照、个人身份证)等信息方能完成注册或使用本网站的服务。为了合法、合规地为用户提供更好的服务,本网站将不时调整用户需提交的信息,。如用户不同意提供上述信息,则应当停止使用本网站的服务。用户保证以上信息真实、合法、准确,并同意本网站对其注册信息资料进行审查,并就相关疑问或问题进行解答。本网站将在必要的限度内收集、使用这些信息,并会妥善保存、处理这些信息,具体规则可参见《瑞职网隐私政策》 -

-

(三)禁止入驻情形

- -

三、本网站的使用

-

- 用户依据协议及本网站发布的相关规则,在本站进行找工作、招聘及职业问答等活动,享受本网站的用户福利、接受本网站的资讯信息及使用其他服务,具体形式包括但不限于上传简历、发布招聘岗位、在线交流、职业问答、社区交流等。用户与平台基于服务各自享有必要的权利,承担相应的义务。 -

-

(一)用户承诺

- -

(二)用户行为限制

- -

(三)用人者的特别保证

- -

(四)找工作行为

- -

(五)招聘行为

- -

(六)用户间保密

-

- 用户对利用本网站服务进行找工作、招聘和职业问答活动,从而获取的其他用户的任何信息,负有保密的义务。保密的程度依据法律法规、用户间的合意以及一般人的合理注意义务决定。 -

-

(七)用户间纠纷

- -

(八)用户反馈

- -

(九)推广和宣传

- -

四、服务的中断或终止

- -

五、责任声明

- -

六、陈述与保证

-

(一)知识产权

- -

(二)隐私权

- -

(三)保密义务

-

- 用户保证在使用本网站过程中所获悉的属于本网站及他方的且无法自公开渠道获得的文件及资料(包括但不限于个人信息、商业秘密、公司计划、运营活动、财务信息、技术信息、经营信息及其他商业秘密)属于保密信息。对于此等信息,本网站对用户负有保密义务,用户之间也负有保密义务。未经该资料和文件的原提供方同意,任何一方不得向第三方泄露该保密信息的全部或者部分内容。但法律、行政法规、部门规章等规范性文件另有规定或者双方另有约定的除外。

-

七、协议解除、终止

-

有以下情形的,本协议归于解除或终止:

- -

八、违约责任

- -

为了核查用户的问题并及时向用户反馈,我们可能需要用户提交身份证明、有效联系方式和书面请求及相关证据。我们将尽快处理用户的问题,用户仍然可以按照法律法规规定向有关政府部门进行反馈。 -

-

十、其他

- -
-
diff --git a/src/app/login/login.component.scss b/src/app/login/login.component.scss deleted file mode 100644 index 7c9c465..0000000 --- a/src/app/login/login.component.scss +++ /dev/null @@ -1,129 +0,0 @@ -.top { - width: 100%; - height: 100px; - line-height: 100px; - img { - margin-left: 15%; - height: 60px; - } - a { - float: right; - margin-right: 10%; - } -} - -.main { - width: 100%; - height: 630px; - background: url(../../assets/common/homeLoginBg.png); - padding-top: 70px; - .main_login { - width: 1000px; - height: 460px; - margin: 0 auto; - .main_login_left { - width: 600px; - height: 100%; - .main_login_left_top { - width: 100%; - height: 66px; - background-color: var(--white); - border-radius: 6px; - .click { - background-color: var(--blue); - color: var(--white); - } - .unClick { - background-color: var(--white); - color: #747474; - } - .main_login_left_top_piece { - width: 96px; - height: 44px; - line-height: 44px; - text-align: center; - margin-top: 11px; - margin-left: 20px; - border-radius: 4px; - font-size: var(--size); - } - } - .main_login_left_main { - width: 100%; - height: 376px; - margin-top: 18px; - .main_login_left_top_company { - width: 140px; - height: 84px; - margin-top: 10px; - margin-left: 8px; - background-color: var(--white); - border-radius: 4px; - img { - border-radius: 4px; - width: 100%; - height: 100%; - } - - } - } - } - .main_login_right { - width: 366px; - height: 100%; - background-color: var(--white); - border-radius: 6px; - .main_login_right_top { - width: 100%; - height: 88px; - line-height: 102px; - font-size: 24px; - font-weight: bold; - text-align: center; - span { - color: var(--blue); - } - } - .main_login_right_from { - width: 80%; - margin-left: 10%; - padding: 14px; - height: 240px; - i { - margin-top: 6px; - margin-right: 4px; - font-size: 26px; - } - a { - margin-top: 6px; - } - } - .main_login_right_text { - width: 100%; - height: 100px; - text-align: center; - font-size: 14px; - p { - color: #999999; - } - .main_login_right_text_p { - margin-top: 10px; - text-decoration: underline - } - } - } - } -} - -div.main_login_left_top_company:hover { - box-shadow: 0 0 15px #4E4E4E; - padding:10px; -} -.login-form-button { - width: 265px; - height: 48px; - font-size: 18px; - margin-top: 20px; - border-radius: 6px; -} - diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts deleted file mode 100644 index b26d1f0..0000000 --- a/src/app/login/login.component.ts +++ /dev/null @@ -1,194 +0,0 @@ -import {Component, OnInit} from '@angular/core'; -import {FormBuilder, FormGroup, Validators} from '@angular/forms'; -import {LoginService} from '../services/login.service'; -import {NzMessageService, NzModalService} from 'ng-zorro-antd'; -import {CommonsService} from '../services/commons.service'; -import {ValidatorsService} from '../services/validators.service'; -import { - FRONT_INFO_OBJECT, - INIT_FLAG, - LOGINTYPE, - RESUME_INFO, - RESUME_STATUS, - RESUME_STATUS_NAME, - TOKEN -} from '../services/local-storage.namespace'; -import {LocalStorageService} from '../services/local-storage.service'; -import {Router} from '@angular/router'; -import {environment} from '../../environments/environment'; - -@Component({ - selector: 'app-login', - templateUrl: './login.component.html', - styleUrls: ['./login.component.scss'] -}) -export class LoginComponent implements OnInit { - imageUrl = environment.imageUrl; - topPieceList = []; - - // 验证码倒计时参数 - verifyCode: any = { - verifyCodeTips: '获取验证码', - countDown: 60, - disable: false - }; - topCompanyList = []; - validateForm!: FormGroup; - isVisible; // 协议 - type = true; // true 验证码登录 false 密码登录 - typeName = '密码登录'; - constructor( - private fb: FormBuilder, - private login: LoginService, - private message: NzMessageService, - private commons: CommonsService, - private store: LocalStorageService, // 数据请求 - private router: Router, // 路由 - private modal: NzModalService - ) { - } - - ngOnInit(): void { - this.validateForm = this.fb.group({ - phone: [null, [Validators.required , ValidatorsService.mobile]], - code: [null, [Validators.required]], - password: [null, [Validators.required]], - }); - - this.commons.getDictionary('HOME_INDUSTRY', data => { - this.topPieceList = data['return_data']; - for (let i = 0; i < this.topPieceList.length; i++) { - if (i === 0) { - this.topPieceList[i]['isClick'] = true; - this.getHomeCompanyList(this.topPieceList[i]['codeName']); - } else { - this.topPieceList[i]['isClick'] = false; - } - } - }); - } - - public getClick(i): void { - // tslint:disable-next-line:forin - for (const index in this.topPieceList) { - this.topPieceList[index].isClick = Number(index) === Number(i); - } - this.getHomeCompanyList(this.topPieceList[i]['codeName']); - } - - public getHomeCompanyList(industry) { - const object = { - industryCategoryName: industry, - showNum: 15 - }; - this.commons.getHomeCompanyList(object, data => { - this.topCompanyList = data['return_data']; - }); - } - - // 倒计时旧方法 - public getCountDown() { - if (this.verifyCode.countDown === 0) { - this.verifyCode.countDown = 60; - this.verifyCode.verifyCodeTips = '重新获取验证码'; - this.verifyCode.disable = false; - return; - } else { - this.verifyCode.countDown--; - } - this.verifyCode.verifyCodeTips = '重新获取(' + this.verifyCode.countDown + ')'; - this.verifyCode.disable = true; - setTimeout(() => { - this.getCountDown(); - }, 1000); - } - - // 获取验证码 - public getCode(): void { - // tslint:disable-next-line:forin - for (const i in this.validateForm.controls) { - if (i === 'phone' && this.validateForm.controls[i].errors != null) { - this.validateForm.controls[i].markAsDirty(); - this.validateForm.controls[i].updateValueAndValidity(); - return; - } - } - - this.login.sendVerificationCode(this.validateForm.value.phone, data => { - if (data['return_code'] === '000000') { - this.getCountDown(); - } else { - this.message.warning(data['return_msg']); - } - }); - } - - // 登录or注册 - public getLogin(): void { - // tslint:disable-next-line:forin - for (const i in this.validateForm.controls) { - if (this.validateForm.controls[i].errors != null) { - this.validateForm.controls[i].markAsDirty(); - this.validateForm.controls[i].updateValueAndValidity(); - if (this.type && i === 'code' && this.validateForm.controls[i].errors != null) { - return; - } else if (!this.type && i === 'password' && this.validateForm.controls[i].errors != null) { - return; - } - } - } - if (this.type) { - this.validateForm.value.type = 2; - } else { - this.validateForm.value.type = 1; - } - this.login.registerUser(this.validateForm.value, data => { - if (data['return_code'] === '000000') { - if (data['return_code'] === '000000') { - this.store.set(FRONT_INFO_OBJECT, data['return_data']['object']); - this.store.set(RESUME_INFO, data['return_data']['object']['bsResumeModal']); - if (data['return_data']['object']['bsResumeModal']['bsResume'] != null) { - this.store.set(RESUME_STATUS_NAME, data['return_data']['object']['bsResumeModal']['bsResume']['statusName']); - this.store.set(RESUME_STATUS, data['return_data']['object']['bsResumeModal']['bsResume']['status']); - } - this.store.set(TOKEN, data['return_data']['uniqueCode']); - this.store.set(INIT_FLAG, true); - this.store.set(LOGINTYPE , data['return_data']['type']); - - if (data['return_data']['object']['bsResumeModal']['bsResume'] == null) { - this.router.navigateByUrl('/home/resume/editResume').then(); - } else { - this.router.navigateByUrl('/home/index').then(); - } - } else { - this.modal.warning({ - nzTitle: '提示', - nzContent: data['return_msg'] - }); - } - } else { - this.message.warning(data['return_msg']); - } - }); - } - - // 弹出协议 - public showModal(): void { - this.isVisible = true; - } - - // 关闭协议 - public handleCancel(): void { - this.isVisible = false; - } - - // 密码登录 - public getLoginPassword(type): void { - if (type) { - this.typeName = '密码登录'; - } else { - this.typeName = '验证码登录/注册'; - } - this.type = type; - } -} diff --git a/src/app/login/login.module.ts b/src/app/login/login.module.ts deleted file mode 100644 index 8b33cc6..0000000 --- a/src/app/login/login.module.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; - -import { LoginRoutingModule } from './login-routing.module'; -import { LoginComponent } from './login.component'; -import {NgZorroAntdModule} from 'ng-zorro-antd'; -import {FormsModule, ReactiveFormsModule} from '@angular/forms'; - - -@NgModule({ - declarations: [LoginComponent], - imports: [ - CommonModule, - LoginRoutingModule, - NgZorroAntdModule, - ReactiveFormsModule, - FormsModule, - ] -}) -export class LoginModule { } diff --git a/src/app/services/commons.service.ts b/src/app/services/commons.service.ts index 07a56bb..3296637 100644 --- a/src/app/services/commons.service.ts +++ b/src/app/services/commons.service.ts @@ -343,5 +343,4 @@ export class CommonsService { callBack(data); }); } - } diff --git a/src/app/services/index.service.ts b/src/app/services/index.service.ts new file mode 100644 index 0000000..a15b150 --- /dev/null +++ b/src/app/services/index.service.ts @@ -0,0 +1,94 @@ +import { Injectable } from '@angular/core'; +import {HttpClient} from '@angular/common/http'; +import {CommonsService} from './commons.service'; +import {environment} from '../../environments/environment'; + +@Injectable({ + providedIn: 'root' +}) +export class IndexService { + + constructor( + private http: HttpClient, + private common: CommonsService + ) { } + + /** + * @Author Sum1Dream + * @methodName getHLTBalance + * @Description // 查询余额 + * @Date 12:11 下午 2022/1/10 + * @Param [paramsObject: object, callBack] + */ + public getHLTBalance(paramsObject: object, callBack) { + this.http.get(environment.baseUrl + 'common/getHLTBalance?' + this.common.getWhereCondition(paramsObject)).subscribe(data => { + callBack(data); + }); + } + + /** + * @Author Sum1Dream + * @methodName addHLTBalance + * @Description // 新增余额 + * @Date 12:12 下午 2022/1/10 + * @Param + */ + public addHLTBalance(params: object, callBack) { + this.http.post(environment.baseUrl + 'common/addHLTBalance', params).subscribe(data => { + callBack(data); + }); + } + + /** + * @Author Sum1Dream + * @methodName orderByIndex + * @Description // 订单查询 + * @Date 4:39 下午 2022/1/10 + * @Param [code: number, callBack] + */ + public orderByIndex(code: number, callBack) { + this.http.get(environment.baseUrl + 'highOrder/orderByIndex?code=' + code).subscribe(data => { + callBack(data); + }); + } + + /** + * @Author Sum1Dream + * @methodName HLTOrderByIndex + * @Description //查询汇联通订单 + * @Date 4:42 下午 2022/1/10 + * @Param [code: number, callBack] + */ + public HLTOrderByIndex(code: number, callBack) { + this.http.get(environment.baseUrl + 'highOrder/HLTOrderByIndex?code=' + code).subscribe(data => { + callBack(data); + }); + } + + /** + * @Author Sum1Dream + * @methodName rechargeOrderByIndex + * @Description //TODO + * @Date 4:44 下午 2022/1/10 + * @Param [code: number, callBack] + */ + public rechargeOrderByIndex(code: number, callBack) { + this.http.get(environment.baseUrl + 'outRechargeOrder/rechargeOrderByIndex?code=' + code).subscribe(data => { + callBack(data); + }); + } + + /** + * @Author Sum1Dream + * @methodName HLTOrderByList + * @Description // 查询列表 + * @Date 5:34 下午 2022/1/10 + * @Param + */ + public HLTOrderByList(code: number, callBack) { + this.http.get(environment.baseUrl + 'highOrder/HLTOrderByList?code=' + code).subscribe(data => { + callBack(data); + }); + } + +}