Add QR code scanning, mobile detail page and batch QR export to Excel#781
Open
wjh-1024 wants to merge 8 commits into
Open
Add QR code scanning, mobile detail page and batch QR export to Excel#781wjh-1024 wants to merge 8 commits into
wjh-1024 wants to merge 8 commits into
Conversation
attribute alias map - Add CIMobileDetailView at /ci/<ci_id>/mobile - Return core attributes, parent/child relations, and recent history - Include attribute_alias_map for frontend alias display"
mobile detail page - Add QRCodeButton component for single CI QR code generation/download - Add QRCodeBatchExport component for batch QR code download/print - Add CIMobileDetail mobile-optimized detail page - Add /cmdb/mobile/:typeId/:ciId route in constant router"
and batch export with Excel - Add QR code button in ciDetailTab tab bar - Add QR export option in batch download modal (batchDownload.vue) - Export QR code images embedded in Excel cells via ExcelJS - Add batch QR export entry in instanceList action bar and dropdown menu"
add login page responsive - Show attribute aliases instead of raw names in core info section - Auto-switch to stacked layout for long attribute values - Fix relation navigation with null-safe typeId/ciId checks - Add mobile responsive styles (max-width: 768px) for login page"
- a-upload component did not send session cookies during file upload - Caused 401 Unauthorized when importing CI type templates"
- Add 17 Chinese and 18 English translation keys for qrcode, mobileDetail, coreInfo, parentRelations, childRelations, recentHistory etc.
Exclude array/object values from core attrs to hide raw JSON Default-collapse parent/child relation cards with toggle and count badge Prioritize IP fields then unique value as relation display name Fix same-route navigation by watching $route.params changes Fix label column: 100px fixed width, left-aligned, ellipsis overflow Replace _type_name raw name with CITypeCache alias for parent/child relations Include attribute_alias_map in mobile detail response for frontend alias display
WeChat in-app browser User-Agent exceeds 256 chars, causing MySQL 'Data too long for column browser' error on login Truncate to [:255] before inserting into audit_login_log.browser"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add QR code scanning support for CI instances, a mobile-optimized detail page, and batch QR code export embedded in Excel.
Changes
中文:
概述:
新增 CI 实例二维码扫描功能、移动端适配的详情页,以及支持在 Excel 中嵌入批量导出的二维码。
变更内容
手机端效果

Excel导出二维码效果
