EIOS/rabprog/tpl/page_shahtplan_checks.html

86 lines
3.3 KiB
HTML
Raw Permalink Normal View History

2023-12-28 15:39:22 +03:00
{if $view=="compet_check"}
{*<pre>{print_r($PLAN)}</pre>
<pre>{print_r($NOCOMP)}</pre>*}
<h2>Просмотр компетенций в файле и сравнение с компетенциями в таблице</h2>
<h3>Таблица компетенций которых нет</h3>
<table class="table">
<thead>
<tr>
<th>ШИФР</th>
<th>Дисциплина</th>
<th>Компет ИНДЕКС</th>
<th></th>
</tr>
</thead>
<tbody>
{foreach from=$NOCOMP item=nc}<tr>
<td>{$nc.shifr}</td>
<td>{$nc.discip}</td>
<td>{$nc.komp.index}</td>
<td>
{if $nc.insert_rez.err==0}
<span class="badge rounded-pill bg-success">добавили</span>
{else}
<span class="badge rounded-pill bg-danger">не добавили</span>
{/if}
{if $nc.id_ucheb_plan==0}
<span class="badge rounded-pill bg-secondary">дисциплины не было</span>
{if $nc.id_ucheb_plan_s==0}
<span class="badge rounded-pill bg-warning text-dark">похожих нет</span>
{else}
<span class="badge rounded-pill bg-primary">Подбор №{$nc.id_ucheb_plan_s}</span>
{/if}
{else}
<span class="badge rounded-pill bg-success">Дисц. №{$nc.id_ucheb_plan}</span>
{/if}
</td>
</tr>{/foreach}
</tbody>
</table>
{*<pre>{print_r($NOCOMP)}</pre>
<pre>{print_r($DBCOMP)}</pre>
<pre>{print_r($FCOMP)}</pre>*}
{*
<div>
[plan] => Array(
[36] => Array(
[id] => 33644 [id_file] => 358 [index1] => Б3.01 [name] => РВКР
[ekzamen] => 0 [zachet] => 0 [zachetsocenk] => 0 [kr] => 0 [kp] => 0 [kontrol] => 0
[json] => Array(
[4] => Array(
[8] => Array( [ze] => 9 [srp] => 20 [sr] => 268 [krat] => 0.5 [kontrol] => 35.5 )
)
)
[status] => 1 [kaf_kod] => 28 [kaf_name] => Землеустройства
[discip_prepod] => Array( )
[discip_save] => Array( )
)
)
</div>
<div>
[competen] => Array(
[1] => Array(
[id] => 72303 [id_file] => 358 [index] => УК-1.1
[descrip] => Анализирует задачу, выделяя ее базовые составляющие, осуществляет декомпозицию задачи
[discips] => Array(
[0] => Array( [id] => 33923 [index1] => Б1.О.07 [name] => Информационные технологии)
[1] => Array( [id] => 33613 [index1] => Б1.О.06 [name] => Физика )
[2] => Array( [id] => 33612 [index1] => Б1.О.05 [name] => Математика )
[3] => Array( [id] => 33610 [index1] => Б1.О.02 [name] => Философия )
[4] => Array( [id] => 33644 [index1] => Б3.01 [name] => РВКР )
)
)
)
</div>
<div>
[planfile] => Array(
[Б1.О.01] => Array(
[ezfo_ze] =>[kafcod] => 2[kafname] => Истории и права[index] => Б1.О.01[name] => 2[ekzamen] => 0
[zachet] => 0[zachetsocenk] => 0[json] => null[kr] => 0[kp] => 0[kontrol] => 0[json1] =>
)
)
</div>
*}
{/if}