1.系统业务管理增加提交保存时防止重复提交的处理
2.系统业务列表按serviceId升序排序
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
<if test="serviceIdPre != null">
|
||||
and service_id like concat(#{serviceIdPre}, '%')
|
||||
</if>
|
||||
order by ssi.service_id asc
|
||||
</select>
|
||||
|
||||
<select id="get" resultMap="systemServiceInfoMap">
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
if (flag) {
|
||||
loading('LOADING...');
|
||||
$("[disabled=disabled]").attr("disabled", false);
|
||||
$("#submitBtn").attr("disabled", true);//防止重复提交
|
||||
form.submit();
|
||||
} else {
|
||||
flag = true;
|
||||
@@ -324,7 +325,7 @@
|
||||
<div class="form-actions">
|
||||
<div class="row">
|
||||
<div class="col-md-offset-3 col-md-9">
|
||||
<shiro:hasPermission name="system:service:edit"><input type="submit" class="btn btn-circle blue" value=<spring:message code="submit"></spring:message>></shiro:hasPermission>
|
||||
<shiro:hasPermission name="system:service:edit"><input id="submitBtn" type="submit" class="btn btn-circle blue" value=<spring:message code="submit"></spring:message>></shiro:hasPermission>
|
||||
<button type="button" class="btn btn-circle grey-salsa btn-outline" onclick="history.go(-1)"><spring:message code="cancel"></spring:message></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user