diff --git a/src/components/DesignForm/formControlAttr.vue b/src/components/DesignForm/formControlAttr.vue
index 1e629eb..07c8737 100644
--- a/src/components/DesignForm/formControlAttr.vue
+++ b/src/components/DesignForm/formControlAttr.vue
@@ -3868,11 +3868,11 @@ const disabledIstrue = (val:string) => {
- 请从左侧面板右击选择字段或选项
- - 支持英文模式下运算符
- - 支持"包含"关键字,用于组织机构条件
- - 支持"当前用户"关键字,用于角色条件
- - 参考场景:
- 年龄控件输入的值大于10时,需要隐藏当前控件,则可将隐藏条件设置为:年龄>10
+ - 支持的符号:'==', '>=', '>', '<=', '<', '!='
+ - 支持"包含,不包含,当前用户"关键字,用于组织机构条件和角色条件
+ - 参考举例:
+ 年龄>10
+ 企管部包含当前用户
@@ -3980,11 +3980,11 @@ const disabledIstrue = (val:string) => {
- 请从左侧面板右击选择字段或选项
- - 支持英文模式下运算符
- - 支持"包含"关键字,用于组织机构条件
- - 支持"当前用户"关键字,用于角色条件
- - 参考场景:
- 仅可选择关联表单中年龄大于10的数据,则可将数据范围设置为:年龄>10
+ - 支持的符号:'==', '>=', '>', '<=', '<', '!='
+ - 支持"包含,不包含,当前用户"关键字,用于组织机构条件和角色条件
+ - 参考举例:
+ 年龄>10
+ 企管部包含当前用户
diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue
index e6c2155..8930b93 100644
--- a/src/components/DesignForm/formControlPropertiNew.vue
+++ b/src/components/DesignForm/formControlPropertiNew.vue
@@ -3923,11 +3923,11 @@ const disabledIstrue = (val:string) => {
- 请从左侧面板右击选择字段或选项
- - 支持英文模式下运算符
- - 支持"包含"关键字,用于组织机构条件
- - 支持"当前用户"关键字,用于角色条件
- - 参考场景:
- 年龄控件输入的值大于10时,需要隐藏当前控件,则可将隐藏条件设置为:年龄>10
+ - 支持的符号:'==', '>=', '>', '<=', '<', '!='
+ - 支持"包含,不包含,当前用户"关键字,用于组织机构条件和角色条件
+ - 参考举例:
+ 年龄>10
+ 企管部包含当前用户
@@ -4036,7 +4036,8 @@ const disabledIstrue = (val:string) => {
- 请从左侧面板右击选择字段或选项
- 支持英文模式下运算符
- - 支持"包含"关键字,用于组织机构条件
+
+ - 支持"包含,不包含"关键字,用于组织机构条件和角色条件
- 支持"当前用户"关键字,用于角色条件
- 参考场景:
仅可选择关联表单中年龄大于10的数据,则可将数据范围设置为:年龄>10
diff --git a/src/widget/associatedforms/associatedFormsTinyace.vue b/src/widget/associatedforms/associatedFormsTinyace.vue
index 4606fea..471642e 100644
--- a/src/widget/associatedforms/associatedFormsTinyace.vue
+++ b/src/widget/associatedforms/associatedFormsTinyace.vue
@@ -85,7 +85,7 @@ watch(()=>tinymceHtml.value, (val:any) => {
errorCondition("条件不能以蓝色块结尾")
}else if(countSpanTags(gongShi.formulaHtml)>1){
errorCondition("不允许出现多个蓝色块")
- }else if(!containsSingleComparator(gongShi.mathsFormula)&&!gongShi.mathsFormula.includes("包含")){
+ }else if(!containsSingleComparator(gongShi.mathsFormula)&&!gongShi.mathsFormula.includes("包含")&&!gongShi.mathsFormula.includes("不包含")){
errorCondition("不存在有效符号")
@@ -100,7 +100,7 @@ watch(()=>tinymceHtml.value, (val:any) => {
{ deep: true }
)
function checkEnding(str: string) {
- const symbols = ['==', '>=', '>', '<=', '<', '!=', '='];
+ const symbols = ['==', '>=', '>', '<=', '<', '!=', '=','包含','不包含'];
const trimmedStr = str.trim();
for (let symbol of symbols) {
if (trimmedStr.endsWith(symbol)) {
diff --git a/src/widget/associatedforms/associatedFormsTinyaceRange.vue b/src/widget/associatedforms/associatedFormsTinyaceRange.vue
index 4ce83e9..e73b9c5 100644
--- a/src/widget/associatedforms/associatedFormsTinyaceRange.vue
+++ b/src/widget/associatedforms/associatedFormsTinyaceRange.vue
@@ -84,7 +84,7 @@ watch(()=>tinymceHtml.value, (val:any) => {
errorCondition("条件不能以蓝色块结尾")
}else if(countSpanTags(gongShi.formulaHtml)>1){
errorCondition("不允许出现多个蓝色块")
- }else if(!containsSingleComparator(gongShi.mathsFormula)&&!gongShi.mathsFormula.includes("包含")){
+ }else if(!containsSingleComparator(gongShi.mathsFormula)&&!gongShi.mathsFormula.includes("包含")&&!gongShi.mathsFormula.includes("不包含")){
errorCondition("不存在有效符号")
@@ -126,7 +126,7 @@ function containsSingleComparator(str: string) {
return found;
}
function checkEnding(str: string) {
- const symbols = ['==', '>=', '>', '<=', '<', '!=', '='];
+ const symbols = ['==', '>=', '>', '<=', '<', '!=', '=','包含','不包含'];
const trimmedStr = str.trim();
for (let symbol of symbols) {
if (trimmedStr.endsWith(symbol)) {