- 请从左侧面板右击选择字段或选项
- 支持英文模式下运算符
+ - 支持"包含"关键字,用于组织机构条件
+ - 支持"当前用户"关键字,用于角色条件
- 参考场景:
仅可选择关联表单中年龄大于10的数据,则可将数据范围设置为:年龄>10
diff --git a/src/components/DesignForm/public/form/form.vue b/src/components/DesignForm/public/form/form.vue
index 2061558..5a5c579 100644
--- a/src/components/DesignForm/public/form/form.vue
+++ b/src/components/DesignForm/public/form/form.vue
@@ -401,7 +401,8 @@ const recursionToGetFinallyHideFields = (hideFieldArr: any[],radioSelectArr3: st
//编辑表单页不隐藏任何字段。
if(formProps.value.type!=5){
- props.formData.config.hideField?.push(...hideFieldArr)
+ console.log(hideFieldArr)
+ props.formData.config.hideField?.push(...hideFieldArr)//实际造成隐藏效果
}
});
diff --git a/src/widget/associatedforms/associatedFormsTinyace.vue b/src/widget/associatedforms/associatedFormsTinyace.vue
index 8976cc6..4606fea 100644
--- a/src/widget/associatedforms/associatedFormsTinyace.vue
+++ b/src/widget/associatedforms/associatedFormsTinyace.vue
@@ -18,7 +18,7 @@ const tinymceInit = {
language_url: "/tinymce/langs/zh-Hans.js", // 引入语言包(该语言包在public下,注意文件名称)
language: "zh-Hans", // 这里名称根据 zh-Hans.js 里面写的名称而定
skin_url: "/tinymce/skins/ui/oxide", // 这里引入的样式
- height: 260, // 限制高度
+ height: 174, // 限制高度
statusbar:false,
toolbar:false,
branding: false, //是否禁用“Powered by TinyMCE”
@@ -85,9 +85,11 @@ watch(()=>tinymceHtml.value, (val:any) => {
errorCondition("条件不能以蓝色块结尾")
}else if(countSpanTags(gongShi.formulaHtml)>1){
errorCondition("不允许出现多个蓝色块")
- }else if(!containsSingleComparator(gongShi.mathsFormula)){
- errorCondition("不存在有效符号")
- }else if(checkEnding(gongShi.mathsFormula)){
+ }else if(!containsSingleComparator(gongShi.mathsFormula)&&!gongShi.mathsFormula.includes("包含")){
+
+ errorCondition("不存在有效符号")
+
+ }else if(checkEnding(gongShi.mathsFormula)){
errorCondition("不能以符号为结尾")
}else{
succCondition()
@@ -189,9 +191,10 @@ const handelCancel = (associatedFormsHideDialogTextCopy:any) =>{
tinymceHtml.value = associatedFormsHideDialogTextCopy
}
const tinymceReInit = ()=>{
-
+ //console.log(props.aftTextCopy)
let str:string = props.aftTextCopy
+ tinymceHtml.value = props.aftTextCopy
}
const focusEditor = ()=>{
tinymce.EditorManager.get(onlyNumber)?.focus(true)
diff --git a/src/widget/associatedforms/associatedFormsTinyaceRange.vue b/src/widget/associatedforms/associatedFormsTinyaceRange.vue
index b7ae7e0..4ce83e9 100644
--- a/src/widget/associatedforms/associatedFormsTinyaceRange.vue
+++ b/src/widget/associatedforms/associatedFormsTinyaceRange.vue
@@ -17,7 +17,7 @@ const tinymceInit = {
language_url: "/tinymce/langs/zh-Hans.js", // 引入语言包(该语言包在public下,注意文件名称)
language: "zh-Hans", // 这里名称根据 zh-Hans.js 里面写的名称而定
skin_url: "/tinymce/skins/ui/oxide", // 这里引入的样式
- height: 260, // 限制高度
+ height: 174, // 限制高度
statusbar:false,
toolbar:false,
branding: false, //是否禁用“Powered by TinyMCE”
@@ -84,8 +84,10 @@ watch(()=>tinymceHtml.value, (val:any) => {
errorCondition("条件不能以蓝色块结尾")
}else if(countSpanTags(gongShi.formulaHtml)>1){
errorCondition("不允许出现多个蓝色块")
- }else if(!containsSingleComparator(gongShi.mathsFormula)){
+ }else if(!containsSingleComparator(gongShi.mathsFormula)&&!gongShi.mathsFormula.includes("包含")){
+
errorCondition("不存在有效符号")
+
}else if(checkEnding(gongShi.mathsFormula)){
errorCondition("不能以符号为结尾")
}else{
@@ -187,9 +189,10 @@ const handelCancel = (associatedFormsHideDialogTextCopy:any) =>{
tinymceHtml.value = associatedFormsHideDialogTextCopy
}
const tinymceReInit = ()=>{
-
+ //console.log(props.aftTextCopy)
let str:string = props.aftTextCopy
+ tinymceHtml.value = props.aftTextCopy
}
const focusEditor = ()=>{