dw_msg_mainface_newstyle_demo.srd 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. $PBExportHeader$dw_msg_mainface_newstyle_demo.srd
  2. release 11.5;
  3. datawindow(units=0 timer_interval=0 color=16777215 brushmode=0 transparency=0 gradient.angle=0 gradient.color=8421504 gradient.focus=0 gradient.repetition.count=0 gradient.repetition.length=100 gradient.repetition.mode=0 gradient.scale=100 gradient.spread=100 gradient.transparency=0 picture.blur=0 picture.clip.bottom=0 picture.clip.left=0 picture.clip.right=0 picture.clip.top=0 picture.mode=0 picture.scale.x=100 picture.scale.y=100 picture.transparency=0 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes print.background=no print.preview.background=no print.preview.outline=yes hidegrayline=no showbackcoloronxp=no picture.file="" )
  4. header(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
  5. summary(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
  6. footer(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
  7. detail(height=256 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" height.autosize=yes )
  8. table(column=(type=long updatewhereclause=yes name=msgid dbname="msgid" )
  9. column=(type=datetime updatewhereclause=yes name=senddt dbname="senddt" )
  10. column=(type=char(10) updatewhereclause=yes name=sendemp dbname="sendemp" )
  11. column=(type=long updatewhereclause=yes name=dealflag dbname="dealflag" )
  12. column=(type=datetime updatewhereclause=yes name=dealdt dbname="dealdt" )
  13. column=(type=char(100) updatewhereclause=yes name=s_msgtitle dbname="s_msgtitle" )
  14. column=(type=char(32766) updatewhereclause=no name=s_msg dbname="s_msg" )
  15. column=(type=long updatewhereclause=yes name=sendempid dbname="sendempid" )
  16. column=(type=long updatewhereclause=yes name=empid dbname="empid" )
  17. column=(type=char(30) updatewhereclause=yes name=billcode dbname="billcode" )
  18. column=(type=long updatewhereclause=yes name=scid dbname="scid" )
  19. column=(type=long updatewhereclause=yes identity=yes name=fjcnt dbname="fjcnt" )
  20. column=(type=long updatewhereclause=yes name=read_flag dbname="read_flag" )
  21. column=(type=char(24) updatewhereclause=yes name=fjstr dbname="fjstr" )
  22. column=(type=char(30) updatewhereclause=yes name=relcode dbname="relcode" )
  23. retrieve="SELECT sys_admsgmx.msgid
  24. ,sys_admsg.senddt
  25. ,sys_admsg.sendemp
  26. ,sys_admsgmx.dealflag
  27. ,sys_admsgmx.dealdt
  28. ,sys_admsgmx.s_msgtitle
  29. ,REPLACE(
  30. REPLACE(
  31. REPLACE(
  32. REPLACE(
  33. REPLACE(
  34. REPLACE(
  35. REPLACE(
  36. REPLACE(
  37. REPLACE(
  38. REPLACE(
  39. REPLACE(
  40. REPLACE(
  41. REPLACE(
  42. REPLACE(
  43. REPLACE(
  44. REPLACE(sys_admsgmx.s_msg,
  45. '<DIV>','')
  46. ,'</FONT>','')
  47. ,'<P>',''),
  48. '</P>',''),
  49. '&nbsp;',''),
  50. ' face=幼圆',''),
  51. ' face=宋体',''),
  52. ' face=~"汉仪旗黑-55 Book~"',''),
  53. ' size=2',''),
  54. ' size=3',''),
  55. ' size=4',''),
  56. ' size=5',''),
  57. ' size=6',''),
  58. ' size=7',''),
  59. '<FONT>',''),
  60. '</DIV>','') as s_msg
  61. ,sys_admsg.sendempid
  62. ,sys_admsgmx.empid
  63. ,sys_admsgmx.billcode
  64. ,sys_admsgmx.scid
  65. ,ISNULL(v_fj.fjcnt, 0) AS fjcnt
  66. ,Sys_admsgmx.read_flag
  67. ,'点击查看'+cast(ISNULL(v_fj.fjcnt, 0) as varchar(10))+'个附件' as fjstr
  68. ,case isnull(u_saletask.relcode,'') when '' then sys_admsgmx.billcode else isnull(u_saletask.relcode,'') end as relcode
  69. FROM Sys_admsg
  70. INNER JOIN Sys_admsgmx
  71. ON Sys_admsg.msgid = Sys_admsgmx.msgid
  72. LEFT JOIN (
  73. SELECT count(fjid) as fjcnt, msgid
  74. FROM Sys_admsg_fj
  75. group by msgid
  76. ) v_fj
  77. ON Sys_admsgmx.msgid = v_fj.msgid
  78. left outer join u_saletask
  79. on sys_admsgmx.billcode = u_saletask.taskcode" )
  80. column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432~tif( sendempid <> f_sys_empid(),rgb(0,0,255),rgb(0,128,64))" x="50" y="12" height="68" width="233" format="[general]" html.valueishtml="0" name=sendemp visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  81. column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="8421504" x="1577" y="16" height="56" width="649" format="[general]" html.valueishtml="0" name=fjstr pointer="HyperLink!" visible="1~tif( fjcnt = 0 ,0,1)" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  82. bitmap(band=detail filename="mt_fj_add.png" x="1495" y="8" height="64" width="73" border="0" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" name=p_fj pointer="HyperLink!" visible="1~tif( fjcnt = 0 ,0,1)" transparency="0" )
  83. column(band=detail id=6 alignment="0" tabsequence=10 border="0" color="33554432" x="101" y="84" height="68" width="2203" format="[general]" html.valueishtml="0" name=s_msgtitle visible="1" edit.limit=100 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.displayonly=yes font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  84. column(band=detail id=7 alignment="0" tabsequence=20 border="0" color="0" x="105" y="160" height="72" width="2231" format="[general]" html.valueishtml="0" name=s_msg visible="1" height.autosize=yes edit.limit=32000 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.displayonly=yes font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  85. text(band=detail alignment="1" text="相关号:" border="0" color="21250786" x="768" y="12" height="56" width="256" html.valueishtml="0" name=billcode_t visible="1~tif(len(trim(relcode))> 0 ,1,0)" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  86. column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432~tif( sendempid <> f_sys_empid(),rgb(0,0,255),rgb(0,128,64))" x="293" y="12" height="68" width="462" format="yyyy/m/d h:mm~tif(date( senddt ) = date(today()), '今天 '+ 'h:mm','yyyy/m/d h:mm')" html.valueishtml="0" name=senddt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  87. column(band=detail id=15 alignment="0" tabsequence=30 border="0" color="21250786" x="1033" y="12" height="68" width="425" format="[general]" html.valueishtml="0" name=relcode pointer="HyperLink!" visible="1~tif(len(relcode)> 0 ,1,0)" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="1" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.tip="~t'点击打开单据 '+ billcode " tooltip.transparency="0" transparency="0" )
  88. htmltable(border="1" )
  89. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
  90. xhtmlgen() cssgen(sessionspecific="0" )
  91. xmlgen(inline="0" )
  92. xsltgen()
  93. jsgen()
  94. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  95. import.xml()
  96. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
  97. export.xhtml()