Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
inori_templ
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
junzai001
inori_templ
提交
f1d69f98
提交
f1d69f98
编写于
9月 20, 2019
作者:
JunZai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
b0f6539c
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
13 行增加
和
11 行删除
+13
-11
CONTROL.module.ts.ftl
@CONTROL/表单/CONTROL.module.ts.ftl
+3
-1
EDITOR.tsx.ftl
@EDITOR/下拉列表框/EDITOR.tsx.ftl
+2
-2
EDITOR.tsx.ftl
@EDITOR/下拉列表框(100宽度)/EDITOR.tsx.ftl
+2
-2
EDITOR.tsx.ftl
@EDITOR/单选项列表/EDITOR.tsx.ftl
+2
-2
EDITOR.tsx.ftl
@EDITOR/选项框/EDITOR.tsx.ftl
+2
-2
EDITOR.tsx.ftl
@EDITOR/选项框列表/EDITOR.tsx.ftl
+2
-2
未找到文件。
@CONTROL/表单/CONTROL.module.ts.ftl
浏览文件 @
f1d69f98
...
...
@@ -11,6 +11,7 @@ import { AppDatePickerModule } from '@components/app-date-picker/app-date-picker
import { AppSelectModule } from '@components/app-select/app-select.module';
import { AppRadioModule } from '@components/app-radio/app-radio.module';
import { AppCheckboxListModule } from '@components/app-checkbox-list/app-checkbox-list.module';
import { AppCheckboxModule } from '@components/app-checkbox/app-checkbox.module';
@NgModule({
imports: [
...
...
@@ -21,7 +22,8 @@ import { AppCheckboxListModule } from '@components/app-checkbox-list/app-checkbo
AppTimePickerModule,
AppSelectModule,
AppRadioModule,
AppCheckboxListModule
AppCheckboxListModule,
AppCheckboxModule
],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
declarations: [${srfclassname('${ctrl.name}')}],
...
...
@EDITOR/下拉列表框/EDITOR.tsx.ftl
浏览文件 @
f1d69f98
<app-select [value]="data.${item.name}"<#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()> codeListId="${codelist.codeName}"</#if><#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> [disabled]="detailsModel.${item.name}.disabled"<#if item.getEditorWidth() gt 0 && item.getEditorParam('width','') != 'auto'> width="${item.getEditorWidth()?c}"</#if> (onFormItemValueChange)="onFormItemValueChange({name: '${item.name}', value: $event})"></app-select>
\ No newline at end of file
<app-select [value]="data.${item.name}"<#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()> codeListId="${codelist.codeName}"</#if><#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> [disabled]="detailsModel.${item.name}.disabled"<#if item.getEditorWidth() gt 0 && item.getEditorParam('width','') != 'auto'> width="${item.getEditorWidth()?c}"</#if> (onFormItemValueChange)="onFormDataChange('${item.name}', $event)"></app-select>
\ No newline at end of file
@EDITOR/下拉列表框(100宽度)/EDITOR.tsx.ftl
浏览文件 @
f1d69f98
<app-select [value]="data.${item.name}"<#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()> codeListId="${codelist.codeName}"</#if><#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> [disabled]="detailsModel.${item.name}.disabled" width="100" (onFormItemValueChange)="onFormItemValueChange({name: '${item.name}', value: $event})"></app-select>
\ No newline at end of file
<app-select [value]="data.${item.name}"<#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()> codeListId="${codelist.codeName}"</#if><#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> [disabled]="detailsModel.${item.name}.disabled" width="100" (onFormItemValueChange)="onFormDataChange('${item.name}', $event)"></app-select>
\ No newline at end of file
@EDITOR/单选项列表/EDITOR.tsx.ftl
浏览文件 @
f1d69f98
<app-radio [value]="data.${item.name}"<#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()> codeListId="${codelist.codeName}"</#if><#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> [disabled]="detailsModel.${item.name}.disabled"<#if item.getEditorWidth() gt 0 && item.getEditorParam('width','') != 'auto'> width="${item.getEditorWidth()?c}"</#if> (onFormItemValueChange)="onFormItemValueChange({name: '${item.name}', value: $event})"></app-radio>
\ No newline at end of file
<app-radio [value]="data.${item.name}"<#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()> codeListId="${codelist.codeName}"</#if><#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> [disabled]="detailsModel.${item.name}.disabled"<#if item.getEditorWidth() gt 0 && item.getEditorParam('width','') != 'auto'> width="${item.getEditorWidth()?c}"</#if> (onFormItemValueChange)="onFormDataChange('${item.name}', $event)"></app-radio>
\ No newline at end of file
@EDITOR/选项框/EDITOR.tsx.ftl
浏览文件 @
f1d69f98
<div style="${item.getEditorCssStyle()}"><checkbox value={ !this.data.${item.name} ? false : true} on-on-change={($event: any) => $event ? this.data.${item.name} = 1 : this.data.${item.name} = 0} disabled={this.detailsModel.${item.name}.disabled}></checkbox></div>
\ No newline at end of file
<app-checkbox name="${item.name}" [value]="data.${item.name}" [disabled]="detailsModel.${item.name}.disabled" (onFormItemValueChange)="onFormDataChange('${item.name}', $event)"></app-checkbox>
\ No newline at end of file
@EDITOR/选项框列表/EDITOR.tsx.ftl
浏览文件 @
f1d69f98
<app-checkbox-list [value]="data.${item.name}"<#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()> codeListId="${codelist.codeName}" mode="${codelist.getOrMode()?lower_case}" separator="${codelist.getValueSeparator()}"</#if><#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> [disabled]="detailsModel.${item.name}.disabled"<#if item.getEditorWidth() gt 0 && item.getEditorParam('width','') != 'auto'> width="${item.getEditorWidth()?c}"</#if> (onFormItemValueChange)="onFormItemValueChange({name: '${item.name}', value: $event})"></app-checkbox-list>
\ No newline at end of file
<app-checkbox-list [value]="data.${item.name}"<#if item.getPSCodeList()??><#assign codelist=item.getPSCodeList()> codeListId="${codelist.codeName}" mode="${codelist.getOrMode()?lower_case}" separator="${codelist.getValueSeparator()}"</#if><#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> [disabled]="detailsModel.${item.name}.disabled"<#if item.getEditorWidth() gt 0 && item.getEditorParam('width','') != 'auto'> width="${item.getEditorWidth()?c}"</#if> (onFormItemValueChange)="onFormDataChange('${item.name}', $event)"></app-checkbox-list>
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录