up
This commit is contained in:
@@ -243,7 +243,12 @@ function paginasApp() {
|
||||
orden: 0, publicado: false, rol_ids: []
|
||||
},
|
||||
|
||||
init() { this.load(1); },
|
||||
init() {
|
||||
const params = new URLSearchParams(window.location.search);
|
||||
const sid = parseInt(params.get('saas_id') || '0', 10);
|
||||
if (sid) this.filterSaas = sid;
|
||||
this.load(1);
|
||||
},
|
||||
|
||||
load(p = 1) {
|
||||
this.page = p; this.loading = true;
|
||||
|
||||
@@ -48,6 +48,12 @@
|
||||
class="text-xs px-2 py-0.5 rounded-full"></span>
|
||||
</td>
|
||||
<td class="py-2 px-4 flex gap-2 justify-end">
|
||||
<a :href="`/app/doc/paginas?saas_id=${item.ID}`" title="Ver documentación" class="text-green-500 hover:text-green-700">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"/>
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.477 0 8.268 2.943 9.542 7-1.274 4.057-5.065 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"/>
|
||||
</svg>
|
||||
</a>
|
||||
<button @click="openEdit(item)" title="Editar" class="text-blue-500 hover:text-blue-700">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"/>
|
||||
|
||||
Reference in New Issue
Block a user