1.系统业务管理增加提交保存时防止重复提交的处理

2.系统业务列表按serviceId升序排序
This commit is contained in:
chenjinsong
2018-03-08 14:31:54 +08:00
parent 5294f42df1
commit c0dee1ec1e
2 changed files with 3 additions and 1 deletions

View File

@@ -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">

View File

@@ -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>