prefs:data list record import

Signed-off-by: feihu.wang <wfh45678@163.com>
This commit is contained in:
feihu.wang 2019-12-05 17:59:23 +08:00
parent 12a41d464b
commit 61965fd812
7 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,3 @@
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>风控引擎管理平台</title> <link rel="shortcut icon" href="/images/anquan.png"> <!--[if lt IE 10]>
<script src="https://as.alipayobjects.com/g/component/??console-polyfill/0.2.2/index.js,es5-shim/4.5.7/es5-shim.min.js,es5-shim/4.5.7/es5-sham.min.js,html5shiv/3.7.2/html5shiv.min.js,media-match/2.0.2/media.match.min.js"></script>
<![endif]--> <link href="./index.3b7ff13c-1.css" rel="stylesheet"><link href="./index.3b7ff13c-2.css" rel="stylesheet"><link href="./index.3b7ff13c-3.css" rel="stylesheet"></head> <body> <div id="react-content"></div> <script type="text/javascript" src="./main.3b7ff13c.js"></script></body> </html>
<![endif]--> <link href="./index.1cb38b5a-1.css" rel="stylesheet"><link href="./index.1cb38b5a-2.css" rel="stylesheet"><link href="./index.1cb38b5a-3.css" rel="stylesheet"></head> <body> <div id="react-content"></div> <script type="text/javascript" src="./main.1cb38b5a.js"></script></body> </html>

View File

@ -117,6 +117,7 @@ export default class AddDataListRecord extends React.Component{
<span>
<Button onClick={this.showModal} type="primary">新增</Button> &nbsp;&nbsp;
<Button onClick={this.showModal2} type="primary">导入数据</Button>
<span>&nbsp;&nbsp;</span> <a href="/res/dataRecord_temp.xlsx">下载数据模板</a>
<Modal title="新增记录" visible={this.state.visible} onOk={this.handleSubmit} onCancel={this.handleCancel}>
<Form horizontal form={this.props.form}>
{this.props.metaList.map(function(info,i){