|
@@ -78,7 +78,7 @@
|
|
|
<% if (ctx.stage.status === auditConst.status.checking) { %>
|
|
|
<% if (ctx.stage.curAuditor && ctx.stage.curAuditor.aid === ctx.session.sessionUser.accountId) { %>
|
|
|
<!--审批通过-->
|
|
|
- <div class="modal fade" id="sp-done" data-backdrop="static">
|
|
|
+ <div class="modal fade sp-location-list" id="sp-done" data-backdrop="static">
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
<form class="modal-content" action="<%- preUrl %>/audit/check" method="post" id="audit-check0">
|
|
|
<div class="modal-header">
|
|
@@ -236,7 +236,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--审批退回-->
|
|
|
- <div class="modal fade" id="sp-back" data-backdrop="static">
|
|
|
+ <div class="modal fade sp-location-list" id="sp-back" data-backdrop="static">
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
<form class="modal-content modal-lg" action="<%- preUrl %>/audit/check" method="post" id="audit-check1" >
|
|
|
<div class="modal-header">
|
|
@@ -1103,7 +1103,7 @@
|
|
|
</div>
|
|
|
<% if (ctx.session.sessionUser.accountId === ctx.stage.curAuditor.aid) { %>
|
|
|
<!--审批通过-->
|
|
|
- <div class="modal fade" id="sp-done" data-backdrop="static">
|
|
|
+ <div class="modal fade sp-location-list" id="sp-done" data-backdrop="static">
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
<form class="modal-content" action="<%- preUrl %>/audit/check" method="post" id="audit-check2">
|
|
|
<div class="modal-header">
|
|
@@ -1261,7 +1261,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--审批退回-->
|
|
|
- <div class="modal fade" id="sp-back" data-backdrop="static">
|
|
|
+ <div class="modal fade sp-location-list" id="sp-back" data-backdrop="static">
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
<form class="modal-content" action="<%- preUrl %>/audit/check" method="post" id="audit-check3">
|
|
|
<div class="modal-header">
|
|
@@ -1595,7 +1595,7 @@
|
|
|
});
|
|
|
|
|
|
// 定位到审批框高度
|
|
|
- $('.modal').on('shown.bs.modal', function () {
|
|
|
+ $('.sp-location-list').on('shown.bs.modal', function () {
|
|
|
const height = $(this)[0].scrollHeight;
|
|
|
const scrollBox = $(this).find('div[class="col-8 modal-height-500"]');
|
|
|
const bdiv = (scrollBox.offset() && scrollBox.offset().top) || 0;
|