Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
V
Vue_R6
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
4
议题
4
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Vue_V2
Vue_R6
提交
5e3ff3cf
提交
5e3ff3cf
编写于
1月 15, 2020
作者:
zhangpingchuan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zpc---修复数据选择数据上下文问题
上级
c7db2c0c
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
14 行增加
和
9 行删除
+14
-9
EDITOR.tsx.ftl
@EDITOR/数据选择/EDITOR.tsx.ftl
+2
-1
EDITOR.tsx.ftl
@EDITOR/数据选择(下拉)/EDITOR.tsx.ftl
+2
-2
EDITOR.tsx.ftl
@EDITOR/数据选择(嵌入选择视图)/EDITOR.tsx.ftl
+2
-1
EDITOR.tsx.ftl
@EDITOR/数据选择(数据链接)/EDITOR.tsx.ftl
+2
-1
EDITOR.tsx.ftl
@EDITOR/数据选择(无AC、数据链接)/EDITOR.tsx.ftl
+2
-1
EDITOR.tsx.ftl
@EDITOR/数据选择(无AC)/EDITOR.tsx.ftl
+2
-1
EDITOR.tsx.ftl
@EDITOR/数据链接/EDITOR.tsx.ftl
+2
-2
未找到文件。
@EDITOR/数据选择/EDITOR.tsx.ftl
浏览文件 @
5e3ff3cf
...
...
@@ -6,6 +6,6 @@
renderItem={(item: any) => {
return (${item.itemRender.code});
}}</#if></#assign>
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.get
ItemParam()??>${item.getItemParam()
}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' ${renderItem} valueitem='${item.getValueItemName()}' value={this.data.${item.name}} refviewname='${srffilepath2(pickupview.getCodeName())}' url={this.url} editortype="" <#if item.getRefPickupPSAppView()??><#assign pickupview=item.getRefPickupPSAppView()>pickupView={{ viewname: '${srffilepath2(pickupview.codeName)}'<#if (pickupview.getWidth() gt 0)>, width: ${pickupview.getWidth()?c}</#if><#if (pickupview.getHeight() gt 0)>, height: ${pickupview.getHeight()?c}</#if>, title: '${pickupview.title}'<#if pickupview.getOpenMode()??><#assign openMode=pickupview.getOpenMode()> ,<#if openMode !=''>placement:'${openMode}'<#else>placement:''</#if></#if> }}</#if> style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.get
EditorParam('PARENTDATA','') != ''>{parentdata:${item.getEditorParam('PARENTDATA','')}
}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' ${renderItem} valueitem='${item.getValueItemName()}' value={this.data.${item.name}} refviewname='${srffilepath2(pickupview.getCodeName())}' url={this.url} editortype="" <#if item.getRefPickupPSAppView()??><#assign pickupview=item.getRefPickupPSAppView()>pickupView={{ viewname: '${srffilepath2(pickupview.codeName)}'<#if (pickupview.getWidth() gt 0)>, width: ${pickupview.getWidth()?c}</#if><#if (pickupview.getHeight() gt 0)>, height: ${pickupview.getHeight()?c}</#if>, title: '${pickupview.title}'<#if pickupview.getOpenMode()??><#assign openMode=pickupview.getOpenMode()> ,<#if openMode !=''>placement:'${openMode}'<#else>placement:''</#if></#if> }}</#if> style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
</#if>
</#if>
\ No newline at end of file
@EDITOR/数据选择(下拉)/EDITOR.tsx.ftl
浏览文件 @
5e3ff3cf
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.getItemParam()??>${item.getItemParam()}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' valueitem='${item.getValueItemName()}' value={this.data.${item.name}} url={this.url} editortype="dropdown" style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
\ No newline at end of file
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.getEditorParam('PARENTDATA','') != ''>{parentdata:${item.getEditorParam('PARENTDATA','')}}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' valueitem='${item.getValueItemName()}' value={this.data.${item.name}} url={this.url} editortype="dropdown" style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
\ No newline at end of file
@EDITOR/数据选择(嵌入选择视图)/EDITOR.tsx.ftl
浏览文件 @
5e3ff3cf
<#if item.getRefPickupPSAppView()??>
<#assign pickupview = item.getRefPickupPSAppView()>
<app-embed-picker formState={this.formState} data={JSON.stringify(this.data)} ignorefieldvaluechange={this.ignorefieldvaluechange} value={this.data.${item.name}}<#if item.getPlaceHolder()??> placeholder='${item.getPlaceHolder()}'</#if><#if item.getPlaceHolder()??> emptyText="${srfjsstring('${item.getPlaceHolder()}')}"</#if> name="${item.name}" itemParam={<#if item.get
ItemParam()??>${item.getItemParam()
}<#else>{}</#if>} valueItem='${item.getValueItemName()}' refviewname="${srffilepath2(pickupview.getCodeName())}"<#if item.getResetItemName()?? && (item.getResetItemName()?length gt 0)> refreshitems="${item.getResetItemName()}"</#if> on-formitemvaluechange={(arg: any) => this.onFormItemValueChange(arg)} style="${item.getEditorCssStyle()}"></app-embed-picker>
<app-embed-picker formState={this.formState} data={JSON.stringify(this.data)} ignorefieldvaluechange={this.ignorefieldvaluechange} value={this.data.${item.name}}<#if item.getPlaceHolder()??> placeholder='${item.getPlaceHolder()}'</#if><#if item.getPlaceHolder()??> emptyText="${srfjsstring('${item.getPlaceHolder()}')}"</#if> name="${item.name}" itemParam={<#if item.get
EditorParam('PARENTDATA','') != ''>{parentdata:${item.getEditorParam('PARENTDATA','')}
}<#else>{}</#if>} valueItem='${item.getValueItemName()}' refviewname="${srffilepath2(pickupview.getCodeName())}"<#if item.getResetItemName()?? && (item.getResetItemName()?length gt 0)> refreshitems="${item.getResetItemName()}"</#if> on-formitemvaluechange={(arg: any) => this.onFormItemValueChange(arg)} style="${item.getEditorCssStyle()}"></app-embed-picker>
</#if>
\ No newline at end of file
@EDITOR/数据选择(数据链接)/EDITOR.tsx.ftl
浏览文件 @
5e3ff3cf
...
...
@@ -9,6 +9,6 @@
renderItem={(item: any) => {
return (${item.itemRender.code});
}}</#if></#assign>
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.get
ItemParam()??>${item.getItemParam()
}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' valueitem='${item.getValueItemName()}' value={this.data.${item.name}} refviewname='${srffilepath2(pickupview.getCodeName())}' ${renderItem} url={this.url} editortype="" <#if item.getRefPickupPSAppView()??><#assign pickupview=item.getRefPickupPSAppView()>pickupView={{ viewname: '${srffilepath2(pickupview.codeName)}'<#if (pickupview.getWidth() gt 0)>, width: ${pickupview.getWidth()?c}</#if><#if (pickupview.getHeight() gt 0)>, height: ${pickupview.getHeight()?c}</#if>, title: '${pickupview.title}'<#if pickupview.getOpenMode()??><#assign openMode=pickupview.getOpenMode()> ,<#if openMode !=''>placement:'${openMode}'<#else>placement:''</#if></#if> }}</#if> ${linkview} style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.get
EditorParam('PARENTDATA','') != ''>{parentdata:${item.getEditorParam('PARENTDATA','')}
}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' valueitem='${item.getValueItemName()}' value={this.data.${item.name}} refviewname='${srffilepath2(pickupview.getCodeName())}' ${renderItem} url={this.url} editortype="" <#if item.getRefPickupPSAppView()??><#assign pickupview=item.getRefPickupPSAppView()>pickupView={{ viewname: '${srffilepath2(pickupview.codeName)}'<#if (pickupview.getWidth() gt 0)>, width: ${pickupview.getWidth()?c}</#if><#if (pickupview.getHeight() gt 0)>, height: ${pickupview.getHeight()?c}</#if>, title: '${pickupview.title}'<#if pickupview.getOpenMode()??><#assign openMode=pickupview.getOpenMode()> ,<#if openMode !=''>placement:'${openMode}'<#else>placement:''</#if></#if> }}</#if> ${linkview} style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
</#if>
</#if>
\ No newline at end of file
@EDITOR/数据选择(无AC、数据链接)/EDITOR.tsx.ftl
浏览文件 @
5e3ff3cf
...
...
@@ -4,6 +4,6 @@
<#assign linkview>
<#if item.getRefLinkPSAppView()??><#assign linkview=item.getRefLinkPSAppView()>linkview={{ viewname: '${linkview.codeName}', viewmodule: '${linkview.getPSAppModule().getCodeName()}', width: ${linkview.getWidth()?c}, height: ${linkview.getHeight()?c}, title: '${linkview.title}', placement: '${linkview.getOpenMode()}', isRedirectView: <#if linkview.isRedirectView()>true, url: <#assign link_de = linkview.getPSDataEntity()/>'/${app.getPKGCodeName()?lower_case}/${link_de.getPSSystemModule().codeName?lower_case}/${link_de.codeName?lower_case}/${linkview.getPSDEViewCodeName()?lower_case}/getmodel'<#else>false</#if> }}</#if>
</#assign>
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.get
ItemParam()??>${item.getItemParam()
}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' valueitem='${item.getValueItemName()}' value={this.data.${item.name}} refviewname='${srffilepath2(pickupview.getCodeName())}' url={this.url} editortype="pickup-no-ac" <#if item.getRefPickupPSAppView()??><#assign pickupview=item.getRefPickupPSAppView()>pickupView={{ viewname: '${srffilepath2(pickupview.codeName)}'<#if (pickupview.getWidth() gt 0)>, width: ${pickupview.getWidth()?c}</#if><#if (pickupview.getHeight() gt 0)>, height: ${pickupview.getHeight()?c}</#if>, title: '${pickupview.title}' }}</#if> ${linkview} style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.get
EditorParam('PARENTDATA','') != ''>{parentdata:${item.getEditorParam('PARENTDATA','')}
}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' valueitem='${item.getValueItemName()}' value={this.data.${item.name}} refviewname='${srffilepath2(pickupview.getCodeName())}' url={this.url} editortype="pickup-no-ac" <#if item.getRefPickupPSAppView()??><#assign pickupview=item.getRefPickupPSAppView()>pickupView={{ viewname: '${srffilepath2(pickupview.codeName)}'<#if (pickupview.getWidth() gt 0)>, width: ${pickupview.getWidth()?c}</#if><#if (pickupview.getHeight() gt 0)>, height: ${pickupview.getHeight()?c}</#if>, title: '${pickupview.title}' }}</#if> ${linkview} style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
</#if>
</#if>
\ No newline at end of file
@EDITOR/数据选择(无AC)/EDITOR.tsx.ftl
浏览文件 @
5e3ff3cf
<#if item.getEditorParam("PICKUPVIEW",true)??>
<#if item.getRefPickupPSAppView()??>
<#assign pickupview = item.getRefPickupPSAppView()>
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.get
ItemParam()??>${item.getItemParam()
}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' valueitem='${item.getValueItemName()}' value={this.data.${item.name}} refviewname='${srffilepath2(pickupview.getCodeName())}' url={this.url} editortype="pickup-no-ac" <#if item.getRefPickupPSAppView()??><#assign pickupview=item.getRefPickupPSAppView()>pickupView={{ viewname: '${srffilepath2(pickupview.codeName)}'<#if (pickupview.getWidth() gt 0)>, width: ${pickupview.getWidth()?c}</#if><#if (pickupview.getHeight() gt 0)>, height: ${pickupview.getHeight()?c}</#if>, title: '${pickupview.title}' }}</#if> style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.get
EditorParam('PARENTDATA','') != ''>{parentdata:${item.getEditorParam('PARENTDATA','')}
}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' valueitem='${item.getValueItemName()}' value={this.data.${item.name}} refviewname='${srffilepath2(pickupview.getCodeName())}' url={this.url} editortype="pickup-no-ac" <#if item.getRefPickupPSAppView()??><#assign pickupview=item.getRefPickupPSAppView()>pickupView={{ viewname: '${srffilepath2(pickupview.codeName)}'<#if (pickupview.getWidth() gt 0)>, width: ${pickupview.getWidth()?c}</#if><#if (pickupview.getHeight() gt 0)>, height: ${pickupview.getHeight()?c}</#if>, title: '${pickupview.title}' }}</#if> style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
</#if>
</#if>
\ No newline at end of file
@EDITOR/数据链接/EDITOR.tsx.ftl
浏览文件 @
5e3ff3cf
<#assign linkview>
<#if item.getRefLinkPSAppView()??><#assign linkview=item.getRefLinkPSAppView()>linkview={{ viewname: '${linkview.codeName}', viewmodule: '${linkview.getPSAppModule().getCodeName()}', width: ${linkview.getWidth()?c}, height: ${linkview.getHeight()?c}, title: '${linkview.title}', placement: '${linkview.getOpenMode()}', isRedirectView: <#if linkview.isRedirectView()>true, url: <#assign link_de = linkview.getPSDataEntity()/>'/${app.getPKGCodeName()?lower_case}/${link_de.getPSSystemModule().codeName?lower_case}/${link_de.codeName?lower_case}/${linkview.getPSDEViewCodeName()?lower_case}/getmodel'<#else>false</#if> }}</#if>
</#assign>
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.getItemParam()??>${item.getItemParam()}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' valueitem='${item.getValueItemName()}' value={this.data.${item.name}} url={this.url} editortype="linkonly" ${linkview} style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
\ No newline at end of file
<app-picker formState={this.formState} data={this.data} itemParam={<#if item.getEditorParam('PARENTDATA','') != ''>{parentdata:${item.getEditorParam('PARENTDATA','')}}<#else>{}</#if>} disabled={this.detailsModel.${item.name}.disabled} name='${item.name}' valueitem='${item.getValueItemName()}' value={this.data.${item.name}} url={this.url} editortype="linkonly" ${linkview} style="${item.getEditorCssStyle()}" on-formitemvaluechange={this.onFormItemValueChange}></app-picker>
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录