K3/Cloud点击按钮打开第三方URL

public override void AfterBarItemClick(BOS.Core.DynamicForm.PlugIn.Args.AfterBarItemClickEventArgs e)
        {
            base.AfterBarItemClick(e);
            if (e.BarItemKey.ToUpperInvariant() == "TBBUTTON_9")
            {
                JSONObject webobj = new JSONObject();
                webobj["source"] = @"http://192.168.0.116/hourseView/manage/";
                webobj["height"] = 545;
                webobj["width"] = 810;
                webobj["isweb"] = true;  //是否新弹出一个浏览器窗口(or选项卡)打开网页地址
                webobj["title"] = "欧蓓莎平面图";
                this.View.AddAction("ShowKDWebbrowseForm", webobj);
                this.View.SendDynamicFormAction(this.View);
            }
        }

posted @ 2018-11-19 14:46  放放的Blog  阅读(1140)  评论(0编辑  收藏  举报