";
str = str
+ ""
+ ""
+ " " + accContect + ""
+ " | ";
str = str
+ ""
+ '删除' + " |
";
$('#tableId').append(str);
} else {
$.alert({
title : '提示',
content : data.message,
confirm : function() {
}
});
}
}
});
}
// 删除accid 附件关联ID,id 是第几行附件
jsjdcbsj.detail.delFj = function(accid, tr) {
$.confirm({
title : '确认框',
content : '确认删除吗',
confirm : function() {
$.post($.app + "/jsjdcbsj/delFile", {
accid : accid
}, function(data) {
if (data.success) {
$(tr).parent().parent().remove();
} else {
$.alert({
title : '提示',
content : data.message,
confirm : function() {
}
});
}
}, "json");
},
cancel : function() {
}
});
}
function showRy() {
$('#selectrydiv').fadeIn(100);
$('#selectry2div').slideDown(0);
}
function showYj() {
$('#selectyjdiv').fadeIn(100);
$('#selectyj2div').slideDown(0);
}
/*function setDisabled(){
$('#szgkid').attr('disabled',true);
$('#szdid').attr('disabled',true);
$('#szgqid').attr('disabled',true);
$('#sylxid').attr('disabled',true);
$('#tzlxid').attr('disabled',true);
$('#xmlxid').attr('disabled',true);
$('#axspjbid').attr('disabled',true);
$('#xmhzjbid').attr('disabled',true);
$("#jcsj").attr('disabled',true);
}*/
function removeDisabled(){
$('#szgkid').removeAttr('disabled');
$('#szdid').removeAttr('disabled');
$('#szgqid').removeAttr('disabled');
$('#sylxid').removeAttr('disabled');
$('#tzlxid').removeAttr('disabled');
$('#xmlxid').removeAttr('disabled');
$('#axspjbid').removeAttr('disabled');
$('#xmhzjbid').removeAttr('disabled');
$("#szgkid").removeAttr('disabled');
$("#szgqid").removeAttr('disabled');
$("#szdid").removeAttr('disabled');
$("#jcsj").removeAttr('disabled');
}