Esempio n. 1
0
    //http://localhost:6222/Site/WF/FORMList.aspx?mine=1&WFID=34&fromTab=wf34mylist&r=0.9013923459428217

    //UserBase userBase = new UserBase();
    protected string showStepState(string status, string checkinfo, decimal recid, int wfid)
    {
        //string ck = "";
        string str = WFCKLOG_EXD.ShowCheckInfo(status, checkinfo, recid, userBase.StaffID.ToString());//

        str = str.Replace("{URL}", WebHelper.GetAppPath() + "WF/Check.aspx?WFID=" + wfid + "&RECID=" + recid + "&preUrl=" + curUrl);
        return(str);
    }
Esempio n. 2
0
    protected string clickUrl(string status, string checkinfo, decimal recid, int wfid, string recName)
    {
        //string ck = "";
        string url = "";
        string str = WFCKLOG_EXD.ShowCheckInfo(status, checkinfo, recid, userBase.StaffID.ToString());//

        if (str.IndexOf("{URL}") >= 0)
        {
            url = "<a  href='" + WebHelper.GetAppPath() + "WF/Check.aspx?WFID=" + wfid + "&RECID=" + recid + "&preUrl=" + curUrl + "'>" + StringHelper.GetCenterString(recName, "]", "2") + "</a>";
        }
        else
        {
            url = "<a  href='FORMShow.aspx?RECID=" + recid + "&preUrl=" + curUrl + "'>" + StringHelper.GetCenterString(recName, "]", "2") + "</a>";
        }
        return(url);
    }