add summary function

Web_Manager_Develope
wm 9 years ago
parent b2cfaacc34
commit fe163ae6ad

@ -114,6 +114,25 @@ function selectorMatches(selector,labels){
}
}
Date.prototype.Format = function(fmt)
{ //author: meizz
var o = {
"M+" : this.getMonth()+1, //月份
"d+" : this.getDate(), //日
"h+" : this.getHours(), //小时
"m+" : this.getMinutes(), //分
"s+" : this.getSeconds(), //秒
"q+" : Math.floor((this.getMonth()+3)/3), //季度
"S" : this.getMilliseconds() //毫秒
};
if(/(y+)/.test(fmt))
fmt=fmt.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length));
for(var k in o)
if(new RegExp("("+ k +")").test(fmt))
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length)));
return fmt;
}
exports.randomString = randomString;
exports.Recursion = Recursion;
exports.compObj = compObj;

File diff suppressed because one or more lines are too long

@ -3,6 +3,10 @@ var fs = require('fs');
var dom = require("xmldom").DOMParser;
var select = require('xpath.js');
//var dataDetailPath = "/home/server_data/data-detail.xml"
//var dataPath = "/home/server_data/data.xml"
//var versionPath = "/home/server_data/version.txt"
var dataDetailPath = "/home/server_data/data-detail.xml"
var dataPath = "/home/server_data/data.xml"
var versionPath = "/home/server_data/version.txt"
@ -76,7 +80,7 @@ function mkdataForPage(collecttime, realtype, realpath, realbatch, realid, realn
{//<2F><><EFBFBD><EFBFBD><EFBFBD>ӵİ汾
var nodestr = "";
if(dataNodes[i].indexOf(id) != -1){
nodestr = nodestr + "<node id=\""+ versionid + " name=\"" + realname+"("+ versionstrutf + version + ")\"";
nodestr = nodestr + "<node id=\""+ versionid + " name=\"" + realname+"\("+ versionstrutf + version + ")\"";
nodestr = nodestr + " path=\""+ realpath +"\"" + " time=\""+collecttime+ "\"></node>\n";
isexist = "1";
dataNodes[i] = dataNodes[i] + nodestr;
@ -95,7 +99,7 @@ function mkdataForPage(collecttime, realtype, realpath, realbatch, realid, realn
if(items.length == 1){
//<2F><><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD>ϵͳ<CFB5><CDB3>---<2D><EFBFBD><E6B1BE>Ϣ<EFBFBD><CFA2>
nodestr = nodestr + "<node id=\"" + id +" "+ name + ">\n";
nodestr = nodestr + "<node id=\""+ versionid + " name=\"" + realname +"(" + versionstrutf + version + ")\"";
nodestr = nodestr + "<node id=\""+ versionid + " name=\"" + realname +"\(" + versionstrutf + version + ")\"";
nodestr = nodestr + " path=\""+ realpath +"\"" + " time=\""+collecttime+ "\"></node>\n</node>\n";
isexist = "1";
dataNodes[i] = dataNodes[i] + nodestr;
@ -104,7 +108,7 @@ function mkdataForPage(collecttime, realtype, realpath, realbatch, realid, realn
else{
var items = dataNodes[i].split("</node");
nodestr = nodestr + "<node id=\"" + id +" "+ name + ">\n";
nodestr = nodestr + "<node id=\""+ versionid + " name=\"" + realname+"(" + versionstrutf + version + ")\"";
nodestr = nodestr + "<node id=\""+ versionid + " name=\"" + realname+"\(" + versionstrutf + version + ")\"";
nodestr = nodestr + " path=\""+ realpath +"\"" + " time=\""+collecttime+ "\"></node>\n</node>\n";
isexist = "1";
nodestr = items[0] +"\n" + nodestr +"\n</node>\n";
@ -548,11 +552,55 @@ function saveByIdToXml(collecttime, type, dataTimes, id, name, province, city, c
}
exports.getVersionPath = getVersionPath;
exports.mkdataForPage = mkdataForPage
exports.saveByIdToXml = saveByIdToXml
function savehuizong(collecttime, type, id, name, realpath, fakename){
var typestr = "id=\""+type+"\"";
var data = fs.readFileSync(dataPath, "utf-8");
data = data.toString();
var node_arr = data.split("<node");
var node_arr_size = node_arr.length;
//遍历每个节点
for (var i = 1; i < node_arr_size; i++) {
if(node_arr[i] == undefined ){
continue;
}
if(node_arr[i].indexOf(typestr) != -1){
var tem_arr = node_arr[i].split("</node");
var nodeData = "\t<node id=\""+type+"_"+id+"\" name=\""+name+"\" fakename=\""+fakename+"\" path=\""+realpath+"\" time=\""+collecttime+"\"></node>\n\t";
var temhuizonglastSize = tem_arr.length ;
//判断有多少</node>
if (temhuizonglastSize <= 2) {
if(temhuizonglastSize == 2 && tem_arr[1].indexOf(">") != -1){
node_arr[i] = tem_arr[0]+nodeData + "</node>";
}
else{
node_arr[i] = tem_arr[0]+nodeData;
}
}
else{
node_arr[i] = tem_arr[0]+nodeData;
var nodestrtem = "";
for (var k = 1; k < temhuizonglastSize; k++) {
nodestrtem = nodestrtem + "\n</node>";
}
node_arr[i] = node_arr[i] + nodestrtem;
}
break;
}
}
var result_str = node_arr[0];
for (var j = 1; j < node_arr_size; j++) {
result_str = result_str +"<node"+ node_arr[j];
}
fs.writeFileSync(dataPath, result_str);
}
exports.getVersionPath = getVersionPath;
exports.mkdataForPage = mkdataForPage;
exports.saveByIdToXml = saveByIdToXml;
exports.savehuizong = savehuizong;

@ -203,7 +203,9 @@ declare module Kubernetes {
function currentUserName(): any;
function createNamespace(ns: any, client?: any): void;
function createRC(obj: any, onCompleteFn?: any): void;
function updateReplicationControllerLabels($http: any, KubernetesApiURL: any, replicationController: any, newLabels: any, onCompleteFn?: any): void;
function connectOracle($http: any, $timeout: any, url: any, connectParam: any, rcName: any, delayTime: any): void;
function getOracleStatus(labels: any): number;
function getOracleName(name: string): string;
function extractDataToOracle($http: any, selectedReplicationControllers: any, targetReplicationController: any): void;
function checkoutOracleRCIsRunning(rc: any): boolean;
}

@ -10,6 +10,7 @@ declare module Kubernetes {
apps: any[];
services: any[];
replicationcontrollers: any[];
filterReplicationcontrollers: any[];
replicationControllers: Array<any>;
pods: any[];
hosts: any[];

@ -0,0 +1,7 @@
declare module Kubernetes {
function getCountyByCode(code: any): any;
function getCodeByCounty(place: any): any;
function getSystemNameById(id: any): any;
function getIdBySystemName(name: any): any;
function getCodeBySystemName(name: any): any;
}

@ -21,6 +21,8 @@ declare module Kubernetes {
"labels": {
"style": string;
"status": string;
"isExtract": string;
"isTarget": any;
};
};
"spec": {
@ -51,6 +53,9 @@ declare module Kubernetes {
};
};
}
function findLabelValue(value: string, key: string): string;
function labelToChinese(labels: any): {};
function findSameNameReplicationControllers(replicationControllers: any, name: any): any;
function isFilterRC(rc: any): boolean;
function isInclude(rcs: any, rc: any): boolean;
function labelChangeToChines(value: string, key: string): string;
}

71
defs.d.ts vendored

@ -0,0 +1,71 @@
/// <reference path="d.ts/includes.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/kubernetesInterfaces.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/kubernetesHelpers.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/kubernetesPlugin.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/apps.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/breadcrumbs.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/build.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/buildConfig.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/buildConfigEdit.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/buildConfigs.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/buildLogs.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/builds.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/connect.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/dataInfnModel.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/deploymentConfig.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/deploymentConfigs.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/events.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/kubernetesModel.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/host.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/utilHelpers.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/hosts.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/imageRepositories.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/kubernetesNavigation.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/schema.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/kubernetesSchema.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/kubernetesServices.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/kubernetesTopLevel.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/namespace.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/overview.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/pipelines.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/pod.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/podEdit.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/watcher.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/term.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/podLogs.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/pods.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/readPlacedivision.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/replicationController.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/replicationControllerEdit.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/replicationControllers.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/schemaHelpers.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/secret.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/secrets.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/service.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/serviceEdit.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/serviceRegistry.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/services.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/sharedControllers.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/tabs.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/templates.d.ts"/>
/// <reference path="d.ts/developer/ts/developerEnrichers.d.ts"/>
/// <reference path="d.ts/developer/ts/developerHelpers.d.ts"/>
/// <reference path="d.ts/developer/ts/developerNavigation.d.ts"/>
/// <reference path="d.ts/developer/ts/FileMode.d.ts"/>
/// <reference path="d.ts/developer/ts/developerPlugin.d.ts"/>
/// <reference path="d.ts/developer/ts/environmentPanel.d.ts"/>
/// <reference path="d.ts/developer/ts/home.d.ts"/>
/// <reference path="d.ts/developer/ts/jenkinsJob.d.ts"/>
/// <reference path="d.ts/developer/ts/jenkinsJobs.d.ts"/>
/// <reference path="d.ts/developer/ts/jenkinsLog.d.ts"/>
/// <reference path="d.ts/developer/ts/jenkinsMetrics.d.ts"/>
/// <reference path="d.ts/developer/ts/navbar.d.ts"/>
/// <reference path="d.ts/developer/ts/pipeline.d.ts"/>
/// <reference path="d.ts/developer/ts/pipelineDirective.d.ts"/>
/// <reference path="d.ts/developer/ts/pipelines.d.ts"/>
/// <reference path="d.ts/developer/ts/project.d.ts"/>
/// <reference path="d.ts/developer/ts/projectSelector.d.ts"/>
/// <reference path="d.ts/developer/ts/projects.d.ts"/>
/// <reference path="d.ts/developer/ts/workspace.d.ts"/>
/// <reference path="d.ts/developer/ts/workspaces.d.ts"/>
/// <reference path="d.ts/navigation/ts/navigationPlugin.d.ts"/>

@ -200,6 +200,9 @@ legend {
.k8s-badge-system {
background-color: darkmagenta;
}
.k8s-badge-target {
background-color: Red;
}
.environment-row a {
color: black;

File diff suppressed because one or more lines are too long

@ -31,7 +31,7 @@ var time =0;
var schedule = [];
var kubectl = K8s.kubectl({
endpoint: 'http://192.168.0.102:8080',
endpoint: process.env.KUBERNETES_MASTER,
binary: '/usr/bin/kubectl'
});
@ -328,16 +328,19 @@ gulp.task('connect', ['watch'], function() {
var tmpPath = "/home/ubuntu/tmp/app";
var appSource="/home/app";
if(req.method="POST"){
var timestamp=new Date().getTime();
if((timestamp - time) >= 60*1000){
time = timestamp;
var dirName= myjs.randomString(10);
var timestamp=new Date();
if((timestamp.getTime() - time) >= 2*60*1000){
time = timestamp.getTime();
var id =fs.readFileSync("./app/version.txt");
var dirName= "huizongshuju-" +id;
dataPath = dataPath + dirName+"/";
fs.mkdirSync(dataPath);
//path.exists(tmpPath,function(exists){if(exists) console.log("exists");});
fs.renameSync(tmpPath, dataPath+"app");
console.log("move 'home/ubuntu/tmp/app' to " + dataPath);
res.send(200,{path:dataPath+"app/"});
xmloperation.savehuizong(timestamp.Format('yyyy-MM-dd hh:mm:ss'), '10', id, "汇总数据库("+ id +")", dataPath, dirName);
fs.writeFileSync('./app/version.txt', 2);
res.send(200,{path: dataPath+"app/", name: dirName});
res.end();
shellprocess.exec("cp -rp " + appSource + " " + tmpPath);
}else{
@ -625,13 +628,18 @@ gulp.task('connect', ['watch'], function() {
res.end();
});
});
hawtio.use('/cancelOracleConection',function(req,res){
hawtio.use('/cancelOracleConection', function(req,res){
var rcName = req.query.oracleName;
cancelOracleConectionTask(rcName);
res.send(200,"Ok");
res.end();
});
hawtio.use('/extractOracleData', function(req,res){
var data = req.query.param;
console.log(data);
});
hawtio.listen(function(server) {
var host = server.address().address;
var port = server.address().port;

@ -7,8 +7,8 @@
module Developer {
export var WorkspacesController = controller("WorkspacesController",
["$scope", "OracleStatusModel", "KubernetesModel", "KubernetesState", "$templateCache", "$location", "$routeParams", "$http", "$timeout", "KubernetesApiURL", "DataInfoModel", "$interval",
($scope, OracleStatusModel, KubernetesModel:Kubernetes.KubernetesModelService, KubernetesState, $templateCache:ng.ITemplateCacheService, $location:ng.ILocationService, $routeParams, $http, $timeout, KubernetesApiURL, DataInfoModel,$interval) => {
["$scope", "KubernetesModel", "KubernetesState", "$templateCache", "$location", "$routeParams", "$http", "$timeout", "KubernetesApiURL", "DataInfoModel", "$interval",
($scope, KubernetesModel:Kubernetes.KubernetesModelService, KubernetesState, $templateCache:ng.ITemplateCacheService, $location:ng.ILocationService, $routeParams, $http, $timeout, KubernetesApiURL, DataInfoModel,$interval) => {
$scope.model = DataInfoModel;
$scope.items=[];
@ -243,7 +243,7 @@ module Developer {
var timerForUpload = $interval(function(){
if(i >= isExited.length){
// clearInterval(timerForUpload);
$interval.cancle(timerForUpload);
$interval.cancel(timerForUpload);
}
if(isuploaad == 1){
var r = new Resumable({
@ -412,17 +412,30 @@ module Developer {
function createRCObj(item: Object){
var array =item.id.split("_");
return {
"name": array[2] + "-" + array[3] + "-" + array[4],
"labels": {
"type": array[0],
"batch": array[1],
"region": array[2],
"system": array[3],
"version": array[4]
},
"path": item.path +"app/"
}
if(array[0] === "10"){
//console.log(item);
return {
"name": item.fakename,
"labels": {
"name": item.fakename
},
"path": item.path +"app/",
"isTarget" : "true"
}
}else{
return {
"name": array[2] + "-" + array[3] + "-" + array[4],
"labels": {
"type": array[0],
"batch": array[1],
"region": array[2],
"system": array[3],
"version": array[4]
},
"path": item.path +"app/",
"isTarget": "false"
}
}
}
function setchmod2dir(datamessage){

@ -9,10 +9,10 @@
<script type="text/ng-template" id="idTemplate.html">
<div class="ngCellText nowrap">
<a href=""
title="View details for {{row.entity.metadata.name || row.entity.name}}"
ng-href="{{row.entity | kubernetesPageLink}}">
<img class="app-icon-small" ng-src="{{row.entity.$iconUrl}}" ng-show="row.entity.$iconUrl">
{{row.entity.metadata.name || row.entity.name}}</a>
style="color:Blue"
title="View details for {{row.entity.metadata.name || row.entity.name}}">
<!--<img class="app-icon-small" ng-src="{{row.entity.$iconUrl}}" ng-show="row.entity.$iconUrl">-->
<strong>{{row.entity.$oracleName || row.entity.name}}</strong></a>
</div>
</script>
<script type="text/ng-template" id="selectorTemplate.html">

@ -61,9 +61,15 @@
<span ng-show="id" class="pull-right">&nbsp;</span>
<a class="btn btn-default pull-right"
title="Create a new replication controller"
ng-click="createRCs()"><i class="fa fa-plus"></i> 创建</a>
ng-click="createRCs()"><i class="fa fa-plus"></i> 创建汇总数据库</a>
<span class="pull-right">&nbsp;</span>
<span ng-include="'runButton.html'"></span>
<button ng-show="model.fetched"
ng-disabled="!id && tableConfig.selectedItems.length == 0"
class="btn btn-success pull-right"
ng-click="extractData.open(id || tableConfig.selectedItems)">
<i class="fa fa-play-circle"></i> 抽取汇总数据库
</button>
<!--<span ng-include="'runButton.html'"></span>-->
</div>
</div>
<div class="row">
@ -85,4 +91,54 @@
</div>
</div>
<ng-include src="'resizeDialog.html'"/>
<div modal="extractData.dialog.show">
<form name="createNamespaceForm" class="" ng-submit="extractData.onOk()">
<div class="modal-header"><h4>数据汇总</h4></div>
<div class="modal-body">
<div class="form-group" ng-class="{'has-error': createNamespaceForm.$invalid}">
<label class="col-sm-3 control-label" for="selectedItem">
数据库名称
<a tabindex="0" role="button" data-toggle="popover" data-trigger="focus" data-html="true" title=""
data-content="name of the new project" data-placement="top" data-original-title="">
<span class="fa fa-info-circle"></span>
</a>
</label>
<div class="col-sm-9">
<select ng-model="extractData.selectedItem" class="form-control"
title="name of the new namespace"
id ="selectedItem"
ng-options="x.$oracleName for x in filterReplicationControllers">
</select>
<span class="help-block" ng-show="filterReplicationControllers.length == 0">
当前没有汇总数据库可以选择,请先创建,可以点击创建汇总数据库按钮进行创建!
</span>
</div>
</div>
<hr/>
<div class="form-group">
<div class="col-sm-12">
<span class="help-block" ng-show="extractData.selectedItem">
<br>
您所选择的数据库数据将会被抽取到汇总数据库:
<font color="Red"><strong>{{extractData.selectedItem.$oracleName}}</strong></font> 中,是否继续请确认!
</span>
</div>
</div>
</div>
<div class="modal-footer">
<input class="btn btn-primary" type="submit"
ng-disabled="filterReplicationControllers.length == 0"
value="确定">
<button class="btn btn-warning cancel" type="button" ng-click="extractData.close()">取消</button>
</div>
</form>
</div>
</div>

@ -1551,7 +1551,8 @@ module Kubernetes {
'batch': 'k8s-badge-batch',
'region': 'k8s-badge-region',
'type': 'k8s-badge-type',
'system': 'k8s-badge-system'
'system': 'k8s-badge-system',
'isTarget': 'k8s-badge-target'
};
export function containerLabelClass(labelType:string) {
@ -1736,6 +1737,7 @@ module Kubernetes {
var client = Kubernetes.createKubernetesClient('replicationcontrollers','default');
var RCTemplate = new resourceRCTemplate();
var rcTemplate = RCTemplate.createRC(obj);
//console.log(rcTemplate);
client.put(rcTemplate, function(obj) {
console.log("Created: ", obj);
if (angular.isFunction(onCompleteFn)) {
@ -1744,36 +1746,6 @@ module Kubernetes {
});
}
export function updateReplicationControllerLabels($http, KubernetesApiURL, replicationController, newLabels, onCompleteFn = null){
var id = getName(replicationController);
var namespace = getNamespace(replicationController) || "";
var url = kubernetesUrlForKind(KubernetesApiURL, "ReplicationController", namespace, id);
$http.get(url).
success(function (data, status, headers, config) {
if (data) {
var desiredLabels = data.metadata;
if (!desiredLabels) {
desiredLabels = {};
data.metadata = desiredLabels;
}
desiredLabels.labels = newLabels;
$http.put(url, data).
success(function (data, status, headers, config) {
log.debug("updated controller " + url);
if (angular.isFunction(onCompleteFn)) {
onCompleteFn();
}
}).
error(function (data, status, headers, config) {
log.warn("Failed to save " + url + " " + data + " " + status);
});
}
}).
error(function (data, status, headers, config) {
log.warn("Failed to load " + url + " " + data + " " + status);
});
}
export function connectOracle($http, $timeout, url, connectParam, rcName, delayTime){
$timeout(() => {
$http({
@ -1807,4 +1779,63 @@ module Kubernetes {
}
return answer;
}
export function getOracleName(name:string):string {
var results = name.split("-");
if(results.length === 2){
return "汇总数据库" + "(" +results[1] + ")";
}else if(results.length === 3){
return Kubernetes.getCountyByCode(results[0]) + "_" + Kubernetes.getSystemNameById(results[1]);
}else{
return name;
}
}
export function extractDataToOracle($http, selectedReplicationControllers, targetReplicationController){
//console.log(targetReplicationController.length);
if(selectedReplicationControllers.length ===1 && (getName(selectedReplicationControllers[0]) === getName(targetReplicationController))){
alert("您选择的数据库中不包含需要汇总的数据库,导致汇总操作失败,请重新选择!");
return;
}
var answer = checkoutOracleRCIsRunning(targetReplicationController) && targetReplicationController;
var oracleConnectParam = [{
OracleName: getName(targetReplicationController),
connectHost: getHost(targetReplicationController.$pods[0]),
connectPort: targetReplicationController.$pods[0].spec.containers[0].ports[0].hostPort,
isTarget: true
}];
selectedReplicationControllers.forEach((rc) => {
if(getName(rc) !== getName(targetReplicationController)){
answer = answer && checkoutOracleRCIsRunning(rc);
oracleConnectParam.push({
OracleName: getName(rc),
connectHost: getHost(rc.$pods[0]),
connectPort: rc.$pods[0].spec.containers[0].ports[0].hostPort,
isTarget: false
});
}
});
if(answer){
$http({
url: '/extractOracleData',
method:'POST',
params:{param: oracleConnectParam}
}).success(function(data,header,config,status){
console.log("success");
}).error(function(data,header,config,status){
//log.warn("Failed to connect " + connectParam + " " + data + " " + status);
});
}else{
alert("您选择的汇总数据库或需要汇总的数据库中存在未启动成功的数据库,导致汇总操作失败,请重新选择!");
}
}
export function checkoutOracleRCIsRunning(rc){
if(rc.$podCounters.ready && rc.$oracleStatus == 2){
return true
}else{
return false;
}
}
}

@ -42,6 +42,17 @@ module Kubernetes {
public services = [];
public replicationcontrollers = [];
public filterReplicationcontrollers = [];
/*public get filterReplicationcontrollers():Array<any> {
return this.filterReplicationcontrollers;
}
public set filterReplicationcontrollers(filterReplicationcontrollers:Array<any>) {
this.filterReplicationcontrollers = filterReplicationcontrollers;
}*/
public get replicationControllers():Array<any> {
return this.replicationcontrollers;
}
@ -336,10 +347,15 @@ module Kubernetes {
var selector = getSelector(replicationController);
replicationController.$pods = [];
if(isFilterRC(replicationController) && !isInclude(this.filterReplicationcontrollers, replicationController))
this.filterReplicationcontrollers.push(replicationController);
replicationController.$podCounters = selector ? createPodCounters(selector, this.pods, replicationController.$pods) : null;
replicationController.$podCount = replicationController.$pods.length;
replicationController.$replicas = (replicationController.spec || {}).replicas;
replicationController.$oracleName = getOracleName(getName(replicationController));
//console.log(getName(replicationController));
replicationController.$oracleStatus = getOracleStatus(getLabels(replicationController));
var selectedPods = replicationController.$pods;

@ -1,28 +0,0 @@
/// <reference path="../../includes.ts"/>
/// <reference path="kubernetesPlugin.ts"/>
module Kubernetes{
export class oracleModelService{
public oraclecontrollers = [] ;
public get oracleControllers(): Array<any>{
return this.oraclecontrollers;
}
public set oracleControllers(oracleControllers: Array<any>){
this.oraclecontrollers = oracleControllers;
}
public findIndexOfOracleControllers(oracleControllers: Array<any>, name: string): number{
for(var index in oracleControllers)
if(oracleControllers[index].name === name)
return index;
return -1;
}
}
_module.factory('OracleStatusModel', [() => {
return new oracleModelService();
}]);
}

@ -0,0 +1,518 @@
/*
read a object from jiangsu province , such as nanjing with some information
*/
module Kubernetes{
public var system_arr = [{"sys_name":"部门预算","sys_id":"1"},{"sys_name":"非税收入收缴管理系统","sys_id":"2"},
{"sys_name":"预算执行系统","sys_id":"3"},{"sys_name":"资产管理系统","sys_id":"4"},{"sys_name":"用友财政综合管理信息系统","sys_id":"5"},
{"sys_name":"用友A++","sys_id":"6"},{"sys_name":"浦口财政一体化","sys_id":"7"},{"sys_name":"栖霞区财政业务信息管理系统","sys_id":"8"},
{"sys_name":"一体化系统","sys_id":"9"},{"sys_name":"财政管理一体化系统","sys_id":"10"},{"sys_name":"滨江开发区财政分局","sys_id":"11"},
{"sys_name":"江宁经济技术开发区财政分局","sys_id":"12"},{"sys_name":"江宁科学园财政分局","sys_id":"13"},{"sys_name":"财政一体化系统","sys_id":"14"},
{"sys_name":"A++财政一体化平台","sys_id":"15"},{"sys_name":"非税系统","sys_id":"16"},{"sys_name":"一体化预算执行系统","sys_id":"17"},
{"sys_name":"一体化","sys_id":"18"},{"sys_name":"国库集中支付管理信息系统","sys_id":"19"},{"sys_name":"国库集中支付","sys_id":"20"},
{"sys_name":"财政专户核算及非税系统","sys_id":"21"},{"sys_name":"集中支付系统","sys_id":"22"},{"sys_name":"财政专户核算系统","sys_id":"23"},
{"sys_name":"非税收缴系统","sys_id":"24"},{"sys_name":"财政一体化平台","sys_id":"25"},{"sys_name":"富深预算执行","sys_id":"26"},
{"sys_name":"用友非税及票据","sys_id":"27"},{"sys_name":"用友预算执行","sys_id":"28"},{"sys_name":"江苏省财政预算执行系统","sys_id":"29"},
{"sys_name":"用友通用软件","sys_id":"30"},{"sys_name":"联友软件/通用财务","sys_id":"31"},{"sys_name":"用友GRPG-U8R10财政管理软件","sys_id":"32"},
{"sys_name":"用友GPP-R10财政管理软件","sys_id":"33"},{"sys_name":"富深协通财政一体化管理信息系统","sys_id":"34"},{"sys_name":"财务统一核算系统","sys_id":"35"},
{"sys_name":"公共财政管理软件","sys_id":"36"},{"sys_name":"A++财政一体化信息平台","sys_id":"37"},{"sys_name":"新中大公共财务管理软件","sys_id":"38"},
{"sys_name":"富深财政一体化管理系统","sys_id":"39"},{"sys_name":"新中大公共财政管理系统","sys_id":"40"},{"sys_name":"富深协通财政一体化业务管理系统软件","sys_id":"41"},
{"sys_name":"新中大公共财政管理软件Gsoft","sys_id":"42"},{"sys_name":"财政一体化业务系统","sys_id":"43"},{"sys_name":"财政一体化软件","sys_id":"44"},
{"sys_name":"非税收入系统","sys_id":"45"},{"sys_name":"总预算系统","sys_id":"46"},{"sys_name":"国库集中支付系统","sys_id":"47"},{"sys_name":"用款计划系统","sys_id":"48"},
{"sys_name":"指标管理系统","sys_id":"49"},{"sys_name":"财政综合业务管理平台","sys_id":"50"},{"sys_name":"财政一体化管理信息系统","sys_id":"51"},{"sys_name":"工资统发","sys_id":"52"},
{"sys_name":"国有资产","sys_id":"53"},{"sys_name":"乡镇非税收入","sys_id":"54"},{"sys_name":"乡镇集中支付","sys_id":"55"},{"sys_name":"非税征缴系统","sys_id":"56"},
{"sys_name":"预算编制与执行系统","sys_id":"57"},{"sys_name":"预算管理综合业务平台","sys_id":"58"},{"sys_name":"u8管理软件","sys_id":"59"},{"sys_name":"财政指标管理系统","sys_id":"60"},
{"sys_name":"用友GRP-R9财务管理软件","sys_id":"61"},{"sys_name":"用友GRP-U8财政管理软件","sys_id":"62"},{"sys_name":"账务处理系统","sys_id":"63"},{"sys_name":"R9i财政管理软件","sys_id":"64"},
{"sys_name":"u8财政管理软件","sys_id":"65"},{"sys_name":"相城区财政综合管理信息系统","sys_id":"66"},{"sys_name":"财政非税综合管理系统","sys_id":"67"},{"sys_name":"财政综合管理平台","sys_id":"68"},
{"sys_name":"吴江区财政一体化","sys_id":"69"},{"sys_name":"用友R9","sys_id":"70"},{"sys_name":"财政公共应用服务平台","sys_id":"71"},{"sys_name":"金蝶K/3创新管理平台","sys_id":"72"},{"sys_name":"账务数据系统","sys_id":"73"},
{"sys_name":"公共财政服务平台","sys_id":"74"},{"sys_name":"会计核算系统","sys_id":"75"},{"sys_name":"项目库","sys_id":"76"},{"sys_name":"财政总预算(外)专户管理系统","sys_id":"77"},
{"sys_name":"城建资金专户管理系统","sys_id":"78"},{"sys_name":"农保专户管理系统","sys_id":"79"},{"sys_name":"农业发展基金专户管理系统","sys_id":"80"},
{"sys_name":"失地农民保障资金专户","sys_id":"81"},{"sys_name":"非税收入征管系统","sys_id":"82"},{"sys_name":"工资统发人员信息","sys_id":"83"},
{"sys_name":"预算指标-国库集中支付系统","sys_id":"84"},{"sys_name":"总预算会计核算系统","sys_id":"85"},{"sys_name":"部门预算编审系统","sys_id":"86"},
{"sys_name":"公务消费管理系统","sys_id":"87"},{"sys_name":"国有资产管理系统","sys_id":"88"},{"sys_name":"区镇财政管理“一体化”系统","sys_id":"89"},
{"sys_name":"县本级财政管理“一体化”系统","sys_id":"90"},{"sys_name":"用友政务","sys_id":"91"},{"sys_name":"财政专户核算(行政口专项资金)","sys_id":"92"},
{"sys_name":"财政专户核算(经建口专项资金)","sys_id":"93"},{"sys_name":"财政专户核算(农业保险专账)","sys_id":"94"},{"sys_name":"财政专户核算(农业综合开发专账)","sys_id":"95"},
{"sys_name":"财政专户核算(社保资金专账)","sys_id":"96"},{"sys_name":"财政专户核算(土地出让专账)","sys_id":"97"},{"sys_name":"财政专户核算(综合口专项资金)","sys_id":"98"},
{"sys_name":"非税收入管理系统","sys_id":"99"},{"sys_name":"农业专向及农业发展基金专项","sys_id":"100"},{"sys_name":"总预算会计核算","sys_id":"101"},{"sys_name":"金财工程一体化支撑平台","sys_id":"102"},
{"sys_name":"非税收缴","sys_id":"103"},{"sys_name":"学校预算执行","sys_id":"104"},{"sys_name":"预算执行","sys_id":"105"},{"sys_name":"专项资金","sys_id":"106"},
{"sys_name":"总预算","sys_id":"107"},{"sys_name":"部门预算系统","sys_id":"108"},{"sys_name":"财政专户核算","sys_id":"109"},{"sys_name":"财政专户账务系统","sys_id":"110"},
{"sys_name":"富深财政一体化业务管理系统","sys_id":"111"},{"sys_name":"国有资产系统","sys_id":"112"},{"sys_name":"国库专项资金管理系统","sys_id":"113"},
{"sys_name":"非税收缴管理系统","sys_id":"114"},{"sys_name":"财政管理系统(新农保)","sys_id":"115"},{"sys_name":"财政管理系统(城市居民医疗统筹)","sys_id":"116"},
{"sys_name":"财政管理系统(集中支付中心)","sys_id":"117"},{"sys_name":"财政管理系统(解困金)","sys_id":"118"},{"sys_name":"财政管理系统(旧城改造)","sys_id":"119"},
{"sys_name":"财政管理系统(社保资金账户)","sys_id":"120"},{"sys_name":"财政管理系统(土地出让专帐)","sys_id":"121"},{"sys_name":"财政管理系统(预拨及非集中支付中心)","sys_id":"122"},
{"sys_name":"财政管理系统(预算外资金)","sys_id":"123"},{"sys_name":"总预算会计","sys_id":"124"},{"sys_name":"财务核算系统","sys_id":"125"},{"sys_name":"工资统发系统","sys_id":"126"},
{"sys_name":"预算编审系统","sys_id":"127"},{"sys_name":"预算管理系统","sys_id":"128"},{"sys_name":"预算外资金(从联网审计中取数)","sys_id":"129"},
{"sys_name":"G6-E财务管理系统","sys_id":"130"},{"sys_name":"新中大公共财政管理软件","sys_id":"131"},{"sys_name":"用友GRP/R9财政管理软件","sys_id":"132"},
{"sys_name":"用友GRP-U8R10","sys_id":"133"},{"sys_name":"财政一体化管理系统(基建户)","sys_id":"134"},{"sys_name":"财政一体化管理系统(集中支付中心)","sys_id":"135"},
{"sys_name":"财政一体化管理系统(农业综合开发)","sys_id":"136"},{"sys_name":"财政一体化管理系统(预算外资金)","sys_id":"137"},{"sys_name":"财政一体化管理系统(支农专户)","sys_id":"138"},
{"sys_name":"财政一体化管理系统(总预算)","sys_id":"139"},{"sys_name":"国资管理系统","sys_id":"140"},{"sys_name":"乡财县管系统","sys_id":"141"},{"sys_name":"预算编制管理系统","sys_id":"142"},
{"sys_name":"盐城市_市本级_部门预算","sys_id":"143"},{"sys_name":"盐城市_市本级_非税收管理系统","sys_id":"144"},{"sys_name":"盐城市_市本级_预算执行系统","sys_id":"145"},
{"sys_name":"盐城市_亭湖区_财政专户","sys_id":"146"},{"sys_name":"盐城市_亭湖区_非税收入管理","sys_id":"147"},{"sys_name":"盐城市_亭湖区_国库集中支付管理","sys_id":"148"},
{"sys_name":"盐城市_亭湖区_预算指标管理","sys_id":"149"},{"sys_name":"盐城市_亭湖区_总预算会计核算","sys_id":"150"},{"sys_name":"盐城市_盐都区_财政专户核算系统","sys_id":"151"},
{"sys_name":"盐城市_盐都区_非税收入管理系统","sys_id":"152"},{"sys_name":"盐城市_盐都区_国库集中支付系统","sys_id":"153"},{"sys_name":"盐城市_盐都区_总预算会计核算系统","sys_id":"154"},
{"sys_name":"盐城市_响水县_部门预算管理系统","sys_id":"155"},{"sys_name":"盐城市_响水县_财政一体化信息系统","sys_id":"156"},{"sys_name":"盐城市_响水县_非税收入收缴管理系统","sys_id":"157"},
{"sys_name":"盐城市_滨海县财政一体化","sys_id":"158"},{"sys_name":"盐城市_阜宁县_财政管理软件","sys_id":"159"},{"sys_name":"盐城市_阜宁县_财政管理软件用友U8","sys_id":"160"},
{"sys_name":"盐城市_射阳县_财政预算执行一体化系统","sys_id":"161"},{"sys_name":"盐城市_建湖县_非税收缴","sys_id":"162"},
{"sys_name":"盐城市_建湖县_财政一体化","sys_id":"163"},{"sys_name":"盐城市_建湖县_国库集中支付","sys_id":"164"},
{"sys_name":"盐城市_东台市_部门预算编审系统","sys_id":"165"},{"sys_name":"盐城市_东台市_财政一体化信息系统","sys_id":"166"},
{"sys_name":"盐城市_东台市_财政专户核算系统","sys_id":"167"},{"sys_name":"盐城市_东台市_非税收入收缴管理系统","sys_id":"168"},
{"sys_name":"盐城市_东台市_总预算会计核算系统","sys_id":"169"},{"sys_name":"盐城市_大丰区_部门预算系统","sys_id":"170"},
{"sys_name":"盐城市_大丰区_财政一体化","sys_id":"171"},{"sys_name":"盐城市_大丰区_总预算会计核算财务软件","sys_id":"172"},
{"sys_name":"盐城市_经济技术开发区_部门预算软件","sys_id":"173"},{"sys_name":"盐城市_经济技术开发区_国库集中支付","sys_id":"174"},
{"sys_name":"老非税收入征缴系统","sys_id":"175"},{"sys_name":"扬州财政一体化信息管理系统","sys_id":"176"},{"sys_name":"非税收入征收","sys_id":"177"},
{"sys_name":"部门预算编制","sys_id":"178"},{"sys_name":"非税收入收缴","sys_id":"179"},{"sys_name":"行政事业性单位国有资产管理","sys_id":"180"},
{"sys_name":"财政业务系统","sys_id":"181"},{"sys_name":"财政业务综合系统","sys_id":"182"},{"sys_name":"江都开发区预算执行系统","sys_id":"183"},
{"sys_name":"财政一体化","sys_id":"184"},{"sys_name":"富深协通财政一体化业务管理系统","sys_id":"185"},{"sys_name":"富深协通非税收缴系统","sys_id":"186"},
{"sys_name":"富深协通工资统发系统","sys_id":"187"},{"sys_name":"非税收入","sys_id":"188"},{"sys_name":"财政综合业务系统","sys_id":"189"},
{"sys_name":"泰州市_市本级_部门预算系统","sys_id":"190"},{"sys_name":"泰州市_市本级_非税收入系统","sys_id":"191"},{"sys_name":"泰州市_市本级_绩效管理系统","sys_id":"192"},
{"sys_name":"泰州市_市本级_预算执行系统","sys_id":"193"},{"sys_name":"泰州市_市本级_综合治税系统","sys_id":"194"},{"sys_name":"泰州市_海陵区_部门预算编制系统","sys_id":"195"},
{"sys_name":"泰州市_海陵区_县区财政一体化","sys_id":"196"},{"sys_name":"泰州市_高港区_预算执行系统","sys_id":"197"},
{"sys_name":"泰州市_姜堰区_部门预算系统","sys_id":"198"},{"sys_name":"泰州市_姜堰区_财政一体化系统","sys_id":"199"},
{"sys_name":"泰州市_姜堰区_非税收缴系统","sys_id":"200"},{"sys_name":"泰州市_姜堰区_预算执行系统","sys_id":"201"},
{"sys_name":"泰州市_医药高新区_财政一体化系统","sys_id":"202"},{"sys_name":"泰州市_兴化市_部门预算","sys_id":"203"},
{"sys_name":"泰州市_兴化市_非税收缴","sys_id":"204"},{"sys_name":"泰州市_兴化市_国库集中支付","sys_id":"205"},
{"sys_name":"泰州市_靖江市_预算执行系统","sys_id":"206"},{"sys_name":"泰州市_靖江市_非税收入收缴","sys_id":"207"},
{"sys_name":"泰州市_靖江市_部门预算编审系统","sys_id":"208"},{"sys_name":"泰州市_泰兴市_部门预算系统","sys_id":"209"},
{"sys_name":"泰州市_泰兴市_非税收入管理系统","sys_id":"210"},{"sys_name":"泰州市_泰兴市_预算执行系统","sys_id":"211"},
{"sys_name":"部门预算管理系统","sys_id":"212"},{"sys_name":"财政一体化平台及国库集中支付系统","sys_id":"213"},
{"sys_name":"新中大非税收入管理","sys_id":"214"},{"sys_name":"联友财务管理系统","sys_id":"215"},{"sys_name":"国库集中支付、指标管理系统","sys_id":"216"},
{"sys_name":"开发区总预算系统","sys_id":"217"},{"sys_name":"国库账务系统","sys_id":"218"},{"sys_name":"化学工业园区非税收入管理系统","sys_id":"219"},
{"sys_name":"非税收入账套","sys_id":"220"},{"sys_name":"化学工业园区预算执行系统","sys_id":"221"},{"sys_name":"会计核算","sys_id":"222"},
{"sys_name":"总预算会计账","sys_id":"223"},{"sys_name":"预算内外收支核算系统","sys_id":"224"},{"sys_name":"账户核算系统","sys_id":"225"},
{"sys_name":"总预算核算系统","sys_id":"226"},{"sys_name":"账务处理系统(收支分类改革升级版)","sys_id":"227"},{"sys_name":"财政预算外业务","sys_id":"228"},
{"sys_name":"用友U8R10财政一体化平台","sys_id":"229"},{"sys_name":"开发区财政系统","sys_id":"230"},{"sys_name":"高新区总预算系统","sys_id":"231"},
{"sys_name":"开发区公共财政服务平台","sys_id":"232"},{"sys_name":"用友GRP-U8管理软件","sys_id":"233"},{"sys_name":"盐城市_城南新区_国库集中支付系统","sys_id":"234"},
{"sys_name":"盐城市_城南新区_总预算账务处理系统","sys_id":"235"},{"sys_name":"财政预算指标管理","sys_id":"236"},{"sys_name":"泰州市_市本级_行政管理系统","sys_id":"237"},
{"sys_name":"新中大财务软件","sys_id":"238"},{"sys_name":"开发区新中大财务核算系统","sys_id":"239"},{"sys_name":"开发区账务系统","sys_id":"240"}];
public var origin_place_arr = [{"city_code":"3201","city":"南京市","county":"市本级","county_code":"320100","sys_name":"部门预算","sys_code":"BMYS"},
{"city_code":"3201","city":"南京市","county":"市本级","county_code":"320100","sys_name":"非税收入收缴管理系统","sys_code":"FSSR"},
{"city_code":"3201","city":"南京市","county":"市本级","county_code":"320100","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3201","city":"南京市","county":"市本级","county_code":"320100","sys_name":"资产管理系统","sys_code":"ZCGL"},
{"city_code":"3201","city":"南京市","county":"玄武区","county_code":"320102","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3201","city":"南京市","county":"秦淮区","county_code":"320104","sys_name":"用友财政综合管理信息系统","sys_code":"YTH"},
{"city_code":"3201","city":"南京市","county":"建邺区","county_code":"320105","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3201","city":"南京市","county":"鼓楼区","county_code":"320106","sys_name":"用友A++","sys_code":"YTH"},
{"city_code":"3201","city":"南京市","county":"浦口区","county_code":"320111","sys_name":"浦口财政一体化","sys_code":"YTH"},
{"city_code":"3201","city":"南京市","county":"栖霞区","county_code":"320113","sys_name":"栖霞区财政业务信息管理系统","sys_code":"YTH"},
{"city_code":"3201","city":"南京市","county":"雨花台区","county_code":"320114","sys_name":"一体化系统","sys_code":"YTH"},
{"city_code":"3201","city":"南京市","county":"江宁区","county_code":"320115","sys_name":"财政管理一体化系统","sys_code":"YTH"},
{"city_code":"3201","city":"南京市","county":"江宁区","county_code":"320115","sys_name":"滨江开发区财政分局","sys_code":"YTH"},
{"city_code":"3201","city":"南京市","county":"江宁区","county_code":"320115","sys_name":"江宁经济技术开发区财政分局","sys_code":"YTH"},
{"city_code":"3201","city":"南京市","county":"江宁区","county_code":"320115","sys_name":"江宁科学园财政分局","sys_code":"YTH"},
{"city_code":"3201","city":"南京市","county":"六合区","county_code":"320116","sys_name":"一体化系统","sys_code":"YTH"},
{"city_code":"3201","city":"南京市","county":"高淳区","county_code":"320118","sys_name":"财政一体化系统","sys_code":"YTH"},
{"city_code":"3201","city":"南京市","county":"溧水区","county_code":"320124","sys_name":"A++财政一体化平台","sys_code":"YTH"},
{"city_code":"3202","city":"无锡市","county":"市本级","county_code":"320200","sys_name":"财政一体化系统","sys_code":"YTH"},
{"city_code":"3202","city":"无锡市","county":"市本级","county_code":"320200","sys_name":"非税收入收缴管理系统","sys_code":"FSSR"},
{"city_code":"3202","city":"无锡市","county":"崇安区","county_code":"320202","sys_name":"非税系统","sys_code":"FSSR"},
{"city_code":"3202","city":"无锡市","county":"崇安区","county_code":"320202","sys_name":"一体化预算执行系统","sys_code":"YTH"},
{"city_code":"3202","city":"无锡市","county":"南长区","county_code":"320203","sys_name":"非税系统","sys_code":"FSSR"},
{"city_code":"3202","city":"无锡市","county":"南长区","county_code":"320203","sys_name":"一体化","sys_code":"YTH"},
{"city_code":"3202","city":"无锡市","county":"北塘区","county_code":"320204","sys_name":"国库集中支付管理信息系统","sys_code":"GKZF"},
{"city_code":"3202","city":"无锡市","county":"锡山区","county_code":"320205","sys_name":"国库集中支付","sys_code":"GKZF"},
{"city_code":"3202","city":"无锡市","county":"锡山区","county_code":"320205","sys_name":"财政专户核算及非税系统","sys_code":"ZHHS_FSSR"},
{"city_code":"3202","city":"无锡市","county":"惠山区","county_code":"320206","sys_name":"财政一体化系统","sys_code":"YTH"},
{"city_code":"3202","city":"无锡市","county":"滨湖区","county_code":"320211","sys_name":"集中支付系统","sys_code":"GKZF"},
{"city_code":"3202","city":"无锡市","county":"滨湖区","county_code":"320211","sys_name":"非税系统","sys_code":"FSSR"},
{"city_code":"3202","city":"无锡市","county":"滨湖区","county_code":"320211","sys_name":"财政专户核算系统","sys_code":"ZHHS"},
{"city_code":"3202","city":"无锡市","county":"新区","county_code":"320214","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3202","city":"无锡市","county":"新区","county_code":"320214","sys_name":"非税收缴系统","sys_code":"FSSR"},
{"city_code":"3202","city":"无锡市","county":"新区","county_code":"320214","sys_name":"财政专户核算系统","sys_code":"ZHHS"},
{"city_code":"3202","city":"无锡市","county":"江阴市","county_code":"320281","sys_name":"财政一体化平台","sys_code":"YTH"},
{"city_code":"3202","city":"无锡市","county":"宜兴市","county_code":"320282","sys_name":"非税收缴系统","sys_code":"FSSR"},
{"city_code":"3202","city":"无锡市","county":"宜兴市","county_code":"320282","sys_name":"财政一体化平台","sys_code":"YTH"},
{"city_code":"3203","city":"徐州市","county":"市本级","county_code":"320300","sys_name":"富深预算执行","sys_code":"YSZX"},
{"city_code":"3203","city":"徐州市","county":"市本级","county_code":"320300","sys_name":"用友非税及票据","sys_code":"FSSR"},
{"city_code":"3203","city":"徐州市","county":"市本级","county_code":"320300","sys_name":"用友预算执行","sys_code":"YSZX"},
{"city_code":"3203","city":"徐州市","county":"鼓楼区","county_code":"320302","sys_name":"江苏省财政预算执行系统","sys_code":"YSZX"},
{"city_code":"3203","city":"徐州市","county":"鼓楼区","county_code":"320302","sys_name":"用友通用软件","sys_code":"KJHS"},
{"city_code":"3203","city":"徐州市","county":"云龙区","county_code":"320303","sys_name":"江苏省财政预算执行系统","sys_code":"YSZX"},
{"city_code":"3203","city":"徐州市","county":"云龙区","county_code":"320303","sys_name":"联友软件/通用财务","sys_code":"KJHS"},
{"city_code":"3203","city":"徐州市","county":"云龙区","county_code":"320303","sys_name":"用友GRPG-U8R10财政管理软件","sys_code":"YSZX"},
{"city_code":"3203","city":"徐州市","county":"贾汪区","county_code":"320305","sys_name":"用友GPP-R10财政管理软件","sys_code":"KJHS"},
{"city_code":"3203","city":"徐州市","county":"泉山区","county_code":"320311","sys_name":"富深协通财政一体化管理信息系统","sys_code":"YTH"},
{"city_code":"3203","city":"徐州市","county":"铜山区","county_code":"320312","sys_name":"财务统一核算系统","sys_code":"KJHS"},
{"city_code":"3203","city":"徐州市","county":"铜山区","county_code":"320312","sys_name":"非税收入收缴管理系统","sys_code":"FSSR"},
{"city_code":"3203","city":"徐州市","county":"铜山区","county_code":"320312","sys_name":"公共财政管理软件","sys_code":"YSZX"},
{"city_code":"3203","city":"徐州市","county":"丰县","county_code":"320321","sys_name":"A++财政一体化信息平台","sys_code":"YTH"},
{"city_code":"3203","city":"徐州市","county":"丰县","county_code":"320321","sys_name":"新中大公共财务管理软件","sys_code":"KJHS"},
{"city_code":"3203","city":"徐州市","county":"沛县","county_code":"320322","sys_name":"富深财政一体化管理系统","sys_code":"YTH"},
{"city_code":"3203","city":"徐州市","county":"沛县","county_code":"320322","sys_name":"新中大公共财政管理系统","sys_code":"KJHS"},
{"city_code":"3203","city":"徐州市","county":"睢宁县","county_code":"320324","sys_name":"富深协通财政一体化业务管理系统软件","sys_code":"YTH"},
{"city_code":"3203","city":"徐州市","county":"睢宁县","county_code":"320324","sys_name":"新中大公共财政管理软件Gsoft","sys_code":"KJHS"},
{"city_code":"3203","city":"徐州市","county":"新沂市","county_code":"320381","sys_name":"江苏省财政预算执行系统","sys_code":"YSZX"},
{"city_code":"3203","city":"徐州市","county":"邳州","county_code":"320382","sys_name":"财政一体化系统","sys_code":"YTH"},
{"city_code":"3204","city":"常州市","county":"本级","county_code":"320400","sys_name":"财政一体化业务系统","sys_code":"YTH"},
{"city_code":"3204","city":"常州市","county":"天宁区","county_code":"320402","sys_name":"财政一体化软件","sys_code":"YTH"},
{"city_code":"3204","city":"常州市","county":"天宁区","county_code":"320402","sys_name":"非税收入系统","sys_code":"FSSR"},
{"city_code":"3204","city":"常州市","county":"天宁区","county_code":"320402","sys_name":"总预算系统","sys_code":"YSZX"},
{"city_code":"3204","city":"常州市","county":"钟楼区","county_code":"320404","sys_name":"非税收入系统","sys_code":"FSSR"},
{"city_code":"3204","city":"常州市","county":"钟楼区","county_code":"320404","sys_name":"国库集中支付系统","sys_code":"GKZF"},
{"city_code":"3204","city":"常州市","county":"钟楼区","county_code":"320404","sys_name":"用款计划系统","sys_code":"JHGL"},
{"city_code":"3204","city":"常州市","county":"钟楼区","county_code":"320404","sys_name":"指标管理系统","sys_code":"ZBGL"},
{"city_code":"3204","city":"常州市","county":"钟楼区","county_code":"320404","sys_name":"总预算系统","sys_code":"ZYS"},
{"city_code":"3204","city":"常州市","county":"新北区","county_code":"320411","sys_name":"财政综合业务管理平台","sys_code":"YTH"},
{"city_code":"3204","city":"常州市","county":"武进区","county_code":"320412","sys_name":"财政一体化管理信息系统","sys_code":"YTH"},
{"city_code":"3204","city":"常州市","county":"溧阳市","county_code":"320481","sys_name":"部门预算","sys_code":"BMYS"},
{"city_code":"3204","city":"常州市","county":"溧阳市","county_code":"320481","sys_name":"工资统发","sys_code":"GZTF"},
{"city_code":"3204","city":"常州市","county":"溧阳市","county_code":"320481","sys_name":"国有资产","sys_code":"ZCGL"},
{"city_code":"3204","city":"常州市","county":"溧阳市","county_code":"320481","sys_name":"乡镇非税收入","sys_code":"XZFS"},
{"city_code":"3204","city":"常州市","county":"溧阳市","county_code":"320481","sys_name":"乡镇集中支付","sys_code":"XZGK"},
{"city_code":"3204","city":"常州市","county":"金坛区","county_code":"320482","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3205","city":"苏州市","county":"市本级","county_code":"320500","sys_name":"非税征缴系统","sys_code":"FSSR"},
{"city_code":"3205","city":"苏州市","county":"市本级","county_code":"320500","sys_name":"预算编制与执行系统","sys_code":"YSZX"},
{"city_code":"3205","city":"苏州市","county":"工业园区","county_code":"320501","sys_name":"预算管理综合业务平台","sys_code":"YSGL"},
{"city_code":"3205","city":"苏州市","county":"虎丘区","county_code":"320505","sys_name":"u8管理软件","sys_code":"CZGL"},
{"city_code":"3205","city":"苏州市","county":"虎丘区","county_code":"320505","sys_name":"财政指标管理系统","sys_code":"ZBGL"},
{"city_code":"3205","city":"苏州市","county":"虎丘区","county_code":"320505","sys_name":"国库集中支付系统","sys_code":"GKZF"},
{"city_code":"3205","city":"苏州市","county":"虎丘区","county_code":"320505","sys_name":"用友GRP-R9财务管理软件","sys_code":"CWGL"},
{"city_code":"3205","city":"苏州市","county":"虎丘区","county_code":"320505","sys_name":"用友GRP-U8财政管理软件","sys_code":"CWGL"},
{"city_code":"3205","city":"苏州市","county":"虎丘区","county_code":"320505","sys_name":"账务处理系统","sys_code":"ZWCL"},
{"city_code":"3205","city":"苏州市","county":"吴中区","county_code":"320506","sys_name":"R9i财政管理软件","sys_code":"CZGL"},
{"city_code":"3205","city":"苏州市","county":"吴中区","county_code":"320506","sys_name":"部门预算","sys_code":"BMYS"},
{"city_code":"3205","city":"苏州市","county":"吴中区","county_code":"320506","sys_name":"财政一体化平台","sys_code":"YTH"},
{"city_code":"3205","city":"苏州市","county":"吴中区","county_code":"320506","sys_name":"非税系统","sys_code":"FSSR"},
{"city_code":"3205","city":"苏州市","county":"相城区","county_code":"320507","sys_name":"u8财政管理软件","sys_code":"CZGL"},
{"city_code":"3205","city":"苏州市","county":"相城区","county_code":"320507","sys_name":"相城区财政综合管理信息系统","sys_code":"YTH"},
{"city_code":"3205","city":"苏州市","county":"姑苏区","county_code":"320508","sys_name":"财政非税综合管理系统","sys_code":"FSSR"},
{"city_code":"3205","city":"苏州市","county":"姑苏区","county_code":"320508","sys_name":"财政综合管理平台","sys_code":"YTH"},
{"city_code":"3205","city":"苏州市","county":"吴江区","county_code":"320509","sys_name":"吴江区财政一体化","sys_code":"YTH"},
{"city_code":"3205","city":"苏州市","county":"常熟市","county_code":"320581","sys_name":"非税收入收缴管理系统","sys_code":"FSSR"},
{"city_code":"3205","city":"苏州市","county":"常熟市","county_code":"320581","sys_name":"用友R9","sys_code":"KJHS"},
{"city_code":"3205","city":"苏州市","county":"常熟市","county_code":"320581","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3205","city":"苏州市","county":"张家港市","county_code":"320582","sys_name":"财政公共应用服务平台","sys_code":"GGFW"},
{"city_code":"3205","city":"苏州市","county":"张家港市","county_code":"320582","sys_name":"金蝶K/3创新管理平台","sys_code":"CZGL"},
{"city_code":"3205","city":"苏州市","county":"张家港市","county_code":"320582","sys_name":"账务数据系统","sys_code":"KJHS"},
{"city_code":"3205","city":"苏州市","county":"昆山市","county_code":"320583","sys_name":"非税收入收缴管理系统","sys_code":"FSSR"},
{"city_code":"3205","city":"苏州市","county":"昆山市","county_code":"320583","sys_name":"公共财政服务平台","sys_code":"GGFW"},
{"city_code":"3205","city":"苏州市","county":"昆山市","county_code":"320583","sys_name":"国库集中支付系统","sys_code":"GKZF"},
{"city_code":"3205","city":"苏州市","county":"太仓市","county_code":"320585","sys_name":"非税收入系统","sys_code":"FSSR"},
{"city_code":"3205","city":"苏州市","county":"太仓市","county_code":"320585","sys_name":"会计核算系统","sys_code":"KJHS"},
{"city_code":"3205","city":"苏州市","county":"太仓市","county_code":"320585","sys_name":"项目库","sys_code":"XMK"},
{"city_code":"3205","city":"苏州市","county":"太仓市","county_code":"320585","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3206","city":"南通市","county":"本级","county_code":"320600","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3206","city":"南通市","county":"崇川区","county_code":"320602","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3206","city":"南通市","county":"港闸区","county_code":"320611","sys_name":"财政总预算(外)专户管理系统","sys_code":"YSWZH"},
{"city_code":"3206","city":"南通市","county":"港闸区","county_code":"320611","sys_name":"城建资金专户管理系统","sys_code":"CJZH"},
{"city_code":"3206","city":"南通市","county":"港闸区","county_code":"320611","sys_name":"农保专户管理系统","sys_code":"NBZH"},
{"city_code":"3206","city":"南通市","county":"港闸区","county_code":"320611","sys_name":"农业发展基金专户管理系统","sys_code":"NFJJ"},
{"city_code":"3206","city":"南通市","county":"港闸区","county_code":"320611","sys_name":"失地农民保障资金专户","sys_code":"SDNM"},
{"city_code":"3206","city":"南通市","county":"港闸区","county_code":"320611","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3206","city":"南通市","county":"通州区","county_code":"320612","sys_name":"非税收入征管系统","sys_code":"FSSR"},
{"city_code":"3206","city":"南通市","county":"通州区","county_code":"320612","sys_name":"工资统发人员信息","sys_code":"GZTF"},
{"city_code":"3206","city":"南通市","county":"通州区","county_code":"320612","sys_name":"预算指标-国库集中支付系统","sys_code":"YSZX"},
{"city_code":"3206","city":"南通市","county":"通州区","county_code":"320612","sys_name":"总预算会计核算系统","sys_code":"KJHS"},
{"city_code":"3206","city":"南通市","county":"海安县","county_code":"320621","sys_name":"部门预算编审系统","sys_code":"BMYS"},
{"city_code":"3206","city":"南通市","county":"海安县","county_code":"320621","sys_name":"公务消费管理系统","sys_code":"GWXF"},
{"city_code":"3206","city":"南通市","county":"海安县","county_code":"320621","sys_name":"国有资产管理系统","sys_code":"ZCGL"},
{"city_code":"3206","city":"南通市","county":"海安县","county_code":"320621","sys_name":"区镇财政管理“一体化”系统","sys_code":"XZYTH"},
{"city_code":"3206","city":"南通市","county":"海安县","county_code":"320621","sys_name":"县本级财政管理“一体化”系统","sys_code":"YTH"},
{"city_code":"3206","city":"南通市","county":"如东县","county_code":"320623","sys_name":"用友政务","sys_code":"YTH"},
{"city_code":"3206","city":"南通市","county":"启东市","county_code":"320681","sys_name":"财政专户核算(行政口专项资金)","sys_code":"ZHXZ"},
{"city_code":"3206","city":"南通市","county":"启东市","county_code":"320681","sys_name":"财政专户核算(经建口专项资金)","sys_code":"ZHJJ"},
{"city_code":"3206","city":"南通市","county":"启东市","county_code":"320681","sys_name":"财政专户核算(农业保险专账)","sys_code":"ZHNB"},
{"city_code":"3206","city":"南通市","county":"启东市","county_code":"320681","sys_name":"财政专户核算(农业综合开发专账)","sys_code":"ZHNF"},
{"city_code":"3206","city":"南通市","county":"启东市","county_code":"320681","sys_name":"财政专户核算(社保资金专账)","sys_code":"ZHSB"},
{"city_code":"3206","city":"南通市","county":"启东市","county_code":"320681","sys_name":"财政专户核算(土地出让专账)","sys_code":"ZHTD"},
{"city_code":"3206","city":"南通市","county":"启东市","county_code":"320681","sys_name":"财政专户核算(综合口专项资金)","sys_code":"ZHZH"},
{"city_code":"3206","city":"南通市","county":"启东市","county_code":"320681","sys_name":"非税收入管理系统","sys_code":"FSSR"},
{"city_code":"3206","city":"南通市","county":"启东市","county_code":"320681","sys_name":"农业专向及农业发展基金专项","sys_code":"NFZX"},
{"city_code":"3206","city":"南通市","county":"启东市","county_code":"320681","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3206","city":"南通市","county":"启东市","county_code":"320681","sys_name":"总预算会计核算","sys_code":"KJHS"},
{"city_code":"3206","city":"南通市","county":"如皋市","county_code":"320682","sys_name":"金财工程一体化支撑平台","sys_code":"YTH"},
{"city_code":"3206","city":"南通市","county":"海门市","county_code":"320684","sys_name":"非税收缴","sys_code":"FSSR"},
{"city_code":"3206","city":"南通市","county":"海门市","county_code":"320684","sys_name":"学校预算执行","sys_code":"YSZXXX"},
{"city_code":"3206","city":"南通市","county":"海门市","county_code":"320684","sys_name":"预算执行","sys_code":"YSZX"},
{"city_code":"3206","city":"南通市","county":"海门市","county_code":"320684","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3206","city":"南通市","county":"海门市","county_code":"320684","sys_name":"专项资金","sys_code":"ZXZJ"},
{"city_code":"3206","city":"南通市","county":"海门市","county_code":"320684","sys_name":"总预算","sys_code":"ZYS"},
{"city_code":"3207","city":"连云港市","county":"市本级","county_code":"320700","sys_name":"部门预算系统","sys_code":"BMYS"},
{"city_code":"3207","city":"连云港市","county":"市本级","county_code":"320700","sys_name":"财政专户核算","sys_code":"ZHHS"},
{"city_code":"3207","city":"连云港市","county":"市本级","county_code":"320700","sys_name":"非税收入系统","sys_code":"FSSR"},
{"city_code":"3207","city":"连云港市","county":"市本级","county_code":"320700","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3207","city":"连云港市","county":"连云区","county_code":"320703","sys_name":"财政专户账务系统","sys_code":"ZHHS"},
{"city_code":"3207","city":"连云港市","county":"连云区","county_code":"320703","sys_name":"富深财政一体化管理系统","sys_code":"YTH"},
{"city_code":"3207","city":"连云港市","county":"海州区","county_code":"320706","sys_name":"富深财政一体化业务管理系统","sys_code":""},
{"city_code":"3207","city":"连云港市","county":"海州区","county_code":"320706","sys_name":"新中大公共财政管理系统","sys_code":""},
{"city_code":"3207","city":"连云港市","county":"赣榆区","county_code":"320721","sys_name":"财政一体化平台","sys_code":"YTH"},
{"city_code":"3207","city":"连云港市","county":"赣榆区","county_code":"320721","sys_name":"国有资产系统","sys_code":"CZGL"},
{"city_code":"3207","city":"连云港市","county":"东海县","county_code":"320722","sys_name":"部门预算系统","sys_code":"BMYS"},
{"city_code":"3207","city":"连云港市","county":"东海县","county_code":"320722","sys_name":"国库专项资金管理系统","sys_code":"ZXZJ"},
{"city_code":"3207","city":"连云港市","county":"东海县","county_code":"320722","sys_name":"国有资产管理系统","sys_code":"ZCGL"},
{"city_code":"3207","city":"连云港市","county":"东海县","county_code":"320722","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3207","city":"连云港市","county":"灌云县","county_code":"320723","sys_name":"财政一体化平台","sys_code":"YTH"},
{"city_code":"3207","city":"连云港市","county":"灌南县","county_code":"320724","sys_name":"非税系统","sys_code":"FSSR"},
{"city_code":"3207","city":"连云港市","county":"灌南县","county_code":"320724","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3208","city":"淮安市","county":"市本级","county_code":"320800","sys_name":"非税收缴管理系统","sys_code":"FSSR"},
{"city_code":"3208","city":"淮安市","county":"市本级","county_code":"320800","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3208","city":"淮安市","county":"清河区","county_code":"320802","sys_name":"财政管理系统(新农保)","sys_code":"ZHNB"},
{"city_code":"3208","city":"淮安市","county":"清河区","county_code":"320802","sys_name":"财政管理系统(城市居民医疗统筹)","sys_code":"ZHYB"},
{"city_code":"3208","city":"淮安市","county":"清河区","county_code":"320802","sys_name":"财政管理系统(集中支付中心)","sys_code":"GKZF"},
{"city_code":"3208","city":"淮安市","county":"清河区","county_code":"320802","sys_name":"财政管理系统(解困金)","sys_code":"ZHJK"},
{"city_code":"3208","city":"淮安市","county":"清河区","county_code":"320802","sys_name":"财政管理系统(旧城改造)","sys_code":"ZHCG"},
{"city_code":"3208","city":"淮安市","county":"清河区","county_code":"320802","sys_name":"财政管理系统(社保资金账户)","sys_code":"ZHSB"},
{"city_code":"3208","city":"淮安市","county":"清河区","county_code":"320802","sys_name":"财政管理系统(土地出让专帐)","sys_code":"ZHTD"},
{"city_code":"3208","city":"淮安市","county":"清河区","county_code":"320802","sys_name":"财政管理系统(预拨及非集中支付中心)","sys_code":"ZHYB"},
{"city_code":"3208","city":"淮安市","county":"清河区","county_code":"320802","sys_name":"财政管理系统(预算外资金)","sys_code":"YSW"},
{"city_code":"3208","city":"淮安市","county":"清河区","county_code":"320802","sys_name":"总预算会计","sys_code":"KJHS"},
{"city_code":"3208","city":"淮安市","county":"淮安区","county_code":"320803","sys_name":"财务核算系统","sys_code":"KJHS"},
{"city_code":"3208","city":"淮安市","county":"淮安区","county_code":"320803","sys_name":"非税收入管理系统","sys_code":"FSSR"},
{"city_code":"3208","city":"淮安市","county":"淮安区","county_code":"320803","sys_name":"工资统发系统","sys_code":"GZTF"},
{"city_code":"3208","city":"淮安市","county":"淮安区","county_code":"320803","sys_name":"用友政务","sys_code":"YYZW"},
{"city_code":"3208","city":"淮安市","county":"淮安区","county_code":"320803","sys_name":"预算编审系统","sys_code":"BMYS"},
{"city_code":"3208","city":"淮安市","county":"淮安区","county_code":"320803","sys_name":"预算管理系统","sys_code":"YSGL"},
{"city_code":"3208","city":"淮安市","county":"淮安区","county_code":"320803","sys_name":"预算外资金(从联网审计中取数)","sys_code":"YSW"},
{"city_code":"3208","city":"淮安市","county":"淮安区","county_code":"320803","sys_name":"预算编审系统","sys_code":"YSBS"},
{"city_code":"3208","city":"淮安市","county":"淮阴区","county_code":"320804","sys_name":"G6-E财务管理系统","sys_code":"CWGL"},
{"city_code":"3208","city":"淮安市","county":"淮阴区","county_code":"320804","sys_name":"江苏省财政预算执行系统","sys_code":"YSZX"},
{"city_code":"3208","city":"淮安市","county":"淮阴区","county_code":"320804","sys_name":"新中大公共财政管理软件","sys_code":"CZGL"},
{"city_code":"3208","city":"淮安市","county":"淮阴区","county_code":"320804","sys_name":"用友GRP/R9财政管理软件","sys_code":"CZGL"},
{"city_code":"3208","city":"淮安市","county":"淮阴区","county_code":"320804","sys_name":"用友GRP-U8R10","sys_code":"CWGL"},
{"city_code":"3208","city":"淮安市","county":"淮安区","county_code":"320803","sys_name":"预算编审系统","sys_code":"YSBS"},
{"city_code":"3208","city":"淮安市","county":"清浦区","county_code":"320811","sys_name":"财政一体化管理系统(基建户)","sys_code":"ZHJJ"},
{"city_code":"3208","city":"淮安市","county":"清浦区","county_code":"320811","sys_name":"财政一体化管理系统(集中支付中心)","sys_code":"GKZF"},
{"city_code":"3208","city":"淮安市","county":"清浦区","county_code":"320811","sys_name":"财政一体化管理系统(农业综合开发)","sys_code":"ZHNF"},
{"city_code":"3208","city":"淮安市","county":"清浦区","county_code":"320811","sys_name":"财政一体化管理系统(预算外资金)","sys_code":"YSW"},
{"city_code":"3208","city":"淮安市","county":"清浦区","county_code":"320811","sys_name":"财政一体化管理系统(支农专户)","sys_code":"ZHZN"},
{"city_code":"3208","city":"淮安市","county":"清浦区","county_code":"320811","sys_name":"财政一体化管理系统(总预算)","sys_code":"KJHS"},
{"city_code":"3208","city":"淮安市","county":"涟水县","county_code":"320826","sys_name":"非税征缴系统","sys_code":"FSSR"},
{"city_code":"3208","city":"淮安市","county":"涟水县","county_code":"320826","sys_name":"国资管理系统","sys_code":"ZCGL"},
{"city_code":"3208","city":"淮安市","county":"涟水县","county_code":"320826","sys_name":"乡财县管系统","sys_code":"XCXG"},
{"city_code":"3208","city":"淮安市","county":"涟水县","county_code":"320826","sys_name":"乡财县管系统","sys_code":"XCXG"},
{"city_code":"3208","city":"淮安市","county":"涟水县","county_code":"320826","sys_name":"预算编制管理系统","sys_code":"YSBS"},
{"city_code":"3208","city":"淮安市","county":"涟水县","county_code":"320826","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3208","city":"淮安市","county":"洪泽县","county_code":"320829","sys_name":"非税收入管理系统","sys_code":"FSSR"},
{"city_code":"3208","city":"淮安市","county":"洪泽县","county_code":"320829","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3208","city":"淮安市","county":"盱眙县","county_code":"320830","sys_name":"财政一体化平台","sys_code":"YTH"},
{"city_code":"3208","city":"淮安市","county":"金湖县","county_code":"320831","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3209","city":"盐城市","county":"市本级","county_code":"320900","sys_name":"盐城市_市本级_部门预算","sys_code":"BMYS"},
{"city_code":"3209","city":"盐城市","county":"市本级","county_code":"320900","sys_name":"盐城市_市本级_非税收管理系统","sys_code":"FSSR"},
{"city_code":"3209","city":"盐城市","county":"市本级","county_code":"320900","sys_name":"盐城市_市本级_预算执行系统","sys_code":"YSZX"},
{"city_code":"3209","city":"盐城市","county":"亭湖区","county_code":"320902","sys_name":"盐城市_亭湖区_财政专户","sys_code":"ZHHS"},
{"city_code":"3209","city":"盐城市","county":"亭湖区","county_code":"320902","sys_name":"盐城市_亭湖区_非税收入管理","sys_code":"FSSR"},
{"city_code":"3209","city":"盐城市","county":"亭湖区","county_code":"320902","sys_name":"盐城市_亭湖区_国库集中支付管理","sys_code":"GKZF"},
{"city_code":"3209","city":"盐城市","county":"亭湖区","county_code":"320902","sys_name":"盐城市_亭湖区_预算指标管理","sys_code":"ZBGL"},
{"city_code":"3209","city":"盐城市","county":"亭湖区","county_code":"320902","sys_name":"盐城市_亭湖区_总预算会计核算","sys_code":"KJHS"},
{"city_code":"3209","city":"盐城市","county":"盐都区","county_code":"320903","sys_name":"盐城市_盐都区_财政专户核算系统","sys_code":"ZHHS"},
{"city_code":"3209","city":"盐城市","county":"盐都区","county_code":"320903","sys_name":"盐城市_盐都区_非税收入管理系统","sys_code":"FSSR"},
{"city_code":"3209","city":"盐城市","county":"盐都区","county_code":"320903","sys_name":"盐城市_盐都区_国库集中支付系统","sys_code":"GKZF"},
{"city_code":"3209","city":"盐城市","county":"盐都区","county_code":"320903","sys_name":"盐城市_盐都区_总预算会计核算系统","sys_code":"KJHS"},
{"city_code":"3209","city":"盐城市","county":"响水县","county_code":"320921","sys_name":"盐城市_响水县_部门预算管理系统","sys_code":"BMYS"},
{"city_code":"3209","city":"盐城市","county":"响水县","county_code":"320921","sys_name":"盐城市_响水县_财政一体化信息系统","sys_code":"YTH"},
{"city_code":"3209","city":"盐城市","county":"响水县","county_code":"320921","sys_name":"盐城市_响水县_非税收入收缴管理系统","sys_code":"FSSR"},
{"city_code":"3209","city":"盐城市","county":"滨海县","county_code":"320922","sys_name":"盐城市_滨海县财政一体化","sys_code":"YTH"},
{"city_code":"3209","city":"盐城市","county":"阜宁县","county_code":"320923","sys_name":"盐城市_阜宁县_财政管理软件","sys_code":"CZGL"},
{"city_code":"3209","city":"盐城市","county":"阜宁县","county_code":"320923","sys_name":"盐城市_阜宁县_财政管理软件用友U8","sys_code":"YYZW"},
{"city_code":"3209","city":"盐城市","county":"射阳县","county_code":"320924","sys_name":"盐城市_射阳县_财政预算执行一体化系统","sys_code":"YTH"},
{"city_code":"3209","city":"盐城市","county":"建湖县","county_code":"320925","sys_name":"盐城市_建湖县_非税收缴","sys_code":"FSSR"},
{"city_code":"3209","city":"盐城市","county":"建湖县","county_code":"320925","sys_name":"盐城市_建湖县_财政一体化","sys_code":"YTH"},
{"city_code":"3209","city":"盐城市","county":"建湖县","county_code":"320925","sys_name":"盐城市_建湖县_国库集中支付","sys_code":"GKZF"},
{"city_code":"3209","city":"盐城市","county":"东台市","county_code":"320981","sys_name":"盐城市_东台市_部门预算编审系统","sys_code":"BMYS"},
{"city_code":"3209","city":"盐城市","county":"东台市","county_code":"320981","sys_name":"盐城市_东台市_财政一体化信息系统","sys_code":"YTH"},
{"city_code":"3209","city":"盐城市","county":"东台市","county_code":"320981","sys_name":"盐城市_东台市_财政专户核算系统","sys_code":"ZHHS"},
{"city_code":"3209","city":"盐城市","county":"东台市","county_code":"320981","sys_name":"盐城市_东台市_非税收入收缴管理系统","sys_code":"FSSR"},
{"city_code":"3209","city":"盐城市","county":"东台市","county_code":"320981","sys_name":"盐城市_东台市_总预算会计核算系统","sys_code":"KJHS"},
{"city_code":"3209","city":"盐城市","county":"大丰区","county_code":"320982","sys_name":"盐城市_大丰区_部门预算系统","sys_code":"BMYS"},
{"city_code":"3209","city":"盐城市","county":"大丰区","county_code":"320982","sys_name":"盐城市_大丰区_财政一体化","sys_code":"YTH"},
{"city_code":"3209","city":"盐城市","county":"大丰区","county_code":"320982","sys_name":"盐城市_大丰区_总预算会计核算财务软件","sys_code":"KJHS"},
{"city_code":"3209","city":"盐城市","county":"经济技术开发区","county_code":"320991","sys_name":"盐城市_经济技术开发区_部门预算软件","sys_code":"BMYS"},
{"city_code":"3209","city":"盐城市","county":"经济技术开发区","county_code":"320991","sys_name":"盐城市_经济技术开发区_国库集中支付","sys_code":"GKZF"},
{"city_code":"3210","city":"扬州市","county":"市本级","county_code":"321000","sys_name":"财政专户核算","sys_code":"ZHHS"},
{"city_code":"3210","city":"扬州市","county":"市本级","county_code":"321000","sys_name":"老非税收入征缴系统","sys_code":"FSSR"},
{"city_code":"3210","city":"扬州市","county":"市本级","county_code":"321000","sys_name":"扬州财政一体化信息管理系统","sys_code":"YTH"},
{"city_code":"3210","city":"扬州市","county":"广陵区","county_code":"321002","sys_name":"财政一体化系统","sys_code":"YTH"},
{"city_code":"3210","city":"扬州市","county":"广陵区","county_code":"321002","sys_name":"非税收入管理系统","sys_code":"FSSR"},
{"city_code":"3210","city":"扬州市","county":"邗江区","county_code":"321003","sys_name":"财政一体化系统","sys_code":"YTH"},
{"city_code":"3210","city":"扬州市","county":"邗江区","county_code":"321003","sys_name":"非税系统","sys_code":"FSSR"},
{"city_code":"3210","city":"扬州市","county":"邗江区","county_code":"321003","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3210","city":"扬州市","county":"宝应县","county_code":"321023","sys_name":"非税收入征收","sys_code":"FSSR"},
{"city_code":"3210","city":"扬州市","county":"宝应县","county_code":"321023","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3210","city":"扬州市","county":"仪征市","county_code":"321081","sys_name":"部门预算编制","sys_code":"BMYS"},
{"city_code":"3210","city":"扬州市","county":"仪征市","county_code":"321081","sys_name":"非税收入收缴","sys_code":"FSSR"},
{"city_code":"3210","city":"扬州市","county":"仪征市","county_code":"321081","sys_name":"行政事业性单位国有资产管理","sys_code":"ZCGL"},
{"city_code":"3210","city":"扬州市","county":"仪征市","county_code":"321081","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3210","city":"扬州市","county":"高邮市","county_code":"321084","sys_name":"财政业务系统","sys_code":"YTH"},
{"city_code":"3210","city":"扬州市","county":"江都区","county_code":"321088","sys_name":"财政业务综合系统","sys_code":"ZHYW"},
{"city_code":"3210","city":"扬州市","county":"江都区","county_code":"321088","sys_name":"江都开发区预算执行系统","sys_code":"YSZX"},
{"city_code":"3211","city":"镇江市","county":"市本级","county_code":"321100","sys_name":"财政一体化","sys_code":"YTH"},
{"city_code":"3211","city":"镇江市","county":"京口区","county_code":"321102","sys_name":"富深协通财政一体化业务管理系统","sys_code":"YTH"},
{"city_code":"3211","city":"镇江市","county":"京口区","county_code":"321102","sys_name":"富深协通非税收缴系统","sys_code":"FSSR"},
{"city_code":"3211","city":"镇江市","county":"京口区","county_code":"321102","sys_name":"富深协通工资统发系统","sys_code":"GZTF"},
{"city_code":"3211","city":"镇江市","county":"润州区","county_code":"321111","sys_name":"部门预算系统","sys_code":"BMYS"},
{"city_code":"3211","city":"镇江市","county":"润州区","county_code":"321111","sys_name":"财政一体化","sys_code":"YTH"},
{"city_code":"3211","city":"镇江市","county":"润州区","county_code":"321111","sys_name":"非税收入","sys_code":"FSSR"},
{"city_code":"3211","city":"镇江市","county":"丹徒区","county_code":"321112","sys_name":"财政综合业务系统","sys_code":"YTH"},
{"city_code":"3211","city":"镇江市","county":"丹阳市","county_code":"321181","sys_name":"部门预算系统","sys_code":"BMYS"},
{"city_code":"3211","city":"镇江市","county":"丹阳市","county_code":"321181","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3211","city":"镇江市","county":"扬中市","county_code":"321182","sys_name":"部门预算系统","sys_code":"BMYS"},
{"city_code":"3211","city":"镇江市","county":"扬中市","county_code":"321182","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3211","city":"镇江市","county":"句容市","county_code":"321183","sys_name":"非税收入","sys_code":"FSSR"},
{"city_code":"3211","city":"镇江市","county":"句容市","county_code":"321183","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3212","city":"泰州市","county":"市本级","county_code":"321200","sys_name":"泰州市_市本级_部门预算系统","sys_code":"BMYS"},
{"city_code":"3212","city":"泰州市","county":"市本级","county_code":"321200","sys_name":"泰州市_市本级_非税收入系统","sys_code":"FSSR"},
{"city_code":"3212","city":"泰州市","county":"市本级","county_code":"321200","sys_name":"泰州市_市本级_绩效管理系统","sys_code":"JXGL"},
{"city_code":"3212","city":"泰州市","county":"市本级","county_code":"321200","sys_name":"泰州市_市本级_预算执行系统","sys_code":"YSZX"},
{"city_code":"3212","city":"泰州市","county":"市本级","county_code":"321200","sys_name":"泰州市_市本级_综合治税系统","sys_code":"ZHZS"},
{"city_code":"3212","city":"泰州市","county":"海陵区","county_code":"321202","sys_name":"泰州市_海陵区_部门预算编制系统","sys_code":"BMYS"},
{"city_code":"3212","city":"泰州市","county":"海陵区","county_code":"321202","sys_name":"泰州市_海陵区_县区财政一体化","sys_code":"YTH"},
{"city_code":"3212","city":"泰州市","county":"高港区","county_code":"321203","sys_name":"泰州市_高港区_预算执行系统","sys_code":"YSZX"},
{"city_code":"3212","city":"泰州市","county":"姜堰区","county_code":"321204","sys_name":"泰州市_姜堰区_部门预算系统","sys_code":"BMYS"},
{"city_code":"3212","city":"泰州市","county":"姜堰区","county_code":"321204","sys_name":"泰州市_姜堰区_财政一体化系统","sys_code":"YTH"},
{"city_code":"3212","city":"泰州市","county":"姜堰区","county_code":"321204","sys_name":"泰州市_姜堰区_非税收缴系统","sys_code":"FSSR"},
{"city_code":"3212","city":"泰州市","county":"姜堰区","county_code":"321204","sys_name":"泰州市_姜堰区_预算执行系统","sys_code":"YSZX"},
{"city_code":"3212","city":"泰州市","county":"医药高新区","county_code":"321205","sys_name":"泰州市_医药高新区_财政一体化系统","sys_code":"YTH"},
{"city_code":"3212","city":"泰州市","county":"兴化市","county_code":"321281","sys_name":"泰州市_兴化市_部门预算","sys_code":"BMYS"},
{"city_code":"3212","city":"泰州市","county":"兴化市","county_code":"321281","sys_name":"泰州市_兴化市_非税收缴","sys_code":"FSSR"},
{"city_code":"3212","city":"泰州市","county":"兴化市","county_code":"321281","sys_name":"泰州市_兴化市_国库集中支付","sys_code":"GKZF"},
{"city_code":"3212","city":"泰州市","county":"靖江市","county_code":"321282","sys_name":"泰州市_靖江市_预算执行系统","sys_code":"YSZX"},
{"city_code":"3212","city":"泰州市","county":"靖江市","county_code":"321282","sys_name":"泰州市_靖江市_非税收入收缴","sys_code":"FSSR"},
{"city_code":"3212","city":"泰州市","county":"靖江市","county_code":"321282","sys_name":"泰州市_靖江市_部门预算编审系统","sys_code":"BMYS"},
{"city_code":"3212","city":"泰州市","county":"泰兴市","county_code":"321283","sys_name":"泰州市_泰兴市_部门预算系统","sys_code":"BMYS"},
{"city_code":"3212","city":"泰州市","county":"泰兴市","county_code":"321283","sys_name":"泰州市_泰兴市_非税收入管理系统","sys_code":"FSSR"},
{"city_code":"3212","city":"泰州市","county":"泰兴市","county_code":"321283","sys_name":"泰州市_泰兴市_预算执行系统","sys_code":"BMYS"},
{"city_code":"3213","city":"宿迁市","county":"市本级","county_code":"321300","sys_name":"部门预算管理系统","sys_code":"BMYS"},
{"city_code":"3213","city":"宿迁市","county":"市本级","county_code":"321300","sys_name":"非税收入管理系统","sys_code":"FSSR"},
{"city_code":"3213","city":"宿迁市","county":"市本级","county_code":"321300","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3213","city":"宿迁市","county":"宿城区","county_code":"321302","sys_name":"财政一体化平台及国库集中支付系统","sys_code":"GKZF"},
{"city_code":"3213","city":"宿迁市","county":"宿城区","county_code":"321302","sys_name":"新中大非税收入管理","sys_code":"FSSR"},
{"city_code":"3213","city":"宿迁市","county":"宿城区","county_code":"321302","sys_name":"总预算会计核算系统","sys_code":"KJHS"},
{"city_code":"3213","city":"宿迁市","county":"宿豫区","county_code":"321311","sys_name":"非税收缴管理系统","sys_code":"FSSR"},
{"city_code":"3213","city":"宿迁市","county":"宿豫区","county_code":"321311","sys_name":"联友财务管理系统","sys_code":"CWGL"},
{"city_code":"3213","city":"宿迁市","county":"宿豫区","county_code":"321311","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3213","city":"宿迁市","county":"沭阳县","county_code":"321322","sys_name":"非税收入管理系统","sys_code":"FSSR"},
{"city_code":"3213","city":"宿迁市","county":"沭阳县","county_code":"321322","sys_name":"国库集中支付、指标管理系统","sys_code":"YSZX"},
{"city_code":"3213","city":"宿迁市","county":"沭阳县","county_code":"321322","sys_name":"开发区总预算系统","sys_code":"BMYS"},
{"city_code":"3213","city":"宿迁市","county":"沭阳县","county_code":"321322","sys_name":"总预算会计核算","sys_code":"KJHS"},
{"city_code":"3213","city":"宿迁市","county":"泗阳县","county_code":"321323","sys_name":"预算执行","sys_code":"YSZX"},
{"city_code":"3213","city":"宿迁市","county":"泗洪县","county_code":"321324","sys_name":"部门预算系统","sys_code":"BMYS"},
{"city_code":"3213","city":"宿迁市","county":"泗洪县","county_code":"321324","sys_name":"非税收入管理系统","sys_code":"FSSR"},
{"city_code":"3213","city":"宿迁市","county":"泗洪县","county_code":"321324","sys_name":"国库集中支付系统","sys_code":"GKZF"},
{"city_code":"3213","city":"宿迁市","county":"泗洪县","county_code":"321324","sys_name":"国库账务系统","sys_code":"KJHS"},
{"city_code":"3201","city":"南京市","county":"高新区","county_code":"320100GXQ","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3201","city":"南京市","county":"化工园区","county_code":"320100HGY","sys_name":"化学工业园区非税收入管理系统","sys_code":"FSSR"},
{"city_code":"3201","city":"南京市","county":"经济技术开发区","county_code":"320100JKQ","sys_name":"非税收入账套","sys_code":"FSZT"},
{"city_code":"3201","city":"南京市","county":"化工园区","county_code":"320101HGY","sys_name":"化学工业园区预算执行系统","sys_code":"YSZX"},
{"city_code":"3201","city":"南京市","county":"经济技术开发区","county_code":"320101JKQ","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3201","city":"南京市","county":"化工园区","county_code":"320102HGY","sys_name":"会计核算","sys_code":"KYHS"},
{"city_code":"3201","city":"南京市","county":"经济技术开发区","county_code":"320102JKQ","sys_name":"总预算会计账","sys_code":"KJHS"},
{"city_code":"3202","city":"无锡市","county":"锡山开发区","county_code":"320205KFQ","sys_name":"预算内外收支核算系统","sys_code":"KJHS"},
{"city_code":"3202","city":"无锡市","county":"滨湖区马山开发区","county_code":"320211KFQ","sys_name":"账户核算系统","sys_code":"ZHHS"},
{"city_code":"3202","city":"无锡市","county":"江阴开发区","county_code":"320281kfq","sys_name":"财政一体化平台","sys_code":"YTH"},
{"city_code":"3202","city":"无锡市","county":"江阴开发区","county_code":"320281kfq","sys_name":"账户核算系统","sys_code":"ZHHS"},
{"city_code":"3202","city":"无锡市","county":"宜兴环科园","county_code":"320282KFQ","sys_name":"财务核算系统","sys_code":"ZHHS"},
{"city_code":"3202","city":"无锡市","county":"宜兴开发区","county_code":"320282KFQ","sys_name":"总预算核算系统","sys_code":"ZHHS"},
{"city_code":"3203","city":"徐州市","county":"经济技术开发区","county_code":"320300JKQ","sys_name":"富深协通财政一体化业务管理系统软件","sys_code":"YTH"},
{"city_code":"3203","city":"徐州市","county":"经济技术开发区","county_code":"320300JKQ","sys_name":"账务处理系统(收支分类改革升级版)","sys_code":"KJHS"},
{"city_code":"3204","city":"常州市","county":"天宁经开区","county_code":"320402JKQ","sys_name":"账务处理系统","sys_code":"KJHS"},
{"city_code":"3204","city":"常州市","county":"钟楼区开发区","county_code":"320404KFQ","sys_name":"国库集中支付系统","sys_code":"GKZF"},
{"city_code":"3204","city":"常州市","county":"钟楼区开发区","county_code":"320405KFQ","sys_name":"用款计划系统","sys_code":"JHGL"},
{"city_code":"3204","city":"常州市","county":"钟楼区开发区","county_code":"320406KFQ","sys_name":"指标管理系统","sys_code":"ZBGL"},
{"city_code":"3204","city":"常州市","county":"钟楼区开发区","county_code":"320407KFQ","sys_name":"总预算系统","sys_code":"ZYS"},
{"city_code":"3204","city":"常州市","county":"经开区","county_code":"320412JKQ","sys_name":"财政预算外业务","sys_code":"YSW"},
{"city_code":"3204","city":"常州市","county":"经开区","county_code":"320412JKQ","sys_name":"非税收缴系统","sys_code":"FSSR"},
{"city_code":"3204","city":"常州市","county":"经开区","county_code":"320412JKQ","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3204","city":"常州市","county":"武进高新区","county_code":"320413GXQ","sys_name":"财政一体化管理信息系统","sys_code":"YTH"},
{"city_code":"3204","city":"常州市","county":"溧阳中关村","county_code":"320481ZGC","sys_name":"用友U8R10财政一体化平台","sys_code":"YTH"},
{"city_code":"3204","city":"常州市","county":"溧阳中关村开发区","county_code":"320481ZGCKF","sys_name":"用友U8R10财政一体化平台","sys_code":"YTH"},
{"city_code":"3205","city":"苏州市","county":"相城区开发区","county_code":"320507KFQ","sys_name":"开发区财政系统","sys_code":"YTH"},
{"city_code":"3205","city":"苏州市","county":"常熟市高新区","county_code":"320581GXQ","sys_name":"高新区总预算系统","sys_code":"ZYS"},
{"city_code":"3205","city":"苏州市","county":"昆山市开发区","county_code":"320583KFQ","sys_name":"开发区公共财政服务平台","sys_code":"YTH"},
{"city_code":"3205","city":"苏州市","county":"太仓市新区","county_code":"320585XQ","sys_name":"非税收入系统","sys_code":"FSSR"},
{"city_code":"3205","city":"苏州市","county":"太仓市新区","county_code":"320586XQ","sys_name":"会计核算系统","sys_code":"KJHS"},
{"city_code":"3205","city":"苏州市","county":"太仓市新区","county_code":"320587XQ","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3206","city":"南通市","county":"开发区","county_code":"320600KFQ","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3206","city":"南通市","county":"苏通园区","county_code":"320600STY","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3206","city":"南通市","county":"通州湾示范区","county_code":"320600TZW","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3207","city":"连云港市","county":"开发区","county_code":"320701KFQ","sys_name":"非税收入","sys_code":"FSSR"},
{"city_code":"3208","city":"淮安市","county":"开发区","county_code":"320800KFQ","sys_name":"用友GRP-U8管理软件","sys_code":"YTH"},
{"city_code":"3209","city":"盐城市","county":"城南新区","county_code":"320900CZXQ","sys_name":"盐城市_城南新区_国库集中支付系统","sys_code":"GKZF"},
{"city_code":"3209","city":"盐城市","county":"城南新区","county_code":"320901CZXQ","sys_name":"盐城市_城南新区_总预算账务处理系统","sys_code":"KJHS"},
{"city_code":"3210","city":"扬州市","county":"化工园区","county_code":"321000HGY","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3210","city":"扬州市","county":"开发区","county_code":"321000KFQ","sys_name":"非税收入收缴","sys_code":"FSSR"},
{"city_code":"3210","city":"扬州市","county":"科技新城","county_code":"321000KJC","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3210","city":"扬州市","county":"蜀冈-瘦西湖风景名胜区","county_code":"321000SXH","sys_name":"财政预算指标管理","sys_code":"ZBGL"},
{"city_code":"3210","city":"扬州市","county":"蜀冈-瘦西湖风景名胜区","county_code":"321000SXH","sys_name":"总预算会计核算","sys_code":"KJHS"},
{"city_code":"3210","city":"扬州市","county":"开发区","county_code":"321001KFQ","sys_name":"一体化系统","sys_code":"YTH"},
{"city_code":"3210","city":"扬州市","county":"开发区","county_code":"321002KFQ","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3210","city":"扬州市","county":"高邮开发区","county_code":"321084KFQ","sys_name":"财政业务系统","sys_code":"YTH"},
{"city_code":"3211","city":"镇江市","county":"新区","county_code":"321100XQ","sys_name":"财政一体化","sys_code":"YTH"},
{"city_code":"3212","city":"泰州市","county":"市本级","county_code":"321200","sys_name":"泰州市_市本级_行政管理系统","sys_code":"XZGL"},
{"city_code":"3213","city":"宿迁市","county":"湖滨新城","county_code":"321300HBXC","sys_name":"新中大财务软件","sys_code":"KJHS"},
{"city_code":"3213","city":"宿迁市","county":"经开区","county_code":"321300JKQ","sys_name":"新中大公共财政管理软件","sys_code":"YTH"},
{"city_code":"3213","city":"宿迁市","county":"洋河新区","county_code":"321300YHXQ","sys_name":"预算执行系统","sys_code":"YSZX"},
{"city_code":"3213","city":"宿迁市","county":"宿豫区开发区","county_code":"321311KFQ","sys_name":"开发区新中大财务核算系统","sys_code":"KJHS"},
{"city_code":"3213","city":"宿迁市","county":"泗洪县开发区","county_code":"321324KFQ","sys_name":"开发区账务系统","sys_code":"KJHS"}];
export function getCountyByCode(code){
//var jsobj = JSON.parse(origin_place_arr);
var jsobj = origin_place_arr;
var jsonlength = jsobj.length;
for (var i = 0; i < jsonlength; i++) {
if(jsobj[i].county_code == code){
return jsobj[i].city+jsobj[i].county;
}
}
return code;
}
export function getCodeByCounty(place){
place = place.replace(/\s*\t*/gim,"");
//var jsobj = JSON.parse(origin_place_arr);
var jsobj = origin_place_arr;
var jsonlength = jsobj.length;
for (var i = 0; i < jsonlength; i++) {
if(jsobj[i].city === "" || jsobj[i].city == undefined)
continue;
if(jsobj[i].county === "" || jsobj[i].county == undefined)
continue;
if((place.indexOf(jsobj[i].city) != -1) && (place.indexOf(jsobj[i].county) != -1)){
return jsobj[i].county_code;
}
}
return place;
}
export function getSystemNameById(id){
var temJson = system_arr;
var sys_size = temJson.length;
for (var i = 0; i < sys_size; i++) {
if(temJson[i].sys_id == id){
return temJson[i].sys_name;
}
}
return id;
}
export function getIdBySystemName(name){
var temJson = system_arr;
var sys_size = temJson.length;
for (var i = 0; i < sys_size; i++) {
if(temJson[i].sys_name == name){
return temJson[i].sys_id;
}
}
return name;
}
export function getCodeBySystemName(name){
var jsobj = origin_place_arr;
var jsonlength = jsobj.length;
for (var i = 0; i < jsonlength; i++) {
if(jsobj[i].sys_name == name){
return jsobj[i].sys_code;
}
}
return name;
}
}

@ -5,12 +5,13 @@
module Kubernetes {
export var ReplicationControllers = controller("ReplicationControllers",
["$scope", "OracleStatusModel", "KubernetesModel", "KubernetesReplicationControllers", "KubernetesPods", "KubernetesState", "$templateCache", "$location", "$routeParams", "$http", "$timeout", "KubernetesApiURL",
($scope, OracleStatusModel, KubernetesModel: Kubernetes.KubernetesModelService, KubernetesReplicationControllers:ng.resource.IResourceClass<any>, KubernetesPods:ng.resource.IResourceClass<any>, KubernetesState,
["$scope", "KubernetesModel", "DataInfoModel", "KubernetesReplicationControllers", "KubernetesPods", "KubernetesState", "$templateCache", "$location", "$routeParams", "$http", "$timeout", "KubernetesApiURL",
($scope, KubernetesModel: Kubernetes.KubernetesModelService, DataInfoModel, KubernetesReplicationControllers:ng.resource.IResourceClass<any>, KubernetesPods:ng.resource.IResourceClass<any>, KubernetesState,
$templateCache, $location:ng.ILocationService, $routeParams, $http, $timeout, KubernetesApiURL) => {
$scope.kubernetes = KubernetesState;
$scope.model = KubernetesModel;
$scope.filterReplicationControllers = $scope.model.filterReplicationcontrollers;
$scope.tableConfig = {
data: 'model.replicationControllers',
@ -22,7 +23,7 @@ module Kubernetes {
filterText: $location.search()["q"] || ''
},
columnDefs: [
{ field: '_key',
{ field: '$oracleName',
displayName: '服务名称',
cellTemplate: $templateCache.get("idTemplate.html")
},
@ -127,8 +128,8 @@ module Kubernetes {
if (xhr.readyState == 4) {//4表示数据已经调用完成
if (xhr.status == 200) {//HTTP的状态码
var obj=JSON.parse(xhr.responseText);
console.log(obj.path);
var name = Kubernetes.getRandomString(8);
//console.log(obj.path);
var name = obj.name;
//console.log(name + "=====" +port);
var object = {
"name": name,
@ -136,12 +137,24 @@ module Kubernetes {
"name" : name
},
"path": obj.path,
"isTarget": "true"
}
console.log(object);
Kubernetes.createRC(object, (rc) =>{
Kubernetes.connectOracle($http, $timeout, "/connectToOracle", "", getName(rc), 0);
$http({
url:'/xmlformserver',
method:'Post'
}).success(function(data,header,config,status){
if(data){
DataInfoModel.serverdata = data;
}
}).error(function(data,header,config,status){
console.log("error");
});
Kubernetes.connectOracle($http, $timeout, "/connectToOracle", "", getName(rc), 0);
});
}else if(xhr.status == 403){
alert("两次创建oracle服务时间间隔需要超过1分钟!");
alert("两次创建oracle服务时间间隔需要超过2分钟!");
}else{
}
}
@ -184,7 +197,7 @@ module Kubernetes {
customClass: "alert alert-warning",
cancelText: "取消"
}).open();
}
};
$scope.reStartPrompt = (selected) => {
function startSelected(selected:Array<KubePod>, next:KubePod){
@ -198,7 +211,32 @@ module Kubernetes {
}
}
startSelected(selected, selected.shift());
}
};
$scope.extractData = {
items: null,
selectedItem: $scope.filterReplicationControllers[0] || "",
dialog: new UI.Dialog(),
onOk: () => {
var extractData = $scope.extractData;
extractData.dialog.close();
var filterReplicationController = extractData.selectedItem;
Kubernetes.extractDataToOracle($http, extractData.items, filterReplicationController);
extractData.selectedItem = $scope.filterReplicationControllers[0] || "";
},
open: (selected) => {
var extractData = $scope.extractData;
extractData.dialog.open();
extractData.selectedItem = $scope.filterReplicationControllers[0] || "";
extractData.items = selected;
$timeout(() => {
$('#newDataName').focus();
}, 50);
},
close: () => {
$scope.extractData.dialog.close();
}
};
}]);
}

@ -28,9 +28,11 @@ module Kubernetes {
export var Labels = controller("Labels", ["$scope", "$location", ($scope, $location) => {
$scope.labels = [];
var labelKeyWeights = {
"name": 1,
"replicationController": 2,
"group": 3
"region": 1,
"system": 2,
"type": 3,
"batch": 4,
"version": 5
};
$scope.$watch('entity', (newValue, oldValue) => {
if (newValue) {
@ -38,7 +40,7 @@ module Kubernetes {
// massage the labels a bit
$scope.labels = [];
angular.forEach(Core.pathGet($scope.entity, ["metadata", "labels"]), (value, key) => {
if (key === 'fabric8' || key === 'style' || key === 'status') {
if (key === 'fabric8' || key === 'style' || key === 'status' || (key === 'isTarget' && value === 'false') || key === 'isExtract' || key === 'name') {
// TODO not sure what this is for, the container type?
return;
}
@ -52,7 +54,7 @@ module Kubernetes {
// lets sort by key but lets make sure that we weight certain labels so they are first
$scope.labels = $scope.labels.sort((a, b) => {
function getWeight(key) {
return labelKeyWeights[key] || 1000;
return labelKeyWeights[key] || 0;
}
var n1 = a["key"];
var n2 = b["key"];
@ -95,9 +97,9 @@ module Kubernetes {
//服务状态过滤
export var Status = controller('Status', ["$scope", "$http", "$interval", "$location", "KubernetesApiURL", ($scope, $http, $interval, $location, KubernetesApiURL) => {
//$scope.$watch('entity', (newValue, oldValue) => {
// if(newValue)
// console.log(newValue);
//},true);
// $scope.$watch('entity', (newValue, oldValue) => {
// if(newValue)
// console.log(newValue);
// },true);
}]);
}

@ -52,7 +52,9 @@ module Kubernetes {
public createRC(Obj){
var labels = {
"style": "oracle",
"status": "0"
"status": "0",
"isExtract": "0",
"isTarget": Obj.isTarget
};
for(var item in Obj.labels)
labels[item] = Obj.labels[item];
@ -143,39 +145,96 @@ module Kubernetes {
}
}
export function findLabelValue(value:string, key: string):string {
var trueValue = '';
switch(value){
case '01':
trueValue = '财政';
break;
case '02':
trueValue = '社保';
break;
case 'A':
trueValue = '批次A';
break;
case 'B':
trueValue = '批次B';
break;
default:
if(key === "version"){
var reg= new RegExp('^[0-9]$').exec(value);
if(reg)
trueValue = '版本' + reg[0];
else trueValue = value;
}
else
trueValue = value;
}
return trueValue
}
export function labelToChinese(labels){
var answer = {};
angular.forEach(labels,(value, key) => {
answer[key] = findLabelValue(value, key);
answer[key] = labelChangeToChines(value, key);
});
return answer
}
export function findSameNameReplicationControllers(replicationControllers, name){
var names = [];
replicationControllers.forEach((rc) => {
var rcName = getName(rc);
if(rcName.indexof(name) !== -1)
names.push(rcName);
});
if(names.length === 0){
return name + "_1";
}else{
var max = 0;
names.forEach((value) => {
var answer = value.split("_");
var key = parseInt(answer[1]);
if(max < key)
max = key;
});
return name + (max+1);
}
}
export function isFilterRC(rc){
var answer = false;
angular.forEach(Core.pathGet(rc, ["metadata", "labels"]),(value, key) => {
if(key === 'isTarget' && value === 'true'){
answer = true;
}
});
return answer;
}
export function isInclude(rcs, rc){
for(var i in rcs){
if(getName(rcs[i]) === getName(rc))
return true;
}
return false;
}
export function labelChangeToChines(value:string, key:string){
var trueValue = '';
switch(key){
case 'type':
if(value === '01')
trueValue = '财政';
else if(value === '02')
trueValue = '社保';
else
trueValue = value;
break;
case 'batch':
if(value === 'A')
trueValue = '批次A';
else if(value === 'B')
trueValue = '批次B';
else
trueValue = value;
break;
case 'region':
trueValue = Kubernetes.getCountyByCode(value);
break;
case 'system':
trueValue = Kubernetes.getSystemNameById(value);
break;
case 'version':
var reg= new RegExp('^[0-9]$').exec(value);
if(reg)
trueValue = '版本' + reg[0];
else
trueValue = value;
break;
case 'isTarget':
if(value === 'true')
trueValue = '汇总数据库';
else
trueValue = value;
break;
default:
trueValue = value;
}
return trueValue;
}
}

@ -250,3 +250,8 @@ legend {
.k8s-badge-system {
background-color: darkmagenta;
}
.k8s-badge-target {
background-color: Red;
}

Loading…
Cancel
Save