Commit 0c231b42 authored by frank.xa.zhang's avatar frank.xa.zhang

fixed org -- frank

parent f30165c9
...@@ -323,19 +323,6 @@ ...@@ -323,19 +323,6 @@
dataField: "taxPayerNumber", dataField: "taxPayerNumber",
allowHeaderFiltering: true, allowHeaderFiltering: true,
caption: $translate.instant('TaxPayerNumber') caption: $translate.instant('TaxPayerNumber')
//headerFilter: {
// dataSource: {
// load: function () {
// return [{
// text: hasTaxpayNumer,
// value: [['taxPayerNumber', '<>', null],'and', ['taxPayerNumber', '<>', '']]
// }, {
// text: noTaxpayNumer,
// value: [['taxPayerNumber', '=', null], 'or', ['taxPayerNumber', '=', '']]
// }];
// }
// }
//},
}, },
{ {
dataField: "structureName", dataField: "structureName",
...@@ -796,18 +783,12 @@ ...@@ -796,18 +783,12 @@
loadPanel: { loadPanel: {
enabled: false enabled: false
}, },
// scrolling: {
// mode: "virtual"
// },
// keyExpr: "id",
// parentIdExpr: "parentID",
selection: { selection: {
mode: "single" mode: "single"
}, },
grouping: { grouping: {
autoExpandAll: false autoExpandAll: false
}, },
// autoExpandAll:true,
allowColumnResizing: true, allowColumnResizing: true,
columnAutoWidth: true, columnAutoWidth: true,
showRowLines: true, showRowLines: true,
...@@ -830,11 +811,6 @@ ...@@ -830,11 +811,6 @@
selectAllText: $translate.instant('SelectAll') selectAllText: $translate.instant('SelectAll')
} }
} }
//columnHidingEnabled: true, //自定义显示列
//columnChooser: {
// enabled: true,
// mode: "select"
//},
}; };
$scope.getDetailGridSettings = function (key) { $scope.getDetailGridSettings = function (key) {
......
...@@ -13,6 +13,20 @@ ...@@ -13,6 +13,20 @@
controller: 'OrganizationManageController', controller: 'OrganizationManageController',
link: function (scope, element, attrs, $element) { link: function (scope, element, attrs, $element) {
scope.setGridHeight = function () {
var pageWrapSelector = ".system-manage";
var menuSelector = ".menu-header";
var contentHeader = '.content-container .org-right-container';
var dxGridSelctor = "#orgGridContainer";
var contentHeaderHeight = parseInt($(contentHeader).css('height').replace('px', ''));
var pageHeight = parseInt($(pageWrapSelector).css('height').replace('px', ''));
var menuHeight = parseInt($(menuSelector).css('height').replace('px', ''));
var height = pageHeight - menuHeight - contentHeaderHeight - 40 + 'px';
$(dxGridSelctor).css('max-height', height);
};
//https://github.com/nathancahill/Split.js/ //https://github.com/nathancahill/Split.js/
Split(['#org-left-container', '#org-right-container'], { Split(['#org-left-container', '#org-right-container'], {
//An array of initial sizes of the elements, specified as percentage values. Example: Setting the initial sizes to 25% and 75%. //An array of initial sizes of the elements, specified as percentage values. Example: Setting the initial sizes to 25% and 75%.
......
...@@ -131,6 +131,94 @@ ...@@ -131,6 +131,94 @@
height: 100%; height: 100%;
float: right; float: right;
.org-list {
border-radius: 5px;
padding: 4px;
background-color: white;
height: 100%;
display: flex;
flex-direction: column;
.org-title {
margin: 8px 5px 0px 5px;
padding-bottom: 10px;
border-bottom: 1px solid #CDCDCD;
.company-detail-left {
display: inline-block;
vertical-align: top;
}
.company-detail-right {
display: inline-block;
margin-left: 10px;
vertical-align: middle;
.company-name {
position: relative;
font-family: "Microsoft YaHei Bold", "Microsoft YaHei";
font-weight: 700;
font-style: normal;
font-size: 18px;
color: #0d0d0d;
height: 48px;
padding-top: 8px;
}
}
.right-option {
height: 30px;
display: inline-block;
vertical-align: middle;
float: right;
.right-operate {
margin-left: 20px;
margin-right: 15px;
display: inline-block;
border: 1px solid @color-light-gray-e4;
.display-user {
background-color: white;
padding: 6px 8px;
display: inline-block;
}
.border-left {
border-left: 1px solid @color-light-gray-e4;
}
}
#organizationIsActiveBtn {
background-image: none;
.material-icons {
font-weight: bold;
color: red;
}
}
}
}
.user-grid{
.createEntityBtn{
z-index: 2;
position: absolute;
.btn-up-grid{
height: 36px;
padding: 0 10px;
border-radius: 5px;
outline:none;
}
}
.grid-container{
margin-top: 10px;
}
}
}
.detail-info { .detail-info {
border-radius: 5px; border-radius: 5px;
padding: 4px; padding: 4px;
......
...@@ -367,8 +367,6 @@ var infrastructureModule = angular.module('app.infrastructure', ["isteven-multi- ...@@ -367,8 +367,6 @@ var infrastructureModule = angular.module('app.infrastructure', ["isteven-multi-
sticky: true sticky: true
}); });
//用户明细 //用户明细
$stateProvider.state({ $stateProvider.state({
name: 'userDetail', name: 'userDetail',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment