oracle配置界面的各项的默认值修改

This commit is contained in:
chenlw 2017-01-09 14:29:07 +08:00
parent 511e1302de
commit 835d676323
1 changed files with 14 additions and 14 deletions

View File

@ -75,13 +75,13 @@ module Configs{
$scope.tableForm["id"]=0; $scope.tableForm["id"]=0;
$scope.tableForm["type"]=0; $scope.tableForm["type"]=0;
$scope.tableForm["name"]='请输入2-20个字符的数据名称'; $scope.tableForm["name"]='请输入2-20个字符的数据名称';
$scope.tableForm["ip"]='例如0.0.0.0'; $scope.tableForm["ip"]='oracle的IP,例如0.0.0.0';
$scope.tableForm["port"]='1~65535'; $scope.tableForm["port"]='oracle的的端口,1~65535';
$scope.tableForm["user"]='2-15个字母、数字或下划线'; $scope.tableForm["user"]='oracle的用户名2-15个字母、数字或下划线';
$scope.tableForm["password"]='2-15个字母、数字或下划线'; $scope.tableForm["password"]='oracle的密码,2-15个字母、数字或下划线';
$scope.tableForm["databaseName"]='1-10个字母'; $scope.tableForm["databaseName"]='oracle的实例名,1-10个字母,例如ORCL';
$scope.tableForm["tableName"]='1-15个字母、数字或下划线'; $scope.tableForm["tableName"]='oracle的表空间名,1-15个字母、数字或下划线';
$scope.tableForm["suffix"]='1-10个字母、数字或下划线'; $scope.tableForm["suffix"]='汇总生成新表的后缀名,1-10个字母、数字或下划线';
} }
$scope.cancel = () => { $scope.cancel = () => {
@ -94,19 +94,19 @@ module Configs{
$scope.onSubmit = (oracle) => { $scope.onSubmit = (oracle) => {
if($scope.tableForm["name"]=='请输入2-20个字符的数据名称') if($scope.tableForm["name"]=='请输入2-20个字符的数据名称')
$scope.tableForm["name"]=''; $scope.tableForm["name"]='';
if($scope.tableForm["ip"]=='例如0.0.0.0') if($scope.tableForm["ip"]=='oracle的IP,例如0.0.0.0')
$scope.tableForm["ip"]=''; $scope.tableForm["ip"]='';
if($scope.tableForm["port"]=='1~65535') if($scope.tableForm["port"]=='oracle的的端口,1~65535')
$scope.tableForm["port"]=''; $scope.tableForm["port"]='';
if($scope.tableForm["user"]=='2-15个字母、数字或下划线') if($scope.tableForm["user"]=='oracle的用户名2-15个字母、数字或下划线')
$scope.tableForm["user"]=''; $scope.tableForm["user"]='';
if($scope.tableForm["password"]=='2-15个字母、数字或下划线') if($scope.tableForm["password"]=='oracle的密码,2-15个字母、数字或下划线')
$scope.tableForm["password"]=''; $scope.tableForm["password"]='';
if($scope.tableForm["databaseName"]=='1-10个字母') if($scope.tableForm["databaseName"]=='oracle的实例名,1-10个字母,例如ORCL')
$scope.tableForm["databaseName"]=''; $scope.tableForm["databaseName"]='';
if($scope.tableForm["tableName"]=='1-15个字母、数字或下划线') if($scope.tableForm["tableName"]=='oracle的表空间名,1-15个字母、数字或下划线')
$scope.tableForm["tableName"]=''; $scope.tableForm["tableName"]='';
if($scope.tableForm["suffix"]=='1-10个字母、数字或下划线') if($scope.tableForm["suffix"]=='汇总生成新表的后缀名,1-10个字母、数字或下划线')
$scope.tableForm["suffix"]=''; $scope.tableForm["suffix"]='';