修改权限异常

master
20918 10 months ago
parent fbab8f228b
commit b74b6c584e

@ -29,4 +29,6 @@ public class TdUserExamController extends BaseController {
} }
} }

@ -69,7 +69,7 @@ public class TdPropertyChangeController extends BaseController {
/** /**
* *
*/ */
@RequiresPermissions("system:changeproperty:change") @RequiresPermissions("system:changeproperty:destory")
@GetMapping("/destory/{id}") @GetMapping("/destory/{id}")
public String destory(@PathVariable("id") String id, ModelMap mmap) public String destory(@PathVariable("id") String id, ModelMap mmap)
{ {
@ -81,7 +81,7 @@ public class TdPropertyChangeController extends BaseController {
/** /**
* *
*/ */
@RequiresPermissions("system:changeproperty:change") @RequiresPermissions("system:changeproperty:destory")
@Log(title = "资产变更", businessType = BusinessType.UPDATE) @Log(title = "资产变更", businessType = BusinessType.UPDATE)
@PostMapping("/destory") @PostMapping("/destory")
@ResponseBody @ResponseBody

@ -39,16 +39,16 @@
</div> </div>
<div class="btn-group-sm" id="toolbar" role="group"> <div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="hanldAdd()" shiro:hasPermission="system:netinfo:add"> <a class="btn btn-success" onclick="hanldAdd()" shiro:hasPermission="system:network:add">
<i class="fa fa-plus"></i> 添加 <i class="fa fa-plus"></i> 添加
</a> </a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:netinfo:edit"> <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:network:edit">
<i class="fa fa-edit"></i> 修改 <i class="fa fa-edit"></i> 修改
</a> </a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:netinfo:remove"> <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:network:remove">
<i class="fa fa-remove"></i> 删除 <i class="fa fa-remove"></i> 删除
</a> </a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:netinfo:export"> <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:network:export">
<i class="fa fa-download"></i> 导出 <i class="fa fa-download"></i> 导出
</a> </a>
<a class="btn btn-danger" onclick="closeItem()"> <a class="btn btn-danger" onclick="closeItem()">

@ -39,13 +39,13 @@
</div> </div>
<div class="btn-group-sm" id="toolbar" role="group"> <div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="hanldAdd()" shiro:hasPermission="system:propertyinfo:add"> <a class="btn btn-success" onclick="hanldAdd()" shiro:hasPermission="system:property:add">
<i class="fa fa-plus"></i> 添加 <i class="fa fa-plus"></i> 添加
</a> </a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:propertyinfo:remove"> <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:property:remove">
<i class="fa fa-remove"></i> 删除 <i class="fa fa-remove"></i> 删除
</a> </a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:propertyinfo:export"> <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:property:export">
<i class="fa fa-download"></i> 导出 <i class="fa fa-download"></i> 导出
</a> </a>
<a class="btn btn-danger" onclick="closeItem()"> <a class="btn btn-danger" onclick="closeItem()">

@ -60,7 +60,7 @@
</div> </div>
<th:block th:include="include :: footer" /> <th:block th:include="include :: footer" />
<script th:inline="javascript"> <script th:inline="javascript">
var detailFlag = [[${@permission.hasPermi('monitor:train:detail')}]]; var detailFlag = [[${@permission.hasPermi('system:train:detail')}]];
var editFlag = [[${@permission.hasPermi('system:train:edit')}]]; var editFlag = [[${@permission.hasPermi('system:train:edit')}]];
var examineFlag = [[${@permission.hasPermi('system:train:examine')}]]; var examineFlag = [[${@permission.hasPermi('system:train:examine')}]];
var removeFlag = [[${@permission.hasPermi('system:train:remove')}]]; var removeFlag = [[${@permission.hasPermi('system:train:remove')}]];

@ -51,7 +51,7 @@
</div> </div>
<th:block th:include="include :: footer" /> <th:block th:include="include :: footer" />
<script th:inline="javascript"> <script th:inline="javascript">
var detailFlag = [[${@permission.hasPermi('monitor:train:detail')}]]; var detailFlag = [[${@permission.hasPermi('system:trainnum:print')}]];
var trainTypeDatas = [[${@dict.getType('sys_usertrain_typer')}]]; var trainTypeDatas = [[${@dict.getType('sys_usertrain_typer')}]];
var trainSubjectDatas = [[${@dict.getType('sys_usertrain_obj')}]]; var trainSubjectDatas = [[${@dict.getType('sys_usertrain_obj')}]];
var trainStateDatas = [[${@dict.getType('sys_examine_state')}]]; var trainStateDatas = [[${@dict.getType('sys_examine_state')}]];

Loading…
Cancel
Save