fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-18 09:51:21
|
* @Date : 2022-01-18 09:51:21
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-19 14:20:28
|
* @LastEditTime : 2022-04-20 13:45:11
|
||||||
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -18,19 +18,9 @@ module.exports = {
|
|||||||
// secure: false, // Ignore invalid SSL certificates
|
// secure: false, // Ignore invalid SSL certificates
|
||||||
// changeOrigin: true
|
// changeOrigin: true
|
||||||
// }
|
// }
|
||||||
// '//api': {
|
|
||||||
// target: {
|
|
||||||
// host: 'tms-api.yunduoxing.com',
|
|
||||||
// protocol: 'https:',
|
|
||||||
// port: 443
|
|
||||||
// },
|
|
||||||
// secure: false,
|
|
||||||
// changeOrigin: true,
|
|
||||||
// logLevel: 'debug'
|
|
||||||
// },
|
|
||||||
'//api': {
|
'//api': {
|
||||||
target: {
|
target: {
|
||||||
host: 'tms-api-test.eascs.com',
|
host: 'tms-api.yunduoxing.com',
|
||||||
protocol: 'https:',
|
protocol: 'https:',
|
||||||
port: 443
|
port: 443
|
||||||
},
|
},
|
||||||
@ -38,4 +28,14 @@ module.exports = {
|
|||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
logLevel: 'debug'
|
logLevel: 'debug'
|
||||||
},
|
},
|
||||||
|
// '//api': {
|
||||||
|
// target: {
|
||||||
|
// host: 'tms-api-dev.eascs.com',
|
||||||
|
// protocol: 'https:',
|
||||||
|
// port: 443
|
||||||
|
// },
|
||||||
|
// secure: false,
|
||||||
|
// changeOrigin: true,
|
||||||
|
// logLevel: 'debug'
|
||||||
|
// },
|
||||||
};
|
};
|
||||||
|
|||||||
@ -566,7 +566,7 @@ export class insuranceManagementListComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
// 保险配置
|
// 保险配置
|
||||||
changeOrder() {
|
changeOrder() {
|
||||||
this.router.navigate(['/insurance-management/list-set', 1]);
|
this.router.navigate(['/insurance-management/list-set']);
|
||||||
}
|
}
|
||||||
exprot() {
|
exprot() {
|
||||||
this.service.downloadFile(this.service.$api_get_asyncExport, { ...this.reqParams, pageSize: -1 });
|
this.service.downloadFile(this.service.$api_get_asyncExport, { ...this.reqParams, pageSize: -1 });
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-06 09:24:00
|
* @Date : 2022-01-06 09:24:00
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-25 17:21:54
|
* @LastEditTime : 2022-04-20 10:16:09
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\insurance-management\\insurance-management-routing.module.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\insurance-management\\insurance-management-routing.module.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -16,7 +16,7 @@ import { insuranceManagementSetComponent } from './components/set/set.component'
|
|||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{ path: 'list', component: insuranceManagementListComponent },
|
{ path: 'list', component: insuranceManagementListComponent },
|
||||||
{ path: 'list-set/:id', component: insuranceManagementSetComponent },
|
{ path: 'list-set', component: insuranceManagementSetComponent },
|
||||||
]
|
]
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [RouterModule.forChild(routes)],
|
imports: [RouterModule.forChild(routes)],
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
import { Placeholder } from '@angular/compiler/src/i18n/i18n_ast';
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import { apiConf } from '@conf/api.conf';
|
import { apiConf } from '@conf/api.conf';
|
||||||
import { cacheConf } from '@conf/cache.conf';
|
import { cacheConf } from '@conf/cache.conf';
|
||||||
@ -131,7 +132,8 @@ export class CarSettleCarauthComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
this.sf?.setValue('/carFrontPhotoWatermark', avatar);
|
this.sf?.setValue('/carFrontPhotoWatermark', avatar);
|
||||||
this.detailData.carFrontPhoto = args.file.response.data.fullFilePath
|
this.detailData.carFrontPhoto = args.file.response.data.fullFilePath;
|
||||||
|
this.checkCarCard(args.file.response.data.fullFilePath, 'back');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeUpload: (file: any, _fileList: any) => {
|
beforeUpload: (file: any, _fileList: any) => {
|
||||||
@ -174,12 +176,10 @@ export class CarSettleCarauthComponent implements OnInit {
|
|||||||
carModel: {
|
carModel: {
|
||||||
title: '车型',
|
title: '车型',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
readOnly: true,
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'dict-select',
|
placeholder:'请上传行驶证自动带出'
|
||||||
params: { dictKey: 'car:model' },
|
},
|
||||||
placeholder: '请选择车型',
|
|
||||||
containsAllLabel:false,
|
|
||||||
} as SFSelectWidgetSchema,
|
|
||||||
},
|
},
|
||||||
carLength: {
|
carLength: {
|
||||||
title: '车长',
|
title: '车长',
|
||||||
@ -682,6 +682,7 @@ export class CarSettleCarauthComponent implements OnInit {
|
|||||||
this.sf.setValue('/carDistinguishCode', res.vin);
|
this.sf.setValue('/carDistinguishCode', res.vin);
|
||||||
this.sf.setValue('/carOwner', res.name);
|
this.sf.setValue('/carOwner', res.name);
|
||||||
this.sf.setValue('/useNature', res.useCharacter === '非营运' ? 0 : 1);
|
this.sf.setValue('/useNature', res.useCharacter === '非营运' ? 0 : 1);
|
||||||
|
this.sf.setValue('/carModel', res?.vehicleType);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.sf.setValue('/curbWeight', res.unladenMass);
|
this.sf.setValue('/curbWeight', res.unladenMass);
|
||||||
|
|||||||
Reference in New Issue
Block a user