Commit 3551f304 by caosy

删除卷权限

parent 4fa0521f
......@@ -623,11 +623,11 @@ $(function() {
<#if vourcher.used == 1>
<font color="red">已使用</font>
<#else>
<#if vourcher.endUseDate?datetime gt.now?datetime >
<font color="green">未使用</font>
<#else>
<font color="grey">已过期</font>
</#if>
<#if vourcher.endUseDate?datetime gt.now?datetime >
<font color="green">未使用</font>
<#else>
<font color="grey">已过期</font>
</#if>
</#if>
</td>
......@@ -645,9 +645,12 @@ $(function() {
<#if vourcher.ruleId??>
<button type="button" class="btn-warning view-voucher" data-ruleid="${vourcher.ruleId}">规则</button>
</#if>
<button type="button" class="btn-danger delete-voucher">删除</button>
<#if "${Session['SPRING_SECURITY_CONTEXT'].authentication.name}" == "fuhaoy" || "${Session['SPRING_SECURITY_CONTEXT'].authentication.name}" == "kyu">
<button type="button" class="btn-danger delete-voucher">删除</button>
</#if>
</form>
</td>
<td>
<input id = 'voucherId' class='delete-all-check' type='checkbox' name='checkbox'/>
</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment