关于easyadmin的表单提交

2021-09-26 10:41:37 浏览数 (3)

由于使用的是layui,所以用法如下

html代码:

代码语言:javascript复制
<div class="layui-btn layui-btn-sm layui-btn-success btnYuyue" data-seenum="{$vo.see_num}" data-fee="{$vo.doctor_price}" data-time="{$vo.start_time}-{$vo.end_time}" data-id="{$vo.time_id}">预约</div>

<script type="text/html" id="modelUser">
    <form id="modelYueForm" lay-filter="modelYueForm" class="layui-form model-form" style="padding:30px;">
        <div class="layui-form-item">
            <label class="layui-form-label">就诊号:</label>
            <div class="layui-input-block">
                <input name="the_num" id="the_num" type="text" class="layui-input" maxlength="20"
                       lay-verType="tips" lay-ver

1 人点赞