1.当点击新建报告创建了一个报告后,在该没有保存,没有发起流程、没有提交的情况下,直接点击返回时,
弹出一个提示框提示是否要删除该报告,如果选是则删除并返回一览,选否则返回一览不删除。
在list页面
1506 行开始
case "REPORT":
Session["relevance"] = null;
Session["reBack"] = "hold";
Session["IsModefy"] = "修改";//add lixiaomeng by 2013-4-24 判断是否为修改页
面
if (args[2] != "")
{
Session["WK"] = args[2];
}
在Edit页面
4259行
Session["reBack"] = "hold";
if (schedule != "")
{
chg.Make(html, INDEX_URL + TYPE + "&SCHEDULE=" + schedule);
}
index.aspx页面
372行还开始
else if ((litype > 17 && litype < 22) || litype == "11" || litype == "13" || litype ==
"65" || (litype > 229 && litype < 233)) {
fli = "li2";
if (litype == "11" || litype == "19" | litype == "20" | litype == "21" || litype
== "65") {
sli = "li2_div1";
}
if (litype > 229 && litype < 233) {
sli = "li2_div2";
}
}
2.现行有效文件、历年有效文件中增加文件分类字段(单选,内容为:质量体系手册、质量体系程序文件、质
量体系作业文件),并且作为检索条件和一览显示列,位置在文件名称下方。(注意兼容老数据)
update reportstruct set no=4 where tabletype='11' and no=2
reportstruct表添加两个字段“文件分类”,“附件上传”,
兼容老数据
update reportDetail set no=4 where id in(select ID from( select ID,count(*) num from
(select * from reportDetail where id in(select ID from reports where tabletype=11))t
group by ID )tt where num=2) and no=2 --修改老数据no=2的改为no=4
查询出所有的老数据ID:
select ID from reportDetail
where id in(select ID from( select ID,count(*) num from
(select * from reportDetail where id in(select ID from reports where tabletype=11))t
group by ID )tt where num=2) and no=2
然后分别用使用ID处理老数据:
insert into ('报告ID',2,'','')
insert into ('报告ID',3,'','')