305 lines
7.2 KiB
Plaintext
305 lines
7.2 KiB
Plaintext
object frmSYDeptView: TfrmSYDeptView
|
|
Left = 233
|
|
Top = 146
|
|
Width = 927
|
|
Height = 536
|
|
Caption = #32452#32455#32467#26500#21015#34920
|
|
Color = clBtnFace
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = []
|
|
OldCreateOrder = False
|
|
OnClose = FormClose
|
|
OnDestroy = FormDestroy
|
|
OnShow = FormShow
|
|
PixelsPerInch = 96
|
|
TextHeight = 12
|
|
object ToolBar1: TToolBar
|
|
Left = 0
|
|
Top = 0
|
|
Width = 911
|
|
Height = 33
|
|
ButtonHeight = 30
|
|
ButtonWidth = 83
|
|
Caption = 'ToolBar1'
|
|
Color = clSkyBlue
|
|
DisabledImages = DataLink_KangChi.ThreeImgList
|
|
Flat = True
|
|
Images = DataLink_KangChi.ThreeImgList
|
|
List = True
|
|
ParentColor = False
|
|
ShowCaptions = True
|
|
TabOrder = 0
|
|
object TBRafresh: TToolButton
|
|
Left = 0
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #21047#26032
|
|
ImageIndex = 0
|
|
OnClick = TBRafreshClick
|
|
end
|
|
object ToolButton3: TToolButton
|
|
Left = 63
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #36873#25321
|
|
ImageIndex = 10
|
|
OnClick = ToolButton3Click
|
|
end
|
|
object TBAdd: TToolButton
|
|
Left = 126
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #26032#22686#23376#31867
|
|
ImageIndex = 12
|
|
Visible = False
|
|
OnClick = TBAddClick
|
|
end
|
|
object ToolButton1: TToolButton
|
|
Left = 213
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20445#23384
|
|
ImageIndex = 5
|
|
Visible = False
|
|
OnClick = ToolButton1Click
|
|
end
|
|
object TBDel: TToolButton
|
|
Left = 276
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #21024#38500
|
|
ImageIndex = 13
|
|
Visible = False
|
|
OnClick = TBDelClick
|
|
end
|
|
object ToolButton2: TToolButton
|
|
Left = 339
|
|
Top = 0
|
|
Caption = #32452#32455#20998#37197
|
|
ImageIndex = 22
|
|
Visible = False
|
|
OnClick = ToolButton2Click
|
|
end
|
|
object TBClose: TToolButton
|
|
Left = 422
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20851#38381
|
|
ImageIndex = 21
|
|
OnClick = TBCloseClick
|
|
end
|
|
end
|
|
object cxDBTreeList1: TcxDBTreeList
|
|
Left = 315
|
|
Top = 33
|
|
Width = 596
|
|
Height = 464
|
|
Align = alClient
|
|
Bands = <
|
|
item
|
|
end>
|
|
BufferedPaint = False
|
|
DataController.DataSource = DataSource1
|
|
DataController.ParentField = 'DPParent'
|
|
DataController.KeyField = 'DPID'
|
|
OptionsSelection.CellSelect = False
|
|
OptionsView.CellAutoHeight = True
|
|
OptionsView.Headers = False
|
|
RootValue = -1
|
|
Styles.Inactive = DataLink_KangChi.Red
|
|
Styles.Selection = DataLink_KangChi.Red
|
|
Styles.IncSearch = DataLink_KangChi.Red
|
|
TabOrder = 1
|
|
OnClick = cxDBTreeList1Click
|
|
OnDblClick = cxDBTreeList1DblClick
|
|
object cxDBTreeList1cxDBTreeListColumn2: TcxDBTreeListColumn
|
|
DataBinding.FieldName = 'DPName'
|
|
Width = 210
|
|
Position.ColIndex = 1
|
|
Position.RowIndex = 0
|
|
Position.BandIndex = 0
|
|
end
|
|
end
|
|
object Panel1: TPanel
|
|
Left = 0
|
|
Top = 33
|
|
Width = 315
|
|
Height = 464
|
|
Align = alLeft
|
|
BevelInner = bvRaised
|
|
BevelOuter = bvLowered
|
|
Color = clSkyBlue
|
|
TabOrder = 2
|
|
Visible = False
|
|
object Label1: TLabel
|
|
Left = 66
|
|
Top = 40
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #19978#32423#32452#32455
|
|
end
|
|
object Label2: TLabel
|
|
Left = 66
|
|
Top = 81
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #32452#32455#21517#31216
|
|
end
|
|
object Label3: TLabel
|
|
Left = 66
|
|
Top = 121
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #32452#32455#32534#30721
|
|
end
|
|
object Label4: TLabel
|
|
Left = 24
|
|
Top = 16
|
|
Width = 60
|
|
Height = 14
|
|
Caption = #32452#32455#32467#26500
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clRed
|
|
Font.Height = -14
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label5: TLabel
|
|
Left = 66
|
|
Top = 159
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #39034' '#24207' '#21495
|
|
end
|
|
object DPTopName: TEdit
|
|
Left = 129
|
|
Top = 37
|
|
Width = 121
|
|
Height = 20
|
|
ReadOnly = True
|
|
TabOrder = 0
|
|
end
|
|
object DPName: TEdit
|
|
Left = 129
|
|
Top = 77
|
|
Width = 121
|
|
Height = 20
|
|
TabOrder = 1
|
|
OnKeyPress = DPNameKeyPress
|
|
end
|
|
object DPNo: TEdit
|
|
Left = 129
|
|
Top = 117
|
|
Width = 121
|
|
Height = 20
|
|
TabOrder = 2
|
|
end
|
|
object DPOrder: TEdit
|
|
Left = 129
|
|
Top = 155
|
|
Width = 121
|
|
Height = 20
|
|
TabOrder = 3
|
|
end
|
|
end
|
|
object cxGrid4: TcxGrid
|
|
Left = 352
|
|
Top = 64
|
|
Width = 359
|
|
Height = 273
|
|
TabOrder = 3
|
|
Visible = False
|
|
object Tv4: TcxGridDBTableView
|
|
OnDblClick = Tv4DblClick
|
|
NavigatorButtons.ConfirmDelete = False
|
|
NavigatorButtons.Delete.Enabled = False
|
|
NavigatorButtons.Delete.Visible = False
|
|
DataController.DataSource = DSUser
|
|
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
|
|
DataController.Summary.DefaultGroupSummaryItems = <>
|
|
DataController.Summary.FooterSummaryItems = <>
|
|
DataController.Summary.SummaryGroups = <>
|
|
OptionsCustomize.ColumnFiltering = False
|
|
OptionsData.Deleting = False
|
|
OptionsData.DeletingConfirmation = False
|
|
OptionsView.GroupByBox = False
|
|
Styles.Inactive = DataLink_KangChi.SHuangSe
|
|
Styles.IncSearch = DataLink_KangChi.SHuangSe
|
|
Styles.Selection = DataLink_KangChi.SHuangSe
|
|
object cxGridDBColumn1: TcxGridDBColumn
|
|
Caption = #21592#24037#32534#21495
|
|
DataBinding.FieldName = 'UserId'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Focusing = False
|
|
Styles.Header = DataLink_KangChi.Default
|
|
Width = 84
|
|
end
|
|
object cxGridDBColumn7: TcxGridDBColumn
|
|
Caption = #21592#24037#21517#31216
|
|
DataBinding.FieldName = 'UserName'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Focusing = False
|
|
Styles.Header = DataLink_KangChi.Default
|
|
Width = 87
|
|
end
|
|
object cxGridDBColumn8: TcxGridDBColumn
|
|
Caption = #21592#24037#32452#32455
|
|
DataBinding.FieldName = 'dept'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Focusing = False
|
|
Styles.Header = DataLink_KangChi.Default
|
|
Width = 74
|
|
end
|
|
end
|
|
object cxGridLevel2: TcxGridLevel
|
|
GridView = Tv4
|
|
end
|
|
end
|
|
object DataSource1: TDataSource
|
|
DataSet = CDS_Tree
|
|
Left = 147
|
|
Top = 219
|
|
end
|
|
object ADOQueryTree: TADOQuery
|
|
Connection = DataLink_KangChi.ADOLink
|
|
LockType = ltReadOnly
|
|
Parameters = <>
|
|
Left = 117
|
|
Top = 145
|
|
end
|
|
object ADOQueryTemp: TADOQuery
|
|
Connection = DataLink_KangChi.ADOLink
|
|
LockType = ltReadOnly
|
|
Parameters = <>
|
|
Left = 520
|
|
Top = 111
|
|
end
|
|
object ADOQueryCmd: TADOQuery
|
|
Connection = DataLink_KangChi.ADOLink
|
|
Parameters = <>
|
|
Left = 520
|
|
Top = 146
|
|
end
|
|
object CDS_Tree: TClientDataSet
|
|
Aggregates = <>
|
|
Params = <>
|
|
Left = 96
|
|
Top = 256
|
|
end
|
|
object CDS_User: TClientDataSet
|
|
Aggregates = <>
|
|
Params = <>
|
|
Left = 680
|
|
Top = 272
|
|
end
|
|
object DSUser: TDataSource
|
|
DataSet = CDS_User
|
|
Left = 675
|
|
Top = 211
|
|
end
|
|
end
|