⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 u_dyjl.pas

📁 人事管理程序源码
💻 PAS
字号:
unit U_dyjl;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, QuickRpt, ExtCtrls, QRCtrls,QGraphics;

type
  TForm_dyjl = class(TForm)
    QuickRep1: TQuickRep;
    PageHeaderBand1: TQRBand;
    DetailBand1: TQRBand;
    PageFooterBand1: TQRBand;
    QRLabel1: TQRLabel;
    QRShape1: TQRShape;
    QR_dw: TQRLabel;
    QR_bm: TQRLabel;
    QRShape2: TQRShape;
    QRShape3: TQRShape;
    QRShape4: TQRShape;
    QRShape5: TQRShape;
    QRShape6: TQRShape;
    QRShape7: TQRShape;
    QRShape8: TQRShape;
    QRShape9: TQRShape;
    QRShape10: TQRShape;
    QRShape11: TQRShape;
    QRShape12: TQRShape;
    QRShape13: TQRShape;
    QRDBImage1: TQRDBImage;
    QRLabel2: TQRLabel;
    QRLabel3: TQRLabel;
    QRLabel4: TQRLabel;
    QRLabel5: TQRLabel;
    QRDBText1: TQRDBText;
    QRDBText2: TQRDBText;
    QRDBText3: TQRDBText;
    QRDBText4: TQRDBText;
    QRLabel6: TQRLabel;
    QRLabel7: TQRLabel;
    QRDBText5: TQRDBText;
    QRDBText6: TQRDBText;
    QRLabel8: TQRLabel;
    QRDBText7: TQRDBText;
    QRLabel9: TQRLabel;
    QRDBText8: TQRDBText;
    QRLabel10: TQRLabel;
    QRLabel11: TQRLabel;
    QRDBText9: TQRDBText;
    QRDBText10: TQRDBText;
    QRLabel12: TQRLabel;
    QRDBText11: TQRDBText;
    QRLabel13: TQRLabel;
    QRDBText12: TQRDBText;
    QRLabel14: TQRLabel;
    QRDBText13: TQRDBText;
    QRLabel15: TQRLabel;
    QRDBText14: TQRDBText;
    QRLabel16: TQRLabel;
    QRDBText15: TQRDBText;
    QRLabel17: TQRLabel;
    QRDBText16: TQRDBText;
    QRLabel18: TQRLabel;
    QRDBText17: TQRDBText;
    QRLabel19: TQRLabel;
    QRDBText18: TQRDBText;
    QRLabel20: TQRLabel;
    QRDBText19: TQRDBText;
    QRLabel21: TQRLabel;
    QRDBText20: TQRDBText;
    QRLabel22: TQRLabel;
    QRDBText21: TQRDBText;
    QRLabel23: TQRLabel;
    QRDBText22: TQRDBText;
    QRLabel24: TQRLabel;
    QRDBText23: TQRDBText;
    QRLabel25: TQRLabel;
    QRDBText24: TQRDBText;
    QRLabel26: TQRLabel;
    QRDBText25: TQRDBText;
    QRLabel27: TQRLabel;
    QRDBText26: TQRDBText;
    QRLabel28: TQRLabel;
    QRDBText27: TQRDBText;
    QRShape15: TQRShape;
    QRShape16: TQRShape;
    QRShape17: TQRShape;
    QRShape18: TQRShape;
    PrinterSetupDialog1: TPrinterSetupDialog;
    QRShape14: TQRShape;
    QRShape19: TQRShape;
    QRShape20: TQRShape;
    QRShape21: TQRShape;
    QRShape22: TQRShape;
    QRShape23: TQRShape;
    QRShape24: TQRShape;
    QRShape25: TQRShape;
    QRShape26: TQRShape;
    QRShape27: TQRShape;
    QRShape28: TQRShape;
    QRShape29: TQRShape;
    QRShape30: TQRShape;
    QRShape31: TQRShape;
    QRShape32: TQRShape;
    QRShape33: TQRShape;
    QRShape34: TQRShape;
    QRShape35: TQRShape;
    QRShape36: TQRShape;
    QRShape37: TQRShape;
    QRShape38: TQRShape;
    QRDBText28: TQRDBText;
    QRDBText29: TQRDBText;
    QRDBText30: TQRDBText;
    QRDBText31: TQRDBText;
    QRDBText32: TQRDBText;
    QRShape46: TQRShape;
    QRShape47: TQRShape;
    QRShape48: TQRShape;
    QRShape49: TQRShape;
    QRShape50: TQRShape;
    QRShape51: TQRShape;
    QRShape52: TQRShape;
    ColumnHeaderBand1: TQRBand;
    QRShape39: TQRShape;
    QuickRep2: TQuickRep;
    ColumnHeaderBand2: TQRBand;
    DetailBand2: TQRBand;
    QRShape40: TQRShape;
    QRLabel29: TQRLabel;
    QRLabel30: TQRLabel;
    QRLabel31: TQRLabel;
    QRShape41: TQRShape;
    QRShape42: TQRShape;
    QRLabel32: TQRLabel;
    QRLabel33: TQRLabel;
    QRLabel34: TQRLabel;
    QRLabel35: TQRLabel;
    QRLabel36: TQRLabel;
    QRLabel37: TQRLabel;
    QRShape43: TQRShape;
    QRLabel38: TQRLabel;
    QRLabel39: TQRLabel;
    QRShape44: TQRShape;
    QRShape45: TQRShape;
    QRShape53: TQRShape;
    QRShape54: TQRShape;
    QRShape55: TQRShape;
    QRShape56: TQRShape;
    QRShape57: TQRShape;
    QRShape58: TQRShape;
    QRShape59: TQRShape;
    QRShape60: TQRShape;
    QRShape61: TQRShape;
    QRShape62: TQRShape;
    QRShape63: TQRShape;
    QRShape64: TQRShape;
    QRShape65: TQRShape;
    QRShape66: TQRShape;
    QRShape67: TQRShape;
    QRShape68: TQRShape;
    QRShape69: TQRShape;
    PageFooterBand2: TQRBand;
    QRLabel40: TQRLabel;
    QRDBText33: TQRDBText;
    QRDBText34: TQRDBText;
    QRDBText35: TQRDBText;
    QRDBText36: TQRDBText;
    QRDBText37: TQRDBText;
    QRDBText38: TQRDBText;
    QRDBText39: TQRDBText;
    QRDBText40: TQRDBText;
    QRDBText41: TQRDBText;
    QRDBText42: TQRDBText;
    QuickRep3: TQuickRep;
    TitleBand1: TQRBand;
    QRShape70: TQRShape;
    QRLabel41: TQRLabel;
    QRLabel42: TQRLabel;
    QRDBText43: TQRDBText;
    QRShape71: TQRShape;
    QRLabel43: TQRLabel;
    QRDBText44: TQRDBText;
    QRLabel44: TQRLabel;
    QRDBText45: TQRDBText;
    QRShape72: TQRShape;
    QRLabel45: TQRLabel;
    QRDBText46: TQRDBText;
    QRLabel46: TQRLabel;
    QRDBText47: TQRDBText;
    QRLabel47: TQRLabel;
    QRDBText48: TQRDBText;
    QRLabel48: TQRLabel;
    QRDBText49: TQRDBText;
    QRShape73: TQRShape;
    QRLabel49: TQRLabel;
    QRDBText50: TQRDBText;
    QRLabel50: TQRLabel;
    QRDBText51: TQRDBText;
    QRLabel51: TQRLabel;
    QRDBText52: TQRDBText;
    QRShape74: TQRShape;
    QRLabel52: TQRLabel;
    QRDBText53: TQRDBText;
    QRShape75: TQRShape;
    QRLabel53: TQRLabel;
    QRDBText54: TQRDBText;
    QRLabel54: TQRLabel;
    QRDBText55: TQRDBText;
    QRShape76: TQRShape;
    QRShape78: TQRShape;
    QRShape79: TQRShape;
    QRShape80: TQRShape;
    QRShape81: TQRShape;
    QRShape77: TQRShape;
    QRSysData1: TQRSysData;
    procedure xs_bt(bz:boolean);
    procedure DetailBand1BeforePrint(Sender: TQRCustomBand;
      var PrintBand: Boolean);

  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form_dyjl: TForm_dyjl;

implementation

uses U_gzda_dm;

{$R *.dfm}
procedure TForm_dyjl.xs_bt(bz:boolean);
var
  hi:extended;
begin
  if bz then
     begin
       hi:=66;
       QRDBText30.Font.Name:='宋体';
     end
  else
     begin
       hi:=0.00;
       QRDBText30.Font.Name:='黑体';
     end;
  QRShape48.Size.Height:=hi;
  QRShape49.Size.Height:=hi;
  QRShape50.Size.Height:=hi;
  QRShape51.Size.Height:=hi;
end;
procedure TForm_dyjl.DetailBand1BeforePrint(Sender: TQRCustomBand;
  var PrintBand: Boolean);
var
  mm:string;
begin
  with gzda_dm.ADODataSet_cx do begin
    mm:=Fieldbyname('nr3').AsString;
    if (pos('简历',mm)<>0) or (pos('关系',mm)<>0) then
       xs_bt(false)
    else
       xs_bt(true);
  end;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -