Editar información del equipo
Datos generales:
@@ -11,108 +31,152 @@
enctype="multipart/form-data"
>
-
+ /> -->
-
+
+
+ Unidad Responsable:
+
+
-
+
+
+ Ubicación:
+
+
-
+
+
+ Uso:
+
+
-
Computadora
-
-
+ Computadora
@@ -128,7 +192,7 @@
@@ -170,18 +234,65 @@
+
+
\ No newline at end of file
diff --git a/src/views/User.vue b/src/views/User.vue
index ba67ec6..cd67d2a 100644
--- a/src/views/User.vue
+++ b/src/views/User.vue
@@ -38,7 +38,7 @@
-
+
| {{ item.noInventario }} |
{{ item.activoFijo }} |
{{ item.modelo }} |
@@ -215,8 +215,11 @@ export default {
});
},
watchRow(noInventario) {
- if(typeof window.localStorage.isAdmin === true)
- this.$router.push('./updateEquip')
+ localStorage.setItem('noInventario', noInventario);
+ if(this.pcView)
+ this.$router.push('./updateEquip');
+ else
+ this.$router.push('./updatePrinter');
},
changeView() {
this.loading = true;
@@ -241,6 +244,7 @@ export default {
MiXLSX.utils.book_append_sheet(LibroTrabajo, miDato, "SalidaFalsa");
MiXLSX.writeFile(LibroTrabajo, "SalidaFalsa.xlsx");
console.log("Terminado");
+ return JSON.parse(localStorage.isAdmin);
}
},
}