车辆接口更新
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-01-05 11:01:55
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-01-18 17:16:49
|
||||
* @LastEditTime : 2022-01-19 10:39:55
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-template-detail\\contract-template-detail.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -90,7 +90,7 @@ export class ContractManagementTemplateDetailComponent implements OnInit {
|
||||
default: '',
|
||||
ui: {
|
||||
widget: 'dict-select',
|
||||
params: { dictKey: 'contract:type' },
|
||||
params: { dictKey: 'contract:document:type' },
|
||||
containAllLable: true,
|
||||
visibleIf: {
|
||||
templateType: value => value === 'MX'
|
||||
@ -129,6 +129,7 @@ export class ContractManagementTemplateDetailComponent implements OnInit {
|
||||
this.service.request(url, { id: this.route.snapshot.params.id }).subscribe(res => {
|
||||
if (res) {
|
||||
this.detailList = res;
|
||||
this.title = this.detailList?.templateName
|
||||
this.sfdata = res;
|
||||
this.sfdata2 = res;
|
||||
}
|
||||
@ -139,6 +140,9 @@ export class ContractManagementTemplateDetailComponent implements OnInit {
|
||||
}
|
||||
|
||||
save() {
|
||||
console.log(this.sf.value)
|
||||
console.log(this.sf2.value)
|
||||
console.log(this.title)
|
||||
if (!this.sf.value.templateName || !this.sf.value.templateType || !this.sf2.value.templateContent || !this.title) {
|
||||
this.service.msgSrv.error('必填参数为空,请检查再重新保存!');
|
||||
return;
|
||||
|
||||
@ -80,7 +80,7 @@ export class ContractManagementTemplateComponent implements OnInit {
|
||||
ui: {
|
||||
widget: 'dict-select',
|
||||
params: { dictKey: 'contract:template:type' },
|
||||
containAllLable:true,
|
||||
containsAllLable: true,
|
||||
visibleIf: {
|
||||
_$expand: (value: boolean) => value,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user