Browse Source

Merge branch 'master' of http://121.42.53.174:3000/bulomakaka/ekexiu.com.portal.git

luyanan 8 years ago
parent
commit
4e4bd03cdc
2 changed files with 15 additions and 5 deletions
  1. 2 2
      src/main/resources/log4j.properties
  2. 13 3
      src/main/webapp/js/workindex.js

+ 2 - 2
src/main/resources/log4j.properties

9

9

10
### \u8F93\u51FADEBUG \u7EA7\u522B\u4EE5\u4E0A\u7684\u65E5\u5FD7\u5230=E://logs/log.log ###
10
### \u8F93\u51FADEBUG \u7EA7\u522B\u4EE5\u4E0A\u7684\u65E5\u5FD7\u5230=E://logs/log.log ###
11
log4j.appender.D = org.apache.log4j.DailyRollingFileAppender
11
log4j.appender.D = org.apache.log4j.DailyRollingFileAppender
12
log4j.appender.D.File = /home/tomcat/apache-tomcat-7.0.73/webapps/log.log
12
log4j.appender.D.File = /home/tomcat/apache-tomcat-7.0.73/webapps/logs/log.log
13
log4j.appender.D.Append = true
13
log4j.appender.D.Append = true
14
log4j.appender.D.Threshold = DEBUG 
14
log4j.appender.D.Threshold = DEBUG 
15
log4j.appender.D.layout = org.apache.log4j.PatternLayout
15
log4j.appender.D.layout = org.apache.log4j.PatternLayout
17

17

18
### \u8F93\u51FAERROR \u7EA7\u522B\u4EE5\u4E0A\u7684\u65E5\u5FD7\u5230=E://logs/error.log ###
18
### \u8F93\u51FAERROR \u7EA7\u522B\u4EE5\u4E0A\u7684\u65E5\u5FD7\u5230=E://logs/error.log ###
19
log4j.appender.E = org.apache.log4j.DailyRollingFileAppender
19
log4j.appender.E = org.apache.log4j.DailyRollingFileAppender
20
log4j.appender.E.File =/home/tomcat/apache-tomcat-7.0.73/webapps/error.log 
20
log4j.appender.E.File =/home/tomcat/apache-tomcat-7.0.73/webapps/logs/error.log 
21
log4j.appender.E.Append = true
21
log4j.appender.E.Append = true
22
log4j.appender.E.Threshold = ERROR 
22
log4j.appender.E.Threshold = ERROR 
23
log4j.appender.E.layout = org.apache.log4j.PatternLayout
23
log4j.appender.E.layout = org.apache.log4j.PatternLayout

+ 13 - 3
src/main/webapp/js/workindex.js

30
					}
30
					}
31
				}
31
				}
32
			if(data.data.office) {
32
			if(data.data.office) {
33
				$("#office").text(data.data.office+",");
33
				if(data.data.title) {
34
					$("#office").text(data.data.office+",");
35
				}else{
36
					$("#office").text(data.data.office);
37
				}
38
				
34
			}
39
			}
35
			if(data.data.title) {
40
			if(data.data.title) {
36
				$("#title").text(data.data.title+",");
41
				$("#title").text(data.data.title);
37
			}			
42
			}			
38
			if(data.data.department) {
43
			if(data.data.department) {
39
				$("#department").text(data.data.department+",");
44
				if(data.data.orgName) {
45
					$("#department").text(data.data.department+",");
46
				}else{
47
					$("#department").text(data.data.department);
48
				}
49
				
40
			}
50
			}
41
			if(data.data.orgName) {
51
			if(data.data.orgName) {
42
				$("#organization").text(data.data.orgName);
52
				$("#organization").text(data.data.orgName);