提交 c03b41e1 编写于 作者: KK's avatar KK

表单过滤类型调整

上级 963b7e04
...@@ -482,7 +482,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; ...@@ -482,7 +482,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
} }
public cheackRules() :boolean{ public cheackRules() :boolean{
let refArr = [<#list ctrl.getAllPSDEFormDetails() as formdetail><#if formdetail.getDetailType?? && formdetail.getDetailType() == 'FORMITEM'>"${formdetail.getName()}rules",</#if></#list>]; let refArr: Array<string> = [<#list ctrl.getAllPSDEFormDetails() as formdetail><#if formdetail.getDetailType?? && formdetail.getDetailType() == 'FORMITEM'>"${formdetail.getName()}rules",</#if></#list>];
let falg = true ; let falg = true ;
refArr.forEach((item:any) => { refArr.forEach((item:any) => {
if(this.$refs[item] && (this.$refs[item] as any).checkRule && !(this.$refs[item] as any).checkRule()){ if(this.$refs[item] && (this.$refs[item] as any).checkRule && !(this.$refs[item] as any).checkRule()){
......
...@@ -482,7 +482,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; ...@@ -482,7 +482,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
} }
public cheackRules() :boolean{ public cheackRules() :boolean{
let refArr = [<#list ctrl.getAllPSDEFormDetails() as formdetail><#if formdetail.getDetailType?? && formdetail.getDetailType() == 'FORMITEM'>"${formdetail.getName()}rules",</#if></#list>]; let refArr: Array<string> = [<#list ctrl.getAllPSDEFormDetails() as formdetail><#if formdetail.getDetailType?? && formdetail.getDetailType() == 'FORMITEM'>"${formdetail.getName()}rules",</#if></#list>];
let falg = true ; let falg = true ;
refArr.forEach((item:any) => { refArr.forEach((item:any) => {
if(this.$refs[item] && (this.$refs[item] as any).checkRule && !(this.$refs[item] as any).checkRule()){ if(this.$refs[item] && (this.$refs[item] as any).checkRule && !(this.$refs[item] as any).checkRule()){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册