|
|
@ -14,7 +14,7 @@
|
|
|
|
<script type="text/javascript" src="/static/lib/jweixin/jweixin-1.0.0.js"></script>
|
|
|
|
<script type="text/javascript" src="/static/lib/jweixin/jweixin-1.0.0.js"></script>
|
|
|
|
<script type="text/javascript" src="/static/lib/jquery/jquery-2.1.4.min.js"></script>
|
|
|
|
<script type="text/javascript" src="/static/lib/jquery/jquery-2.1.4.min.js"></script>
|
|
|
|
<script type="text/javascript" src="/static/lib/decimal/decimal.min.js"></script>
|
|
|
|
<script type="text/javascript" src="/static/lib/decimal/decimal.min.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript" data-th-inline="javascript">
|
|
|
|
$(document).ready(function () {
|
|
|
|
$(document).ready(function () {
|
|
|
|
$('#orgSelect').change(function () {
|
|
|
|
$('#orgSelect').change(function () {
|
|
|
|
var orgId = $(this).val();
|
|
|
|
var orgId = $(this).val();
|
|
|
@ -47,11 +47,12 @@
|
|
|
|
obj.apply_approve_result = 1;
|
|
|
|
obj.apply_approve_result = 1;
|
|
|
|
obj.bd_name = $('#bdSelect option:selected').html();
|
|
|
|
obj.bd_name = $('#bdSelect option:selected').html();
|
|
|
|
var org_id = $('#orgSelect').val();
|
|
|
|
var org_id = $('#orgSelect').val();
|
|
|
|
|
|
|
|
var client_apply_id = /*[[${applyClient['client_apply_id']}]]*/0;
|
|
|
|
if (!obj.bd_id || !obj.bd_name) {
|
|
|
|
if (!obj.bd_id || !obj.bd_name) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
url: '/partners/application/' + '${applyClient.client_apply_id}',
|
|
|
|
url: '/partners/application/' + client_apply_id,
|
|
|
|
method: 'PUT',
|
|
|
|
method: 'PUT',
|
|
|
|
data: JSON.stringify(obj),
|
|
|
|
data: JSON.stringify(obj),
|
|
|
|
contentType: 'application/json',
|
|
|
|
contentType: 'application/json',
|
|
|
@ -63,9 +64,10 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$('#refusePartner').click(function () {
|
|
|
|
$('#refusePartner').click(function () {
|
|
|
|
var obj = {};
|
|
|
|
var obj = {};
|
|
|
|
|
|
|
|
var client_apply_id = /*[[${applyClient['client_apply_id']}]]*/0;
|
|
|
|
obj.apply_approve_result = 3;
|
|
|
|
obj.apply_approve_result = 3;
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
url: '/partners/application/' + '${applyClient.client_apply_id}',
|
|
|
|
url: '/partners/application/' + client_apply_id,
|
|
|
|
method: 'PUT',
|
|
|
|
method: 'PUT',
|
|
|
|
data: JSON.stringify(obj),
|
|
|
|
data: JSON.stringify(obj),
|
|
|
|
contentType: 'application/json',
|
|
|
|
contentType: 'application/json',
|
|
|
|