Merge branch 'Web_Manager_Develope' of https://git.trustie.net/fhx569287825/aggregation-platform into Web_Manager_Develope
# Conflicts: # gulpfile.js
This commit is contained in:
commit
c276f69de4
|
@ -133,7 +133,6 @@ gulp.task('connect', ['watch'], function() {
|
||||||
|
|
||||||
// lets disable unauthorised TLS issues with kube REST API
|
// lets disable unauthorised TLS issues with kube REST API
|
||||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
|
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
|
||||||
|
|
||||||
var kubeBase = process.env.KUBERNETES_MASTER || 'http://192.168.191.120:8080';
|
var kubeBase = process.env.KUBERNETES_MASTER || 'http://192.168.191.120:8080';
|
||||||
console.log("==== using KUBERNETES URL: " + kubeBase);
|
console.log("==== using KUBERNETES URL: " + kubeBase);
|
||||||
var kube = uri(urljoin(kubeBase, 'api'));
|
var kube = uri(urljoin(kubeBase, 'api'));
|
||||||
|
@ -250,7 +249,7 @@ gulp.task('connect', ['watch'], function() {
|
||||||
}, {
|
}, {
|
||||||
proto: "http",
|
proto: "http",
|
||||||
port: "9001",
|
port: "9001",
|
||||||
hostname: "192.168.191.1", //hostname:"127.0.0.1"
|
hostname: "192.168.191.120", //hostname:"127.0.0.1"
|
||||||
path: '/java/console/api',
|
path: '/java/console/api',
|
||||||
targetPath: "/"
|
targetPath: "/"
|
||||||
}];
|
}];
|
||||||
|
|
|
@ -72,6 +72,7 @@ module System{
|
||||||
"Content-Type": "application/x-www-form-urlencoded;charset=utf-8"
|
"Content-Type": "application/x-www-form-urlencoded;charset=utf-8"
|
||||||
}*/
|
}*/
|
||||||
});
|
});
|
||||||
|
|
||||||
if(!r.support){
|
if(!r.support){
|
||||||
throw "当前浏览器不支持Resumable.js文件上传";
|
throw "当前浏览器不支持Resumable.js文件上传";
|
||||||
}else{
|
}else{
|
||||||
|
@ -103,6 +104,7 @@ module System{
|
||||||
dataset: $scope.model
|
dataset: $scope.model
|
||||||
});
|
});
|
||||||
Configs.customAlert("提示", "操作成功: 本次合计新增了" + data.area + "个行政区划、" + data.system + "个信息系统,更新了" + data.update + "个信息系统", '',null, 0, "success");
|
Configs.customAlert("提示", "操作成功: 本次合计新增了" + data.area + "个行政区划、" + data.system + "个信息系统,更新了" + data.update + "个信息系统", '',null, 0, "success");
|
||||||
|
|
||||||
},
|
},
|
||||||
error: (XMLHttpRequest, textStatus, errorThrown) =>{
|
error: (XMLHttpRequest, textStatus, errorThrown) =>{
|
||||||
$("#load").remove();
|
$("#load").remove();
|
||||||
|
@ -134,7 +136,10 @@ module System{
|
||||||
|
|
||||||
//excel下载
|
//excel下载
|
||||||
$scope.downLoadExcelFile = () =>{
|
$scope.downLoadExcelFile = () =>{
|
||||||
Configs.downloadFile($scope, $http, '/java/console/api/fileOperation/file/download');
|
Configs.downloadFile($scope, $http, '/java/console/api/fileOperation/file/download', () =>{
|
||||||
|
Configs.customAlert("提示","导出成功,文件下载完成",'',null,0,"success");
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$scope.downloadFilePackage = () =>{
|
$scope.downloadFilePackage = () =>{
|
||||||
|
|
Loading…
Reference in New Issue