first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1 @@
62a2bb75-3d37-42b5-9225-578334abf58f

View File

@@ -0,0 +1,41 @@
{extend name="admin@public/basic" /}
{block name="style"}
<link rel="stylesheet" href="__STATIC__/css/admin/public.css" media="all"/>
{/block}
{block name="cotent"}
<form class="layui-form">
<!--主表单渲染--开始-->
<table id="currentTable" lay-filter="currentTable"></table>
<!--主表单渲染--结束-->
</form>
{/block}
{block name="script"}
<script>
/**
* 生成表单
*/
$.form.table('current', '{:url("$thisRequest")}?type=ajax', [[
{field: 'sort', title: '排序', width: 100, edit: 'text', align: "center", sort: true},
{field: 'remark', title: '参数说明', align: 'center'},
{field: 'value', title: '参数值', edit: 'text', minWidth: 200, align: "center", style: 'background-color: #009688; color: #fff; border-radius: 15px;'},
{field: 'name', title: '参数名', align: 'center', sort: true},
{field: 'group', title: '组名', width: 200, align: 'center', sort: true},
]], false, 'line', 'lg', false);
/**
* 监听字段值编辑
*/
$.form.editField('currentTable', '{:url("$thisRequest")}');
/**
* 修改状态
*/
$.form.switch('modifyStatus', '{:url("$thisClass/status")}');
</script>
{/block}