• topjui.core.js


    var defaultConfig = {
        pageLoadComplete: false,
        config: {
            ctx: "",
            mainPage: false,
            pkName: "uuid"
        },
        language: {
            message: {
                showType: {
                    slide: "slide",
                    fade: "fade",
                    show: "show"
                },
                title: {
                    operationTips: "操作提示",
                    confirmTips: "确认提示"
                },
                msg: {
                    success: "操作成功",
                    failed: "操作失败",
                    error: "未知错误",
                    checkSelfGrid: "请先勾选要操作的数据前的复选框",
                    selectSelfGrid: "请先选中要操作的数据",
                    selectParentGrid: "请先选中主表中要操作的一条数据",
                    permissionDenied: "对不起,你没有操作权限",
                    confirmDelete: "你确定要删除所选的数据吗?"
                },
                icon: {
                    error: "error",
                    question: "question",
                    info: "info",
                    warning: "warning"
                }
            }
        },
        eventType: {
            //initUI     : 'topjui.initForm',         // When document load completed or ajax load completed, B-JUI && Plugins init
            initUI: {
                base: 'topjui.initUI.base',
                dialog: 'topjui.initUI.dialog',
                base2: 'topjui.initUI.base2',
                echarts: 'topjui.initUI.echarts',
                form: 'topjui.initUI.form',
                advanceSearchForm: 'topjui.initUI.advanceSearchForm',
                importExcelForm: 'topjui.initUI.importExcelForm'
            },
            beforeInitUI: 'topjui.beforeInitUI',   // If your DOM do not init [add to DOM attribute 'data-noinit="true"']
            afterInitUI: 'topjui.afterInitUI',    //
            ajaxStatus: 'topjui.ajaxStatus',     // When performing ajax request, display or hidden progress bar
            resizeGrid: 'topjui.resizeGrid',     // When the window or dialog resize completed
            beforeAjaxLoad: 'topjui.beforeAjaxLoad', // When perform '$.fn.ajaxUrl', to do something...
    
            beforeLoadNavtab: 'topjui.beforeLoadNavtab',
            beforeLoadDialog: 'topjui.beforeLoadDialog',
            afterLoadNavtab: 'topjui.afterLoadNavtab',
            afterLoadDialog: 'topjui.afterLoadDialog',
            beforeCloseNavtab: 'topjui.beforeCloseNavtab',
            beforeCloseDialog: 'topjui.beforeCloseDialog',
            afterCloseNavtab: 'topjui.afterCloseNavtab',
            afterCloseDialog: 'topjui.afterCloseDialog'
        }
    };
    topJUI = $.extend(true, defaultConfig, topJUI);
    
    /* TopJUI默认属性 */
    var defaultHeight = 34;
    $.fn.switchbutton.defaults.height = defaultHeight;
    $.fn.textbox.defaults.height = defaultHeight;
    $.fn.passwordbox.defaults = defaultHeight;
    $.fn.combo.defaults.height = defaultHeight;
    $.fn.combobox.defaults.height = defaultHeight;
    $.fn.combotree.defaults.height = defaultHeight;
    $.fn.combogrid.defaults.height = defaultHeight;
    $.fn.combotreegrid.defaults.height = defaultHeight;
    $.fn.numberbox.defaults = defaultHeight;
    $.fn.datebox.defaults = defaultHeight;
    $.fn.datetimebox.defaults = defaultHeight;
    $.fn.spinner.defaults = defaultHeight;
    $.fn.numberspinner.defaults.height = defaultHeight;
  • 相关阅读:
    kubernetes集群系列资料20-metric介绍
    kubernetes集群系列资料19-dashboard介绍
    kubernetes集群系列资料18--K8S证书
    kubernetes集群系列资料16--helm介绍
    云安全产品使用---文件存储
    kubernetes集群系列资料15--安全机制介绍
    kubernetes集群系列资料14--scheduler介绍
    kubernetes集群系列资料17--prometheus介绍
    云安全产品使用---云安全中心
    kubernetes集群系列资料13--存储机制介绍
  • 原文地址:https://www.cnblogs.com/Jeely/p/11269665.html
Copyright © 2020-2023  润新知