|
|
@@ -1,7 +1,7 @@
|
|
1
|
1
|
"use strict";
|
|
2
|
2
|
|
|
3
|
3
|
angular.module('app.system').controller("headerCtrl",
|
|
4
|
|
- function($scope, $rootScope, $uibModal, userService, selectService, $state) {
|
|
|
4
|
+ function($scope, $rootScope, $uibModal, userService, selectService, systemLogService, $state) {
|
|
5
|
5
|
$rootScope.isIndexPage = true;
|
|
6
|
6
|
|
|
7
|
7
|
//判断是否是应急
|
|
|
@@ -84,6 +84,7 @@ angular.module('app.system').controller("headerCtrl",
|
|
84
|
84
|
var sheight = screen.height-70;
|
|
85
|
85
|
var swidth = screen.width-10;
|
|
86
|
86
|
var winoption ="dialogHeight:"+sheight+"px;dialogWidth:"+ swidth +"px;status:no;scroll:no;resizable:yes;center:no;minimize:yes;maximize:yes;location:no";
|
|
|
87
|
+ systemLogService.save();//保存跳转出入库日志
|
|
87
|
88
|
try {
|
|
88
|
89
|
window.showModalDialog(url,window,winoption);
|
|
89
|
90
|
}catch(e){
|