Manage/ModelItems_ReportItems.aspx

(开头部分) 19KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ModelItems_ReportItems.aspx.cs" Inherits="Manage_ModelItems_ReportItems" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>报表数据选项</title>
    <link href="../Plugins/layui226/css/layui.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" />     
    <link href="../Plugins/eControls/default/style.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" />   
    <link href="../Plugins/Theme/default/style.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" />   
	<link href="../Plugins/Theme/manage/style.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" />
	<script src="../Scripts/Init.js?ver=<%=Common.Version %>"></script>
</head>
<style>
h1 {font-size:16px;}
.text{text-indent:5px;display:inline-block;width:100%;border:1px solid #ccc;font-size:12px;height:23px;line-height:23px;color:#333;}
.divloading{filter:alpha(opacity=50);-moz-opacity:0.5;-khtml-opacity: 0.5; opacity: 0.5; position:fixed;width:100%;height:100%;top:0px;left:0px;background:#cccccc url(images/loading.gif) no-repeat center center;}
.btnaddb {display:inline-block;width:30px;height:30px;font-size:1px;background:url(images/btn_add.png) center center no-repeat;background-size:100% 100%;}
textarea {text-indent:5px;border:1px solid #ccc;font-size:12px;line-height:23px;color:#666;}
</style>
<script>
    /* 和ReportItems.aspx 功能相同,应同步修改 */
    var ReportID = "<%=ReportID%>";
    function showloading()
    {
        $("#divloading").show();
    };
    function hideloading()
    {
        $("#divloading").hide();
    };
    function getValue(obj)
    {
        if (obj.type.toLowerCase() == "radio" || obj.type.toLowerCase() == "checkbox") 
        {
            return (obj.checked ? "1" : "0");
        }
        else
        {
            return obj.value.encode();
        }
    };
    function addReportItem(obj,type)
    {
        var _reload=parseBool(Attribute(obj,"reload"));
        var url = "?act=additem&ReportID=" + ReportID;
        url += "&type=" + type; 
        url += "&t=" + now();
        showloading();
        $.ajax({
            type: "GET", async: true,
            url: url,
            dataType: "json",
            success: function (data)
            {
                hideloading();
                //if(!_reload){return;}
                loadData();
            },
            error: function (XMLHttpRequest, textStatus, errorThrown) {
                hideloading();
后面还有 319 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。