提交 | 用户 | 时间
|
1ac2bc
|
1 |
@layout("/common/_container.html",{js:["/assets/modular/databaseInfo/databaseInfo_add.js"]}){ |
懒 |
2 |
|
|
3 |
<div class="layui-body-header"> |
|
4 |
<span class="layui-body-header-title">添加</span> |
|
5 |
</div> |
|
6 |
|
|
7 |
<div class="layui-fluid " style=""> |
|
8 |
<div class="layui-card"> |
|
9 |
<div class="layui-card-body"> |
|
10 |
<form id="databaseInfoForm" lay-filter="databaseInfoForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;"> |
|
11 |
<input name="dbId" type="hidden"/> |
|
12 |
<div class="layui-form-item"> |
|
13 |
<label class="layui-form-label">数据库名称<span style="color: red;">*</span></label> |
|
14 |
<div class="layui-input-block"> |
|
15 |
<input id="dbName" name="dbName" placeholder="数据库名称" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/> |
|
16 |
</div> |
|
17 |
</div> |
|
18 |
<div class="layui-form-item"> |
|
19 |
<label class="layui-form-label">JDBC驱动<span style="color: red;">*</span></label> |
|
20 |
<div class="layui-input-block"> |
|
21 |
<select name="jdbcDriver"> |
|
22 |
<option value="com.mysql.cj.jdbc.Driver">Mysql</option> |
|
23 |
<option value="oracle.jdbc.OracleDriver">Oracle</option> |
|
24 |
<option value="net.sourceforge.jtds.jdbc.Driver">Sql Server</option> |
|
25 |
<option value="org.postgresql.Driver">Postgre Sql</option> |
|
26 |
</select> |
|
27 |
</div> |
|
28 |
</div> |
|
29 |
<div class="layui-form-item"> |
|
30 |
<label class="layui-form-label">JDBC账号<span style="color: red;">*</span></label> |
|
31 |
<div class="layui-input-block"> |
|
32 |
<input id="userName" name="userName" placeholder="账号" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/> |
|
33 |
</div> |
|
34 |
</div> |
|
35 |
<div class="layui-form-item"> |
|
36 |
<label class="layui-form-label">JDBC密码<span style="color: red;">*</span></label> |
|
37 |
<div class="layui-input-block"> |
|
38 |
<input id="password" name="password" placeholder="密码" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/> |
|
39 |
</div> |
|
40 |
</div> |
|
41 |
<div class="layui-form-item"> |
|
42 |
<label class="layui-form-label">JDBC URL<span style="color: red;">*</span></label> |
|
43 |
<div class="layui-input-block"> |
|
44 |
<input id="jdbcUrl" name="jdbcUrl" placeholder="jdbc的url" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/> |
|
45 |
</div> |
|
46 |
<div class="layui-form-mid layui-word-aux" style="margin-left: 120px;">参考:<br/> |
|
47 |
oracle:jdbc:oracle:thin:\@127.0.0.1:1521:ORCLCDB<br/> |
|
48 |
sql server:jdbc:jtds:sqlserver://127.0.0.1:1433;DatabaseName=guns<br/> |
|
49 |
pg sql:jdbc:postgresql://127.0.0.1:5432/guns<br/> |
|
50 |
mysql:jdbc:mysql://127.0.0.1:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT |
|
51 |
</div> |
|
52 |
</div> |
|
53 |
<div class="layui-form-item"> |
|
54 |
<label class="layui-form-label">备注</label> |
|
55 |
<div class="layui-input-block"> |
|
56 |
<input id="remarks" name="remarks" placeholder="备注" type="text" class="layui-input" autocomplete="off"/> |
|
57 |
</div> |
|
58 |
</div> |
|
59 |
<div class="layui-form-item"> |
|
60 |
<div class="layui-input-block"> |
|
61 |
<button class="layui-btn" lay-filter="btnSubmit" lay-submit> 提交 </button> |
|
62 |
<button class="layui-btn layui-btn-primary" type="button" id="backupPage"> 返回 </button> |
|
63 |
</div> |
|
64 |
</div> |
|
65 |
</form> |
|
66 |
</div> |
|
67 |
</div> |
|
68 |
</div> |
|
69 |
|
|
70 |
@} |