注意,字段一定要足够长,否则会截断url。
建立一个dw的记录,放一个2000字符长度的字段,然后拖一个 按钮和连接 的控件进去。
在 本记录的 fielddefault事件中,赋值如下:
设置连接的文字:
&RS1(1).CST_TR_PLN_UPDV.URLS.Label = &DES1;
&RS1(2).CST_TR_PLN_UPDV.URLS.Label = &DES1;
&RS1(3).CST_TR_PLN_UPDV.URLS.Label = &DES1;
设置连接:
&link1 = GenerateComponentContentURL(%Portal, %Node, MenuName.CST_MENU, "GBL", Component.CST_TR_ITM_REQ_COM, Page.CST_TR_ITM_REQ_PG, "U");
&link1 = &link1 | EncodeURL("&BUSINESS_UNIT=" | &Bu1 | "&CST_TR_PR_STATUS=06");
&RS1(1).CST_TR_PLN_UPDV.URLS.Value = &link1;
&link1 = GenerateComponentContentURL(%Portal, %Node, MenuName.CST_MENU, "GBL", Component.CST_TR_PLN2_COMP, Page.CST_TR_PLN2_PG, "U");
&RS1(2).CST_TR_PLN_UPDV.URLS.Value = &link1 | EncodeURL("&BUSINESS_UNIT=" | &Bu1 | "&CST_ITM_CLA_BIG=02&CST_TR_STATUS_ZXJH=06");
&RS1(3).CST_TR_PLN_UPDV.URLS.Value = &link1 | EncodeURL("&BUSINESS_UNIT=" | &Bu1 | "&CST_ITM_CLA_BIG=03&CST_TR_STATUS_ZXJH=06");
页面跳转的URL方式
最新推荐文章于 2021-06-03 16:05:42 发布