首頁設備 modal 詳細資料補齊

This commit is contained in:
koko 2025-07-25 17:20:06 +08:00
parent 2f31b2be6f
commit 995cd77bef
2 changed files with 12 additions and 6 deletions

View File

@ -85,6 +85,12 @@ const getData = async () => {
Online_color: device.device_normal_color, Online_color: device.device_normal_color,
Offline_color: device.device_close_color, Offline_color: device.device_close_color,
Error_color: device.device_error_color, Error_color: device.device_error_color,
brand: device.brand || "",
device_model: device.device_model,
operation_name: device.operation_name,
operation_contact_person: device.operation_contact_person,
buying_date: device.buying_date,
created_at: device.created_at,
bgSize: 50, bgSize: 50,
} }
]; ];

View File

@ -257,24 +257,24 @@ const handleCancel = () => {
</td> </td>
<td class="p-2 border">{{ props.data.device_coordinate }}</td> <td class="p-2 border">{{ props.data.device_coordinate }}</td>
</tr> </tr>
<!--
<tr> <tr>
<td class="p-2 border">{{ $t("assetManagement.brand_and_modal") }}</td> <td class="p-2 border">{{ $t("assetManagement.brand_and_modal") }}</td>
<td class="p-2 border">{{ deviceInfo.brand }} / {{ deviceInfo.modal }}</td> <td class="p-2 border">{{ props.data.brand }} / {{ props.data.device_model }}</td>
</tr> </tr>
<tr> <tr>
<td class="p-2 border">{{ $t("assetManagement.company_and_contact") }}</td> <td class="p-2 border">{{ $t("assetManagement.company_and_contact") }}</td>
<td class="p-2 border">{{ deviceInfo.company }} / {{ deviceInfo.contact }}</td> <td class="p-2 border">{{ props.data.operation_name }} / {{ props.data.operation_contact_person }}</td>
</tr> </tr>
<tr> <tr>
<td class="p-2 border">{{ $t("assetManagement.buying_date") }}</td> <td class="p-2 border">{{ $t("assetManagement.buying_date") }}</td>
<td class="p-2 border">{{ deviceInfo.buying_date }}</td> <td class="p-2 border">{{ props.data.buying_date }}</td>
</tr> </tr>
<tr> <tr>
<td class="p-2 border">{{ $t("assetManagement.created_at") }}</td> <td class="p-2 border">{{ $t("assetManagement.created_at") }}</td>
<td class="p-2 border">{{ deviceInfo.created_at }}</td> <td class="p-2 border">{{ props.data.created_at }}</td>
</tr> </tr>
-->
</tbody> </tbody>
</table> </table>
</div> </div>