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