-gMIS 继续更新。
1. ./jdo.php
在操作列表增加 “打印”功能,可以从list页面直接呼出打印预览的页面;
修改 comm/ido.js 修正 doActSelect函数使之配合完成上面的任务;
修改字符串处理函数,使之在list模式下对HTML的过滤更加智能,由替换 < 为 < 变成将 <.*?> 内容替换掉, str_replace 换成使用 preg_replace;
2. op字段
修正 act/doaddmodi.php 中的bug,使之能够记录当前操作人的身份到记录表;确认了 $opfield 的列表状态;
对应地,可以在 xml 中配置 op 字段为:
<field name=”op”>
<chnname>递交人</chnname>
<selectoption>fromtable::info_usertbl::email</selectoption>
<listview>1</listview>
<inputtype>select</inputtype>
</field>
3. 分层代码的使用
在新部署项目中,代码使用带有层级的风格,通用的字典表结构:
create table internet_typetbl(
id int(11) not null auto_increment,
icode char(16) not null default ”,
iname char(32) not null default ”,
iserial mediumint(4) not null default 0,
op char(32) not null default ”,
inserttime datetime not null default ‘0000-00-00 00:00:00’,
istate tinyint(1) not null default 1,
primary key(id),
unique index key2(iname)
);
其中icode是名称,iserial是显示顺序。
在调用字典表的主表中,存储的值可能不再是值的id,而是值的icode,这样主要是为了能够方面的按父类检索、聚合(-R/k2Sl)。
4. -gMIS 迁入 -github
为便于管理,-gMIS 近日迁入 -github , 与此同时的还有 -GWA2 和 -GTAjax 也一并迁入 -github .
5. 在 -人民网 交流 -gMIS
2015年1月,在人民网内部交流,以题目:-gmis系统在业务运营中的应用











