forked from aslan/applicant-site
Compare commits
No commits in common. "ca2c92f4feca2465a1a8cc345191082707f2013c" and "ab0d2db731c3d0e2292f1ffcba93e98c3318107c" have entirely different histories.
ca2c92f4fe
...
ab0d2db731
|
@ -332,23 +332,6 @@
|
||||||
<!--Здесь пишем ЯВА СКРИПТ-->
|
<!--Здесь пишем ЯВА СКРИПТ-->
|
||||||
<script>
|
<script>
|
||||||
$(".button_chng_instit").click(function () {
|
$(".button_chng_instit").click(function () {
|
||||||
console.log('111')
|
|
||||||
let id=$(this).data('id');
|
|
||||||
let institut=$(this).data('institut');
|
|
||||||
if(institut=='mgtu') {
|
|
||||||
$("#content_budget_filial_" + id).hide();
|
|
||||||
$("#content_budget_mgtu_" + id).show();
|
|
||||||
$("#id_mgtu_" + id).show();
|
|
||||||
$("#id_filial_" + id).hide();
|
|
||||||
}else{
|
|
||||||
$("#content_budget_filial_"+id).show();
|
|
||||||
$("#content_budget_mgtu_"+id).hide();
|
|
||||||
$("#id_mgtu_"+id).hide();
|
|
||||||
$("#id_filial_"+id).show();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$(document).on("click", ".calc_green_circle_button", function () {
|
|
||||||
console.log('111')
|
|
||||||
let id=$(this).data('id');
|
let id=$(this).data('id');
|
||||||
let institut=$(this).data('institut');
|
let institut=$(this).data('institut');
|
||||||
if(institut=='mgtu') {
|
if(institut=='mgtu') {
|
||||||
|
@ -415,7 +398,6 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<script>window.onload = function () {
|
<script>window.onload = function () {
|
||||||
|
|
||||||
$(".unclearall").click(function () {
|
$(".unclearall").click(function () {
|
||||||
|
|
||||||
$('input[type="checkbox"]').prop('checked', false);
|
$('input[type="checkbox"]').prop('checked', false);
|
||||||
|
@ -451,7 +433,22 @@
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
|
$(".calc_green_circle_button").click(function () {
|
||||||
|
console.log('111')
|
||||||
|
let name=$(this).data('id');
|
||||||
|
let institut=$(this).data('institut');
|
||||||
|
if(institut=='mgtu') {
|
||||||
|
$("#content_budget_filial_" + id).hide();
|
||||||
|
$("#content_budget_mgtu_" + id).show();
|
||||||
|
$("#id_mgtu_" + id).show();
|
||||||
|
$("#id_filial_" + id).hide();
|
||||||
|
}else{
|
||||||
|
$("#content_budget_filial_"+id).show();
|
||||||
|
$("#content_budget_mgtu_"+id).hide();
|
||||||
|
$("#id_mgtu_"+id).hide();
|
||||||
|
$("#id_filial_"+id).show();
|
||||||
|
}
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue