diff --git a/src/app/routes/account/components/center/center.component.ts b/src/app/routes/account/components/center/center.component.ts index 39fbbdf6..713b106b 100644 --- a/src/app/routes/account/components/center/center.component.ts +++ b/src/app/routes/account/components/center/center.component.ts @@ -135,19 +135,7 @@ export class AccountComponentsCenterComponent implements OnInit { } getInfo() { this.service.http.post(this.service.$api_get_current_user_info).subscribe((res) => { - console.log(res) this.infoData = res.data; - // this.infoData.avatar = [ - // { - // uid: -1, - // name: 'LOGO', - // status: 'done', - // url: res.data.avatar, - // response: { - // url: res.data.avatar, - // }, - // }, - // ]; }); } diff --git a/src/app/routes/account/components/edit-name/edit-name.component.ts b/src/app/routes/account/components/edit-name/edit-name.component.ts index e2506b1e..0fc73231 100644 --- a/src/app/routes/account/components/edit-name/edit-name.component.ts +++ b/src/app/routes/account/components/edit-name/edit-name.component.ts @@ -39,7 +39,6 @@ export class AccountComponentsEditNameComponent implements OnInit, AfterViewInit } ngOnInit() { - console.log(this.i) this.codeTips = '为了账户安全,需您的手机验证(' + this.i?.phone + ')'; this.formData.oldName = this.i?.phone; this.initSF(); @@ -140,7 +139,6 @@ export class AccountComponentsEditNameComponent implements OnInit, AfterViewInit // phoneNumber: phone }; this.service.request(this.service.$api_get_current_user_smVerification, params, 'POST', true, 'FORM').subscribe((res) => { - console.log(res); // code==503046 弹出网易盾 if (res && res.code === '1') { this.service.msgSrv.success('发送成功'); @@ -158,7 +156,6 @@ export class AccountComponentsEditNameComponent implements OnInit, AfterViewInit phoneNumber: this.sfView.value.phone }; this.service.request(this.service.$api_get_getSMVerificationCode, params, 'POST', true, 'FORM').subscribe((res) => { - console.log(res); // code==503046 弹出网易盾 if (res && res.code === '1') { this.service.msgSrv.success('发送成功'); @@ -210,27 +207,22 @@ export class AccountComponentsEditNameComponent implements OnInit, AfterViewInit this.modal.destroy(); } submitForm() { - console.log(this.sf.value, 'this.sf.value'); const params = { smsVerifyCode: this.sf.value.smsVerifyCode, }; this.service.http.post(this.service.$api_get_verifyPhone, params).subscribe((res) => { - console.log(res, 'submitForm'); if (res.success) { this.service.msgSrv.success(res.msg); // this.modal.close(true); this.voucher = res.data.voucher this.isVisibleView = true - } else { - this.service.msgSrv.warning(res.msg); } }); } handleCancel(type: string) { if(type === '1') { - console.log(type) this.isVisibleView = false } else if(type === '2') { console.log(type) @@ -242,18 +234,14 @@ export class AccountComponentsEditNameComponent implements OnInit, AfterViewInit } handleNew() { - console.log(this.voucher) const params = { voucher: this.voucher, ...this.sfView.value, } this.service.http.post(this.service.$api_set_voucherUpdatePhone, params).subscribe((res) => { - console.log(res); if (res.success) { this.service.msgSrv.success(res.msg); this.isVisibleOk = true; - } else { - this.service.msgSrv.warning(res.msg); } }); } diff --git a/src/app/routes/account/components/edit-password/edit-password.component.ts b/src/app/routes/account/components/edit-password/edit-password.component.ts index f180ac1d..825a3b82 100644 --- a/src/app/routes/account/components/edit-password/edit-password.component.ts +++ b/src/app/routes/account/components/edit-password/edit-password.component.ts @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-11-29 13:50:46 - * @LastEditTime: 2021-12-28 14:19:32 + * @LastEditTime: 2022-01-18 16:37:42 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \tms-obc-web\src\app\routes\account\components\edit\edit.component.ts @@ -57,7 +57,6 @@ export class AccountComponentsCenterEditComponent implements OnInit { ngOnInit() { this.initForm(); - console.log(this.record.phone) } initForm () { this.validateForm = this.fb.group({ @@ -77,7 +76,6 @@ export class AccountComponentsCenterEditComponent implements OnInit { } getCaptcha(e: MouseEvent): void { this.service.request(this.service.$api_get_current_user_smVerification).subscribe(res => { - console.log(res); // code==503046 弹出网易盾 if (res && res.code === '1') { this.service.msgSrv.success('发送成功'); @@ -93,13 +91,9 @@ export class AccountComponentsCenterEditComponent implements OnInit { this.service.msgSrv.warning('必填项为空或格式错误,请检查!') return; } - console.log(this.validateForm) - console.log(this.validateForm.value) const params = { ...this.validateForm.value }; - console.log(params) - this.service.request(this.service.$api_set_phoneUpdatePassword, params).subscribe((res) => { if (res) { this.service.msgSrv.success('修改密码成功!'); @@ -109,8 +103,6 @@ export class AccountComponentsCenterEditComponent implements OnInit { this.router.navigate(['/passport/login']) this.modalRef.close() }, 3000) - } else { - this.service.msgSrv.error(res.msg); } }); } diff --git a/src/app/routes/contract-management/components/contract-detail/contract-detail.component.ts b/src/app/routes/contract-management/components/contract-detail/contract-detail.component.ts index 6cc6e38b..7edb6217 100644 --- a/src/app/routes/contract-management/components/contract-detail/contract-detail.component.ts +++ b/src/app/routes/contract-management/components/contract-detail/contract-detail.component.ts @@ -2,7 +2,7 @@ import { Router } from '@angular/router'; /* * @Author: your name * @Date: 2022-01-05 11:01:55 - * @LastEditTime: 2022-01-10 15:56:26 + * @LastEditTime: 2022-01-18 16:37:53 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \tms-obc-web\src\app\routes\contract-management\components\contract-template-detail\contract-template-detail.component.ts @@ -52,13 +52,10 @@ export class ContractManagementDetailComponent implements OnInit { initData(url: string) { this.service.request(url, {id: this.route.snapshot.params.id}).subscribe((res) => { - console.log(res) if(res) { this.detailList = res; this.detailList = res; let value :any= JSON.parse(res.contractParameter) - console.log(value['${code}']) - console.log(value['${name}']) this.code = value['${code}'] this.name =value['${name}'] } diff --git a/src/app/routes/contract-management/components/contract-template-detail/contract-template-detail.component.ts b/src/app/routes/contract-management/components/contract-template-detail/contract-template-detail.component.ts index 1c293c9d..8d46bd68 100644 --- a/src/app/routes/contract-management/components/contract-template-detail/contract-template-detail.component.ts +++ b/src/app/routes/contract-management/components/contract-template-detail/contract-template-detail.component.ts @@ -2,7 +2,7 @@ import { Router } from '@angular/router'; /* * @Author: your name * @Date: 2022-01-05 11:01:55 - * @LastEditTime: 2022-01-10 14:48:32 + * @LastEditTime: 2022-01-18 16:38:01 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \tms-obc-web\src\app\routes\contract-management\components\contract-template-detail\contract-template-detail.component.ts @@ -67,9 +67,6 @@ export class ContractManagementTemplateDetailComponent implements OnInit { this.isUpdate =false; this.initData(this.service.$api_get_contractTemplate) } - - console.log(this.route.snapshot.params.id) - console.log(this.route.snapshot.queryParams.status) } goBack() { window.history.go(-1) @@ -137,7 +134,6 @@ export class ContractManagementTemplateDetailComponent implements OnInit { } initData(url: string) { this.service.request(url, {id: this.route.snapshot.params.id}).subscribe((res) => { - console.log(res) if(res) { this.detailList = res; this.sfdata = res; @@ -150,28 +146,22 @@ export class ContractManagementTemplateDetailComponent implements OnInit { } save () { - console.log(this.sf.value); if( !this.sf.value.templateName || !this.sf.value.templateType || !this.sf2.value.templateContent || !this.title) { this.service.msgSrv.error("必填参数为空,请检查再重新保存!"); return; } if(this.sf.value.templateType == 'MX' ) { - console.log(this.sf.value.contractType) if(this.sf.value.contractType == '') { this.service.msgSrv.error("必填参数为空,请检查再重新保存!"); return; } } - console.log(this.sfdata); - console.log(this.sf2.value); - console.log(this.title); const params = { ...this.sf.value, ...this.sf2.value, templateTitle: this.title } this.service.request(this.service.$api_save_contractTemplate, params).subscribe((res: any) => { - console.log(res) if(res) { this.service.msgSrv.success("保存成功!") this.router.navigate(['/contract-management/template']) diff --git a/src/app/routes/contract-management/components/contract-template/contract-template.component.ts b/src/app/routes/contract-management/components/contract-template/contract-template.component.ts index 46a88162..b3119b8d 100644 --- a/src/app/routes/contract-management/components/contract-template/contract-template.component.ts +++ b/src/app/routes/contract-management/components/contract-template/contract-template.component.ts @@ -166,7 +166,6 @@ export class ContractManagementTemplateComponent implements OnInit { this.sf?.setValue('/_$expand', this._$expand); } tabChange(item: any) { - console.log(item) } /** * 重置表单 diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts index 73497225..f1195aa0 100644 --- a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts +++ b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts @@ -44,8 +44,6 @@ export class AbnormalGoldComponent implements OnInit { nzTitle: '清分', nzContent: ClearingModalComponent, nzOnOk: com => { - console.log(com.sf.value); - return false; } }); diff --git a/src/app/routes/financial-management/components/cost-management/cost-management-detail/cost-management-detail.component.ts b/src/app/routes/financial-management/components/cost-management/cost-management-detail/cost-management-detail.component.ts index e916de08..6ca75378 100644 --- a/src/app/routes/financial-management/components/cost-management/cost-management-detail/cost-management-detail.component.ts +++ b/src/app/routes/financial-management/components/cost-management/cost-management-detail/cost-management-detail.component.ts @@ -25,8 +25,6 @@ export class CostManagementDetailComponent implements OnInit { loadDetail(id: any) { this.service.request(this.service.$api_get_cost_detail, { id }).subscribe(res => { - console.log(res); - if (res) { this.costInfo = res; } diff --git a/src/app/routes/financial-management/components/cost-management/expenses-payable/expenses-payable.component.ts b/src/app/routes/financial-management/components/cost-management/expenses-payable/expenses-payable.component.ts index 343d89d1..7336b09c 100644 --- a/src/app/routes/financial-management/components/cost-management/expenses-payable/expenses-payable.component.ts +++ b/src/app/routes/financial-management/components/cost-management/expenses-payable/expenses-payable.component.ts @@ -139,7 +139,6 @@ export class ExpensesPayableComponent implements OnInit { click: item => { this.st.removeRow(item); this.data = this.data.filter(i => i.id !== item.id); - console.log(this.st.data, this.st._data); } } ] diff --git a/src/app/routes/financial-management/components/cost-management/expenses-receivable/expenses-receivable.component.ts b/src/app/routes/financial-management/components/cost-management/expenses-receivable/expenses-receivable.component.ts index ecb50ca6..44634dda 100644 --- a/src/app/routes/financial-management/components/cost-management/expenses-receivable/expenses-receivable.component.ts +++ b/src/app/routes/financial-management/components/cost-management/expenses-receivable/expenses-receivable.component.ts @@ -138,7 +138,6 @@ export class ExpensesReceivableComponent implements OnInit { click: item => { this.st.removeRow(item); this.data = this.data.filter(i => i.id !== item.id); - console.log(this.st.data, this.st._data); } } ] diff --git a/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts b/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts index 7378bcc2..fd15cc58 100644 --- a/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts +++ b/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts @@ -72,7 +72,6 @@ export class DriverAccountDetailComponent implements OnInit { } stChange(e: STChange): void { - console.log(e); } exportList() { diff --git a/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts b/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts index ad81cea6..81acd0c8 100644 --- a/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts +++ b/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts @@ -72,7 +72,6 @@ export class FreightAccountDetailComponent implements OnInit { } stChange(e: STChange): void { - console.log(e); } exportList() { diff --git a/src/app/routes/financial-management/components/main-account/setting-financial/setting-financial.component.ts b/src/app/routes/financial-management/components/main-account/setting-financial/setting-financial.component.ts index 7a06dda1..db19a720 100644 --- a/src/app/routes/financial-management/components/main-account/setting-financial/setting-financial.component.ts +++ b/src/app/routes/financial-management/components/main-account/setting-financial/setting-financial.component.ts @@ -26,7 +26,6 @@ export class SettingFinancialComponent implements OnInit { this.initSF(this.i); } initSF(staff: any) { - console.log(staff); this.schema = { properties: { name: { @@ -90,7 +89,6 @@ export class SettingFinancialComponent implements OnInit { staffName: this.sf.value.name }; // this.service.request(this.service.$api_addStaff, params).subscribe((res) => { - // console.log(res); // if (res) { // this.service.msgSrv.success('保存成功!'); // this.modal.close(true); diff --git a/src/app/routes/financial-management/components/payable-order/payable-order-detail/payable-order-detail.component.ts b/src/app/routes/financial-management/components/payable-order/payable-order-detail/payable-order-detail.component.ts index 48b7f2dc..5ced86e5 100644 --- a/src/app/routes/financial-management/components/payable-order/payable-order-detail/payable-order-detail.component.ts +++ b/src/app/routes/financial-management/components/payable-order/payable-order-detail/payable-order-detail.component.ts @@ -34,7 +34,6 @@ export class PayableOrderDetailComponent implements OnInit { loadHeadInfo() { this.service.request(this.service.$api_get_fico_ph_header, { id: this.id }).subscribe(res => { - console.log(res); if (res) { this.headerInfo = res; } diff --git a/src/app/routes/financial-management/components/payment-order/payment-order-detail/payment-order-detail.component.ts b/src/app/routes/financial-management/components/payment-order/payment-order-detail/payment-order-detail.component.ts index 6eaf9a05..bfc7dbe8 100644 --- a/src/app/routes/financial-management/components/payment-order/payment-order-detail/payment-order-detail.component.ts +++ b/src/app/routes/financial-management/components/payment-order/payment-order-detail/payment-order-detail.component.ts @@ -30,7 +30,6 @@ export class PaymentOrderDetailComponent implements OnInit { loadHeadInfo() { // this.service.request(this.service.$api_get_input_invoice_header, { id: this.id }).subscribe(res => { - // console.log(res); // if (res) { // this.headerInfo = res; // } diff --git a/src/app/routes/financial-management/components/receivable-order/receivable-order-detail/receivable-order-detail.component.ts b/src/app/routes/financial-management/components/receivable-order/receivable-order-detail/receivable-order-detail.component.ts index 57094f92..bc9ac487 100644 --- a/src/app/routes/financial-management/components/receivable-order/receivable-order-detail/receivable-order-detail.component.ts +++ b/src/app/routes/financial-management/components/receivable-order/receivable-order-detail/receivable-order-detail.component.ts @@ -35,7 +35,6 @@ export class ReceivableOrderDetailComponent implements OnInit { loadHeadInfo() { this.service.request(this.service.$api_get_fico_header, { id: this.id }).subscribe(res => { - console.log(res); if (res) { this.headerInfo = res; } diff --git a/src/app/routes/menu-manager/components/index/index.component.ts b/src/app/routes/menu-manager/components/index/index.component.ts index 5c41d4fb..e11c6ef9 100644 --- a/src/app/routes/menu-manager/components/index/index.component.ts +++ b/src/app/routes/menu-manager/components/index/index.component.ts @@ -51,7 +51,6 @@ export class MenuManagerComponentsIndexComponent implements OnInit { } editValueChange(event: any) { - console.log('editChanged', event); } menuImport(index: number) { @@ -104,7 +103,6 @@ export class MenuManagerComponentsIndexComponent implements OnInit { getMenuByAppID(appId: string) { this.service.request(this.service.$api_get_one, { appId }, 'POST', false).subscribe(res => { - console.log(res); if (res) { const menus = res.data; if (res.data?.length > 0) { diff --git a/src/app/routes/order-management/components/bulk-detail-change/bulk-detail-change.component.ts b/src/app/routes/order-management/components/bulk-detail-change/bulk-detail-change.component.ts index 455893c2..d523bca4 100644 --- a/src/app/routes/order-management/components/bulk-detail-change/bulk-detail-change.component.ts +++ b/src/app/routes/order-management/components/bulk-detail-change/bulk-detail-change.component.ts @@ -85,7 +85,6 @@ loadTime: any; // 货源单设置回显 } ngOnInit(): void { - console.log(this.id) this.initST(); this.initSF(); this.initSF3(); @@ -288,13 +287,11 @@ loadTime: any; // 货源单设置回显 } initData() { this.service.request(this.service.$api_set_getBulkOrderDetail, {id: this.id}).subscribe(res => { - console.log(res) if (res) { this.i = res; // 对装货凭证进行初始化 let arr : any= [] res?.receiptFilePath.forEach((element: any, index: any) => { - console.log(index) arr.push( { url: element, status: 'done', @@ -458,9 +455,7 @@ loadTime: any; // 货源单设置回显 unloadingPeopleVehiclesGoodsFilePath: this.sf.value?.unloadingPeopleVehiclesGoodsFilePath?.data ? this.sf.value?.unloadingPeopleVehiclesGoodsFilePath.data.fullFilePath : this.sf.value?.unloadingPeopleVehiclesGoodsFilePath?.url, } - console.log(params) this.service.request(this.service.$api_set_modifyBulkOrder, params).subscribe((res: any) => { - console.log(res) if(res) { this.service.msgSrv.success('修改成功!'); this.router.navigate(['/order-management/bulk']); @@ -765,7 +760,6 @@ handleChange1(info: NzUploadChangeParam): void { case 'done': let fileList = [...info.fileList]; // 2. Read from response and show file link - console.log(fileList) fileList = fileList.map((file: any) => { if (file.response) { file.url = file.response.data.fullFilePath; diff --git a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts index d3ac0654..d68dcc69 100644 --- a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts +++ b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts @@ -60,13 +60,11 @@ export class OrderManagementBulkeDetailComponent implements OnInit { } ngOnInit(): void { - console.log(this.id) this.initData() } initData() { this.service.request(this.service.$api_getBulkBillDetail, {id: this.id}).subscribe(res => { - console.log(res) if (res) { this.i =res; this.attObj = this.i?.billExpenseDetails?.filter((data: any) => data.expenseCode === 'ATT')[0]; @@ -81,7 +79,6 @@ export class OrderManagementBulkeDetailComponent implements OnInit { } // 修改订单 changeOrder() { - console.log(this.id) this.router.navigate(['order-management/bulk-detailChange', this.id]) } agreement(value: any) { diff --git a/src/app/routes/order-management/components/bulk/bulk.component.ts b/src/app/routes/order-management/components/bulk/bulk.component.ts index 75834a8c..c456c0f8 100644 --- a/src/app/routes/order-management/components/bulk/bulk.component.ts +++ b/src/app/routes/order-management/components/bulk/bulk.component.ts @@ -138,7 +138,6 @@ tabs = { }) } selectChange(e: number) { - console.log(e); this.resourceStatus = e; this.initST(); setTimeout(() => { @@ -181,7 +180,6 @@ tabs = { searchDebounceTime: 300, searchLoadingText: '搜索中...', onSearch: (q: any) => { - console.log(q) if (!!q) { return this.service .request(this.service.$api_enterpriceList, { enterpriseName: q}) @@ -211,78 +209,32 @@ tabs = { } } }, - driverId: { + driverName: { title: '承运司机', type: 'string', ui: { - widget: 'select', - serverSearch: true, - searchDebounceTime: 300, - searchLoadingText: '搜索中...', - onSearch: (q: any) => { - if (!!q) { - return this.service - .request(this.service.$api_get_getDriverInfo, { keyword: q, model: 1, type: 1 }) - .pipe(map(res => (res as any[]).map(i => ({ label: i.name, value: i.appUserId } as SFSchemaEnum)))) - .toPromise(); - } else { - return of([]); - } - }, visibleIf: { _$expand: (value: boolean) => value } - } as SFSelectWidgetSchema + } }, - carNo: { title: '车牌号', type: 'string', ui: { - widget: 'select', - serverSearch: true, - searchDebounceTime: 300, - searchLoadingText: '搜索中...', - onSearch: (q: any) => { - if (!!q) { - return this.service - .request(this.service.$api_get_getCarLicenseListByCarNo, { - carNo: q - }) - .pipe(map((res: any) => (res?.records as any[]).map(i => ({ label: i.carNo, value: i.appUserId } as SFSchemaEnum)))) - .toPromise(); - } else { - return of([]); - } - }, visibleIf: { _$expand: (value: boolean) => value } - } as SFSelectWidgetSchema + } }, - payeeId: { + captainName: { title: '车队长', type: 'string', ui: { - widget: 'select', - serverSearch: true, - searchDebounceTime: 300, - searchLoadingText: '搜索中...', - onSearch: (q: any) => { - if (!!q) { - return this.service - .request(this.service.$api_get_getDriverInfo, { keyword: q, - model: 1, type: 2 }) - .pipe(map((res) => (res as any[]).map((i) => ({ label: i.name, value: i.userId } as SFSchemaEnum)))) - .toPromise(); - } else { - return of([]); - } - }, visibleIf: { _$expand: (value: boolean) => value, }, - } as SFSelectWidgetSchema, + } }, paymentstatus: { title: '支付状态', @@ -337,19 +289,6 @@ tabs = { asyncData: () => this.shipperservice.getNetworkFreightForwarder(), }, }, - // goodsName: { - // type: 'string', - // title: '货物名称', - // ui: { - // widget: 'select', - // placeholder: '请选择', - // visibleIf: { - // _$expand: (value: boolean) => value, - // }, - // allowClear: true, - // asyncData: () => this.getCatalogueMember(), - // }, - // }, goodsNameId: { type: 'string', title: '货物名称', @@ -632,7 +571,6 @@ tabs = { this.sf?.setValue('/_$expand', this._$expand); } tabChange(item: any) { - console.log(item) } /** * 重置表单 @@ -642,20 +580,6 @@ tabs = { this._$expand = false; } - - - getCatalogueMember() { - const params = { - }; - return this.service.request(this.service.$api_get_catalogue_member, params, 'GET').pipe( - map((res) => { - if (res) { - console.log(res) - } - }), - ); - } - /** * 导入货源 */ @@ -663,7 +587,6 @@ tabs = { } audit(item: any) { - console.log(item) } /* @@ -673,14 +596,12 @@ tabs = { 查看评价: 3 */ handleCancel(type: string) { - console.log(type) if(type === '0') { this.isVisible = false } else if(type === '1') { console.log(type) this.isVisibleView = false } else if(type === '2') { - console.log(type) this.isVisibleEvaluate = false } } @@ -698,7 +619,6 @@ tabs = { * 浮动费用查看 */ FloatView(item: any) { - console.log(item) this.changeViewId = item.id; this.service.request(this.service.$api_getChangeRecordBulkDetail, {id: this.changeViewId}).subscribe((res) => { this.ViewCause = res; @@ -709,7 +629,6 @@ tabs = { *查看评价 */ viewEvaluate(item: any) { - console.log(item) this.isVisibleEvaluate = true } /** @@ -759,14 +678,10 @@ tabs = { this.selectedRows.forEach(item => { params.push(item.id); }); - console.log(this.selectedRows) - console.log(params) this.service.request(this.service.$api_get_batchSignBulkOrder, params).subscribe(res => { if (res) { this.st.load(1); this.getGoodsSourceStatistical() - } else { - this.service.msgSrv.error(res.msg); } }); } @@ -794,15 +709,12 @@ tabs = { nzTitle: '是否确定立即撤销费用变更!', nzOnOk: () => this.service.request(this.service.$api_get_revokeChangeRecord, { id: item.id}).subscribe((res) => { - console.log(res) if(res) { this.service.msgSrv.success('撤销成功!') this.stFloat.reload() this.st?.reload(1); this.getGoodsSourceStatistical() - } else { - this.service.msgSrv.error(res.msg) - } + } }) }); } diff --git a/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts b/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts index 8825cab0..7851a2a6 100644 --- a/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts +++ b/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts @@ -142,7 +142,6 @@ export class OrderManagementComplaintDetailComponent implements OnInit { this.complaint = JSON.parse(this.ar.snapshot.queryParams.detail) this.datailList.complainantName = this.complaint?.shipperAppUserName this.datailList.complainantPartyLabel = this.complaint?.driverIdLabel - console.log(this.datailList) } }) } @@ -163,9 +162,6 @@ export class OrderManagementComplaintDetailComponent implements OnInit { } }) } - kkk(value: any) { - console.log(value) - } goBack() { window.history.go(-1) } @@ -182,7 +178,6 @@ export class OrderManagementComplaintDetailComponent implements OnInit { id: this.channelId } this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) =>{ - console.log(res) if(res) { this.service.msgSrv.success('已拒绝!') this.isVisibleRE = false @@ -202,7 +197,6 @@ export class OrderManagementComplaintDetailComponent implements OnInit { id: this.channelId } this.service.request(this.service.$api_get_canelComplaint, paramsa).subscribe((res: any) =>{ - console.log(res) if(res) { this.service.msgSrv.success('已拒绝!') this.isVisibleRE = false @@ -224,7 +218,6 @@ export class OrderManagementComplaintDetailComponent implements OnInit { id: this.channelId } this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) =>{ - console.log(res) if(res) { this.service.msgSrv.success('已通过!') this.isVisibleRE = false diff --git a/src/app/routes/order-management/components/complaint/complaint.component.ts b/src/app/routes/order-management/components/complaint/complaint.component.ts index a1df1d59..6cef6240 100644 --- a/src/app/routes/order-management/components/complaint/complaint.component.ts +++ b/src/app/routes/order-management/components/complaint/complaint.component.ts @@ -217,7 +217,6 @@ export class OrderManagementComplaintComponent implements OnInit { this.sf?.setValue('/_$expand', this._$expand); } tabChange(item: any) { - console.log(item) } /** * 重置表单 @@ -226,24 +225,7 @@ export class OrderManagementComplaintComponent implements OnInit { this.sf.reset(); this._$expand = false; } - - - - // 获取录单员 - getCatalogueMember() { - const params = { - }; - return this.service.request(this.service.$api_get_catalogue_member, params, 'GET').pipe( - map((res) => { - if (res) { - console.log(res) - } - }), - ); - } - selectChange(e: number) { - console.log(e); this.resourceStatus = e; this.initST(); setTimeout(() => { @@ -257,7 +239,6 @@ export class OrderManagementComplaintComponent implements OnInit { } audit(item: any) { - console.log(item) } /* @@ -273,7 +254,6 @@ export class OrderManagementComplaintComponent implements OnInit { id: this.channelId } this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) =>{ - console.log(res) if(res) { this.service.msgSrv.success('已拒绝!') this.isVisibleRE = false @@ -292,7 +272,6 @@ export class OrderManagementComplaintComponent implements OnInit { id: this.channelId } this.service.request(this.service.$api_get_canelComplaint, paramsa).subscribe((res: any) =>{ - console.log(res) if(res) { this.service.msgSrv.success('已拒绝!') this.isVisibleRE = false @@ -313,7 +292,6 @@ export class OrderManagementComplaintComponent implements OnInit { id: this.channelId } this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) =>{ - console.log(res) if(res) { this.service.msgSrv.success('已通过!') this.isVisibleRE = false diff --git a/src/app/routes/order-management/components/risk-detail/risk-detail.component.ts b/src/app/routes/order-management/components/risk-detail/risk-detail.component.ts index c0b000c3..41f20698 100644 --- a/src/app/routes/order-management/components/risk-detail/risk-detail.component.ts +++ b/src/app/routes/order-management/components/risk-detail/risk-detail.component.ts @@ -120,9 +120,6 @@ export class OrderManagementRiskDetailComponent implements OnInit { } }) } - kkk(value: any) { - console.log(value) - } goBack() { window.history.go(-1) } diff --git a/src/app/routes/order-management/components/risk/risk.component.ts b/src/app/routes/order-management/components/risk/risk.component.ts index dfc01f56..d7421ffc 100644 --- a/src/app/routes/order-management/components/risk/risk.component.ts +++ b/src/app/routes/order-management/components/risk/risk.component.ts @@ -391,7 +391,6 @@ export class OrderManagementRiskComponent implements OnInit { selectChange(e: number) { - console.log(e); this.resourceStatus = e; this.initST(); setTimeout(() => { @@ -427,7 +426,6 @@ export class OrderManagementRiskComponent implements OnInit { representationsStatus: 3, }; this.service.request(this.service.$api_get_listRisk_audit, parms).subscribe(res => { - console.log(res); if (res) { this.service.msgSrv.success('审核通过成功!'); this.isVisibleRE = false; @@ -441,7 +439,6 @@ export class OrderManagementRiskComponent implements OnInit { * 审核拒绝按钮 */ reject() { - console.log(this.sfView.value); let idList: any[] = []; if(this.selectedRows.length > 0) { this.selectedRows.forEach(item => { @@ -456,7 +453,6 @@ export class OrderManagementRiskComponent implements OnInit { representationsStatus: 4, }; this.service.request(this.service.$api_get_listRisk_audit, parms).subscribe(res => { - console.log(res); if (res) { this.service.msgSrv.success('审核拒绝成功!'); this.isVisibleRE = false; @@ -477,13 +473,11 @@ export class OrderManagementRiskComponent implements OnInit { } else { this.initSTAudit(2); } - console.log(item); } /** *查看详情 */ viewEvaluate(item: any) { - console.log(item); this.router.navigate(['/order-management/risk-detail', item.id]); } } diff --git a/src/app/routes/order-management/components/vehicle/vehicle.component.ts b/src/app/routes/order-management/components/vehicle/vehicle.component.ts index a536c6bf..6e066b53 100644 --- a/src/app/routes/order-management/components/vehicle/vehicle.component.ts +++ b/src/app/routes/order-management/components/vehicle/vehicle.component.ts @@ -127,7 +127,6 @@ resourceStatus: any; GoingQuantity: 0, totalCount: 0 }; - console.log(this.tabs) this.service.request(this.service.$api_statisticalStatus,{...this.reqParams}).subscribe(res => { if (res) { let totalCount = 0; @@ -177,7 +176,6 @@ resourceStatus: any; searchDebounceTime: 300, searchLoadingText: '搜索中...', onSearch: (q: any) => { - console.log(q) if (!!q) { return this.service .request(this.service.$api_enterpriceList, { enterpriseName: q}) @@ -207,78 +205,56 @@ resourceStatus: any; } } }, - driverId: { + // driverId: { + // title: '承运司机', + // type: 'string', + // ui: { + // widget: 'select', + // serverSearch: true, + // searchDebounceTime: 300, + // searchLoadingText: '搜索中...', + // onSearch: (q: any) => { + // if (!!q) { + // return this.service + // .request(this.service.$api_get_getDriverInfo, { keyword: q, model: 1, type: 1 }) + // .pipe(map(res => (res as any[]).map(i => ({ label: i.name, value: i.appUserId } as SFSchemaEnum)))) + // .toPromise(); + // } else { + // return of([]); + // } + // }, + // visibleIf: { + // _$expand: (value: boolean) => value + // } + // } as SFSelectWidgetSchema + // }, + driverName: { title: '承运司机', type: 'string', ui: { - widget: 'select', - serverSearch: true, - searchDebounceTime: 300, - searchLoadingText: '搜索中...', - onSearch: (q: any) => { - if (!!q) { - return this.service - .request(this.service.$api_get_getDriverInfo, { keyword: q, model: 1, type: 1 }) - .pipe(map(res => (res as any[]).map(i => ({ label: i.name, value: i.appUserId } as SFSchemaEnum)))) - .toPromise(); - } else { - return of([]); - } - }, visibleIf: { _$expand: (value: boolean) => value } - } as SFSelectWidgetSchema + } }, - CarNo: { + carNo: { title: '车牌号', type: 'string', ui: { - widget: 'select', - serverSearch: true, - searchDebounceTime: 300, - searchLoadingText: '搜索中...', - onSearch: (q: any) => { - if (!!q) { - return this.service - .request(this.service.$api_get_getCarLicenseListByCarNo, { - carNo: q - }) - .pipe(map((res: any) => (res?.records as any[]).map(i => ({ label: i.carNo, value: i.id } as SFSchemaEnum)))) - .toPromise(); - } else { - return of([]); - } - }, visibleIf: { _$expand: (value: boolean) => value } - } as SFSelectWidgetSchema + } }, - payeeId: { + captainName: { title: '车队长', type: 'string', ui: { - widget: 'select', - serverSearch: true, - searchDebounceTime: 300, - searchLoadingText: '搜索中...', - onSearch: (q: any) => { - if (!!q) { - return this.service - .request(this.service.$api_get_getDriverInfo, { keyword: q, - model: 1, type: 2 }) - .pipe(map((res) => (res as any[]).map((i) => ({ label: i.name, value: i.userId } as SFSchemaEnum)))) - .toPromise(); - } else { - return of([]); - } - }, visibleIf: { _$expand: (value: boolean) => value, }, - } as SFSelectWidgetSchema, + } }, paymentStatus: { title: '支付状态', @@ -582,28 +558,11 @@ resourceStatus: any; this.sf.reset(); this._$expand = false; } - - - - // 获取录单员 - getCatalogueMember() { - const params = { - }; - return this.service.request(this.service.$api_get_catalogue_member, params, 'GET').pipe( - map((res) => { - if (res) { - console.log(res) - } - }), - ); - } - selectChange(e: number) { - console.log(e); this.resourceStatus = e; this.initST(); setTimeout(() => { - this.st.load(); + this.st.load(1); this.getGoodsSourceStatistical() }, 500); } @@ -614,7 +573,6 @@ resourceStatus: any; } audit(item: any) { - console.log(item) } /* @@ -680,7 +638,10 @@ resourceStatus: any; // return false; // } }); - modal.afterClose.subscribe(_ => this.st.reload(1)); + modal.afterClose.subscribe(_ => { + this.st.load(1); + this.getGoodsSourceStatistical() + }); } }); } @@ -706,6 +667,7 @@ resourceStatus: any; modal.afterClose.subscribe((result) => { if (result) { this.st.load(1); + this.getGoodsSourceStatistical() } }); } @@ -745,6 +707,7 @@ resourceStatus: any; modal.afterClose.subscribe((result) => { if (result) { this.st.load(1); + this.getGoodsSourceStatistical() } }); } @@ -780,6 +743,7 @@ resourceStatus: any; modal.afterClose.subscribe((result) => { if (result) { this.st.load(1); + this.getGoodsSourceStatistical() } }); } @@ -807,8 +771,6 @@ resourceStatus: any; if(res) { this.service.msgSrv.success('撤销成功!') this.stFloat.reload() - } else { - this.service.msgSrv.error(res.msg) } }) }); @@ -823,7 +785,8 @@ resourceStatus: any; this.service.request(this.service.$api_get_cancelAnOrder, {id: item.id}).subscribe((res) => { if (res === true) { this.service.msgSrv.success('操作成功!'); - this.st?.reload(1); + this.st.load(1); + this.getGoodsSourceStatistical() this.initST(); } }), @@ -841,9 +804,8 @@ resourceStatus: any; this.service.request(this.service.$api_get_batchSignWholeOrder, params).subscribe(res => { if (res) { console.log(res); - this.st?.reload(1); - } else { - this.service.msgSrv.error(res.msg); + this.st.load(1); + this.getGoodsSourceStatistical() } }); } diff --git a/src/app/routes/order-management/modal/bulk/confir-receipt/confir-receipt.component.ts b/src/app/routes/order-management/modal/bulk/confir-receipt/confir-receipt.component.ts index b8f256fd..1853df53 100644 --- a/src/app/routes/order-management/modal/bulk/confir-receipt/confir-receipt.component.ts +++ b/src/app/routes/order-management/modal/bulk/confir-receipt/confir-receipt.component.ts @@ -2,7 +2,7 @@ import { preloaderFinished } from '@delon/theme'; /* * @Author: your name * @Date: 2021-12-14 14:03:07 - * @LastEditTime: 2022-01-13 16:19:28 + * @LastEditTime: 2022-01-18 16:34:59 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\update-freight\update-freight.component.ts @@ -76,8 +76,6 @@ export class ConfirReceiptComponent implements OnInit { if(res) { this.service.msgSrv.success('确认签收成功!') this.modal.destroy(true); - } else { - this.service.msgSrv.error(res.msg) } }) } diff --git a/src/app/routes/order-management/modal/vehicle/cancel/cancel.component.ts b/src/app/routes/order-management/modal/vehicle/cancel/cancel.component.ts index 86250b1e..067e50ab 100644 --- a/src/app/routes/order-management/modal/vehicle/cancel/cancel.component.ts +++ b/src/app/routes/order-management/modal/vehicle/cancel/cancel.component.ts @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-12-21 10:14:52 - * @LastEditTime: 2021-12-21 10:17:02 + * @LastEditTime: 2022-01-18 16:35:03 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\cancel\cancel.component.ts @@ -68,8 +68,6 @@ export class OneCarOrderCancelComponent implements OnInit { this.service.request(this.service.$api_get_cancelAnOrder, { id: this.i?.id, ...this.sf.value }).subscribe(res => { if (res) { this.modalRef.close(true); - } else { - this.service.msgSrv.error(res.msg); } }), nzOnCancel: () => this.modalRef.destroy() @@ -78,8 +76,6 @@ export class OneCarOrderCancelComponent implements OnInit { this.service.request(this.service.$api_get_cancelAnOrder, { id: this.i?.id, ...this.sf.value }).subscribe(res => { if (res) { this.modalRef.close(true); - } else { - this.service.msgSrv.error(res.msg); } }); } diff --git a/src/app/routes/order-management/modal/vehicle/confir-receipt/confir-receipt.component.ts b/src/app/routes/order-management/modal/vehicle/confir-receipt/confir-receipt.component.ts index ed49cdde..e526fdc1 100644 --- a/src/app/routes/order-management/modal/vehicle/confir-receipt/confir-receipt.component.ts +++ b/src/app/routes/order-management/modal/vehicle/confir-receipt/confir-receipt.component.ts @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-12-15 13:17:42 - * @LastEditTime: 2022-01-12 14:01:00 + * @LastEditTime: 2022-01-18 16:35:11 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\confir-receipt\confir-receipt.component.ts @@ -79,8 +79,6 @@ export class VehicleConfirReceiptComponent implements OnInit { if(res) { this.service.msgSrv.success('确认签收成功!') this.modal.destroy(); - } else { - this.service.msgSrv.error(res.msg) } }) } diff --git a/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts b/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts index f8d39ee1..e0e8f6e3 100644 --- a/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts +++ b/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts @@ -438,8 +438,6 @@ export class VehicleSureArriveComponent implements OnInit { if(res) { this.service.msgSrv.success('确认到车成功!') this.modal.destroy(true); - } else{ - this.service.msgSrv.error(res.msg) } }) } else { @@ -463,8 +461,6 @@ export class VehicleSureArriveComponent implements OnInit { if(res) { this.service.msgSrv.success('确认到车成功!') this.modal.destroy(true); - } else{ - this.service.msgSrv.error(res.msg) } }) } diff --git a/src/app/routes/order-management/modal/vehicle/sure-depart/sure-depart.component.ts b/src/app/routes/order-management/modal/vehicle/sure-depart/sure-depart.component.ts index b2b11c61..31f94dd1 100644 --- a/src/app/routes/order-management/modal/vehicle/sure-depart/sure-depart.component.ts +++ b/src/app/routes/order-management/modal/vehicle/sure-depart/sure-depart.component.ts @@ -283,8 +283,6 @@ export class VehicleSureDepartComponent implements OnInit { if(res) { this.service.msgSrv.success('确认发车成功!') this.modal.destroy(true); - } else{ - this.service.msgSrv.error(res.msg) } }) } else { @@ -306,8 +304,6 @@ export class VehicleSureDepartComponent implements OnInit { if(res) { this.service.msgSrv.success('确认发车成功!') this.modal.destroy(true); - } else{ - this.service.msgSrv.error(res.msg) } }) } diff --git a/src/app/routes/passport/components/retrieve-password/retrieve-password.component.ts b/src/app/routes/passport/components/retrieve-password/retrieve-password.component.ts index df0184b0..7d5318e8 100644 --- a/src/app/routes/passport/components/retrieve-password/retrieve-password.component.ts +++ b/src/app/routes/passport/components/retrieve-password/retrieve-password.component.ts @@ -163,8 +163,6 @@ export class UserRetrievePasswordComponent implements OnInit, AfterViewInit { } else { this.service.msgSrv.error('获取验证码失败!'); } - } else { - this.service.msgSrv.error(res.msg); } }); } diff --git a/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.ts b/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.ts index 7c948fbf..4e1d92cb 100644 --- a/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.ts +++ b/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.ts @@ -672,8 +672,6 @@ export class SupplyManagementBulkPublishComponent implements OnInit { nzFooter: null, nzComponentParams: { type: 'onecar', change: change } }); - } else { - this.service.msgSrv.error(res.msg); } }); } @@ -700,8 +698,6 @@ export class SupplyManagementBulkPublishComponent implements OnInit { if(this.sf3data.goodsNameId){ this.sf3.setValue('/goodsNameId',this.sf3data.goodsNameId); } - } else { - this.service.msgSrv.error(res.msg); } }); } diff --git a/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.ts b/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.ts index a92774ff..e67e40be 100644 --- a/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.ts +++ b/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.ts @@ -748,8 +748,6 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit { if (this.sf3data?.goodsNameId) { this.sf3.setValue('/goodsNameId', this.sf3data.goodsNameId); } - } else { - this.service.msgSrv.error(res.msg); } }); } diff --git a/src/app/routes/supply-management/components/bulk/bulk.component.ts b/src/app/routes/supply-management/components/bulk/bulk.component.ts index f278a619..13d2036a 100644 --- a/src/app/routes/supply-management/components/bulk/bulk.component.ts +++ b/src/app/routes/supply-management/components/bulk/bulk.component.ts @@ -563,8 +563,6 @@ export class SupplyManagementBulkComponent implements OnInit { this.service.msgSrv.success('已取消货源!') this.st?.reload(); this.getGoodsSourceStatistical(); - } else { - this.service.msgSrv.error(res.msg) } }) }) diff --git a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts index 43331df3..c4474e29 100644 --- a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts +++ b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts @@ -608,12 +608,8 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { .subscribe(res => { if (res) { this.currentRate = res.rate * 100; - } else { - this.service.msgSrv.error(res.msg); } }); - } else { - this.service.msgSrv.error(res.msg); } }); } @@ -706,8 +702,6 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { if (this.sf3data.goodsNameId) { this.sf3.setValue('/goodsNameId', this.sf3data.goodsNameId); } - } else { - this.service.msgSrv.error(res.msg); } }); } @@ -854,8 +848,6 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { nzFooter: null, nzComponentParams: { type: 'onecar', change: change } }); - } else { - this.service.msgSrv.error(res.msg); } }); } diff --git a/src/app/routes/supply-management/components/release-publish/release-publish.component.ts b/src/app/routes/supply-management/components/release-publish/release-publish.component.ts index ae8ea7ec..b1588b47 100644 --- a/src/app/routes/supply-management/components/release-publish/release-publish.component.ts +++ b/src/app/routes/supply-management/components/release-publish/release-publish.component.ts @@ -603,12 +603,8 @@ export class SupplyManagementReleasePublishComponent implements OnInit { .subscribe((res: any) => { if (res) { this.currentRate = res.rate; - } else { - this.service.msgSrv.error(res.msg); } }); - } else { - this.service.msgSrv.error(res.msg); } }); } @@ -767,8 +763,6 @@ export class SupplyManagementReleasePublishComponent implements OnInit { this.service.request(reqUrl, params).subscribe((res: any) => { if (res) { this.openFinishPage(); - } else { - this.service.msgSrv.error(res.msg); } }); } @@ -907,8 +901,6 @@ export class SupplyManagementReleasePublishComponent implements OnInit { if (this.sf3data.goodsNameId) { this.sf3.setValue('/goodsNameId', this.sf3data.goodsNameId); } - } else { - this.service.msgSrv.error(res.msg); } }); } diff --git a/src/app/routes/vehicle/components/list/edit/edit.component.ts b/src/app/routes/vehicle/components/list/edit/edit.component.ts index 183c29a0..ef6b14f3 100644 --- a/src/app/routes/vehicle/components/list/edit/edit.component.ts +++ b/src/app/routes/vehicle/components/list/edit/edit.component.ts @@ -118,8 +118,6 @@ export class VehicleComponentsListEditComponent implements OnInit { if(res) { this.modal.destroy(true); this.service.msgSrv.success('上传协议成功!') - } else { - this.service.msgSrv.error(res.msg) } }) } diff --git a/src/app/routes/vehicle/components/list/img-view/img-view.component.ts b/src/app/routes/vehicle/components/list/img-view/img-view.component.ts index 9df4f200..26149480 100644 --- a/src/app/routes/vehicle/components/list/img-view/img-view.component.ts +++ b/src/app/routes/vehicle/components/list/img-view/img-view.component.ts @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-12-07 17:30:18 - * @LastEditTime: 2022-01-13 11:27:12 + * @LastEditTime: 2022-01-18 16:36:27 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \tms-obc-web\src\app\routes\vehicle\components\list\img-view\img-view.component.ts @@ -39,8 +39,6 @@ export class VehicleImgViewComponent implements OnInit { if(res) { this.modal.destroy(true); this.service.msgSrv.success('已驳回') - } else { - this.service.msgSrv.error(res.msg) } }) } @@ -54,8 +52,6 @@ export class VehicleImgViewComponent implements OnInit { if(res) { this.modal.destroy(true); this.service.msgSrv.success('已通过') - } else { - this.service.msgSrv.error(res.msg) } }) } diff --git a/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html b/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html index 25e7c65c..4bd4d14c 100644 --- a/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html +++ b/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html @@ -1,7 +1,7 @@