dwr

function showList(data){
var str;
if(data.length>0){
str ="<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
str = str+"<tr><td width='16%' height='25' align='right' style='padding-left:20px;cursor:move;' onMouseDown='beginDrag('transact3', event);'>审核月度</td>";
str = str+"<td width='84%'><select name='currQuarter' id='currQuarter'>";
for(var i=0;i<data.length;i++) {
str = str + "<option value='"+data[i].quarterId+"'>"+data[i].quarterName+"</option>";
}
str = str+"</select></td></tr>";
str = str+"<tr><td width='16%' height='25' align='right'>审核标题 - </td> <td width='84%'><input name='postil.title' id='audiPostTile' type='text' size='51' /></td></tr>";
str = str+"<tr><td height='25' align='right'>审核内容 - </td> <td><textarea name='postil.content' id='audiPostContent' cols='50' rows='10' ></textarea></td></tr>";
str = str+"<tr><td height='30'> </td>";
str = str+"<td><input name='Submit' type='button' class='input01' value='审核' οnclick='audit()'/><input name='colse' type='button' class='input01' value='关闭' οnclick='hiddenAudit()'/></td></tr>";
str = str+"</table>";
}else{
str ="<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
str = str+"<tr><td height='25' align='center'>数据已全部审核</td></tr>";
str = str+"<tr><td align='center'><input name='colse' type='button' class='input01' value='关闭' οnclick='hiddenAudit()'/> <input name='colse' type='button' style='cursor:move;' class='input01' value='拖动' onMouseDown='beginDrag('transact3', event);'/></td></tr>";
str = str+"</table>";
}
document.getElementById("transact3").innerHTML = str;
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值