/**
* Created by hldev on 17-6-14.
* 上市公司详情展示界面
*/
import React, {Component} from "react";
import {Link} from "react-router-dom";
import {inject, observer} from "mobx-react";
import ReactEchart from "../echart/ReactEchart";
import {Row, Col, Input, Button, Card, Table, Icon, Form, Popconfirm, Select, Tabs} from 'antd';
const FormItem = Form.Item;
const Option = Select.Option;
const TabPane = Tabs.TabPane;
@inject("store")
@observer
class EnterpriseSearchShow extends Component { constructor(props){
super(props);
this.store = this.props.store.enterpriseState;
} componentDidMount(){
//分页查询企业信息
//this.store.getEnterprisePage();
} handleSubmit = (e) => {
e.preventDefault();
this.props.form.validateFields((err, values) => {
if (!err) {
console.log('Received values of form: ', values);
//this.store.createTopic(values);
// let promise;
// promise = this.store.createTopic(values);
// promise.then(data => {
// Utils.pushLink(`/topic`);
// })
}
});
};
callback = (key) => {
console.log(key);
}; state = {
option: "line",
}; render() { const columns = [/*{
title: '序号',
dataIndex: 'id',
key: 'id',
}, */{
title: '统一社会信用代码',
dataIndex: 'code',
key: 'code',
},{
title: '企业名称',
dataIndex: 'name',
key: 'name',
},{
title: '经营状态',
dataIndex: 'status',
key: 'status',
},{
title: '法定代表人',
dataIndex: 'person',
key: 'person',
},{
title: '成立时间',
dataIndex: 'time',
key: 'time',
}, {
title: '详情',
key: 'update',
render: (text, record, index) => <Link to={`#`}><Icon type="eye"/></Link>
}, /*{
title: '删除',
key: 'delete', render: (text, record, index) => <Popconfirm title="是否确认删除该记录?" onConfirm={() => this.store.deleteTopic(`${record.id}`)}><Icon
type="delete"/></Popconfirm>
}*/]; const {getFieldDecorator} = this.props.form;
console.log(this.store.topicPage); return (
<div id="websiteMain" style={{marginTop: 16,background: '#fff',padding: '20px'}}> <Row type="flex" justify="start">
<Col span={24}>
<Card className="section" style={{margin: '0 16px 16px 0'}}>
<div className="content">
<table>
<tbody>
<tr>
<th >公司名称</th>
<td colSpan={3}>重庆月开发股份用心公司</td> </tr>
<tr>
<th >英文名称</th>
<td colSpan={3}>SDGDFGDFGDFGDGADGSDGASD</td> </tr>
<tr>
<th >曾用名</th>
<td colSpan={3}>张珊珊年</td>
</tr>
<tr>
<th>A股代码</th>
<td>00514</td>
<th>A股简称</th>
<td>渝开发</td>
</tr>
<tr>
<th>B股代码</th>
<td>00514</td>
<th>B股简称</th>
<td>渝开发</td>
</tr>
<tr>
<th>H股代码</th>
<td>00514</td>
<th>H股简称</th>
<td>渝开发</td>
</tr> <tr>
<th>证券类别</th>
<td>00514</td>
<th>所属行业</th>
<td>渝开发</td>
</tr>
<tr>
<th>总经理</th>
<td>00514</td>
<th>法人代表</th>
<td>渝开发</td>
</tr>
<tr>
<th>董秘</th>
<td>00514</td>
<th>董事长</th>
<td>渝开发</td>
</tr>
<tr>
<th>证券事务代表</th>
<td>00514</td>
<th>独立董事</th>
<td>渝开发</td>
</tr>
<tr>
<th>联系电话</th>
<td>00514</td>
<th>电子信箱</th>
<td>渝开发</td>
</tr>
<tr>
<th>传真</th>
<td>00514</td>
<th>公司网址</th>
<td>渝开发</td>
</tr>
<tr>
<th>办公地址</th>
<td>00514</td>
<th>注册地址</th>
<td>渝开发</td>
</tr>
<tr>
<th>区域</th>
<td>00514</td>
<th>邮政编码</th>
<td>渝开发</td>
</tr>
<tr>
<th>注册资本</th>
<td>00514</td>
<th>工商登记</th>
<td>渝开发</td>
</tr>
<tr>
<th>雇员人数</th>
<td>00514</td>
<th>管理人员人数</th>
<td>渝开发</td>
</tr>
<tr>
<th>律师事务所</th>
<td>00514</td>
<th>会计事务所</th>
<td>渝开发</td>
</tr>
<tr>
<th>公司简介</th>
<td colSpan={3}>假设链接中同时存在 href 与 onclick,如果想让 href 属性下的动作不执行,onclick 必须得到一个 false 的返回值。 敢问楼主,这个东西是在哪里看到的?是那本书???我想看看这本书!!!</td>
</tr> </tbody>
</table>
</div>
</Card>
</Col>
</Row> </div>
)
}
} EnterpriseSearchShow = Form.create()(EnterpriseSearchShow);
export default EnterpriseSearchShow;

react 模板备份的更多相关文章

  1. 玩转 React【第02期】:恋上 React 模板 JSX

    往期回顾 前文中我们讲解了利用 ReactElement 来编写React程序,但是我们也看到这种方式编写 React 特别的麻烦,而且层级结构特别不清晰.今天我们来看一种优雅的编写React的代码的 ...

  2. React模板

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  3. React 模板

    <!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8" ...

  4. 【React 资料备份】React Hook

    Hooks是React16.8一个新增项,是我们可以不用创建class组件就能使用状态和其他React特性 准备工作 升级react.react-dom npm i react react-dom - ...

  5. 【React 资料备份】React v16.3之后的生命周期

    React v16.4 的生命周期图 React v16.4 的生命周期 变更缘由 原来(React v16.0前)的生命周期在React v16推出的Fiber之后就不合适了,因为如果要开启asyn ...

  6. 28个漂亮的React.js后台管理模板

    React管理模板 为您的React Web应用程序开发一个管理区域可能非常耗时.它与设计所有前端页面一样重要. 这是2020年设计出色的顶级React.js后台管理模板的列表. 这些模板确实有价值, ...

  7. 帝国CMS只备份栏目和模板的方法

    方法一:不备份所有帝国cms数据内容表 我们知道帝国cms有8大模型,分别是 1.新闻系统数据表 ( phome_ecms_news )2.下载系统数据表 ( phome_ecms_download  ...

  8. FineReport中如何对cpt模板加密

    1. 描述 FR客户使用FineReport报表并将其集成到自己的产品中,然后提供给最终用户使用,最终用户可以预览FR模板,但是不能打开模板进行设计修改. FineReport提供了cpt模板Des加 ...

  9. React(上)

    一.React基础 1.React模板 凡是使用JSX的地方,要加上type="text/babel".引用三个库react.js是React的核心库,react-dom.js提供 ...

随机推荐

  1. spriingboot使用thymeleaf

    1 添加jar包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId&g ...

  2. PAT甲级1004题解——并查集思想改

    题目分析:本题开始一直在考虑如何将每一个节点通过一种合适的数据结构存储起来(一对多的关系),最后发现借助并查集的思想可以用一个数组p,p[i]存放i节点的父节点,每次查询编号为i的节点属于第几层且判断 ...

  3. xpath+多进程爬取网易云音乐热歌榜。

    用到的工具,外链转换工具 网易云网站直接打开源代码里面并没有对应的歌曲信息,需要对url做处理, 查看网站源代码路径:发现把里面的#号去掉会显示所有内容, 右键打开的源代码路径:view-source ...

  4. Selenium+TestNG+CSV数据驱动

    1.工程的目录结构: # saas SAAS_UI自动化测试工程 # 一.工程的目录结构 1.saas/src是工程的入口 a.saas/src/main/java/com/saas/encapsul ...

  5. @CrossOrigin:解决跨域问题

    注解@CrossOrigin解决跨域问题 阅读目录: 一.跨域(CORS)支持: 二.使用方法: 1.controller配置CORS 2.全局CORS配置 3.XML命名空间 4.How does ...

  6. C#使用ODP.NET(Oracle.ManagedDataAccess.dll)操作Oracle数据库

    在刚接触C#的时候由于公司使用的就是Oracle数据库,那么C#怎么连接Oracle数据库就成了首要去掌握的知识点了.在那时没有ODP.NET,但visual studio却对Oralce数据库的调用 ...

  7. docker postgresql 数据库

    1. 使用docker 镜像 获取镜像:docker pull postgres:9.4 启动: docker run --name postgres1 -e POSTGRES_PASSWORD=pa ...

  8. wordpress自定义菜单高级属性设置

    我们在创建wordpress自定义菜单时,右上角有一个screen option,点击展开可以选择显示菜单的高级属性,包括:链接目标Link Target.标题属性Title Attribute.CS ...

  9. Json在序列化注意问题

    Java中的Json序列化,不容忽视的getter 问题重现 public class AjaxJson { private boolean success; private String msg; ...

  10. 开源项目 03 DocX

    using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.T ...