|
@@ -6,6 +6,12 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
|
6
|
6
|
$scope.wxIncidentWithCmdb = JSON.parse(sessionStorage.getItem("wxIncidentWithCmdb"));//资产
|
7
|
7
|
$scope.incidentWithConsumable = JSON.parse(sessionStorage.getItem("incidentWithConsumable"));//耗材
|
8
|
8
|
$rootScope.isFuwutai = JSON.parse(localStorage.getItem("isFuwutai")) ? true : false;
|
|
9
|
+ $scope.delFlagTab = false;
|
|
10
|
+ for (var i = 0; i < $rootScope.user.menu.length; i++) {
|
|
11
|
+ if ($rootScope.user.menu[i].link == "shijianliebiao_del") {
|
|
12
|
+ $scope.delFlagTab = true
|
|
13
|
+ }
|
|
14
|
+ }
|
9
|
15
|
// ----------------分割线 start-----------------
|
10
|
16
|
console.log($state)
|
11
|
17
|
// 故障地点下拉
|