修改页面和接口
This commit is contained in:
parent
bcd1b5fd82
commit
8dcd4cca08
|
@ -250,8 +250,11 @@
|
|||
actions.push('<a class="btn btn-danger btn-xs" href="javascript:void(0)">已驳回</a> ');
|
||||
actions.push('<a data-type="edit" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>重新上传附件</a> ');
|
||||
}else if (row.status === '4'){
|
||||
actions.push('<a class="btn btn-primary btn-xs" href="javascript:void(0)">已完成</a> ');
|
||||
actions.push('<a data-type="view" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>查看附件</a> ');
|
||||
actions.push('<a class="btn btn-default btn-xs" href="javascript:void(0)">已完成</a> ');
|
||||
actions.push('<a data-type="view" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-default btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>查看附件</a> ');
|
||||
if (row.unit){
|
||||
actions.push('<a data-type="edit" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>继续上传附件</a> ');
|
||||
}
|
||||
}
|
||||
return actions.join('');
|
||||
}
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
},
|
||||
{
|
||||
field: 'branch',
|
||||
title: '支部名称'
|
||||
title: '支部名称',
|
||||
},
|
||||
{
|
||||
field: 'type',
|
||||
|
@ -230,7 +230,7 @@
|
|||
},
|
||||
{
|
||||
field: 'finishDate',
|
||||
title: '完成截止时间',
|
||||
title: '截止时间',
|
||||
align: 'center',
|
||||
formatter: function(value, row, index) {
|
||||
if (row.unit === '1'){
|
||||
|
@ -275,8 +275,11 @@
|
|||
actions.push('<a class="btn btn-danger btn-xs" href="javascript:void(0)">已驳回</a> ');
|
||||
actions.push('<a data-type="edit" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>重新上传附件</a> ');
|
||||
}else if (row.status === '4'){
|
||||
actions.push('<a class="btn btn-primary btn-xs" href="javascript:void(0)">已完成</a> ');
|
||||
actions.push('<a data-type="view" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>查看附件</a> ');
|
||||
actions.push((row.unit !==''?'<a class="btn btn-default btn-xs" href="javascript:void(0)">已完成'+row.updateTime.substr(0,10)+'</a> ':'<a class=\"btn btn-default btn-xs\" href=\"javascript:void(0)\">已完成</a> '));
|
||||
actions.push('<a data-type="view" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-default btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>查看附件</a> ');
|
||||
if (row.unit !== ''){
|
||||
actions.push('<a data-type="edit" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>继续上传</a> ');
|
||||
}
|
||||
}
|
||||
return actions.join('');
|
||||
}
|
||||
|
|
|
@ -244,8 +244,11 @@
|
|||
actions.push('<a class="btn btn-danger btn-xs" href="javascript:void(0)">已驳回</a> ');
|
||||
actions.push('<a data-type="edit" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>重新上传附件</a> ');
|
||||
}else if (row.status === '4'){
|
||||
actions.push('<a class="btn btn-primary btn-xs" href="javascript:void(0)">已完成</a> ');
|
||||
actions.push('<a data-type="view" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>查看附件</a> ');
|
||||
actions.push('<a class="btn btn-default btn-xs" href="javascript:void(0)">已完成</a> ');
|
||||
actions.push('<a data-type="view" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-default btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>查看附件</a> ');
|
||||
if (row.unit){
|
||||
actions.push('<a data-type="edit" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>继续上传附件</a> ');
|
||||
}
|
||||
}
|
||||
return actions.join('');
|
||||
}
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
data: {
|
||||
},
|
||||
success: function(data) {
|
||||
location.reload();
|
||||
parent.window.location.reload();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -269,8 +269,11 @@
|
|||
actions.push('<a class="btn btn-danger btn-xs" href="javascript:void(0)">已驳回</a> ');
|
||||
actions.push('<a data-type="edit" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>重新上传附件</a> ');
|
||||
}else if (row.status === '4'){
|
||||
actions.push('<a class="btn btn-primary btn-xs" href="javascript:void(0)">已完成</a> ');
|
||||
actions.push('<a data-type="view" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>查看附件</a> ');
|
||||
actions.push((row.unit !==''?'<a class="btn btn-default btn-xs" href="javascript:void(0)">已完成'+row.updateTime.substr(0,10)+'</a> ':'<a class=\"btn btn-default btn-xs\" href=\"javascript:void(0)\">已完成</a> '));
|
||||
actions.push('<a data-type="view" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-default btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>查看附件</a> ');
|
||||
if (row.unit !== ''){
|
||||
actions.push('<a data-type="edit" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>继续上传</a> ');
|
||||
}
|
||||
}
|
||||
return actions.join('');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue