|
@@ -271,7 +271,7 @@
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}else{
|
|
}else{
|
|
- top.layer.msg("该公告信息已删除!", {icon: 0});
|
|
|
|
|
|
+ top.layer.msg("该通告信息已删除!", {icon: 0});
|
|
window.location.reload();
|
|
window.location.reload();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -309,7 +309,7 @@
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}else{
|
|
}else{
|
|
- top.layer.msg("该公告信息已删除!", {icon: 0});
|
|
|
|
|
|
+ top.layer.msg("该通告信息已删除!", {icon: 0});
|
|
window.location.reload();
|
|
window.location.reload();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -402,13 +402,13 @@
|
|
|
|
|
|
<div class="commonQuery">
|
|
<div class="commonQuery">
|
|
<div class="layui-item query athird">
|
|
<div class="layui-item query athird">
|
|
- <label class="layui-form-label">公告标题:</label>
|
|
|
|
|
|
+ <label class="layui-form-label">通告标题:</label>
|
|
<div class="layui-input-block with-icon">
|
|
<div class="layui-input-block with-icon">
|
|
<form:input path="title" htmlEscape="false" maxlength="200" class=" form-control layui-input" />
|
|
<form:input path="title" htmlEscape="false" maxlength="200" class=" form-control layui-input" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="layui-item query athird">
|
|
<div class="layui-item query athird">
|
|
- <label class="layui-form-label">公告文号:</label>
|
|
|
|
|
|
+ <label class="layui-form-label">通告文号:</label>
|
|
<div class="layui-input-block with-icon">
|
|
<div class="layui-input-block with-icon">
|
|
<form:input path="referenceNumber" htmlEscape="false" maxlength="200" class=" form-control layui-input"/>
|
|
<form:input path="referenceNumber" htmlEscape="false" maxlength="200" class=" form-control layui-input"/>
|
|
</div>
|
|
</div>
|
|
@@ -418,7 +418,7 @@
|
|
|
|
|
|
|
|
|
|
<%-- <div class="layui-item query athird">--%>
|
|
<%-- <div class="layui-item query athird">--%>
|
|
-<%-- <label class="layui-form-label">公告类型:</label>--%>
|
|
|
|
|
|
+<%-- <label class="layui-form-label">通告类型:</label>--%>
|
|
<%-- <div class="layui-input-block">--%>
|
|
<%-- <div class="layui-input-block">--%>
|
|
<%-- <form:select path="type" class="form-control simple-select">--%>
|
|
<%-- <form:select path="type" class="form-control simple-select">--%>
|
|
<%-- <form:option value="" label=""/>--%>
|
|
<%-- <form:option value="" label=""/>--%>
|
|
@@ -455,13 +455,13 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="layui-item query athird">
|
|
<div class="layui-item query athird">
|
|
- <label class="layui-form-label">公告内容:</label>
|
|
|
|
|
|
+ <label class="layui-form-label">通告内容:</label>
|
|
<div class="layui-input-block with-icon">
|
|
<div class="layui-input-block with-icon">
|
|
<form:input path="content" htmlEscape="false" maxlength="200" class=" form-control layui-input"/>
|
|
<form:input path="content" htmlEscape="false" maxlength="200" class=" form-control layui-input"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <!-- 隐藏公告类型 可以重置 -->
|
|
|
|
|
|
+ <!-- 隐藏通告类型 可以重置 -->
|
|
<div class="layui-item query athird">
|
|
<div class="layui-item query athird">
|
|
<div class="layui-input-block with-icon">
|
|
<div class="layui-input-block with-icon">
|
|
<input name="type" value="${oaNotify.type}" type="hidden">
|
|
<input name="type" value="${oaNotify.type}" type="hidden">
|
|
@@ -533,18 +533,18 @@
|
|
,cols: [[
|
|
,cols: [[
|
|
// {checkbox: true, fixed: true},
|
|
// {checkbox: true, fixed: true},
|
|
{field:'index',align:'center', width:40,title: '序号'}
|
|
{field:'index',align:'center', width:40,title: '序号'}
|
|
- ,{field:'title',align:'center', title: '公告标题', minWidth:150,templet:function(d){
|
|
|
|
- var xml = "<a class=\"attention-info\" href=\"javascript:void(0)\" onclick=\"openDialogListView('查看公告', '${ctx}/oa/oaNotify/form?id=" + d.id + "&view=view','" + d.id + "','95%','95%')\">" +
|
|
|
|
|
|
+ ,{field:'title',align:'center', title: '通告标题', minWidth:150,templet:function(d){
|
|
|
|
+ var xml = "<a class=\"attention-info\" href=\"javascript:void(0)\" onclick=\"openDialogListView('查看通告', '${ctx}/oa/oaNotify/form?id=" + d.id + "&view=view','" + d.id + "','95%','95%')\">" +
|
|
"<span title=" + d.title + ">" + d.title + "</span></a>";
|
|
"<span title=" + d.title + ">" + d.title + "</span></a>";
|
|
return xml;
|
|
return xml;
|
|
}}
|
|
}}
|
|
- ,{field:'referenceNumber',align:'center', title: '公告文号', minWidth:150/*,templet:function(d){
|
|
|
|
- var xml = "<a class=\"attention-info\" href=\"javascript:void(0)\" onclick=\"openDialogView('查看公告', '${ctx}/oa/oaNotify/form?id=" + d.id + "&view=view','95%','95%')\">" +
|
|
|
|
|
|
+ ,{field:'referenceNumber',align:'center', title: '通告文号', minWidth:150/*,templet:function(d){
|
|
|
|
+ var xml = "<a class=\"attention-info\" href=\"javascript:void(0)\" onclick=\"openDialogView('查看通告', '${ctx}/oa/oaNotify/form?id=" + d.id + "&view=view','95%','95%')\">" +
|
|
"<span title=" + d.number + ">" + d.number + "</span></a>";
|
|
"<span title=" + d.number + ">" + d.number + "</span></a>";
|
|
return xml;
|
|
return xml;
|
|
}*/}
|
|
}*/}
|
|
- ,{field:'type',align:'center', title: '公告类型', width:80}
|
|
|
|
- ,{field:'content',align:'center', title: '公告内容', minWidth:200,templet:function(d){
|
|
|
|
|
|
+ ,{field:'type',align:'center', title: '通告类型', width:80}
|
|
|
|
+ ,{field:'content',align:'center', title: '通告内容', minWidth:200,templet:function(d){
|
|
return "<span title='"+ d.content +"'>" + d.content + "</span>";
|
|
return "<span title='"+ d.content +"'>" + d.content + "</span>";
|
|
}}
|
|
}}
|
|
,{field:'startDate', align:'center',title: '开始时间',width:150}
|
|
,{field:'startDate', align:'center',title: '开始时间',width:150}
|
|
@@ -556,7 +556,7 @@
|
|
,{field:'tmdcreateDate', align:'center',title: '创建时间',width:150,templet:function(d){
|
|
,{field:'tmdcreateDate', align:'center',title: '创建时间',width:150,templet:function(d){
|
|
return "<span title='"+ d.createDate +"'>" + d.tmdcreateDate + "</span>";
|
|
return "<span title='"+ d.createDate +"'>" + d.tmdcreateDate + "</span>";
|
|
}}
|
|
}}
|
|
- ,{align:'center', title: '公告状态', width:70,templet:function(d){
|
|
|
|
|
|
+ ,{align:'center', title: '通告状态', width:70,templet:function(d){
|
|
var st = getAuditState(d.status)
|
|
var st = getAuditState(d.status)
|
|
var xml = "<span onclick=\"openDialogListView('流程追踪', '${ctx}/oa/oaNotify/getProcess?id=" + d.id + "','" + d.id + "','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
var xml = "<span onclick=\"openDialogListView('流程追踪', '${ctx}/oa/oaNotify/getProcess?id=" + d.id + "','" + d.id + "','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
return xml;
|
|
return xml;
|
|
@@ -567,25 +567,25 @@
|
|
var xml = "<div class=\"layui-btn-group\">";
|
|
var xml = "<div class=\"layui-btn-group\">";
|
|
if(d.notifyFlag != undefined && d.notifyFlag !=null && "" != d.notifyFlag && d.notifyFlag == 1)
|
|
if(d.notifyFlag != undefined && d.notifyFlag !=null && "" != d.notifyFlag && d.notifyFlag == 1)
|
|
{
|
|
{
|
|
- xml+="<a href=\"#\" onclick=\"notifyDialogre('公告审批', '${ctx}/workprojectnotify/workProjectNotify/form?id=" + d.notifyId +"&home=invoice','95%', '95%')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 审批</a>";
|
|
|
|
|
|
+ xml+="<a href=\"#\" onclick=\"notifyDialogre('通告审批', '${ctx}/workprojectnotify/workProjectNotify/form?id=" + d.notifyId +"&home=invoice','95%', '95%')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 审批</a>";
|
|
}
|
|
}
|
|
if(d.canedit != undefined && d.canedit == "1")
|
|
if(d.canedit != undefined && d.canedit == "1")
|
|
- xml += "<a href=\"javascript:void(0)\" onclick=\"openDialog('修改公告', '${ctx}/oa/oaNotify/form?id="+ d.id +"','95%', '95%')\" class=\"layui-btn layui-btn-xs layui-bg-green\"> 修改</a>";
|
|
|
|
|
|
+ xml += "<a href=\"javascript:void(0)\" onclick=\"openDialog('修改通告', '${ctx}/oa/oaNotify/form?id="+ d.id +"','95%', '95%')\" class=\"layui-btn layui-btn-xs layui-bg-green\"> 修改</a>";
|
|
if(d.flagAdmin != undefined && d.flagAdmin == "1")
|
|
if(d.flagAdmin != undefined && d.flagAdmin == "1")
|
|
- xml += "<a href=\"javascript:void(0)\" onclick=\"openDialogAdmin('修改公告', '${ctx}/oa/oaNotify/adminForm?id="+ d.id +"','95%', '95%')\" class=\"layui-btn layui-btn-xs layui-bg-green\"> 修改</a>";
|
|
|
|
|
|
+ xml += "<a href=\"javascript:void(0)\" onclick=\"openDialogAdmin('修改通告', '${ctx}/oa/oaNotify/adminForm?id="+ d.id +"','95%', '95%')\" class=\"layui-btn layui-btn-xs layui-bg-green\"> 修改</a>";
|
|
if(d.candel != undefined && d.candel == "1")
|
|
if(d.candel != undefined && d.candel == "1")
|
|
- xml += "<a href=\"${ctx}/oa/oaNotify/delete?id="+ d.id +"\" onclick=\"return confirmx('确认要关闭该公告吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\"> 关闭</a>";
|
|
|
|
|
|
+ xml += "<a href=\"${ctx}/oa/oaNotify/delete?id="+ d.id +"\" onclick=\"return confirmx('确认要关闭该通告吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\"> 关闭</a>";
|
|
if(d.canmodify != undefined && d.canmodify =="1"){
|
|
if(d.canmodify != undefined && d.canmodify =="1"){
|
|
- xml+="<a href=\"#\" onclick=\"openDialogreModify('修改公告', '${ctx}/oa/oaNotify/modify?id=" + d.id + "','" + d.id + "','95%', '95%','','送审,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 修改</a>";
|
|
|
|
|
|
+ xml+="<a href=\"#\" onclick=\"openDialogreModify('修改通告', '${ctx}/oa/oaNotify/modify?id=" + d.id + "','" + d.id + "','95%', '95%','','送审,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 修改</a>";
|
|
}
|
|
}
|
|
if(d.cancancel != undefined && d.cancancel =="1"){
|
|
if(d.cancancel != undefined && d.cancancel =="1"){
|
|
- xml+="<a href=\"${ctx}/oa/oaNotify/revoke?id=" + d.id + "&processInstanceId=" + d.procId + "\" onclick=\"return confirmx('确认要撤回该公告吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\" > 撤回</a>";
|
|
|
|
|
|
+ xml+="<a href=\"${ctx}/oa/oaNotify/revoke?id=" + d.id + "&processInstanceId=" + d.procId + "\" onclick=\"return confirmx('确认要撤回该通告吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\" > 撤回</a>";
|
|
}
|
|
}
|
|
if(d.canrecall != undefined && d.canrecall =="1"){
|
|
if(d.canrecall != undefined && d.canrecall =="1"){
|
|
- xml+="<a href=\"#\" onclick=\"openDialogre('修改公告', '${ctx}/oa/oaNotify/form?id=" + d.id + "','95%', '95%','','送审,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 修改</a>";
|
|
|
|
|
|
+ xml+="<a href=\"#\" onclick=\"openDialogre('修改通告', '${ctx}/oa/oaNotify/form?id=" + d.id + "','95%', '95%','','送审,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 修改</a>";
|
|
}
|
|
}
|
|
if(d.candelete != undefined && d.candelete == "1"){
|
|
if(d.candelete != undefined && d.candelete == "1"){
|
|
- xml +="<a href=\"${ctx}/oa/oaNotify/logicDelete?id=" + d.id+"\" onclick=\"return confirmx('确认要删除该公告吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\"> 删除</a>";
|
|
|
|
|
|
+ xml +="<a href=\"${ctx}/oa/oaNotify/logicDelete?id=" + d.id+"\" onclick=\"return confirmx('确认要删除该通告吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\"> 删除</a>";
|
|
}
|
|
}
|
|
xml+="</div>"
|
|
xml+="</div>"
|
|
return xml;
|
|
return xml;
|