|
@@ -90,7 +90,7 @@
|
|
|
<div class="row" style="padding:0 15px">
|
|
|
<div class="th-wid-6 ibox-th-colorbar1">
|
|
|
|
|
|
- <div class="col-sm-6 ibox-left-th" onclick="addToast()">
|
|
|
+ <div class="col-sm-6 ibox-left-th">
|
|
|
<img th:src="@{/img/jkzs.png}">
|
|
|
<h5>接口总数</h5>
|
|
|
</div>
|
|
@@ -332,7 +332,7 @@
|
|
|
success: function(result) {
|
|
|
let content = "";
|
|
|
for(let i=0;i<result.length;i++){
|
|
|
- let temp = "<p style='font-size: 15px;'><a style='color: #333;'>【{deptName}】用户【{userName}】的权限还有{remainingDays}天到期,请及时处理!</a></p>";
|
|
|
+ let temp = "<p style='font-size: 15px;'><a style='color: #333;' onclick='openPerTab()'>【{deptName}】用户【{userName}】的权限还有{remainingDays}天到期,请及时处理!</a></p>";
|
|
|
temp = temp.replace("{deptName}",result[i].deptName);
|
|
|
temp = temp.replace("{userName}",result[i].userName);
|
|
|
temp = temp.replace("{remainingDays}",result[i].remainingDays);
|
|
@@ -352,6 +352,11 @@
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
+ function openPerTab(){
|
|
|
+ $("a[href='/system/tempPer']",parent.document)[0].click();
|
|
|
+ }
|
|
|
+
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|