layui更新到最新的2.92版本

This commit is contained in:
HDM58\hdm58 2023-12-26 08:24:22 +08:00
parent fd2c3015e9
commit bd9fddcbb5
8 changed files with 11 additions and 21 deletions

View File

@ -18,13 +18,6 @@
<input type="hidden" name="check_admin_ids" value=""> <input type="hidden" name="check_admin_ids" value="">
</td> </td>
</tr> </tr>
<tr>
<td class="layui-td-gray">抄送人</td>
<td colspan="7">
<input type="text" name="copy_names" value="" autocomplete="off" placeholder="请选择抄送人" class="layui-input picker-more" readonly>
<input type="hidden" name="copy_uids" value="">
</td>
</tr>
</table> </table>
{/eq} {/eq}
<div class="pt-2"> <div class="pt-2">

View File

@ -1,9 +1,7 @@
<table class="layui-table layui-table-form" style="margin-top:12px"> <table class="layui-table layui-table-form" style="margin-top:12px">
<tr> <tr>
<td class="layui-td-gray-2">当前审核人</td> <td class="layui-td-gray-2">当前审核人</td>
<td>{$detail.check_user}</td> <td colspan="3">{$detail.check_user}</td>
<td class="layui-td-gray">抄送人</td>
<td>{$detail.copy_user}</td>
</tr> </tr>
<tr> <tr>
<td class="layui-td-gray">审批流程</td> <td class="layui-td-gray">审批流程</td>

View File

@ -208,7 +208,8 @@ return [
if (false == file_put_contents(CMS_ROOT . "config/install.lock", '勾股OA安装鉴定文件请勿删除此次安装时间为' . date('Y-m-d H:i:s', time()))) { if (false == file_put_contents(CMS_ROOT . "config/install.lock", '勾股OA安装鉴定文件请勿删除此次安装时间为' . date('Y-m-d H:i:s', time()))) {
return to_assign(1, '创建安装鉴定文件失败,请检查目录权限'); return to_assign(1, '创建安装鉴定文件失败,请检查目录权限');
} }
$domain = get_system_config('web','domain'); //$domain = get_system_config('web','domain');
$domain = 'https://www.gougucms.com';
return to_assign(0,'安装完成',$domain); return to_assign(0,'安装完成',$domain);
} }
} }

View File

@ -167,16 +167,14 @@
$("#install").attr({disabled: "disabled"}).html('安装中...'); $("#install").attr({disabled: "disabled"}).html('安装中...');
}, },
success: function (res) { success: function (res) {
clearInterval(timer); if (res.code == 0) {
if (res.code == 1) {
$('#progress').css('display', 'none');
layer.msg(res.msg);
} else {
element.progress('demo', 100 + '%'); element.progress('demo', 100 + '%');
$('#form').hide(); $('#form').hide();
$('#complete').show(); $('#complete').show();
install_ajax(res.data); install_ajax(res.data);
return false; } else {
$('#progress').css('display', 'none');
layer.msg(res.msg);
} }
}, },
complete: function () { complete: function () {

View File

@ -18,7 +18,7 @@ require __DIR__ . '/../vendor/autoload.php';
define('CMS_VERSION','4.95.12'); define('CMS_VERSION','4.95.12');
// 定义Layui版本号 // 定义Layui版本号
define('LAYUI_VERSION','2.9.0'); define('LAYUI_VERSION','2.9.2');
// 定义项目目录 // 定义项目目录
define('CMS_ROOT', __DIR__ . '/../'); define('CMS_ROOT', __DIR__ . '/../');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -394,7 +394,7 @@ if (!function_exists('echo_value')) {
<?php } ?> <?php } ?>
<div class="copyright"> <div class="copyright">
<a title="勾股OA" href="http://www.gugugcms.com">勾股OA</a> <a title="勾股OA" href="http://www.gougucms.com">勾股OA</a>
<span>—— 信息化、数字化办公系统的优秀解决方案</span> <span>—— 信息化、数字化办公系统的优秀解决方案</span>
</div> </div>
<?php if (\think\facade\App::isDebug()) { ?> <?php if (\think\facade\App::isDebug()) { ?>