合并冲突

This commit is contained in:
wangsongsole 2022-08-10 17:41:19 +08:00
commit 2e50dcdbad
2 changed files with 420 additions and 397 deletions

File diff suppressed because it is too large Load Diff

View File

@ -27,7 +27,8 @@ import {
handelResponse, handelResponse,
getKeysList, getKeysList,
batchUploadVoid, batchUploadVoid,
batchUploadUsed batchUploadUsed,
exportKey
} from '@/assets/api.js' } from '@/assets/api.js'
import _ from 'lodash' import _ from 'lodash'
import menu from '@/assets/enum.js' import menu from '@/assets/enum.js'
@ -87,7 +88,9 @@ export default class acclist extends React.Component {
bachUrl: '', bachUrl: '',
conditionalQuery: {}, // conditionalQuery: {}, //
bachApiType: 1, bachApiType: 1,
lodging: false lodging: false,
exportKeyBtn: false,
hashPop: ''
} }
} }
@ -101,7 +104,7 @@ export default class acclist extends React.Component {
} }
componentDidMount(e) { componentDidMount(e) {
// this.iptsureFn() // this.iptsureFn();
} }
componentWillMount() { componentWillMount() {
this.setState({ tableHeight: window.innerHeight - 430 }) this.setState({ tableHeight: window.innerHeight - 430 })
@ -388,6 +391,14 @@ export default class acclist extends React.Component {
this.setState(obj) this.setState(obj)
} }
//
bachExportKey() {
let param = {
hash: this.state.hashPop
}
console.log('批量导出 =>', param)
}
// //
bachOnClose() { bachOnClose() {
this.setState({ bachVisible: false }) this.setState({ bachVisible: false })
@ -575,6 +586,13 @@ export default class acclist extends React.Component {
disabled={this.state.multiple}> disabled={this.state.multiple}>
批量标记为已使用 批量标记为已使用
</Button> </Button>
<Button
onClick={() => {
this.bachExportKey()
}}
disabled={this.state.exportKeyBtn}>
导出
</Button>
</div> </div>
</div> </div>
<div> <div>