提交 81cb4c00 编写于 作者: JunZai's avatar JunZai

update

上级 00ad9cba
...@@ -12,6 +12,8 @@ import { AppSelectModule } from '@components/app-select/app-select.module'; ...@@ -12,6 +12,8 @@ import { AppSelectModule } from '@components/app-select/app-select.module';
import { AppRadioModule } from '@components/app-radio/app-radio.module'; import { AppRadioModule } from '@components/app-radio/app-radio.module';
import { AppCheckboxListModule } from '@components/app-checkbox-list/app-checkbox-list.module'; import { AppCheckboxListModule } from '@components/app-checkbox-list/app-checkbox-list.module';
import { AppCheckboxModule } from '@components/app-checkbox/app-checkbox.module'; import { AppCheckboxModule } from '@components/app-checkbox/app-checkbox.module';
import { AppImageUploadModule } from '@components/app-image-upload/app-image-upload.module';
import { AppFileUploadModule } from '@components/app-file-upload/app-file-upload.module';
@NgModule({ @NgModule({
imports: [ imports: [
...@@ -23,7 +25,9 @@ import { AppCheckboxModule } from '@components/app-checkbox/app-checkbox.module' ...@@ -23,7 +25,9 @@ import { AppCheckboxModule } from '@components/app-checkbox/app-checkbox.module'
AppSelectModule, AppSelectModule,
AppRadioModule, AppRadioModule,
AppCheckboxListModule, AppCheckboxListModule,
AppCheckboxModule AppCheckboxModule,
AppImageUploadModule,
AppFileUploadModule
], ],
schemas: [CUSTOM_ELEMENTS_SCHEMA], schemas: [CUSTOM_ELEMENTS_SCHEMA],
declarations: [${srfclassname('${ctrl.name}')}], declarations: [${srfclassname('${ctrl.name}')}],
......
<app-image-upload multiple={true} formState={this.formState} ignorefieldvaluechange={this.ignorefieldvaluechange} on-formitemvaluechange={this.onFormItemValueChange} data={JSON.stringify(this.data)} name='${item.name}' value={this.data.${item.name}} disabled={this.detailsModel.${item.name}.disabled} uploadparams='${item.getEditorParam('uploadparams','')}' exportparams='${item.getEditorParam('exportparams','')}' customparams={<#if item.getEditorParam('customparams','') != ''>${item.getEditorParam('customparams','')}<#else>{}</#if>} style="${item.getEditorCssStyle()}overflow: auto;"></app-image-upload> <app-image-upload [value]="data.${item.name}" [disabled]="detailsModel.${item.name}.disabled" (onFormItemValueChange)="onFormDataChange('${item.name}', $event)" style="${item.getEditorCssStyle()}overflow: auto;"></app-image-upload>
\ No newline at end of file \ No newline at end of file
<app-file-upload formState={this.formState} ignorefieldvaluechange={this.ignorefieldvaluechange} on-formitemvaluechange={this.onFormItemValueChange} data={JSON.stringify(this.data)} name='${item.name}' value={this.data.${item.name}} disabled={this.detailsModel.${item.name}.disabled} uploadparams='${item.getEditorParam('uploadparams','')}' exportparams='${item.getEditorParam('exportparams','')}' customparams={<#if item.getEditorParam('customparams','') != ''>${item.getEditorParam('customparams','')}<#else>{}</#if>} style="${item.getEditorCssStyle()}overflow: auto;"></app-file-upload> <app-file-upload [value]="data.${item.name}" [disabled]="detailsModel.${item.name}.disabled" (onFormItemValueChange)="onFormDataChange('${item.name}', $event)" style="${item.getEditorCssStyle()}overflow: auto;"></app-file-upload>
\ No newline at end of file \ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册