<?php $grant = WSTGrant('SCPZ_02'); ?> <div class="layui-tab-item layui-show layui-form"> <table class='wst-form wst-box-top'> <input type="hidden" id='isDataConfigs' class='ipt' value="1"> {foreach $dataConfigs as $vo} <tr> <th width='350'>{$vo.fieldName}</th> <td><input type="text" id='{$vo.configId}' class='ipt' value="{$vo.fieldValue}" maxLength='100' placeholder='{$vo.fieldName}'/></td> </tr> {/foreach} {if ($grant)} <tr> <td colspan='2' align='center'> <button type="button" onclick='javascript:edit()' style='margin-right:15px;' class='btn btn-primary btn-mright'><i class="fa fa-check"></i>保存</button> <button type="reset" class='btn'><i class="fa fa-refresh"></i>重置</button> </td> </tr> {/if} </table> </div>