           </Col>
         </Row>
         <Row>
-          <Col xs={3}>
+          <Col xs={4}>
             <Input type="select" ref="type" value={@state.typeChoosed} onChange={@handleSetType}>
                 <option key={0} value={'出击'}>出击</option>
                 <option key={1} value={'远征'}>远征</option>

                <option key={4} value={'资源'}>资源</option>
            </Input>
          </Col>
          <Col xs={3}>
            <Input type="select" ref="codeType" value={@state.codeType} onChange={@handleSetCode}>
                <option key={0} value={'选择文件编码格式'}>文件编码格式</option>
                <option key={1} value={'utf8'}>UTF-8(Linux, OSX用户)</option>
                <option key={2} value={'GBK'}>GBK(Windows用户)</option>
            </Input>
          </Col>
          <Col xs={3}>
             <Button bsStyle='primary' style={width: '100%'} onClick={@saveLogHandle}>导出</Button>
          </Col>
          <Col xs={3}>
             <Button bsStyle='primary' style={width: '100%'} onClick={@importLogHandle}>导入</Button>
          </Col>
        </Row>

AttackLog = React.createClass
  getInitialState: ->
    typeChoosed: '出击'
  # componentWillMount: ->
  #   console.log "test"
  handleSetType: ->
    @setState
      typeChoosed: @refs.type.getValue()
  showMessage: (message)->
    dialog.showMessageBox
      type: 'info'
