增加Excel导出弹框
This commit is contained in:
parent
807644904b
commit
b075866072
|
@ -134,7 +134,8 @@ 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 || 'https://192.168.191.120:8443';
|
|
||||||
|
var kubeBase = process.env.KUBERNETES_MASTER || 'http://192.168.191.120:8443';
|
||||||
console.log("==== using KUBERNETES URL: " + kubeBase);
|
console.log("==== using KUBERNETES URL: " + kubeBase);
|
||||||
var kube = uri(urljoin(kubeBase, 'api'));
|
var kube = uri(urljoin(kubeBase, 'api'));
|
||||||
var kubeapis = uri(urljoin(kubeBase, 'apis'));
|
var kubeapis = uri(urljoin(kubeBase, 'apis'));
|
||||||
|
@ -249,8 +250,8 @@ gulp.task('connect', ['watch'], function() {
|
||||||
targetPath: '/hawtio/git'
|
targetPath: '/hawtio/git'
|
||||||
}, {
|
}, {
|
||||||
proto: "http",
|
proto: "http",
|
||||||
port: "8080",
|
port: "9001",
|
||||||
hostname: "127.0.0.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