Commit 3551f304 by caosy

删除卷权限

parent 4fa0521f
...@@ -623,11 +623,11 @@ $(function() { ...@@ -623,11 +623,11 @@ $(function() {
<#if vourcher.used == 1> <#if vourcher.used == 1>
<font color="red">已使用</font> <font color="red">已使用</font>
<#else> <#else>
<#if vourcher.endUseDate?datetime gt.now?datetime > <#if vourcher.endUseDate?datetime gt.now?datetime >
<font color="green">未使用</font> <font color="green">未使用</font>
<#else> <#else>
<font color="grey">已过期</font> <font color="grey">已过期</font>
</#if> </#if>
</#if> </#if>
</td> </td>
...@@ -645,9 +645,12 @@ $(function() { ...@@ -645,9 +645,12 @@ $(function() {
<#if vourcher.ruleId??> <#if vourcher.ruleId??>
<button type="button" class="btn-warning view-voucher" data-ruleid="${vourcher.ruleId}">规则</button> <button type="button" class="btn-warning view-voucher" data-ruleid="${vourcher.ruleId}">规则</button>
</#if> </#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> </form>
</td> </td>
<td> <td>
<input id = 'voucherId' class='delete-all-check' type='checkbox' name='checkbox'/> <input id = 'voucherId' class='delete-all-check' type='checkbox' name='checkbox'/>
</td> </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