Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
22
议题
22
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7
提交
1bb656c8
提交
1bb656c8
编写于
10月 26, 2020
作者:
tony001
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化表格行编辑编辑器的禁用逻辑
上级
d1d98991
变更
46
隐藏空白字符变更
内嵌
并排
正在显示
46 个修改的文件
包含
64 行增加
和
46 行删除
+64
-46
SERVICE.ts.ftl
@CONTROL/表格/SERVICE.ts.ftl
+1
-1
DEFAULT.vue.ftl
@EDITOR/@MACRO/GRID/DEFAULT.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/下拉列表框 (动态代码表国际化)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/下拉列表框/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/下拉列表框(100宽度)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/下拉列表框(cron表达式)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/下拉列表框(多选穿梭框)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/下拉列表框(多选)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/单选项列表/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/图片控件/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/图片控件(单项)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/地址框(支持选择、AC)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/地址框(选择)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/多行输入框 (工作流审批意见控件时光轴样式)/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/多行输入框 (工作流审批意见控件)/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/多行输入框/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/多行输入框(10行)/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/密码框/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/开关部件/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/数值框/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/数据选择/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/数据选择(下拉视图、数据链接)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/数据选择(下拉视图)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/数据选择(下拉)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/数据选择(数据链接)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/数据选择(无AC、数据链接)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/数据选择(无AC)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/数据选择(树选择)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/数据选择(请求数据)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/数据链接/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/文件上传/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/文件上传(支持拖拽)/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/时间选择器(新)/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/时间选择控件/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/时间选择控件_分钟/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/时间选择控件_小时/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/时间选择控件_无小时/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/时间选择控件_无日期/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/时间选择控件_无日期无秒钟/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/时间选择控件_秒钟/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/步进器/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/滑动输入条/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/自动填充/GRIDEIDTOR.vue.ftl
+1
-1
GRIDEIDTOR.vue.ftl
@EDITOR/评分器/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/选项框/GRIDEIDTOR.vue.ftl
+2
-1
GRIDEIDTOR.vue.ftl
@EDITOR/选项框列表/GRIDEIDTOR.vue.ftl
+1
-1
未找到文件。
@CONTROL/表格/SERVICE.ts.ftl
浏览文件 @
1bb656c8
...
...
@@ -236,7 +236,7 @@ import ${srfclassname('${aggAppDataEntity.getCodeName()}')}Service from '@/servi
result.then((response) => {
//处理返回数据,补充判断标识
if(response.data){
Object.assign(response.data,{srfuf:
0
});
Object.assign(response.data,{srfuf:
'0'
});
}
resolve(response);
}).catch(response => {
...
...
@EDITOR/@MACRO/GRID/DEFAULT.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -2,7 +2,7 @@
${editor.render.code}
<#else>
<input-box
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
v-model="row[column.property]"
style="${item.getEditorCssStyle()}"
type="text"
...
...
@EDITOR/下拉列表框 (动态代码表国际化)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<dropdown-list
v-model="row[column.property]"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
:data="row"
:context="context"
:viewparams="viewparams"
...
...
@EDITOR/下拉列表框/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -4,7 +4,7 @@
<#else>
<dropdown-list
v-model="row[column.property]"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
:data="row"
:context="context"
:viewparams="viewparams"
...
...
@EDITOR/下拉列表框(100宽度)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -4,7 +4,7 @@
<#else>
<dropdown-list
v-model="row[column.property]"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
style="${item.getEditorCssStyle()}width: 100px;"
:data="row"
:context="context"
...
...
@EDITOR/下拉列表框(cron表达式)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<dropdown-list-mpicker
v-model="row[column.property]"
:itemParam="<#if item.getEditorParam('ITEMPARAM','') != ''>${item.getEditorParam('ITEMPARAM','')}<#else>{}</#if>"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
<#if item.getPSCodeList()??>
<#assign codelist=editor.getPSCodeList()>
tag='${codelist.codeName}'
...
...
@EDITOR/下拉列表框(多选穿梭框)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<dropdown-list-mpicker
v-model="row[column.property]"
:itemParam="<#if item.getEditorParam('ITEMPARAM','') != ''>${item.getEditorParam('ITEMPARAM','')}<#else>{}</#if>"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
<#if item.getPSCodeList()??>
<#assign codelist=editor.getPSCodeList()>
tag='${codelist.codeName}'
...
...
@EDITOR/下拉列表框(多选)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -9,7 +9,7 @@
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
<#if item.getPSCodeList()??>
<#assign codelist=editor.getPSCodeList()>
tag='${codelist.codeName}'
...
...
@EDITOR/单选项列表/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -4,7 +4,7 @@
<#else>
<app-radio-group
v-model="row[column.property]"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
name="${item.name}"
:data="row"
:context="context"
...
...
@EDITOR/图片控件/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -8,7 +8,7 @@
:data="JSON.stringify(row)"
:name='column.property'
:value="row[column.property]"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
:rowPreview="true"
:imageOnly="true"
:uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>' :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
...
...
@EDITOR/图片控件(单项)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -8,7 +8,7 @@
:data="JSON.stringify(row)"
:name='column.property'
:value="row[column.property]"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
:rowPreview="true"
:imageOnly="true"
:uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>' :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
...
...
@EDITOR/地址框(支持选择、AC)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -5,7 +5,7 @@
<#if editor.getPickupPSAppView()??>
<app-mpicker
:activeData="row"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
:curvalue="row[column.property]"
:name="column.property"
:context="context"
...
...
@EDITOR/地址框(选择)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -5,7 +5,7 @@
<#if editor.getPickupPSAppView()??>
<app-mpicker
:activeData="row"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
:curvalue="row[column.property]"
:name="column.property"
:context="context"
...
...
@EDITOR/多行输入框 (工作流审批意见控件时光轴样式)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type">
<textarea class="ivu-input" :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" v-model="row[column.property]" style="${item.getEditorCssStyle()}" <#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> @change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"></textarea>
<textarea class="ivu-input" :disabled="
getColumnDisabled(row,column.property)
" v-model="row[column.property]" style="${item.getEditorCssStyle()}" <#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> @change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"></textarea>
</div>
\ No newline at end of file
@EDITOR/多行输入框 (工作流审批意见控件)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type">
<textarea class="ivu-input" :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" v-model="row[column.property]" style="${item.getEditorCssStyle()}" <#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> @change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"></textarea>
<textarea class="ivu-input" :disabled="
getColumnDisabled(row,column.property)
" v-model="row[column.property]" style="${item.getEditorCssStyle()}" <#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> @change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"></textarea>
</div>
\ No newline at end of file
@EDITOR/多行输入框/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -2,6 +2,6 @@
${editor.render.code}
<#else>
<div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type">
<textarea class="ivu-input" :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" v-model="row[column.property]" style="${item.getEditorCssStyle()}" <#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> @change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"></textarea>
<textarea class="ivu-input" :disabled="
getColumnDisabled(row,column.property)
" v-model="row[column.property]" style="${item.getEditorCssStyle()}" <#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> @change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"></textarea>
</div>
</#if>
\ No newline at end of file
@EDITOR/多行输入框(10行)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -2,6 +2,6 @@
${editor.render.code}
<#else>
<div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type">
<textarea class="ivu-input" rows="10" :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" v-model="row[column.property]" style="${item.getEditorCssStyle()}" <#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> @change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"></textarea>
<textarea class="ivu-input" rows="10" :disabled="
getColumnDisabled(row,column.property)
" v-model="row[column.property]" style="${item.getEditorCssStyle()}" <#if item.getPlaceHolder()??> placeholder="${item.getPlaceHolder()}"</#if> @change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"></textarea>
</div>
</#if>
\ No newline at end of file
@EDITOR/密码框/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<input-box type="password" :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" v-model="row[column.property]" style="${item.getEditorCssStyle()}" @change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"></input-box>
<input-box type="password" :disabled="
getColumnDisabled(row,column.property)
" v-model="row[column.property]" style="${item.getEditorCssStyle()}" @change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}"></input-box>
</#if>
\ No newline at end of file
@EDITOR/开关部件/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<app-switch name='${editor.name}' :value="row[column.property]" @change="($event)=>{row[column.property] = $event;gridEditItemChange(row, column.property, $event, $index)} " :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" style="${item.getEditorCssStyle()}"></app-switch>
<app-switch name='${editor.name}' :value="row[column.property]" @change="($event)=>{row[column.property] = $event;gridEditItemChange(row, column.property, $event, $index)} " :disabled="
getColumnDisabled(row,column.property)
" style="${item.getEditorCssStyle()}"></app-switch>
</#if>
\ No newline at end of file
@EDITOR/数值框/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -2,7 +2,7 @@
${editor.render.code}
<#else>
<input-box
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
v-model="row[column.property]"
<#if item.getUnitName?? && item.getUnitName()??>
unit="${item.getUnitName()}"
...
...
@EDITOR/数据选择/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -11,7 +11,7 @@
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
name='${editor.name}'
<#if editor.getEditorParam("PICKUPDATA", "") != "">pickUpData="${editor.getEditorParam("PICKUPDATA", "")}"</#if>
<#-- 自填模式文本属性、值属性start -->
...
...
@EDITOR/数据选择(下拉视图、数据链接)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -11,7 +11,7 @@
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
...
...
@EDITOR/数据选择(下拉视图)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -14,7 +14,7 @@
<#if editor.getPickupPSAppView().getViewType() == 'DEMPICKUPVIEW'>
:isSingleSelect="false"
</#if>
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
...
...
@EDITOR/数据选择(下拉)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -9,7 +9,7 @@
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
name='${editor.name}'
<#if editor.getEditorParam("PICKUPDATA", "") != "">pickUpData="${editor.getEditorParam("PICKUPDATA", "")}"</#if>
<#-- 自填模式文本属性、值属性start -->
...
...
@EDITOR/数据选择(数据链接)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -11,7 +11,7 @@
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
name='${editor.name}'
<#-- 自填模式文本属性、值属性start -->
<#if editor.getPSAppDEACMode?? && editor.getPSAppDEACMode()??>
...
...
@EDITOR/数据选择(无AC、数据链接)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -11,7 +11,7 @@
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
name='${editor.name}'
<#-- 自填模式文本属性、值属性start -->
<#if editor.getPSAppDEACMode?? && editor.getPSAppDEACMode()??>
...
...
@EDITOR/数据选择(无AC)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -11,7 +11,7 @@
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
name='${editor.name}'
<#-- 自填模式文本属性、值属性start -->
<#if editor.getPSAppDEACMode?? && editor.getPSAppDEACMode()??>
...
...
@EDITOR/数据选择(树选择)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -6,7 +6,7 @@
:data="JSON.stringify(row)"
:context="context"
:viewparams="viewparams"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
:ignorefieldvaluechange="false"
:value="row[column.property]"
<#if item.getPlaceHolder()??>
...
...
@EDITOR/数据选择(请求数据)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -10,7 +10,7 @@
:itemParams='<#if editor.getItemParamJO?? && editor.getItemParamJO()??>${editor.getItemParamJO()}</#if>'
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="
detailsModel.${editor.name}.disabled
"
:disabled="
getColumnDisabled(row,column.property)
"
name='${editor.name}'
<#if editor.getPSAppDEACMode?? && editor.getPSAppDEACMode()??>
<#if editor.getPSAppDEACMode().getMinorSortPSDEF?? && editor.getPSAppDEACMode().getMinorSortPSDEF()?? && editor.getPSAppDEACMode().getMinorSortDir?? && editor.getPSAppDEACMode().getMinorSortDir()??>
...
...
@EDITOR/数据链接/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -9,7 +9,7 @@
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
...
...
@EDITOR/文件上传/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -8,7 +8,7 @@
:data="JSON.stringify(row)"
:name='column.property'
:value="row[column.property]"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
:rowPreview="true"
:uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'
:exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
...
...
@EDITOR/文件上传(支持拖拽)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -6,7 +6,7 @@
:data="JSON.stringify(row)"
:name='column.property'
:value="row[column.property]"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
:rowPreview="true"
:uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'
:exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
...
...
@EDITOR/时间选择器(新)/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" :value="row[column.property]" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { row[column.property] = val1; gridEditItemChange(row, column.property, val1, $index)}"></date-picker>
<date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :disabled="
getColumnDisabled(row,column.property)
" :value="row[column.property]" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { row[column.property] = val1; gridEditItemChange(row, column.property, val1, $index)}"></date-picker>
</#if>
\ No newline at end of file
@EDITOR/时间选择控件/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" placeholder="请选择时间..." :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" :value="row[column.property]" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { row[column.property] = val1; gridEditItemChange(row, column.property, val1, $index)}"></date-picker>
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" placeholder="请选择时间..." :disabled="
getColumnDisabled(row,column.property)
" :value="row[column.property]" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { row[column.property] = val1; gridEditItemChange(row, column.property, val1, $index)}"></date-picker>
</#if>
\ No newline at end of file
@EDITOR/时间选择控件_分钟/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<time-picker :value="row[column.property]" :transfer="true" format="mm" placeholder="请选择时间..." :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => { row[column.property] = val; gridEditItemChange(row, column.property, val, $index)}"></time-picker>
<time-picker :value="row[column.property]" :transfer="true" format="mm" placeholder="请选择时间..." :disabled="
getColumnDisabled(row,column.property)
" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => { row[column.property] = val; gridEditItemChange(row, column.property, val, $index)}"></time-picker>
</#if>
\ No newline at end of file
@EDITOR/时间选择控件_小时/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<time-picker :value="row[column.property]" :transfer="true" format="HH" placeholder="请选择时间..." :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => { row[column.property] = val; gridEditItemChange(row, column.property, val, $index)}"></time-picker>
<time-picker :value="row[column.property]" :transfer="true" format="HH" placeholder="请选择时间..." :disabled="
getColumnDisabled(row,column.property)
" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => { row[column.property] = val; gridEditItemChange(row, column.property, val, $index)}"></time-picker>
</#if>
\ No newline at end of file
@EDITOR/时间选择控件_无小时/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" placeholder="请选择时间..." :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" :value="row[column.property]" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { row[column.property] = val1; gridEditItemChange(row, column.property, val1, $index)}"></date-picker>
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" placeholder="请选择时间..." :disabled="
getColumnDisabled(row,column.property)
" :value="row[column.property]" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { row[column.property] = val1; gridEditItemChange(row, column.property, val1, $index)}"></date-picker>
</#if>
\ No newline at end of file
@EDITOR/时间选择控件_无日期/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<time-picker :value="row[column.property]" :transfer="true" format="HH:mm:ss" placeholder="请选择时间..." :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => { row[column.property] = val; gridEditItemChange(row, column.property, val, $index)}"></time-picker>
<time-picker :value="row[column.property]" :transfer="true" format="HH:mm:ss" placeholder="请选择时间..." :disabled="
getColumnDisabled(row,column.property)
" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => { row[column.property] = val; gridEditItemChange(row, column.property, val, $index)}"></time-picker>
</#if>
\ No newline at end of file
@EDITOR/时间选择控件_无日期无秒钟/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<time-picker :value="row[column.property]" :transfer="true" format="HH:mm" placeholder="请选择时间..." :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => { row[column.property] = val; gridEditItemChange(row, column.property, val, $index)}"></time-picker>
<time-picker :value="row[column.property]" :transfer="true" format="HH:mm" placeholder="请选择时间..." :disabled="
getColumnDisabled(row,column.property)
" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => { row[column.property] = val; gridEditItemChange(row, column.property, val, $index)}"></time-picker>
</#if>
\ No newline at end of file
@EDITOR/时间选择控件_秒钟/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<time-picker :value="row[column.property]" :transfer="true" format="ss" placeholder="请选择时间..." :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => { row[column.property] = val; gridEditItemChange(row, column.property, val, $index)}"></time-picker>
<time-picker :value="row[column.property]" :transfer="true" format="ss" placeholder="请选择时间..." :disabled="
getColumnDisabled(row,column.property)
" style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val) => { row[column.property] = val; gridEditItemChange(row, column.property, val, $index)}"></time-picker>
</#if>
\ No newline at end of file
@EDITOR/步进器/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<app-stepper name='${editor.name}' :value="row[column.property]" @change="($event)=>{onGridItemValueChange(row,$event,$index)} " :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" style="${item.getEditorCssStyle()}"></app-stepper>
<app-stepper name='${editor.name}' :value="row[column.property]" @change="($event)=>{onGridItemValueChange(row,$event,$index)} " :disabled="
getColumnDisabled(row,column.property)
" style="${item.getEditorCssStyle()}"></app-stepper>
</#if>
\ No newline at end of file
@EDITOR/滑动输入条/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<app-slider name='${editor.name}' :value="row[column.property]" @change="($event)=>{onGridItemValueChange(row,$event,$index)} " :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" style="${item.getEditorCssStyle()}"></app-slider>
<app-slider name='${editor.name}' :value="row[column.property]" @change="($event)=>{onGridItemValueChange(row,$event,$index)} " :disabled="
getColumnDisabled(row,column.property)
" style="${item.getEditorCssStyle()}"></app-slider>
</#if>
\ No newline at end of file
@EDITOR/自动填充/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -4,7 +4,7 @@
<#else>
<app-autocomplete
:data="row"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
name='${editor.name}'
:context="context"
:viewparams="viewparams"
...
...
@EDITOR/评分器/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<app-rate name='${item.name}' :value="row[column.property]" @change="($event)=>{row[column.property] = $event; gridEditItemChange(row, column.property, $event, $index)} " :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
" style="${item.getEditorCssStyle()}"></app-rate>
<app-rate name='${item.name}' :value="row[column.property]" @change="($event)=>{row[column.property] = $event; gridEditItemChange(row, column.property, $event, $index)} " :disabled="
getColumnDisabled(row,column.property)
" style="${item.getEditorCssStyle()}"></app-rate>
</#if>
\ No newline at end of file
@EDITOR/选项框/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -2,6 +2,6 @@
${editor.render.code}
<#else>
<div style="${item.getEditorCssStyle()}">
<app-checkbox :value="row[column.property]" @change="($event)=>{row[column.property] = $event;gridEditItemChange(row, column.property, $event, $index)} " :disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"></app-checkbox>
<app-checkbox :value="row[column.property]" @change="($event)=>{row[column.property] = $event;gridEditItemChange(row, column.property, $event, $index)} " :disabled="
getColumnDisabled(row,column.property)
"></app-checkbox>
</div>
</#if>
\ No newline at end of file
@EDITOR/选项框列表/GRIDEIDTOR.vue.ftl
浏览文件 @
1bb656c8
...
...
@@ -4,7 +4,7 @@
<#else>
<app-checkbox-list
v-model="row[column.property]"
:disabled="
row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1
"
:disabled="
getColumnDisabled(row,column.property)
"
:data="row"
:context="context"
:viewparams="viewparams"
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录