113 02.主表字段关系演示 Demo_02 1 ShenFen_CH_0 工人 ShenFen 0 CH ShenFen_CH_1 农民 ShenFen 1 CH ShenFen_CH_2 干部 ShenFen 2 CH XingBie_CH_0 XingBie 0 CH XingBie_CH_1 XingBie 1 CH Demo_02 02.基础功能 900 1400 800 900 4 Demo_02_D_Tel Demo_02 D_Tel 电话 0 1 0 120 23 1 1 0 0 0 215 728 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_DDL_Email Demo_02 DDL_Email 邮件 0 1 0 148 23 1 1 0 0 0 376 646 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_DDL_FK_Dept Demo_02 DDL_FK_Dept 部门 1 1 2 100 23 BP.Port.Depts NO NAME 1 1 0 0 0 559 646 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_DDL_FK_Emp Demo_02 DDL_FK_Emp 人员 1 1 2 100 23 BP.Port.Emps NO NAME 1 1 0 0 0 87 647 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_DDL_Tel Demo_02 DDL_Tel 电话 0 1 0 100 23 1 1 0 0 0 243 647 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_DianHua Demo_02 DianHua 电话 0 1 0 100 23 1 1 0 0 0 448 448 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_Email Demo_02 Email 邮件 0 1 0 173 23 1 1 0 0 0 106 489 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_FK_City Demo_02 FK_City 城市 1 1 2 100 23 BP.CN.Citys NO NAME 1 1 0 0 0 448 806 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_FK_Dept Demo_02 FK_Dept 部门 1 1 2 100 23 BP.Port.Depts NO NAME 1 1 0 0 0 328 488 0 0 0 1 0 0 0 1 0 0 0 0 0 0 100 113 Demo_02_FK_DQ Demo_02 FK_DQ 地区 1 1 2 100 23 BP.CN.PQs NO NAME 1 1 0 0 0 104 808 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_FK_SF Demo_02 FK_SF 省份 1 1 2 100 23 BP.CN.SFs NO NAME 1 1 0 0 0 264 807 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_FK_Station Demo_02 FK_Station 岗位 1 1 2 100 23 BP.Port.Stations NO NAME 1 1 0 0 0 374 566 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_HunFou Demo_02 HunFou 婚否 2 4 0 100 23 1 1 0 0 0 388 211 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_C Demo_02 C C 0 2 0 60 23 1 1 0 0 0 275 60 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_CaoZuoYuanBianHao Demo_02 CaoZuoYuanBianHao 操作员编号 0 1 0 100 23 1 1 0 0 0 107 448 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_CaoZuoYuanMingCheng Demo_02 CaoZuoYuanMingCheng 操作员名称 0 1 0 100 23 1 1 0 0 0 281 449 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_D Demo_02 D D 0 2 0 62 23 1 1 0 0 0 274 93 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_D_Email Demo_02 D_Email 邮件 0 1 0 156 23 1 1 0 0 0 364 729 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_RenYuan Demo_02 RenYuan 人员 0 1 0 78 23 1 1 0 0 0 85 567 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_RenYuanMingCheng Demo_02 RenYuanMingCheng 人员名称 0 1 0 85 23 1 1 0 0 0 223 567 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_ShenFen Demo_02 ShenFen 3 2 1 30 23 ShenFen NO NAME 1 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_XingBie Demo_02 XingBie 性别 1 2 1 62 23 XingBie NO NAME 1 1 0 0 0 315 210 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_XingMing Demo_02 XingMing 姓名 0 1 0 74 23 1 1 0 0 0 206 209 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_YouBian Demo_02 YouBian 邮编 0 1 0 100 23 1 1 0 0 0 420 289 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_YouJian Demo_02 YouJian 邮件 0 1 0 100 23 1 1 0 0 0 562 289 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_TianXieXinXi Demo_02 TianXieXinXi 填写信息 0 1 0 312 23 1 1 0 0 0 364 249 0 0 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_A Demo_02 A A 0 2 0 47 23 1 1 0 0 0 105 68 0 1 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_B Demo_02 B B 0 2 0 48 23 1 1 0 0 0 104 96 0 2 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_AaddB Demo_02 AaddB A加B 0 0 2 0 58 23 1 0 0 0 0 97 138 0 3 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_CAddD Demo_02 CAddD CAddD 0 0 2 0 68 23 1 0 0 0 0 271 137 0 999 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_D_FK_Emp Demo_02 D_FK_Emp 人员 1 1 2 100 23 BP.Port.Emps NO NAME 1 1 0 0 0 81 727 0 999 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_D_FK_Station Demo_02 D_FK_Station 他的岗位集合 1 1 2 100 23 BP.Port.Stations NO NAME 1 1 0 0 0 523 728 0 999 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_ShouJiHao Demo_02 ShouJiHao 手机号 0 1 0 100 23 1 1 0 0 0 273 290 0 999 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_ShuZiLeiXingChaoLianJie Demo_02 ShuZiLeiXingChaoLianJie 数字类型超连接 100 0 2 0 100 23 1 0 0 0 0 366 890 0 999 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_OID Demo_02 OID OID 0 0 2 0 100 23 0 0 0 0 0 0 0 1 999 0 1 0 0 0 1 0 0 0 0 0 0 20 113 Demo_02_Pop Demo_02 Pop Pop弹窗字段 0 1 0 549 22 1 1 0 0 0 125 964 0 999 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_RDT Demo_02 RDT 更新时间 @RDT 0 7 0 100 23 0 0 0 0 0 5 5 1 1 999 0 1 0 0 0 1 0 0 0 0 0 0 500 113 Demo_02_WenBenLeiXingChaoLianJie Demo_02 WenBenLeiXingChaoLianJie 文本类型超连接 @WebUser.No 0 1 0 100 23 1 0 0 0 0 147 889 0 999 0 1 0 0 0 1 0 0 0 0 0 0 500 113 ActiveDDL_Demo_02_FK_City Demo_02 ActiveDDL 0 FK_SF FK_City SELECT No, Name FROM CN_City WHERE FK_SF = ~@Key~ 500 400 0 ActiveDDL_Demo_02_FK_SF Demo_02 ActiveDDL 0 FK_DQ FK_SF SELECT No, Name FROM CN_SF WHERE FK_PQ = ~@Key~ 500 400 0 AutoFull_Demo_02_AaddB Demo_02 AutoFull 0 AaddB @A+@B 1 500 400 0 DDLFullCtrl_Demo_02_D_FK_Emp Demo_02 DDLFullCtrl 0 D_FK_Emp SELECT Tel as D_Tel,Email as D_Email, FK_Dept as D_FK_Dept FROM WF_Emp WHERE No = ~@Key~ $D_FK_Station:SELECT No,Name FROM Port_Station WHERE No IN ( SELECT FK_Station FROM Port_EmpStation WHERE FK_Emp=~@Key~) 500 400 0 DDLFullCtrl_Demo_02_DDL_FK_Emp Demo_02 DDLFullCtrl 0 DDL_FK_Emp SELECT Tel as DDL_Tel,Email as DDL_Email, FK_Dept as DDL_FK_Dept FROM WF_Emp WHERE No = ~@Key~ 500 400 0 InputCheck_Demo_02_DianHuaHaoMa Demo_02 InputCheck 0 DianHuaHaoMa function isTel(s) { //var patrn=/^[+]{0,1}(\d){1,3}[ ]?([-]?(\d){1,12})+$/; var patrn = /^[+]{0,1}(\d){1,3}[ ]?([-]?((\d)|[ ]){1,12})+$/; if (!patrn.exec(s.value)) { alert(~非法的电话号码格式.~); return false; } return true } D:\ccflow\trunk\CCFlow\Data\JSLib\onblur\04.校验普通电话、传真号码:可以“+”开头,除数字外,可含有“-” .js isTel onblur 500 400 0 InputCheck_Demo_02_ShouJiHao Demo_02 InputCheck 0 ShouJiHao function isMobil(c) { var patrn = /^[+]{0,1}(\d){1,3}[ ]?([-]?((\d)|[ ]){1,12})+$/; if (c.value == ~~) return; if (!patrn.exec(c.value)) { c.focus(); c.select(); alert(~非法的手机号码.~); return false; } return true } D:\ccflow\trunk\CCFlow\\Data\\JSLib\onblur\01.校验手机号码.js isMobil onblur 500 400 0 InputCheck_Demo_02_YouBian Demo_02 InputCheck 0 YouBian function isPostalCode(c) { var val = c.value; if (val == ~~) return; if (val.length != 6) { c.select(); c.focus(); alert(~非法的邮政编码格式.~); return false; } var patrn = /^[0-9]+$/; if (!patrn.exec(val)) { c.select(); c.focus(); alert(~非法的邮政编码格式.~); return false; } return true } D:\ccflow\trunk\CCFlow\WF\Data\\JSLib\onblur\07.校验邮政编码.js isPostalCode onblur 500 400 0 InputCheck_Demo_02_YouJian Demo_02 InputCheck 0 YouJian function checkMail(c) { var email = c.value; if (email == ~~) return; //存在@符号 var a = email.indexOf("@"); //是否存在点 var point = email.indexOf("."); //存在@,点,并且 点在@之后,且不相邻 if (a == -1 || point == -1 || point - a <= 1) { alert("Email格式不正确。正确的例如abc@ccflow.org"); c.select(); c.focus(); return false; } //@不能够是第一个字符,点不能够是最后一个字符 if (a == 0 || point == email.length - 1) { alert("Email格式不正确。正确的例如abc@ccflow.org"); c.select(); c.focus(); return false; } return true; } D:\ccflow\trunk\CCFlow\\Data\\JSLib\onblur\08.校验email.js checkMail onblur 500 400 0 Link_Demo_02_ShuZiLeiXingChaoLianJie Demo_02 Link 0 ShuZiLeiXingChaoLianJie http://ccflow.org?MyNum=@ShuZiLeiXingChaoLianJie _ShuZiLeiXingChaoLianJie 500 400 0 Link_Demo_02_WenBenLeiXingChaoLianJie Demo_02 Link 0 WenBenLeiXingChaoLianJie http://ccflow.org?UsreNo=@WenBenLeiXingChaoLianJie _WenBenLeiXingChaoLianJie 500 400 0 PopVal_Demo_02_Pop Demo_02 PopVal 0 Pop /SDKFlowDemo/PopSelectVal.aspx SELECT No,Name FROM Port_Dept SELECT No,Name, FK_Dept FROM Port_Emp 0 @PopValFormat=2@PopValWorkModel=1@PopValSelectModel=0@PopValShowModel=0 500 400 0 RegularExpression_Demo_02_ShouJiHao_onblur Demo_02 RegularExpression 0 ShouJiHao /^[0-9]*$/ onblur 只能输入数字 500 400 0 TBFullCtrl_Demo_02_CaoZuoYuanBianHao Demo_02 TBFullCtrl 0 CaoZuoYuanBianHao SELECT No,Name,Name as CaoZuoYuanMingCheng,Tel as DianHua,Email,FK_Dept FROM WF_Emp WHERE No LIKE ~@Key%~ SELECT No,Name,Name as CaoZuoYuanMingCheng,~0531-82374939~ as DianHua,FK_Dept FROM Port_Emp WHERE No LIKE ~@Key%~ 500 400 0 TBFullCtrl_Demo_02_RenYuan Demo_02 TBFullCtrl 0 RenYuan SELECT No,Name,Name as RenYuanMingCheng FROM Port_Emp WHERE No LIKE ~@Key%~ $FK_Station:SELECT No,Name FROM Port_Station WHERE No IN ( SELECT FK_Station FROM Port_EmpStation WHERE FK_Emp=~@Key~) 500 400 0 LE_1_Demo_02 Demo_02 45 680 199 199 Black 2 LE_10_Demo_02 Demo_02 52 660 761 761 Black 2 LE_11_Demo_02 Demo_02 160 160 66 182 Black 2 LE_12_Demo_02 Demo_02 205 377 121 121 Black 2 LE_13_Demo_02 Demo_02 40 681 359 359 Black 2 LE_14_Demo_02 Demo_02 48 560 519 519 Black 2 LE_15_Demo_02 Demo_02 50 556 600 600 Black 2 LE_16_Demo_02 Demo_02 40 40 39 1116 Black 2 LE_17_Demo_02 Demo_02 682 682 38 1116 Black 2 LE_18_Demo_02 Demo_02 53 664 839 839 Black 2 LE_19_Demo_02 Demo_02 476 476 219 219 Black 2 LE_2_Demo_02 Demo_02 39 679 281 281 Black 2 LE_20_Demo_02 Demo_02 345 345 56 174 Black 2 LE_21_Demo_02 Demo_02 682 682 160 160 Black 2 LE_22_Demo_02 Demo_02 48 181 123 123 Black 2 LE_23_Demo_02 Demo_02 41 682 996 996 Black 2 LE_3_Demo_02 Demo_02 40 683 39 39 Black 2 LE_4_Demo_02 Demo_02 49 663 681 681 Black 2 LE_5_Demo_02 Demo_02 55 673.57 918 918 Black 2 LE_6_Demo_02 Demo_02 367 367 939 939 Black 2 LE_7_Demo_02 Demo_02 42 682 1117 1117 Black 2 LE_8_Demo_02 Demo_02 394 394 41 198 Black 2 LE_9_Demo_02 Demo_02 562 562 78 78 Black 2 Demo_02 Btn_1_Demo_02 C+D= 6 SetCtrlVal(~CAddD~, parseFloat( ReqTB(~C~))+ parseFloat( ReqTB(~D~)) ); 218 137 Demo_02 Btn_2_Demo_02 生成填写信息 6 var s=~~; s+=~姓名:~+ReqTB(~XingMing~); s+=~性别:~+ReqDDL(~XingBie~); s+=~婚否:~+ReqCB(~HunFou~);SetCtrlVal(~TianXieXinXi~,s); alert(~生成成功~); 75 245 Demo_02 Btn_3_Demo_02 清除 6 SetCtrlVal(~TianXieXinXi~,~~); 206 245 Img_1_Demo_02 0 /CCFormDesigner;component/Img/Logo/ccflow/LogoBig.png /CCFormDesigner;component/Img/Logo//LogoBig.png _blank Demo_02 0 436 47 77 200 1 LB_1_Demo_02 Demo_02 手写板@显示大小可以用shift+方向键来改变。@右键编辑属性。 423 1014 #FF291CFF Portable User Interface 11 Normal 0 0 LB_10_Demo_02 Demo_02 手工计算特效 202 47 #FF1515FF Portable User Interface 11 Normal 1 0 LB_11_Demo_02 Demo_02 Pop弹窗字段 51 968 #FF000000 Portable User Interface 11 Normal 0 0 LB_12_Demo_02 Demo_02 CCForm的基础功能 169 1 #FF000000 Portable User Interface 20 Normal 1 0 LB_13_Demo_02 Demo_02 填写信息 309 252 #FF000000 Portable User Interface 11 Normal 0 0 LB_14_Demo_02 Demo_02 输入完整性校验 47 286 #FF000000 Portable User Interface 21 Normal 1 0 LB_15_Demo_02 Demo_02 邮编 387 293 #FF000000 Portable User Interface 11 Normal 0 0 LB_16_Demo_02 Demo_02 邮件 348 652 #FF000000 Portable User Interface 11 Normal 0 0 LB_17_Demo_02 Demo_02 CCForm对Javascript@支持部分展示 407 129 #FF000000 Portable User Interface 20 Normal 1 0 LB_18_Demo_02 Demo_02 手机号 231 295 #FF000000 Portable User Interface 11 Normal 0 0 LB_19_Demo_02 Demo_02 电话 213 651 #FF000000 Portable User Interface 11 Normal 0 0 LB_2_Demo_02 Demo_02 JS操作表单控件 45 208 #FF000000 Portable User Interface 17 Normal 1 0 LB_20_Demo_02 Demo_02 文本框自动完成:利用SQL控制下拉框的显示范围 46 529 #FF291CFF Portable User Interface 11 Normal 0 0 LB_21_Demo_02 Demo_02 人员名称 170 571 #FF000000 Portable User Interface 11 Normal 0 0 LB_22_Demo_02 Demo_02 下拉框自动填充主表控件:可以通过配置的sql自动填充表单上其它控件的值。 43 613 #FF291CFF Portable User Interface 11 Normal 0 0 LB_23_Demo_02 Demo_02 A 83 73 #FF000000 Portable User Interface 11 Normal 0 0 LB_24_Demo_02 Demo_02 请在文本框上双点击. 565 935 #FF000000 Portable User Interface 11 Normal 0 0 LB_25_Demo_02 Demo_02 B 82 101 #FF000000 Portable User Interface 11 Normal 0 0 LB_26_Demo_02 Demo_02 人员 53 570 #FF000000 Portable User Interface 11 Normal 0 0 LB_27_Demo_02 Demo_02 电话 409 450 #FF000000 Portable User Interface 11 Normal 0 0 LB_28_Demo_02 Demo_02 级联下拉框:可实现无限级别级联. 49 777 #FF291CFF Portable User Interface 11 Normal 0 0 LB_29_Demo_02 Demo_02 省份 225 811 #FF000000 Portable User Interface 11 Normal 0 0 LB_3_Demo_02 Demo_02 操作员编号 48 453 #FF000000 Portable User Interface 11 Normal 0 0 LB_30_Demo_02 Demo_02 人员 47 731 #FF000000 Portable User Interface 11 Normal 0 0 LB_31_Demo_02 Demo_02 部门 293 493 #FF000000 Portable User Interface 11 Normal 0 0 LB_32_Demo_02 Demo_02 人员 50 650 #FF000000 Portable User Interface 11 Normal 0 0 LB_33_Demo_02 Demo_02 A+B= 54 139 #FF000000 Portable User Interface 11 Normal 1 0 LB_34_Demo_02 Demo_02 未完待续 307 1129 #FF000000 Portable User Interface 19 Normal 1 0 LB_35_Demo_02 Demo_02 C 249 66 #FF000000 Portable User Interface 11 Normal 0 0 LB_36_Demo_02 Demo_02 城市 402 810 #FF000000 Portable User Interface 11 Normal 0 0 LB_37_Demo_02 Demo_02 姓名 178 212 #FF000000 Portable User Interface 11 Normal 0 0 LB_38_Demo_02 Demo_02 字段Pop弹窗:可以解决弹出窗体返回值的到当前文本框的问题. 54 929 #FF291CFF Portable User Interface 11 Normal 0 0 LB_39_Demo_02 Demo_02 文本框自动填充主表控件:可以通过配置的sql自动填充表单上其它控件的值。 46 414 #FF291CFF Portable User Interface 11 Normal 0 0 LB_4_Demo_02 Demo_02 下拉框自动填充主表控件:&nbsp;可以动态控制要填充的下拉框的范围。 46 693 #FF291CFF Portable User Interface 11 Normal 0 0 LB_40_Demo_02 Demo_02 邮件 339 731 #FF000000 Portable User Interface 11 Normal 0 0 LB_41_Demo_02 Demo_02 D 248 99 #FF000000 Portable User Interface 11 Normal 0 0 LB_42_Demo_02 Demo_02 邮件 529 292 #FF000000 Portable User Interface 11 Normal 0 0 LB_43_Demo_02 Demo_02 电话 189 732 #FF000000 Portable User Interface 11 Normal 0 0 LB_44_Demo_02 Demo_02 文本类型超连接 55 892 #FF000000 Portable User Interface 11 Normal 0 0 LB_45_Demo_02 Demo_02 检验函数库分为系统函数库与自定义函数库,请参考手册。 53 334 #FF000000 Portable User Interface 11 Normal 0 0 LB_46_Demo_02 Demo_02 数字类型超连接 273 892 #FF000000 Portable User Interface 11 Normal 0 0 LB_47_Demo_02 Demo_02 岗位 333 571 #FF000000 Portable User Interface 11 Normal 0 0 LB_48_Demo_02 Demo_02 他的岗位集合 522 705 #FF000000 Portable User Interface 11 Normal 0 0 LB_49_Demo_02 Demo_02 操作员名称 217 452 #FF000000 Portable User Interface 11 Normal 0 0 LB_5_Demo_02 Demo_02 邮件 74 494 #FF000000 Portable User Interface 11 Normal 0 0 LB_50_Demo_02 Demo_02 部门 533 651 #FF000000 Portable User Interface 11 Normal 0 0 LB_51_Demo_02 Demo_02 地区 63 815 #FF000000 Portable User Interface 11 Normal 0 0 LB_52_Demo_02 Demo_02 Ajax自动填充主表数据控件 42 369 #FF000000 Portable User Interface 23 Normal 1 0 LB_6_Demo_02 Demo_02 身份: 450 212 #FF000000 Portable User Interface 12 Normal 0 0 LB_7_Demo_02 Demo_02 性别 284 211 #FF000000 Portable User Interface 11 Normal 0 0 LB_8_Demo_02 Demo_02 字段超连接:可以实现对一个字段的数据连接到其它的界面上去,该字段必须是只读字段. 54 854 #FF291CFF Portable User Interface 11 Normal 0 0 LB_9_Demo_02 Demo_02 自动计算特效 58 46 #FF1515FF Portable User Interface 11 Normal 1 0 Demo_02_ShenFen_0 Demo_02 ShenFen ShenFen 工人 0 487 213