Task Class Y.YU 2006/2/10
Task Class 框架 132.0.xml Task2.sql C220.inc C220.js 客户端结构 C220.js 总结
132.0.xml <div id='gateeview' style=&quot;WIDTH: 100%; HEIGHT: 100%&quot; cid=&quot;220&quot; ctp=&quot;2&quot;></div> 传入 id 确定 cid
Task2.sql i11(id,exe,dsn,run,sty,tmp) VALUES( 220,'#c220.inc', #dc220.js','','#s220.css','#c220.js');
c220.inc function ctrl 把数据库中取出数据( i,i32 )处理后放到 __.$id.__tasks 中 function save_tasks 把客户端传来的数据存到数据库中
C220.js rt_global_initialize : function(cls) rt_initialize : function() data=window[&quot;__&quot;+this.obj.id+&quot;__tasks&quot;] this.load() post : function() pf_svr_call()
页面结构 <table1> <tr><td>toolbar</td></tr> <tr><td><table2></td></tr> </table1>
页面结构(续) <table2> <tr> <td><table3  表头 ></td> <td> 间隔 width='3' </td> <td> <div id= … _header> </td> </tr> <tr> <td> <div> <table id=…_tasklist> </div> </td> <td> 间隔 width='3' </td> <td> <div id= … _body> </td> </tr> </table2>
总结 Toolbar 独立出来 拆成 4 部分 表头 间隔 数据表( tree ) div 容器(装载 div, 画甘特图)
Thanks Y.YU 2006/2/10

test