|
|
|
|
|
|
|
|
<div class="content-max-height"> |
|
|
<div class="content-max-height"> |
|
|
<ul id="list-users"> |
|
|
<ul id="list-users"> |
|
|
<li v-for="user in usersArray" v-if="!termSearchUser.length || (termSearchUser.length && (user.lastname.toLowerCase().indexOf(termSearchUser.toLowerCase()) != -1 || user.name.toLowerCase().indexOf(termSearchUser.toLowerCase()) != -1 ))"> |
|
|
<li v-for="user in usersArray" v-if="!termSearchUser.length || (termSearchUser.length && (user.lastname.toLowerCase().indexOf(termSearchUser.toLowerCase()) != -1 || user.name.toLowerCase().indexOf(termSearchUser.toLowerCase()) != -1 ))"> |
|
|
<input type="checkbox" :id="'user_'+user.user_id" v-model="user.checked" @change="reportChange()" /> |
|
|
|
|
|
<label :for="'user_'+user.user_id" v-html="user.lastname+' '+user.name"></label> |
|
|
|
|
|
|
|
|
<input type="checkbox" :id="'user_'+user.user_id" v-model="user.checked" @change="reportChange()" /> |
|
|
|
|
|
<label :for="'user_'+user.user_id" v-html="(user.name_legal_person && user.name_legal_person.length) ? user.name_legal_person : user.lastname+' '+user.name"></label> |
|
|
</li> |
|
|
</li> |
|
|
</ul> |
|
|
</ul> |
|
|
</div> |
|
|
</div> |