流程发布表单暂时去掉表单手册显示
This commit is contained in:
parent
de06841ea4
commit
0177a06443
@ -446,9 +446,10 @@ var changedId = '';
|
||||
|
||||
function initPublishData(data, type, pageNumber, start){
|
||||
showlist(data, type, pageNumber, start);
|
||||
var ff = $("#readonly").val();
|
||||
if($("#readonly").val()=="true"){
|
||||
$("#publish_new_button").hide();
|
||||
$("#publish_change_button").hide();
|
||||
$("#publish_stop_button").hide();
|
||||
}
|
||||
|
||||
}
|
||||
@ -570,8 +571,13 @@ function showlist(data, type, pageNumber, start){
|
||||
}
|
||||
}
|
||||
var fileName = curr.publishFileName + ' V' + curr.fileVersion;
|
||||
debugger;
|
||||
var outputName = getOutputName(curr.category, curr.methodId);
|
||||
var reportName = '<a href="javascript:void(0);" onclick="openReportFile(\'' + curr.taskId + '\')">' + fileName + "-" + outputName + '</a><span id="download_output_' + curr.publishFileId + '" style="cursor: pointer;" onclick="downloadReport(\'' + curr.publishFileId + '\',\'' + curr.taskId + '\')"><i class="awsui-iconfont" style="font-size: 12px;"></i></span>';
|
||||
if(outputName=="表单封面"){
|
||||
var reportName = "";
|
||||
}
|
||||
//var reportName = '<a href="javascript:void(0);" onclick="openReportFile(\'' + curr.taskId + '\')">' + fileName + "-" + outputName + '</a><span id="download_output_' + curr.publishFileId + '" style="cursor: pointer;" onclick="downloadReport(\'' + curr.publishFileId + '\',\'' + curr.taskId + '\')"><i class="awsui-iconfont" style="font-size: 12px;"></i></span>';
|
||||
var quickCreate = "<a href='javascript:void(0);' onclick='quickCreateReport(" + JSON.stringify(curr) + ", $(this), \"new\")'>立即创建</a>";
|
||||
var processNumber = '提交后生成文件编号';
|
||||
if(curr.processNumber != undefined&&curr.processNumber != ''){
|
||||
@ -643,7 +649,10 @@ function showlist(data, type, pageNumber, start){
|
||||
targetId = curr.changedFileIdNew;
|
||||
}
|
||||
var outputName = getOutputName(curr.category, curr.methodId);
|
||||
var reportName = '<a href="javascript:void(0);" onclick="openReportFile(\'' + curr.taskId + '\')">' + targetFileName + "-" + outputName + '</a><span id="download_output_' + curr.changeFileId + '" style="cursor: pointer;" onclick="downloadReport(\'' + curr.changeFileId + '\',\'' + curr.taskId + '\')"><i class="awsui-iconfont" style="font-size: 12px;"></i></span>';
|
||||
var reportName = '<a href="javascript:void(0);" onclick="openReportFile(\'' + curr.taskId + '\')">' + targetFileName + "-" + outputName + '</a><span id="download_output_' + curr.publishFileId + '" style="cursor: pointer;" onclick="downloadReport(\'' + curr.publishFileId + '\',\'' + curr.taskId + '\')"><i class="awsui-iconfont" style="font-size: 12px;"></i></span>';
|
||||
if(outputName=="表单封面"){
|
||||
var reportName = "";
|
||||
}
|
||||
var quickCreate = "<a href='javascript:void(0);' onclick='quickCreateReport(" + JSON.stringify(curr) + ", $(this), \"change\")'>立即创建</a>";
|
||||
createButtonObj[curr.changeFileId] = quickCreate;
|
||||
reportName = (curr.taskId == undefined || curr.taskId == '') ? '无' : curr.taskId == 'submit_create' ? quickCreate : reportName;
|
||||
|
||||
@ -212,7 +212,7 @@ function getOutputName(category, method) {
|
||||
return '制度手册';
|
||||
}
|
||||
if (method == 'data.form') {
|
||||
return '表单手册'
|
||||
return '表单封面'
|
||||
}
|
||||
if (method.indexOf('process.') > -1) {
|
||||
return '流程手册';
|
||||
@ -236,9 +236,16 @@ function showlist(data, type, pageNumber, start){
|
||||
|
||||
var fileName = curr.publishFileName + ' V' + curr.fileVersion;
|
||||
var outputName = getOutputName(curr.category, curr.methodId);
|
||||
if(outputName=="表单封面"){
|
||||
|
||||
|
||||
}
|
||||
|
||||
html +='<tr>';
|
||||
html +='<td class="form-grid-mobile-common-row" width=100%>';
|
||||
html +='<span class="form-grid-mobile-common-tap" onclick="openReportFile(\'' + curr.taskId +'\');return false" >' +'文件预览: '+ fileName + "-" + outputName + '</span>';
|
||||
if(outputName!="表单封面"){
|
||||
html +='<span class="form-grid-mobile-common-tap" onclick="openReportFile(\'' + curr.taskId +'\');return false" >' +'手册预览: '+ fileName + "-" + outputName + '</span>';
|
||||
}
|
||||
html +='</td>';
|
||||
html +='</tr>';
|
||||
html +='<tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user