ass="ui labeled button" tabindex="0"> Watch 1
Star 0
Fork 0

No Description

index.js 2.1KB

    ; spa_define(function() { return $.use(["spa", "pagedatagrid", "util", "dict"], function(spa, pdgf, util, dict) { return { main: function() { var root = spa.findInMain(".sys_dict_index"); root.find(".opt-new").on("click", function() { spa.showModal("sys_dict_add", function() { pdg.load() }); }); var pdg = pdgf.build(root); var bindDataEvent = function() { root.find(".table-opt i.icon-edit").on("click", function() { var $this = $(this); var code = $this.parent().attr("dictCode"); if(code) { util.get("../ajax/sys/dict/info/" + code, null, function(data) { if(data.readonly) { util.alert("只读的"); } else { spa.showModal("sys_dict_edit", { data: data, hand: function() { pdg.load(); } }); } }); } }); root.find(".table-opt i.icon-list-ul").on("click", function() { var $this = $(this); var code = $this.parent().attr("dictCode"); if(code) { util.get("../ajax/sys/dict/item/" + code, null, function(data) { spa.showModal("sys_dict_itemlist", { data: data, hand: function() { pdg.load(); } }); }); } }); root.find(".table-opt i.icon-tasks").on("click", function() { var $this = $(this); var code = $this.parent().attr("dictCode"); if(code) { util.get("../ajax/sys/dict/editItem/" + code, null, function(data) { spa.showModal("sys_dict_itemedit", { data: data, code: code, hand: function() { pdg.load(); } }); }); } }); }; pdg.code.listen(dict.doTransfer); pdg.code.listen(bindDataEvent); pdg.code.shell("bool", function(env) { var v = env.cd[this.k]; return v === true ? "是" : (v === false ? "否" : ""); }); root.find(".opt-query").on("click", function() { pdg.load(); }); pdg.load(); } }; }); });
bulomakaka/ekexiu.app - Gogs: Go Git Service

2 次代码提交 (1f899d3cc8e5b0110856645cc93b9fd022849eb6)

作者 SHA1 备注 提交日期
  dell 75742c1bc2 客服帮助中投诉和建议接口接通 8 年之前
  dell 98b9ade7a5 意见反馈,投诉建议,常见问题,联系客服的上传 8 年之前
portal-front - Gogs: Go Git Service

portal html css js resource

info_warn.png 1.3KB

suryee - Gogs: Go Git Service

赛亿官网

ErrorException.php 1.8KB

    <?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2017 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- // | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://zjzit.cn> // +---------------------------------------------------------------------- namespace think\exception; use think\Exception; /** * ThinkPHP错误异常 * 主要用于封装 set_error_handler 和 register_shutdown_function 得到的错误 * 除开从 think\Exception 继承的功能 * 其他和PHP系统\ErrorException功能基本一样 */ class ErrorException extends Exception { /** * 用于保存错误级别 * @var integer */ protected $severity; /** * 错误异常构造函数 * @param integer $severity 错误级别 * @param string $message 错误详细信息 * @param string $file 出错文件路径 * @param integer $line 出错行号 * @param array $context 错误上下文,会包含错误触发处作用域内所有变量的数组 */ public function __construct($severity, $message, $file, $line, array $context = []) { $this->severity = $severity; $this->message = $message; $this->file = $file; $this->line = $line; $this->code = 0; empty($context) || $this->setData('Error Context', $context); } /** * 获取错误级别 * @return integer 错误级别 */ final public function getSeverity() { return $this->severity; } }
XMTT/markdown-wiki - Gogs: Go Git Service

1 Commits (2d914b30acbb37ad671791c07c14a6c923e99fd8)

Author SHA1 Message Date
  huwhois 9f2d52e3d8 ace 编辑器补充 3 years ago
jiapeng/console-front - Gogs: Go Git Service

1 Revīzijas (3ef08aa633cf04a4b891ed307b61556bba6cb948)

Autors SHA1 Ziņojums Datums
  jiapeng 88b04163ec 7 gadi atpakaļ
bulomakaka/ekexiu.app - Gogs: Go Git Service

2 Commits (9a1914b689dcd55750467acbc32c996a80740a5c)

Autor SHA1 Mensagem Data
  luyanan d1a68566fc 把图片定义成iconfont图标字体 8 anos atrás
  luyanan c82676775b 首次上传头像和默认头像 8 anos atrás
suryee - Gogs: Go Git Service

赛亿官网

huwhois cf9f223ce1 初始化 3 jaren geleden
..
make cf9f223ce1 初始化 3 jaren geleden
optimize cf9f223ce1 初始化 3 jaren geleden
Build.php cf9f223ce1 初始化 3 jaren geleden
Clear.php cf9f223ce1 初始化 3 jaren geleden
Help.php cf9f223ce1 初始化 3 jaren geleden
Lists.php cf9f223ce1 初始化 3 jaren geleden
Make.php cf9f223ce1 初始化 3 jaren geleden
bulomakaka/ekexiu.app - Gogs: Go Git Service

2 次代碼提交 (9a1914b689dcd55750467acbc32c996a80740a5c)

作者 SHA1 備註 提交日期
  luyanan d1a68566fc 把图片定义成iconfont图标字体 8 年之前
  luyanan c82676775b 首次上传头像和默认头像 8 年之前
Sign In - Gogs: Go Git Service

Sign In