+
this.getDataquey(val)}
onQuery={(va) => {
- this.setState({ hashPop: '' })
- console.log('va =>', va)
- this.setState({ conditionalQuery: va })
+ this.setState({ hashPop: "" });
+ console.log("va =>", va);
+ this.setState({ conditionalQuery: va });
setTimeout(() => {
- this.iptsureFn(va)
- }, 500)
+ this.iptsureFn(va);
+ }, 500);
}}
resetChange={() => {
- this.setState({ lodging: false, distdata: [], dataCount: 0 })
+ this.setState({ lodging: false, distdata: [], dataCount: 0 });
}}
/>
-
+
{/* 批量上传操作 */}
@@ -655,14 +658,15 @@ export default class acclist extends React.Component {
{this.state.selectiondata.length > 0 ? (
+
- }>
+ }
+ >
已选择
-
+
{this.state.selectiondata.length}
发放key总数:{this.state.grantTotal},剩余key总数:
@@ -672,167 +676,175 @@ export default class acclist extends React.Component {
) : null}
{
- this.onPageChange(e)
+ this.onPageChange(e);
}}
emptyText={
this.state.lodging
- ? '抱歉,暂无相关数据记录'
- : '查询 请输入【分销商】或【计划名称】或【key】进行查询'
+ ? "抱歉,暂无相关数据记录"
+ : "查询 请输入【分销商】或【计划名称】或【key】进行查询"
}
countChange={(e) => {
- this.onCountChange(e)
+ this.onCountChange(e);
}}
checkChange={this.selection.bind(this)}
ComponentHandler={(com, rowData) => {
- if (com == 'dates') {
+ if (com == "dates") {
return (
{rowData.begin_time} 至 {rowData.end_time}
- )
+ );
}
- if (com == 'title') {
+ if (com == "title") {
return (
{
- this.linkTo(rowData)
- }}>
+ this.linkTo(rowData);
+ }}
+ >
{rowData.title}
- )
+ );
}
- if (com == 'switch') {
+ if (com == "switch") {
return (
{
- this.onSwitchChange(e, rowData)
- }}>
- )
+ this.onSwitchChange(e, rowData);
+ }}
+ >
+ );
}
- if (com == 'status') {
+ if (com == "status") {
return (
-
+
+ ),
+ }}
+ >
{rowData.status_text}
- )
+ );
}
- if (com == 'opearo') {
- let str = null
+ if (com == "opearo") {
+ let str = null;
if (rowData.status == 1) {
str = (
+ className="grid-link"
+ style={{ paddingLeft: "2px", color: "#d8dbdd" }}
+ >
详情
- {}}>
- {' '}
- 更多
{' '}
+
{}}>
+ {" "}
+ 更多 {" "}
- )
+ );
} else {
str = (
+ className="grid-link"
+ style={{ paddingLeft: "2px", color: "#d8dbdd" }}
+ >
详情
- {}}>
- {' '}
- 更多
{' '}
+
{}}>
+ {" "}
+ 更多 {" "}
- )
+ );
}
- return str
+ return str;
}
}}
/>
{this.state.audit_visible ? (
-
-
+
+
{
- this.cancel(e)
+ this.cancel(e);
}}
/>
- 发送
-
+
发送
+
是否立即发送key以及解压密码?
-
+
接收手机号
-
+
{
- this.onPhoneChange(e)
- }}>
+ this.onPhoneChange(e);
+ }}
+ >
{this.state.phone_list.map((item, index) => {
return (
+ }}
+ >
{item}
- )
+ );
})}
-
+
接收邮箱
-
+
{
- this.onEmailChange(e)
- }}>
+ this.onEmailChange(e);
+ }}
+ >
{this.state.email_list.map((item, index) => {
return (
+ }}
+ >
{item}
- )
+ );
})}
-
+
-1}>
+ disabled={this.state.phone_radio > -1}
+ >
-
+
-1}>
+ disabled={this.state.email_radio > -1}
+ >
-
+
@@ -920,8 +939,9 @@ export default class acclist extends React.Component {
visible={this.state.bachVisible}
url={this.state.bachUrl}
onClose={this.bachOnClose.bind(this)}
- onImport={this.bachImportBtn.bind(this)}>
+ onImport={this.bachImportBtn.bind(this)}
+ >
- )
+ );
}
}