1 <table id="table_Rate)" class="table table-bordered text-center"> 2 <tbody> 3 <tr> 4 <th style="width:160px">交互时间</th> 5 <th style="width:100px">交互类型</th> 6 <th style="width:160px">业务类型</th> 7 <th style="width:60px">进度</th> 8 <th style="width:100px">操作</th> 9 <th>备注</th> 10 </tr> 11 @{foreach (System.Data.DataRow dr in dtSearchResult.Rows) 12 { 13 var ExchangeRate = (int)@dr["ExchangeRate"]; 14 <tr> 15 <td>@GTSoft.Web.Common.CommonFunction.GetDateTime(@dr["ExchangeTime"]).ToString("yyyy-MM-dd")</td> 16 <td>@dr["ExchangeType"]</td> 17 <td>@dr["AppType"]</td> 18 <td> 19 @if (ExchangeRate == 100)//进度判断,100显示完成 20 { 21 <p>完成</p>; 22 } 23 else 24 { 25 @ExchangeRate; 26 } 27 </td> 28 <td><a><i id="Delete" class="fa fa-trash-o" onclick="exchangeDelete('@dr["ExchangeID"]')"></i></a></td>@*删除*@ 29 <td>@dr["Notes"]</td> 30 </tr> 31 } 32 } 33 </tbody>
我要做定时每秒刷新进度列和删除列,删除列是因为当进度满100时不可点击,请问各位大神应该怎么做?
可以试着弄个计时器去刷新
??