Exemplo n.º 1
0
        internal List <string> GetPlanDefineIDsByModelID(string modelID)
        {
            List <string> planDefineList = new List <string>();
            var           queryStr       = $@"SELECT a.id FROM plandefine AS a where (a.tenantid='0' or a.tenantid='{Utils.GetTenantId()}') and a.modelid = '{modelID}' order by a.lastmodifiedtime";
            var           ds             = db.ExecuteDataSet(queryStr);

            if (ds != null && ds.Tables.Count != 0 && ds.Tables[0].Rows.Count > 0)
            {
                //将数据库信息封装到实体类
                foreach (DataRow row in ds.Tables[0].Rows)
                {
                    planDefineList.Add(Convert.ToString(row["id"]));
                }
            }
            return(planDefineList);
        }
Exemplo n.º 2
0
        public List <Role> GetRoles()
        {
            List <Role> roleList = new List <Role>();
            var         queryStr = $@"select id,name from role where tenantid='0' or tenantid='{Utils.GetTenantId()}'";
            var         ds       = db.ExecuteDataSet(queryStr);

            if (ds != null && ds.Tables.Count != 0 && ds.Tables[0].Rows.Count > 0)
            {
                //将数据库信息封装到实体类
                foreach (DataRow row in ds.Tables[0].Rows)
                {
                    roleList.Add(AssamblyRoleInfo(row));
                }
            }
            return(roleList);
        }
Exemplo n.º 3
0
        public List <WRComponentModel> GetComponentModelList(string wrTypeCode)
        {
            List <WRComponentModel> list = new List <WRComponentModel>();
            var queryStr = @"SELECT
    a.id AS modelid,
    a.NAME AS modelname,
    a.modeltypeid,
    a.modelorder,
    a.wrtypeid,
    a.tenantid,
    b.CODE AS wrtypecode,
    b.NAME AS wrtypename,
    c.CODE AS modeltypecode,
    c.NAME AS modeltypename
FROM
    wrcomponentmodel a
    JOIN wrtype b ON a.wrtypeid = b.id AND a.tenantid = b.tenantid
    JOIN modeltype c ON a.modeltypeid = c.id AND a.tenantid = c.tenantid
WHERE
   a.tenantid={0} and  b.CODE = {1} order by modelorder";
            var ds       = db.ExecuteDataSet(queryStr, Utils.GetTenantId(), wrTypeCode);

            if (ds != null && ds.Tables.Count != 0 && ds.Tables[0].Rows.Count > 0)
            {
                foreach (DataRow row in ds.Tables[0].Rows)
                {
                    list.Add(AssemblyWRComponentModel(row));
                }
            }
            return(list);
        }
Exemplo n.º 4
0
        public List <PlanItemModel> GetPlanItemModel()
        {
            List <PlanItemModel> planModelList = new List <PlanItemModel>();
            var queryStr = $@"select id,name from planitemmodel where tenantid='0' or tenantid='{Utils.GetTenantId()}'";
            var ds       = db.ExecuteDataSet(queryStr);

            if (ds != null && ds.Tables.Count != 0 && ds.Tables[0].Rows.Count > 0)
            {
                //将数据库信息封装到实体类
                foreach (DataRow row in ds.Tables[0].Rows)
                {
                    planModelList.Add(AssamblyPlanItemModelInfo(row));
                }
            }
            return(planModelList);
        }
Exemplo n.º 5
0
        /// <summary>
        /// 获取用户当前启用状态的计划定义
        /// 需要根据用户的角色和组织信息获取,后续添加
        /// </summary>
        /// <returns></returns>
        public List <PlanDynamic> GetOnUsedPlanDynamicList(string roleID, string orgID)
        {
            List <PlanDynamic> planDefineList = new List <PlanDynamic>();
            var queryStr = new StringBuilder($@"
select a.id,a.name,a.state,a.modelid,a.setid,a.typeid,a.tenantid,c.id as dynid,c.state as stage,d.id as periodid,d.name as periodname,d.parentid as periodparentid
from plandefine as a 
inner join plandefineallocation as b on a.id=b.plandefineid 
inner join plandefinedynamic as c on a.id=c.plandefineid 
inner join period as d on c.periodid=d.id  
where a.tenantid='0' or a.tenantid='{Utils.GetTenantId()}' and a.state='1' and b.roleid='{roleID}' and b.orgid='{orgID}'");
            var ds       = db.ExecuteDataSet(queryStr.ToString());

            if (ds != null && ds.Tables.Count != 0 && ds.Tables[0].Rows.Count > 0)
            {
                //将数据库信息封装到实体类
                foreach (DataRow row in ds.Tables[0].Rows)
                {
                    planDefineList.Add(AssamblyPlanDynamic(row));
                }
            }
            return(planDefineList);
        }
Exemplo n.º 6
0
        internal List <PeriodSet> GetAllPeriodSets()
        {
            List <PeriodSet> list = new List <PeriodSet>();
            var queryStr          = $@"SELECT id, name FROM periodset where (tenantid = '0' or tenantid = '{Utils.GetTenantId()}')";
            var ds = db.ExecuteDataSet(queryStr);

            if (ds != null && ds.Tables.Count != 0 && ds.Tables[0].Rows.Count > 0)
            {
                foreach (DataRow row in ds.Tables[0].Rows)
                {
                    list.Add(AssamblyPeriodSet(row));
                }
            }
            return(list);
        }
 /// <summary>
 /// 根据提供的参数信息对原始的DataSet形式的业务数据进行组装整理,返回整理后的DataSet
 /// </summary>
 /// <param name="funcID">可定义为功能ID,也可为业务上下文ID,无实际意义</param>
 /// <param name="bizParameter">业务参数键值对</param>
 /// <param name="bizData">原始业务数据</param>
 /// <returns>整理后的DataSet</returns>
 public DataSet GetBizResult(string funcID, Dictionary <string, string> bizParameter, DataSet bizData)
 {
     if (bizData != null & bizData.Tables.Contains("HTGY") && bizData.Tables["HTGY"].Rows.Count > 0)
     {
         string       _htNM = Convert.ToString(bizData.Tables["HTGY"].Rows[0]["HTGY_NM"]);
         IGSPDatabase _db   = GSPContext.Current.Database;
         DataSet      _ds   = _db.ExecuteDataSet("select HTFJ_NM,HTFJ_FJMC,HTFJ_HTNM from HTFJ where HTFJ_HTNM={0} ", _htNM);
         if (DataValidator.IsFirstTableHasRecord(_ds))
         {
             AppendAttachmentInfo(bizData, _ds);
             return(bizData);
         }
         else
         {
             return(bizData);
         }
     }
     else
     {
         return(bizData);
     }
 }
Exemplo n.º 8
0
        internal List <PlanInfo> Get(PlanFilter filter)
        {
            List <PlanInfo> list          = new List <PlanInfo>();
            StringBuilder   stringBuilder = new StringBuilder($@"SELECT DISTINCT a.id, a.NAME, c.NAME AS periodname,c.id as periodid, c.alias as periodalias, c.parentid as periodparentid, d.name as typename, d.code AS typecode, a.mainrecipient, a.state, a.stage, a.tenantid, a.userid, a.createdtime, a.lastmodifiedtime,a.approvalinstance, a.plandefineid FROM plan a LEFT JOIN carboncopyplanrecipients b ON b.tenantid = '{Utils.GetTenantId()}' AND a.id = b.planid LEFT JOIN period c ON c.id = a.periodid Left join periodType d on d.id = c.typeid WHERE a.tenantid = '{Utils.GetTenantId()}'");

            // 状态
            if (!filter.State.Equals(PlanState.Unknown))
            {
                stringBuilder.Append($@" and state = '{(int)filter.State}'");
            }
            // 阶段
            if (!filter.Stage.Equals(PlanStage.Unknown))
            {
                stringBuilder.Append($@" and stage = '{(int)filter.Stage}'");
            }
            // 发送人
            if (filter.Senders != null && filter.Senders.Count > 0)
            {
                stringBuilder.Append(@" AND a.userid in ('");
                stringBuilder.Append(string.Join("','", filter.Senders.ToArray()));
                stringBuilder.Append(@"') ");
            }
            // 主送人
            if (filter.FirRecips != null && filter.FirRecips.Count > 0)
            {
                stringBuilder.Append(@" AND a.mainrecipient in ('");
                stringBuilder.Append(string.Join("','", filter.FirRecips.ToArray()));
                stringBuilder.Append(@"') ");
            }
            // 抄送人
            if (filter.SecRecips != null && filter.SecRecips.Count > 0)
            {
                stringBuilder.Append(@" AND b.recipientid in ('");
                stringBuilder.Append(string.Join("','", filter.SecRecips.ToArray()));
                stringBuilder.Append(@"') ");
            }
            // 相关计划定义
            if (filter.PlanDefines != null && filter.PlanDefines.Count > 0)
            {
                stringBuilder.Append(@" AND a.plandefineid in ('");
                stringBuilder.Append(string.Join("','", filter.PlanDefines.ToArray()));
                stringBuilder.Append(@"') ");
            }
            // 相关周期
            if (filter.Periods != null && filter.Periods.Count > 0)
            {
                stringBuilder.Append(@" AND a.periodid in ('");
                stringBuilder.Append(string.Join("','", filter.Periods.ToArray()));
                stringBuilder.Append(@"') ");
            }
            DateTime defaultDateTime = new DateTime();

            if (filter.StartTime != null && !filter.StartTime.Equals(defaultDateTime))
            {
                stringBuilder.Append($@" AND a.createdtime >= '{filter.StartTime}' ");
            }
            if (filter.EndTime != null && !filter.EndTime.Equals(defaultDateTime))
            {
                stringBuilder.Append($@" AND a.createdtime <= '{filter.EndTime}' ");
            }
            if (!string.IsNullOrEmpty(filter.PeriodTypeID))
            {
                stringBuilder.Append($@" and c.typeid = '{filter.PeriodTypeID}'");
            }
            stringBuilder.Append(@" order by a.createdtime desc");
            var ds = db.ExecuteDataSet(stringBuilder.ToString());

            if (ds != null && ds.Tables.Count != 0 && ds.Tables[0].Rows.Count > 0)
            {
                foreach (DataRow row in ds.Tables[0].Rows)
                {
                    list.Add(AssamblyPlanInfo(row));
                }
            }
            return(list);
        }
        /// <summary>
        /// 根据提供的参数信息对原始的DataSet形式的业务数据进行组装整理,返回整理后格式化的展示数据
        /// </summary>
        /// <param name="funcID">可定义为功能ID,也可为业务上下文ID,无实际意义</param>
        /// <param name="bizParameter">业务参数键值对</param>
        /// <param name="bizData">原始业务数据</param>
        /// <returns>整理后可直接格式化展示的数据</returns>
        public QueryResultData GetBizFormatResult(string funcID, Dictionary <string, string> bizParameter, DataSet bizData)
        {
            GSPState     gspState = GSPContext.Current.Session;
            IGSPDatabase db       = GSPContext.Current.Database;
            string       strSql   = "";

            strSql += " SELECT CTLIST_DJNM,CTLIST_TYPEID,CTLIST_DJBH, CTTYPE.CTTYPE_NAME FROM CTDGLIST ";
            strSql += " JOIN CTTYPE ON CTDGLIST.CTLIST_TYPEID=CTTYPE.CTTYPE_CODE";
            strSql += " WHERE CTLIST_CONTRACTID = '" + bizData.Tables[0].Rows[0]["CTLIST_CONTRACTID"].ToString() + "'";

            WriteLog(strSql, "ctdglist");
            DataSet ds = db.ExecuteDataSet(strSql);

            DataTable dt = ds.Tables[0];
            DataRow   dr = dt.Rows[0];

            string sysCode = gspState.AppCode;  //GS实例编号

            string ysdjid = "";                 //原始单据id

            string urlBizApply = String.Empty;; //业务申请地址
            string urlSrcAsset = String.Empty;  //资产信息地址

            string    strSql1 = "";
            DataSet   ds1     = null;
            DataTable dt1     = null;
            DataRow   dr1     = null;

            #region  根据不同合同类型获取对应的URL

            #region 种子采购
            if (dr["CTTYPE_NAME"].ToString() == "种子采购")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 毛种子采购(初始种子)
            if (dr["CTTYPE_NAME"].ToString() == "毛种子采购(初始种子)")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 亲本种子采购(KWS玉米)
            if (dr["CTTYPE_NAME"].ToString() == "亲本种子采购(KWS玉米)")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 其它类种子采购(非库存)
            if (dr["CTTYPE_NAME"].ToString() == "其它类种子采购(非库存)")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 仓储合同
            if (dr["CTTYPE_NAME"].ToString() == "仓储合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 营销、宣传类
            if (dr["CTTYPE_NAME"].ToString() == "营销、宣传类")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 机械作业合同
            if (dr["CTTYPE_NAME"].ToString() == "机械作业合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 推广展示合同
            if (dr["CTTYPE_NAME"].ToString() == "推广展示合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 技术开发合同
            if (dr["CTTYPE_NAME"].ToString() == "技术开发合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 运维服务合同
            if (dr["CTTYPE_NAME"].ToString() == "运维服务合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 咨询服务合同
            if (dr["CTTYPE_NAME"].ToString() == "咨询服务合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region  务合同
            if (dr["CTTYPE_NAME"].ToString() == "服务合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 其他
            if (dr["CTTYPE_NAME"].ToString() == "其他")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 辅助材料采购
            if (dr["CTTYPE_NAME"].ToString() == "辅助材料采购")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 运输合同
            if (dr["CTTYPE_NAME"].ToString() == "运输合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 装卸合同
            if (dr["CTTYPE_NAME"].ToString() == "装卸合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 品种权转让合同
            if (dr["CTTYPE_NAME"].ToString() == "品种权转让合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 品种实施许可合同
            if (dr["CTTYPE_NAME"].ToString() == "品种实施许可合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 合资、合作(有收付款)
            if (dr["CTTYPE_NAME"].ToString() == "合资、合作(有收付款)")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 招标代理合同
            if (dr["CTTYPE_NAME"].ToString() == "招标代理合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 委托试验合同-双向
            if (dr["CTTYPE_NAME"].ToString() == "委托试验合同-双向")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 保管合同
            if (dr["CTTYPE_NAME"].ToString() == "保管合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 委托加工合同
            if (dr["CTTYPE_NAME"].ToString() == "委托加工合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 在建工程项目
            if (dr["CTTYPE_NAME"].ToString() == "在建工程项目")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 费用类物资采购
            if (dr["CTTYPE_NAME"].ToString() == "费用类物资采购")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 技术服务合同
            if (dr["CTTYPE_NAME"].ToString() == "技术服务合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 临时用工-散工
            if (dr["CTTYPE_NAME"].ToString() == "临时用工-散工")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion



            //#region 营销、宣传类
            //if (dr["CTTYPE_NAME"].ToString() == "营销、宣传类")
            //{
            //    urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            //}
            //#endregion



            #region  咨询服务合同
            if (dr["CTTYPE_NAME"].ToString() == "咨询服务合同")
            {
                strSql1 += " select ROYWSQ_NM from   ROYWSQ where ROYWSQ_BH ='" + dr["CTLIST_DJBH"].ToString() + "'";
                WriteLog(strSql1, "ROYWSQ");
                ds1 = db.ExecuteDataSet(strSql1);
                if (ds1.Tables[0].Rows.Count > 0)
                {
                    dt1         = ds1.Tables[0];
                    dr1         = dt1.Rows[0];
                    ysdjid      = Convert.ToString(dr1["ROYWSQ_NM"]);           //共享单据
                    urlBizApply = this.GetUrlBizApply(ysdjid, Platform.MOBILE); //共享单据地址
                }
            }
            #endregion

            #region 资产采购合同
            if (dr["CTTYPE_NAME"].ToString() == "资产采购")
            {
                urlBizApply = this.GetUrlBizApply_other(dr["CTLIST_DJNM"].ToString(), Platform.MOBILE, "ca098f65-1512-4f78-8c8e-d552730f42f3");//资产单据地址
                WriteLog(urlBizApply, "sdf");
            }
            #endregion

            #region 资产租入合同
            if (dr["CTTYPE_NAME"].ToString() == "资产租入合同")
            {
                urlBizApply = this.GetUrlBizApply_other(dr["CTLIST_DJNM"].ToString(), Platform.MOBILE, "22d9394c-5c89-4122-a574-ca492322ab0d");//资产单据地址
            }
            #endregion

            #region 资产维修合同
            if (dr["CTTYPE_NAME"].ToString() == "资产维修")
            {
                urlBizApply = this.GetUrlBizApply_other(dr["CTLIST_DJNM"].ToString(), Platform.MOBILE, "41000824-ec02-474f-b974-55bf8f75fa10");//资产单据地址
            }
            #endregion


            #region 融资合同-内部借款
            if (dr["CTTYPE_NAME"].ToString() == "融资合同-内部借款")
            {
                urlBizApply = this.GetUrlBizApply_other(dr["CTLIST_DJNM"].ToString(), Platform.MOBILE, "11446bcf-30dc-43f7-b860-54e79ff5ce3f");
            }
            #endregion

            #region 融资合同-外部借款
            if (dr["CTTYPE_NAME"].ToString() == "融资合同-外部借款")
            {
                urlBizApply = this.GetUrlBizApply_other(dr["CTLIST_DJNM"].ToString(), Platform.MOBILE, "11446bcf-30dc-43f7-b860-54e79ff5ce3f");
            }
            #endregion

            #region 运输合同
            if (dr["CTTYPE_NAME"].ToString() == "运输合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 招标代理合同
            if (dr["CTTYPE_NAME"].ToString() == "招标代理合同")
            {
            }
            #endregion

            #region 营销、宣传类
            if (dr["CTTYPE_NAME"].ToString() == "营销、宣传类")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region  务合同
            if (dr["CTTYPE_NAME"].ToString() == "服务合同")
            {
                urlBizApply = this.GetUrlBizApply(dt.Rows[0]["CTLIST_DJNM"].ToString(), Platform.MOBILE);
            }
            #endregion

            #region 劳动合同
            if (dr["CTTYPE_NAME"].ToString() == "劳动合同")
            {
            }
            #endregion

            #region 费用类物资采购
            if (dr["CTTYPE_NAME"].ToString() == "费用类物资采购")
            {
            }
            #endregion

            #region 资产租入合同
            if (dr["CTTYPE_NAME"].ToString() == "资产租入合同")
            {
            }
            #endregion
            #endregion
            XElement ele = new XElement("ul",
                                        new XAttribute("id", "navs"),
                                        new XAttribute("data-open", "收起"),
                                        new XAttribute("data-close", "联查"),

                                        new XElement("li",
                                                     new XAttribute("style", String.IsNullOrWhiteSpace(urlBizApply) ? "background-color:#c4c4c4;" : String.Empty),
                                                     new XElement("a", ViewType.原始单据,
                                                                  new XAttribute("class", "hyperlink"),
                                                                  new XAttribute("href", "javascript:void(0)"),
                                                                  new XAttribute("onclick", String.IsNullOrWhiteSpace(urlBizApply) ? String.Empty : "gsp.rtf.func.openUrl({id:'viewBizApply',name:'原始单据',url:'" + urlBizApply + "'})"))));

            string          ul         = ele.ToString();
            string          html       = ul + @"<script type='text/javascript'>
            (function(){
	            var ul=$('#navs'),li=$('#navs li'),i=li.length,n=1,r=120;
	            ul.click(function(){
		            $(this).toggleClass('active');
                    var isActive = $(this).hasClass('active');
			        for(var a=0;a<i;a++){
                        var msDelayed = 50*a;
                        var cosDisplacement = isActive ? -r*Math.cos(90/n*a*(Math.PI/180)) : 0;
                        var sinDisplacement = isActive ? -r*Math.sin(90/n*a*(Math.PI/180)) : 0;
				        li.eq(a).css({
					        'transition-delay':''+msDelayed+'ms',
					        '-webkit-transition-delay':''+msDelayed+'ms',
					        '-o-transition-delay':''+msDelayed+'ms',
					        'transform':'translate('+cosDisplacement+'px,'+sinDisplacement+'px)',
					        '-webkit-transform':'translate('+cosDisplacement+'px,'+sinDisplacement+'px)',
					        '-o-transform':'translate('+cosDisplacement+'px,'+sinDisplacement+'px)',
					        '-ms-transform':'translate('+cosDisplacement+'px,'+sinDisplacement+'px)'
				        });
			        }
	            });
            })($);
            </script>
            <style type='text/css'>
            .hyperlink:focus{outline:none;}
            #navs{font-size:18px;position:fixed;right:30px;bottom:80px;width:60px;height:60px;line-height:60px;list-style-type:none;margin:0;padding:0;text-align:center;color:#fff;cursor:pointer;}
            #navs>li,#navs:after{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:50%;-webkit-border-radius:50%;background-color:#0073c6;}
            #navs>li{transition:all .6s;-webkit-transition:all .6s;-moz-transition:.6s;}
            #navs:after{content:attr(data-close);z-index:1;border-radius:50%;-webkit-border-radius:50%;}
            #navs.active:after{content:attr(data-open);}
            #navs a{font-size:12px;width:60px;height:60px;display:inline-block;border-radius:50%;-webkit-border-radius:50%;text-decoration:none;color:#fff;}
            </style>";
            QueryResultData resultData = new QueryResultData();
            resultData.FormatID = bizParameter["WebBillQuery_Runtime_FormatID"]; //获取表单定义ID
            resultData.Data     = JsonConvert.SerializeObject(bizData);
            resultData.Content  = html;                                          //此处就是你根据影像数据形成的Html片段,业务单据数据信息需要从bizData参数中获取
            //resultData.Content = "<div style=\"font-size: 28px;position: fixed;right: 30px;bottom: 80px;z-index: 999;width: 60px;height: 60px;border-radius: 80%;background-color: #0073c6;text-align: center;line-height: 60px;color: #fff;-webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.24);-moz-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.24);box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.24);-webkit-transition: -webkit-box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);-moz-transition: -moz-box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);-o-transition: -o-box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);cursor: pointer;\" onclick=\"gsp.rtf.func.openUrl({id:'viewgxyxxx',name:'合同信息', url:'/cwbase/webapp/gspqdp/PackPage.html?sysCode=" + sysCode + "&FormID=" + formID + "&dataid=" + dataID + "'})\">合同</div>";//此处就是你根据影像数据形成的Html片段,业务单据数据信息需要从bizData参数中获取
            WriteLog(html, "html");
            return(resultData);
        }