|
|
|
@ -102,8 +102,8 @@ export class OpenHistoryList extends React.Component<HistoryProp, {}>
|
|
|
|
|
<HTMLTable bordered={true} interactive={true} style={{ lineHeight: 0.5, width: "100%", padding: "5px 5px 0px 5px", border: "1px solid #DBDCDD" }}>
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>操作</th>
|
|
|
|
|
<th style={{ width: "120px" }}>用户名</th>
|
|
|
|
|
<th style={{ width: 50 }}>操作</th>
|
|
|
|
|
<th style={{ width: 190 }}>用户名</th>
|
|
|
|
|
<th>日期
|
|
|
|
|
<Checkbox
|
|
|
|
|
label="只显示能还原记录"
|
|
|
|
@ -136,7 +136,17 @@ export class OpenHistoryList extends React.Component<HistoryProp, {}>
|
|
|
|
|
this._LastOper = d.oper_type_name;
|
|
|
|
|
return <tr key={d.oper_date}>
|
|
|
|
|
<td>{d.oper_type_name}</td>
|
|
|
|
|
<td>{d.oper_user}</td>
|
|
|
|
|
<td
|
|
|
|
|
style={{
|
|
|
|
|
textOverflow: "ellipsis",
|
|
|
|
|
overflow: "hidden",
|
|
|
|
|
whiteSpace: "nowrap",
|
|
|
|
|
maxWidth: 150
|
|
|
|
|
}}
|
|
|
|
|
title={`${d.oper_user}`}
|
|
|
|
|
>
|
|
|
|
|
{d.oper_user}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{d.oper_date}
|
|
|
|
|
{this._ButtonEl(d.oper_type_name, d.oper_date, this.props.files[this._Index])}
|
|
|
|
@ -159,11 +169,21 @@ export class OpenHistoryList extends React.Component<HistoryProp, {}>
|
|
|
|
|
if (!this._HasHistoryFile(d.oper_type_name, d.oper_date, this.props.files[this._Index])) return;
|
|
|
|
|
return <tr>
|
|
|
|
|
<td>{d.oper_type_name}</td>
|
|
|
|
|
<td>{d.oper_user}</td>
|
|
|
|
|
<td
|
|
|
|
|
style={{
|
|
|
|
|
textOverflow: "ellipsis",
|
|
|
|
|
overflow: "hidden",
|
|
|
|
|
whiteSpace: "nowrap",
|
|
|
|
|
maxWidth: 150
|
|
|
|
|
}}
|
|
|
|
|
title={`${d.oper_user}`}
|
|
|
|
|
>
|
|
|
|
|
{d.oper_user}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{d.oper_date}
|
|
|
|
|
<Button
|
|
|
|
|
className="button"
|
|
|
|
|
className="histroyBtn"
|
|
|
|
|
value={this._Index++}
|
|
|
|
|
text="打开"
|
|
|
|
|
onClick={(e) =>
|
|
|
|
@ -187,7 +207,7 @@ export class OpenHistoryList extends React.Component<HistoryProp, {}>
|
|
|
|
|
if (!this._HasHistoryFile(name, oper_date, file_date)) return;
|
|
|
|
|
return (
|
|
|
|
|
<Button
|
|
|
|
|
className="button"
|
|
|
|
|
className="histroyBtn"
|
|
|
|
|
value={this._Index++}
|
|
|
|
|
text="打开"
|
|
|
|
|
onClick={(e) =>
|
|
|
|
|