ting.yin 2 år sedan
förälder
incheckning
83d9e9e411

+ 3 - 3
stmms-web/src/main/webapp/WEB-INF/application.properties

@@ -1,8 +1,8 @@
 #\u6570\u636e\u5e93\u914d\u7f6e
 jdbc.driver=com.mysql.jdbc.Driver
-jdbc.url=jdbc:mysql://192.168.10.223:3309/stmms_ft_new?useUnicode=true&characterEncoding=UTF-8
-jdbc.username=stmms
-jdbc.password=stmms
+jdbc.url=jdbc:mysql://localhost:3306/dbdx?useUnicode=true&characterEncoding=UTF-8
+jdbc.username=root
+jdbc.password=root
 jdbc.maxActive=50
 jdbc.initSize=5
 ##\u6587\u4ef6\u5b58\u50a8\u914d\u7f6e

+ 9 - 5
stmms-web/src/main/webapp/WEB-INF/views/modules/sys/configEdit.jsp

@@ -37,15 +37,19 @@
         </div>
     </div>
     <div class="control-group">
+		<c:if test="${config.type.value!=3 }">
         <label class="control-label">详情</label>
         <div class="controls">
-        	<c:if test="${config.type.value==3 }">
-        		<input name="description" type="checkbox" <c:if test="${config.description=='on'}">checked</c:if>/>
-        	</c:if>
-        	<c:if test="${config.type.value!=3 }">
             <form:textarea path="description" htmlEscape="false" rows="4" maxlength="200" class="input-xxlarge"/>
-        	</c:if>
         </div>
+		</c:if>
+		
+		<c:if test="${config.type.value==3 }">
+		<label class="control-label">是否开启</label>
+        	<div class="controls">
+        		<input name="description" type="checkbox" <c:if test="${config.description=='on'}">checked</c:if>/>
+        	</div>
+       	</c:if>
     </div>
     <div class="form-actions">
         <input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>&nbsp;