\r\n
\r\n");
@@ -20342,10 +20386,6 @@ $templateCache.put("plugins/developer/html/projects.html","
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
There are no tools currently available.
\r\n
\r\n
\r\n
\r\n
There are no tools currently available.
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n");
$templateCache.put("plugins/developer/html/workspace.html","
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n");
$templateCache.put("plugins/developer/html/workspaces.html","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n 删除\r\n \r\n \r\n \r\n 迁移\r\n \r\n \r\n \r\n 启动\r\n \r\n
\r\n
\r\n 当前显示1~{{model.data.length}}行,共{{model.data.length}}行。 \r\n 每页显示\r\n 行\r\n \r\n 当前页码 \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n");
-$templateCache.put("plugins/configs/html/configMenuItem.html","
\r\n");
-$templateCache.put("plugins/configs/html/glusterfsSetting.html","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n 添加\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n 已启用 \r\n 已停止 \r\n \r\n {{volume.name}} \r\n \r\n \r\n 云路径:{{volume.path}} \r\n \r\n \r\n \r\n \r\n \r\n 已用 {{volume.formatUsedSize}} / 共 {{volume.formatTotalSize}} \r\n \r\n \r\n \r\n 编辑\r\n \r\n \r\n 刪除\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 服务器{{$index+1}} \r\n \r\n \r\n {{row.ip}} \r\n \r\n \r\n 存储路径:{{row.path}} \r\n \r\n \r\n 已用 {{row.formatUsedSize}} / 共 {{row.formatAllSize}} \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n 是否删除:{{showDeleteVolume.item.name}} 云盘?\r\n
\r\n
\r\n
\r\n
\r\n");
-$templateCache.put("plugins/configs/html/kubeClusterSetting.html","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
当前没有配置汇总库信息,请配置,否则汇总操作将不可用!
\r\n
\r\n
\r\n
\r\n
\r\n \r\n 添加\r\n \r\n
\r\n
\r\n
\r\n
\r\n
编辑汇总库连接信息: \r\n
添加汇总库信息: \r\n
\r\n
\r\n
\r\n
\r\n
\r\n");
-$templateCache.put("plugins/configs/html/shareLayout.html","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n");
$templateCache.put("plugins/kubernetes/html/appDeployedTemplate.html","
\r\n {{row.entity.$creationDate ? (row.entity.$creationDate | relativeTime) : \'\'}}\r\n
\r\n");
$templateCache.put("plugins/kubernetes/html/appDetailTemplate.html","
\r\n \r\n\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n IP:\r\n {{pod.status.podIP}} \r\n
\r\n \r\n \r\n \r\n ports: {{pod.$containerPorts.join(\", \")}} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n IP:\r\n {{pod.status.podIP}} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n");
$templateCache.put("plugins/kubernetes/html/appIconTemplate.html","
\r\n");
@@ -20394,5 +20434,5 @@ $templateCache.put("plugins/kubernetes/html/templates.html","
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n");
$templateCache.put("plugins/system/html/regionalismCodeSearch.html","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{row.code}} \r\n \r\n {{row.cityName}} \r\n \r\n {{row.districtName}} \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n");
$templateCache.put("plugins/system/html/systemCodeSearch.html","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{row.code}} \r\n \r\n {{row.systemName}} \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n");
-$templateCache.put("plugins/system/html/systemList.html","
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n 脚本上传\r\n \r\n
\r\n
\r\n 文件包导出\r\n \r\n
\r\n
\r\n Excel导出 \r\n \r\n
\r\n
\r\n Excel导入\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{row[col.field]}} \r\n 查看 \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
");
-$templateCache.put("plugins/system/html/systemVerification.html","
\r\n
\r\n
\r\n
\r\n
\r\n 行政区划代码 \r\n
\r\n
\r\n \r\n 全部 \r\n {{city}} \r\n \r\n
\r\n
\r\n \r\n 全部 \r\n {{country.name}} \r\n \r\n
\r\n
\r\n \r\n 校验\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n {{row[col.field]}} \r\n {{row}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n");}]); hawtioPluginLoader.addModule("hawtio-kubernetes-templates");
\ No newline at end of file
+$templateCache.put("plugins/system/html/systemList.html","
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n 文件包导出\r\n \r\n
\r\n
\r\n Excel导出\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n 当前没有可以查看的数据,请点击Excel导入按钮导入Excel数据
\r\n
\r\n \r\n \r\n {{row[col.field]}} \r\n 查看 \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n");
+$templateCache.put("plugins/system/html/systemVerification.html","
\r\n
\r\n
\r\n
\r\n
\r\n 行政区划代码 \r\n
\r\n
\r\n \r\n 全部 \r\n {{city}} \r\n \r\n
\r\n
\r\n \r\n 全部 \r\n {{country.name}} \r\n \r\n
\r\n
\r\n \r\n 校验\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n {{row[col.field]}} \r\n {{row}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n");}]); hawtioPluginLoader.addModule("hawtio-kubernetes-templates");
\ No newline at end of file
diff --git a/plugins/configs/html/shareLayout.html b/plugins/configs/html/shareLayout.html
index 9d2e26c..354616b 100644
--- a/plugins/configs/html/shareLayout.html
+++ b/plugins/configs/html/shareLayout.html
@@ -108,55 +108,48 @@
查看详情
行政区划代码:
- 321202
+ {{ngDialogData.areaCode}}
行政区划:
- 泰州市 海陵区 县级
+ {{ngDialogData.cityName}} {{ngDialogData.districtName}} {{ngDialogData.areaLevel}}
信息系统名称:
- 国库集中支付管理
+ {{ngDialogData.sysName}}
信息系统版本:
- 11B
+ {{ngDialogData.dataVersion}}
数据库类型:
- ORACLE / 11B
- 字符集:
- GBK
+ {{ngDialogData.dataBaseType}} / {{ngDialogData.dataBaseVersion}}
+
投入使用时间:
- 2009年 12月
+ {{ngDialogData.beginUseTime}}
开发商全称:
- 常州富深协通技术有限公司
+ {{ngDialogData.developerFullName}}
联系人:
- 姚虫虫
+ {{ngDialogData.departmentManager}}
联系电话(手机):
- 15515551555
+ {{ngDialogData.managerContacts}}
功能描述:
- 记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账记账
+ {{ngDialogData.functionDetails}}
业务范围:
- 部门预算管理
- 预算指标管理
- 财政经济景气预测与分析
- 政府性债务管理
- 部门预算管理
- 预算指标管理
- 财政经济景气预测与分析
- 政府性债务管理
+ {{item}}
diff --git a/plugins/configs/ts/configsUtils.ts b/plugins/configs/ts/configsUtils.ts
index a9d904b..db62462 100644
--- a/plugins/configs/ts/configsUtils.ts
+++ b/plugins/configs/ts/configsUtils.ts
@@ -48,4 +48,102 @@ module Configs{
return object;
}
}
+
+ export function downloadFile($scope, $http, url, fn?){
+ $http.get(url, { responseType: 'arraybuffer' })
+ .success( function(data, status, headers) {
+ if(angular.isFunction(fn))
+ fn();
+ var octetStreamMime = 'application/octet-stream';
+ var success = false;
+ // Get the headers
+ headers = headers();
+ // Get the filename from the x-filename header or default to "服务列表"
+ var filename = "服务文件";
+ var params = headers['content-disposition'].split(";");
+ for(var i = 0; i< params.length; i++){
+ if(params[i].indexOf("filename") != -1){
+ var tmp = params[i].split("=");
+ if(tmp.length == 2)
+ filename = tmp[1].replace(new RegExp("\"", "gm"),"");
+ }
+ }
+
+ // Determine the content type from the header or default to "application/octet-stream"
+ var contentType = headers['content-type'] || octetStreamMime;
+ try{
+ // Try using msSaveBlob if supported
+ console.log("Trying saveBlob method ...");
+ var blob = new Blob([data], { type: contentType });
+ if(navigator.msSaveBlob)
+ navigator.msSaveBlob(blob, filename);
+ else {
+ // Try using other saveBlob implementations, if available
+ var saveBlob = navigator["webkitSaveBlob"] || navigator["mozSaveBlob"] || navigator["saveBlob"];
+ if(saveBlob === undefined) throw "Not supported";
+ saveBlob(blob, filename);
+ }
+ console.log("saveBlob succeeded");
+ success = true;
+ } catch(ex){
+ console.log("saveBlob method failed with the following exception:");
+ console.log(ex);
+ }
+ if(!success){
+ // Get the blob url creator
+ var urlCreator = window.URL || window["webkitURL"] || window["mozURL"] || window["msURL"];
+ if(urlCreator){
+ // Try to use a download link
+ var link = document.createElement('a');
+ if('download' in link){
+ // Try to simulate a click
+ try{
+ // Prepare a blob URL
+ console.log("Trying download link method with simulated click ...");
+ var blob = new Blob([data], { type: contentType });
+ var url = urlCreator.createObjectURL(blob);
+ link.setAttribute('href', url);
+ // Set the download attribute (Supported in Chrome 14+ / Firefox 20+)
+ link.setAttribute("download", filename);
+ // Simulate clicking the download link
+ var event = document.createEvent('MouseEvents');
+ event.initMouseEvent('click', true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
+ link.dispatchEvent(event);
+ console.log("Download link method with simulated click succeeded");
+ success = true;
+ }catch(ex) {
+ console.log("Download link method with simulated click failed with the following exception:");
+ console.log(ex);
+ }
+ }
+ if(!success){
+ // Fallback to window.location method
+ try{
+ // Prepare a blob URL
+ // Use application/octet-stream when using window.location to force download
+ console.log("Trying download link method with window.location ...");
+ var blob = new Blob([data], { type: octetStreamMime });
+ var url = urlCreator.createObjectURL(blob);
+ window.location = url;
+ console.log("Download link method with window.location succeeded");
+ success = true;
+ }catch(ex){
+ console.log("Download link method with window.location failed with the following exception:");
+ console.log(ex);
+ }
+ }
+ }
+ }
+ if(!success){
+ // Fallback to window.open method
+ console.log("No methods worked for saving the arraybuffer, using last resort window.open");
+ window.open('_blank', '');
+ Configs.customAlert("提示", "文件下载失败", '',null, 0, "error");
+ }
+ }).error(function(data, status) {
+ console.log("Request failed with status: " + status);
+ // Optionally write the error out to scope
+ $scope.errorDetails = "Request failed with status: " + status;
+ });
+ }
}
\ No newline at end of file
diff --git a/plugins/configs/ts/shareController.ts b/plugins/configs/ts/shareController.ts
index 6cddde6..6700fe5 100644
--- a/plugins/configs/ts/shareController.ts
+++ b/plugins/configs/ts/shareController.ts
@@ -74,6 +74,7 @@ module Configs{
}]);
export var SystemInfoController = controller('SystemInfoController', ['$scope', ($scope) =>{
-
+ var model = $scope.ngDialogData;
+ //处理年月
}]);
}
\ No newline at end of file
diff --git a/plugins/kubernetes/ts/kubernetesHelpers.ts b/plugins/kubernetes/ts/kubernetesHelpers.ts
index 820cfaa..16e0674 100644
--- a/plugins/kubernetes/ts/kubernetesHelpers.ts
+++ b/plugins/kubernetes/ts/kubernetesHelpers.ts
@@ -1859,6 +1859,9 @@ module Kubernetes {
Kubernetes.createSuccessInfo("error", "连接汇总库失败,请检查服务集群中的汇总库配置是否正确!");
setTimeout("Kubernetes.removeMask()", 1500);
}
+ },
+ success: (data) => {
+
}
});
//Configs.oracleInfoOperate($http, "/java/console/api/oracle", Configs.OperateType.EXTRACT, data, fn);
@@ -1918,7 +1921,7 @@ module Kubernetes {
*/
export function create_locadEffect(msg){
var tmp = "
"
- + "" + msg + " ";
+ + "" + msg + " ";
var load = document.createElement("div");
load.id = "load";
load.innerHTML = tmp;
diff --git a/plugins/system/html/systemList.html b/plugins/system/html/systemList.html
index 1030e2e..c9e541d 100644
--- a/plugins/system/html/systemList.html
+++ b/plugins/system/html/systemList.html
@@ -1,42 +1,44 @@
-
-
-
-
+
+
+
+
-
- 脚本上传
-
+
-
+
文件包导出
-
- Excel导出
+
+ Excel导出
-
- Excel导入
-
-
-
-
-
-
-
- {{row[col.field]}}
- 查看
-
-
-
-
-
-
-
-
\ No newline at end of file
+
导入到服务器
+
+
+
+
+
+
+
+ 当前没有可以查看的数据,请点击Excel导入按钮导入Excel数据
+
+
+
+ {{row[col.field]}}
+ 查看
+
+
+
+
+
+
+