feats: 用户注册前端页面代码

Signed-off-by: feihu.wang <wfh45678@163.com>
This commit is contained in:
feihu.wang 2019-11-03 16:57:20 +08:00
parent fc792a7459
commit d90a00670e
6 changed files with 12 additions and 11 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.1bb9f5dd-1.css" rel="stylesheet"><link href="./index.1bb9f5dd-2.css" rel="stylesheet"><link href="./index.1bb9f5dd-3.css" rel="stylesheet"></head> <body> <div id="react-content"></div> <script type="text/javascript" src="./main.1bb9f5dd.js"></script></body> </html>
<![endif]--> <link href="./index.af635d86-1.css" rel="stylesheet"><link href="./index.af635d86-2.css" rel="stylesheet"><link href="./index.af635d86-3.css" rel="stylesheet"></head> <body> <div id="react-content"></div> <script type="text/javascript" src="./main.af635d86.js"></script></body> </html>

View File

@ -149,7 +149,7 @@ export default class AddModel extends React.Component{
return (
<span>
<Button onClick={this.showModal} type="primary"></Button>
<Button onClick={this.showModal} type="primary">建模型</Button>
<Modal title="编辑模型" visible={this.state.visible} onOk={this.handleSubmit.bind(this,isValidated)} onCancel={this.handleCancel}>
<Form horizontal form={this.props.form}>
<FormItem required={true} {...formItemLayout} label="模型名:" help={validate.label.help} validateStatus={validate.label.status}>
@ -165,20 +165,21 @@ export default class AddModel extends React.Component{
</Row>
</FormItem>
<FormItem {...formItemLayout} label="模板:">
<FormItem required={true} {...formItemLayout} label="模板:">
<Row>
<Col span={20}>
<Select value={this.state.templateId} onChange={this.handleSelect.bind(this,'templateId')}>
<Option value="">新建模型</Option>
{
this.state.templateList.map((info,index)=>{
return <Option key={index} value={info.id+''}>{'[系统]'+info.label}</Option>
})
}
<Option value="999">新建模型</Option>
</Select>
</Col>
<Col span={2} offset={1}>
<Tooltip placement="right" title={'可选择从模板一键创建模型,也可不选择模板而自行创建模型'}>
<Tooltip placement="right" title={'建议使用模板一键创建模型,熟悉后可自行创建模型'}>
<Icon style={{fontSize:16}} type="question-circle-o" />
</Tooltip>
</Col>