|
@@ -207,11 +207,11 @@ const colorShow = (value: number | string) => {
|
|
};
|
|
};
|
|
|
|
|
|
const selectDeviceId = () => {
|
|
const selectDeviceId = () => {
|
|
- router.push(`/device-manage/equipment-details/${deviceId}`);
|
|
|
|
|
|
+ router.push(`/device-manage/device-list/equipment-details/${deviceId}`);
|
|
};
|
|
};
|
|
|
|
|
|
const switchDevices = (value: number) => {
|
|
const switchDevices = (value: number) => {
|
|
- router.push(`/device-manage/equipment-details/${getPreviousIdById(devicesList.value, deviceId, value)}`);
|
|
|
|
|
|
+ router.push(`/device-manage/device-list/equipment-details/${getPreviousIdById(devicesList.value, deviceId, value)}`);
|
|
};
|
|
};
|
|
|
|
|
|
const getPreviousIdById = (array: AllDevicesList[], targetId: number, value: number) => {
|
|
const getPreviousIdById = (array: AllDevicesList[], targetId: number, value: number) => {
|