parent
d059c714ca
commit
e76717783e
@ -0,0 +1,8 @@
|
|||||||
|
/// <reference path="../../includes.d.ts" />
|
||||||
|
/// <reference path="configPlugin.d.ts" />
|
||||||
|
/// <reference path="ConfigsHelper.d.ts" />
|
||||||
|
/// <reference path="configsUtils.d.ts" />
|
||||||
|
/// <reference path="configsDataService.d.ts" />
|
||||||
|
declare module Configs {
|
||||||
|
var CodeController: ng.IModule;
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
/// <reference path="../../includes.d.ts" />
|
||||||
|
/// <reference path="configPlugin.d.ts" />
|
||||||
|
/// <reference path="ConfigsHelper.d.ts" />
|
||||||
|
/// <reference path="configsUtils.d.ts" />
|
||||||
|
/// <reference path="configsDataService.d.ts" />
|
||||||
|
declare module Configs {
|
||||||
|
var RegionalismCodeController: ng.IModule;
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
/// <reference path="../../includes.d.ts" />
|
||||||
|
/// <reference path="configPlugin.d.ts" />
|
||||||
|
/// <reference path="ConfigsHelper.d.ts" />
|
||||||
|
/// <reference path="configsUtils.d.ts" />
|
||||||
|
/// <reference path="configsDataService.d.ts" />
|
||||||
|
declare module Configs {
|
||||||
|
var SystemCodeController: ng.IModule;
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
<div ng-controller="Configs.RegionalismCodeController">
|
||||||
|
<div hawtio-breadcrumbs></div>
|
||||||
|
<div hawtio-tabs></div>
|
||||||
|
<div class="container-content ">
|
||||||
|
<div class="container-fluid sj_fluid">
|
||||||
|
<div ng-hide="model.regionalismInfo.length" class="align-center">
|
||||||
|
<p class="alert alert-info">当前没有可以查看的数据.</p>
|
||||||
|
</div>
|
||||||
|
<div ng-show="model.regionalismInfo.length">
|
||||||
|
<table ng-table="tableParams" class="table table-condensed table-bordered table-striped" show-filter="true">
|
||||||
|
<tr ng-repeat="row in $data">
|
||||||
|
<td title="'行政区划代码'" filter="{ code: 'text'}" sortable="'code'">
|
||||||
|
{{row.code}}</td>
|
||||||
|
<td title="'市'" filter="{ cityName: 'text'}" sortable="'cityName'">
|
||||||
|
{{row.cityName}}</td>
|
||||||
|
<td title="'区县'" filter="{ districtName: 'text'}" sortable="'districtName'">
|
||||||
|
{{row.districtName}}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
@ -0,0 +1,21 @@
|
|||||||
|
<div ng-controller="Configs.SystemCodeController">
|
||||||
|
<div hawtio-breadcrumbs></div>
|
||||||
|
<div hawtio-tabs></div>
|
||||||
|
<div class="container-content ">
|
||||||
|
<div class="container-fluid sj_fluid">
|
||||||
|
<div ng-hide="model.systemInfo.length" class="align-center">
|
||||||
|
<p class="alert alert-info">当前没有可以查看的数据.</p>
|
||||||
|
</div>
|
||||||
|
<div ng-show="model.systemInfo.length">
|
||||||
|
<table ng-table="tableParams" class="table table-condensed table-bordered table-striped" show-filter="true">
|
||||||
|
<tr ng-repeat="row in $data">
|
||||||
|
<td title="'系统编码'" filter="{ code: 'text'}" sortable="'code'">
|
||||||
|
{{row.code}}</td>
|
||||||
|
<td title="'系统名称'" filter="{ systemName: 'text'}" sortable="'systemName'">
|
||||||
|
{{row.systemName}}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
@ -0,0 +1,18 @@
|
|||||||
|
/// <reference path="../../includes.ts"/>
|
||||||
|
/// <reference path="configPlugin.ts"/>
|
||||||
|
/// <reference path="configsHelper.ts"/>
|
||||||
|
/// <reference path="configsUtils.ts"/>
|
||||||
|
/// <reference path="configsDataService.ts"/>
|
||||||
|
module Configs{
|
||||||
|
|
||||||
|
export var RegionalismCodeController = controller('RegionalismCodeController', ["$scope", "$templateCache", "$location", "$routeParams", "$http", "$timeout", 'ConfigsModel', 'NgTableParams',
|
||||||
|
($scope, $templateCache:ng.ITemplateCacheService, $location, $routeParams, $http, $timeout, ConfigsModel, NgTableParams) =>{
|
||||||
|
$scope.subTabConfig = createConfigHelperNavBar($scope, $location, $routeParams);
|
||||||
|
$scope.model = ConfigsModel;
|
||||||
|
|
||||||
|
$scope.tableParams = new NgTableParams({count: 25}, {
|
||||||
|
counts: [25, 50, 100],
|
||||||
|
dataset: $scope.model.regionalismInfo
|
||||||
|
});
|
||||||
|
}]);
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
/// <reference path="../../includes.ts"/>
|
||||||
|
/// <reference path="configPlugin.ts"/>
|
||||||
|
/// <reference path="configsHelper.ts"/>
|
||||||
|
/// <reference path="configsUtils.ts"/>
|
||||||
|
/// <reference path="configsDataService.ts"/>
|
||||||
|
module Configs{
|
||||||
|
|
||||||
|
|
||||||
|
export var SystemCodeController = controller('SystemCodeController', ["$scope", "$templateCache", "$location", "$routeParams", "$http", "$timeout", 'ConfigsModel', 'NgTableParams',
|
||||||
|
($scope, $templateCache:ng.ITemplateCacheService, $location, $routeParams, $http, $timeout, ConfigsModel, NgTableParams) =>{
|
||||||
|
$scope.subTabConfig = createConfigHelperNavBar($scope, $location, $routeParams);
|
||||||
|
|
||||||
|
$scope.model = ConfigsModel;
|
||||||
|
|
||||||
|
$scope.tableParams = new NgTableParams({count: 25}, {
|
||||||
|
counts: [25, 50, 100],
|
||||||
|
dataset: $scope.model.systemInfo
|
||||||
|
});
|
||||||
|
}]);
|
||||||
|
}
|
Loading…
Reference in new issue