第二次修改
This commit is contained in:
parent
9bfe41c1db
commit
3017284d08
|
|
@ -1342,6 +1342,8 @@ public class New_SubCheckManageServiceImpl implements New_SubCheckManageService
|
|||
}
|
||||
//写一个SQL 查询出下一级别审核人
|
||||
|
||||
}else{
|
||||
checkManageDao.updateProcessType(o.getChildId(),"0");
|
||||
}
|
||||
String phone = Objects.requireNonNull(UserUtil.getLoginUser()).getPhone();
|
||||
String orgId = Objects.requireNonNull(UserUtil.getLoginUser()).getOrgId();
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ layui.use(['form','upload'], function(){
|
|||
obj.files = obj.pushFile();
|
||||
console.log("files="+JSON.stringify(obj.files))
|
||||
obj.preview(function (index, file, result) {
|
||||
//debugger;
|
||||
demo12Num = $("#demo12").children().length;
|
||||
// if(demo12Num>=10){
|
||||
// layer.alert("最多只能上传10个文件!")
|
||||
|
|
|
|||
|
|
@ -768,17 +768,17 @@ function isDefaultProcess(processType) {
|
|||
|
||||
function getTypeImgConsPerson(str){
|
||||
if(str.toLowerCase().indexOf("xlsx") >0 || str.toLowerCase().indexOf("xls") >0){
|
||||
return "../../../img/login/filetype/excel.png";
|
||||
return "../../img/login/filetype/excel.png";
|
||||
}else if(str.toLowerCase().indexOf("pdf") >0){
|
||||
return "../../../img/login/filetype/pdf.png";
|
||||
return "../../img/login/filetype/pdf.png";
|
||||
}else if(str.toLowerCase().indexOf("ppt") >0){
|
||||
return "../../../img/login/filetype/ppt.png";
|
||||
return "../../img/login/filetype/ppt.png";
|
||||
}else if(str.toLowerCase().indexOf("txt") >0){
|
||||
return "../../../img/login/filetype/txt.png";
|
||||
return "../../img/login/filetype/txt.png";
|
||||
}else if(str.toLowerCase().indexOf("vsdx") >0){
|
||||
return "../../../img/login/filetype/visio.png";
|
||||
return "../../img/login/filetype/visio.png";
|
||||
}else if(str.toLowerCase().indexOf("doc") >0 || str.toLowerCase().indexOf("docx") >0){
|
||||
return "../../../img/login/filetype/word.png";
|
||||
return "../../img/login/filetype/word.png";
|
||||
}else{
|
||||
return "";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -715,7 +715,6 @@ function fileUpload(i,addFileBtn,uploadBtn,addImgDiv,requestUrl,fileId,typeId){
|
|||
choose: function (obj) {
|
||||
$.each(fileMap, function (idx, item) {
|
||||
//console.log("idxidxidxidxidx="+idx);
|
||||
// debugger;
|
||||
if (!isEmpty(item)) {
|
||||
if (i === item.idx) {
|
||||
//重置文件上传状态
|
||||
|
|
@ -1025,7 +1024,6 @@ function addFourFileContent(typeName,fileName,i,fileId,id,requestUrl,filePath) {
|
|||
|
||||
|
||||
function tempStorage(idx) {
|
||||
debugger;
|
||||
var status = uploadFileByFileId(idx);
|
||||
if(status !=0 && status !="-1"){
|
||||
$("#jmpClick").attr("href",status);
|
||||
|
|
|
|||
|
|
@ -843,7 +843,6 @@ function addFourFileContent(typeName,fileName,i,fileId,id,requestUrl,filePath) {
|
|||
};
|
||||
|
||||
function tempStorage(idx) {
|
||||
debugger;
|
||||
var status = uploadFileByFileId(idx);
|
||||
if(status !=0 && status !="-1"){
|
||||
$("#jmpClick").attr("href",status);
|
||||
|
|
@ -1470,7 +1469,6 @@ function deleteFiles(idx,index,btIndex,addImgDiv,dataFrom,type,fileName,addFileB
|
|||
console.log("fileItem333="+JSON.stringify(fileItem))
|
||||
var nums = $("#" + addImgDiv).children().length;
|
||||
var parentId = $("#" + addImgDiv).parent().attr('id');
|
||||
debugger;
|
||||
changeDivHeightByIdAndLine(parentId,nums,8,2);
|
||||
changeDivHeightByIdAndLine(outsideDiv,nums,8,2);
|
||||
//
|
||||
|
|
@ -1551,7 +1549,6 @@ function deleteFiles(idx,index,btIndex,addImgDiv,dataFrom,type,fileName,addFileB
|
|||
}
|
||||
var nums = $("#" + addImgDiv).children().length;
|
||||
var parentId = $("#" + addImgDiv).parent().attr('id');
|
||||
debugger;
|
||||
changeDivHeightByIdAndLine(parentId,nums,8,2);
|
||||
changeDivHeightByIdAndLine(outsideDiv,nums,8,2);
|
||||
})
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ layui.use(['form','upload'], function(){
|
|||
obj.files = obj.pushFile();
|
||||
console.log("files="+JSON.stringify(obj.files))
|
||||
obj.preview(function (index, file, result) {
|
||||
//debugger;
|
||||
demo12Num = $("#demo12").children().length;
|
||||
// if(demo12Num>=10){
|
||||
// layer.alert("最多只能上传10个文件!")
|
||||
|
|
|
|||
|
|
@ -125,7 +125,6 @@ function historyshow(){
|
|||
|
||||
|
||||
function nextStep(num){
|
||||
//debugger;
|
||||
if(pageNow === pageMax){
|
||||
upData(num,1);
|
||||
}else{
|
||||
|
|
@ -174,7 +173,6 @@ function upData(num,buttonType){
|
|||
newDataMsg:newDataMsg,
|
||||
returnId:uuid2(32,16)
|
||||
};
|
||||
//debugger;
|
||||
var valueParam ={
|
||||
consId: checkData.contractorId,
|
||||
proId: checkData.proId,
|
||||
|
|
@ -313,7 +311,6 @@ function upData(num,buttonType){
|
|||
|
||||
if (data.code == 200) {
|
||||
if(isHaveImage){
|
||||
debugger;
|
||||
$("#hideUpload2").trigger("click");
|
||||
$("#hideUpload4").trigger("click");
|
||||
$("#hideUpload6").trigger("click");
|
||||
|
|
@ -339,7 +336,6 @@ function upData(num,buttonType){
|
|||
}
|
||||
|
||||
} else {
|
||||
debugger;
|
||||
layer.msg("后端异常"+data.msg);
|
||||
}
|
||||
},
|
||||
|
|
@ -404,7 +400,6 @@ function upData(num,buttonType){
|
|||
dataType: "json",// 服务器返回数据类型
|
||||
success: function (data) {
|
||||
if (data.code == 200) {
|
||||
debugger;
|
||||
if(isHaveImage){
|
||||
$("#hideUpload12").trigger("click");
|
||||
$("#hideUpload21").trigger("click");
|
||||
|
|
|
|||
|
|
@ -177,7 +177,6 @@ function getUploadFileTypeByProId(){
|
|||
var resMsg = data.resMsg;
|
||||
console.log("data="+JSON.stringify(data))
|
||||
if(resMsg == "数据获取成功"){
|
||||
//debugger;
|
||||
var obj = data.obj.obj;
|
||||
for(var i=0;i<obj.length;i++){
|
||||
var html ='';
|
||||
|
|
|
|||
|
|
@ -554,6 +554,7 @@ function fileUpload(test,hideUpload,demo){
|
|||
if(hideUploadNum == 0){
|
||||
reloading();
|
||||
parent.layer.alert('新增成功',{icon: 1});
|
||||
parent.location.reload();
|
||||
}
|
||||
}
|
||||
,error: function (e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue