发布v2.5.5版本

This commit is contained in:
雨中磐石
2023-04-05 13:00:20 +08:00
parent bc69541c7b
commit 33ce4c6298
102 changed files with 570 additions and 280 deletions

View File

@@ -37,6 +37,10 @@ function initbody(){
for(var oi in inputtwo)c[oi]=inputtwo[oi];
initbody_tmp();
});
if(get('flow5div'))js.importjs('webmain/flow/input/inputjs/input_twp.js?'+Math.random()+'', function(){
for(var oj in inputtwp)c[oj]=inputtwp[oj];
c.flow5init();
});
}
function initbody_tmp(){
initother();
@@ -292,6 +296,15 @@ var c={
return false;
}
if(this.flow5get){
var d1 = this.flow5get();
if(d1.length==0){
this.showtx('请先设置审核流程');
return false;
}
d.sysflow5str = JSON.stringify(d1);
}
var s=changesubmit(d);
if(typeof(s)=='string'&&s!=''){
this.showtx(s);
@@ -443,6 +456,7 @@ var c={
}
}
c.initinput();
if(c.flow5initdata)c.flow5initdata();
initbodys(form('id').value);
if(isedit==0){
this.formdisabled();

View File

@@ -260,6 +260,7 @@ var inputtwo={
c.showfileup(this.fid, seld);
c.showupid(this.fid);
}
c.showxuanfile(seld);
}
}
});
@@ -267,6 +268,13 @@ var inputtwo={
js.msg('msg','无法操作');
}
},
showxuanfile:function(xda){
var ob = form('sxuanfileid'),st1;
st1 = ob.value;
if(st1)st1+=',';
st1+=''+xda.id+'';
ob.value = st1;
},
//上传完成
showupid:function(sna){
var os = $('div[upid_'+sna+']'),fvid='';
@@ -294,7 +302,7 @@ var inputtwo={
if(jg=='yes'){
o.remove();
c.showupid(sna);
if(!f.xuanbool)$.get(js.getajaxurl('delfile','upload','public',{id:fid}));
if(!f.xuanbool)$.get(js.getajaxurl('delfile','upload','public',{id:fid,mid:mid,num:moders.num}));
}
});
}

View File

@@ -1,4 +1,17 @@
//流程模块【company.公司单位】下录入页面自定义js页面,初始函数
function initbodys(){
if(form('yuming'))$(form('yuming')).blur(bluryuming);
}
function bluryuming(){
var val = this.value;
if(val){
val = strreplace(val);
val = val.replace('https://','');
val = val.replace('http://','');
if(val.indexOf('/')>-1){
val = val.substr(0, val.indexOf('/'));
}
this.value = val;
}
}