oracle配置界面的各项的默认值修改
This commit is contained in:
parent
511e1302de
commit
835d676323
|
@ -75,13 +75,13 @@ module Configs{
|
|||
$scope.tableForm["id"]=0;
|
||||
$scope.tableForm["type"]=0;
|
||||
$scope.tableForm["name"]='请输入2-20个字符的数据名称';
|
||||
$scope.tableForm["ip"]='例如:0.0.0.0';
|
||||
$scope.tableForm["port"]='1~65535';
|
||||
$scope.tableForm["user"]='2-15个字母、数字或下划线';
|
||||
$scope.tableForm["password"]='2-15个字母、数字或下划线';
|
||||
$scope.tableForm["databaseName"]='1-10个字母';
|
||||
$scope.tableForm["tableName"]='1-15个字母、数字或下划线';
|
||||
$scope.tableForm["suffix"]='1-10个字母、数字或下划线';
|
||||
$scope.tableForm["ip"]='oracle的IP,例如:0.0.0.0';
|
||||
$scope.tableForm["port"]='oracle的的端口,1~65535';
|
||||
$scope.tableForm["user"]='oracle的用户名,2-15个字母、数字或下划线';
|
||||
$scope.tableForm["password"]='oracle的密码,2-15个字母、数字或下划线';
|
||||
$scope.tableForm["databaseName"]='oracle的实例名,1-10个字母,例如ORCL';
|
||||
$scope.tableForm["tableName"]='oracle的表空间名,1-15个字母、数字或下划线';
|
||||
$scope.tableForm["suffix"]='汇总生成新表的后缀名,1-10个字母、数字或下划线';
|
||||
}
|
||||
|
||||
$scope.cancel = () => {
|
||||
|
@ -94,19 +94,19 @@ module Configs{
|
|||
$scope.onSubmit = (oracle) => {
|
||||
if($scope.tableForm["name"]=='请输入2-20个字符的数据名称')
|
||||
$scope.tableForm["name"]='';
|
||||
if($scope.tableForm["ip"]=='例如:0.0.0.0')
|
||||
if($scope.tableForm["ip"]=='oracle的IP,例如:0.0.0.0')
|
||||
$scope.tableForm["ip"]='';
|
||||
if($scope.tableForm["port"]=='1~65535')
|
||||
if($scope.tableForm["port"]=='oracle的的端口,1~65535')
|
||||
$scope.tableForm["port"]='';
|
||||
if($scope.tableForm["user"]=='2-15个字母、数字或下划线')
|
||||
if($scope.tableForm["user"]=='oracle的用户名,2-15个字母、数字或下划线')
|
||||
$scope.tableForm["user"]='';
|
||||
if($scope.tableForm["password"]=='2-15个字母、数字或下划线')
|
||||
if($scope.tableForm["password"]=='oracle的密码,2-15个字母、数字或下划线')
|
||||
$scope.tableForm["password"]='';
|
||||
if($scope.tableForm["databaseName"]=='1-10个字母')
|
||||
if($scope.tableForm["databaseName"]=='oracle的实例名,1-10个字母,例如ORCL')
|
||||
$scope.tableForm["databaseName"]='';
|
||||
if($scope.tableForm["tableName"]=='1-15个字母、数字或下划线')
|
||||
if($scope.tableForm["tableName"]=='oracle的表空间名,1-15个字母、数字或下划线')
|
||||
$scope.tableForm["tableName"]='';
|
||||
if($scope.tableForm["suffix"]=='1-10个字母、数字或下划线')
|
||||
if($scope.tableForm["suffix"]=='汇总生成新表的后缀名,1-10个字母、数字或下划线')
|
||||
$scope.tableForm["suffix"]='';
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue