|
|
@ -120,7 +120,7 @@ module Configs{
|
|
|
|
$scope.content = "正在读取数据请稍等...";
|
|
|
|
$scope.content = "正在读取数据请稍等...";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
fr.readAsText(file[0],"UTF-8");
|
|
|
|
fr.readAsText(file[0],"GBK");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -170,7 +170,7 @@ module Configs{
|
|
|
|
$scope.content = "正在读取数据请稍等...";
|
|
|
|
$scope.content = "正在读取数据请稍等...";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
fr.readAsText(file[0],"UTF-8");
|
|
|
|
fr.readAsText(file[0],"GBK");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -228,6 +228,10 @@ module Configs{
|
|
|
|
$scope.unnormal = $scope.standard = "获取脚本内容失败";
|
|
|
|
$scope.unnormal = $scope.standard = "获取脚本内容失败";
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$scope.cancel = () => {
|
|
|
|
|
|
|
|
$scope.closeThisDialog();
|
|
|
|
|
|
|
|
}
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
|
|
|
|
|
|
|
|
|
export var sqlMoveController = controller("sqlMoveController", ['$scope', '$http', ($scope, $http) => {
|
|
|
|
export var sqlMoveController = controller("sqlMoveController", ['$scope', '$http', ($scope, $http) => {
|
|
|
@ -244,6 +248,10 @@ module Configs{
|
|
|
|
$scope.closeThisDialog();
|
|
|
|
$scope.closeThisDialog();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$scope.cancel = () => {
|
|
|
|
|
|
|
|
$scope.closeThisDialog();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function getSqlContent(){
|
|
|
|
function getSqlContent(){
|
|
|
|
$http({
|
|
|
|
$http({
|
|
|
|
url: "/java/console/api/filePackage/readSqlFile",
|
|
|
|
url: "/java/console/api/filePackage/readSqlFile",
|
|
|
|