fix(query-tool): export button hover visibility, jobs tab hide columns and export with txn history

- Increase CSS specificity for .btn-export to prevent portal-shell override on hover
- Remove RESOURCEID and CONTAINERIDS from jobs tab display columns
- Add lot_jobs_with_txn.sql joining JOB with JOBTXNHISTORY for complete export
- Route lot_jobs export through get_lot_jobs_with_history() for full transaction data

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
egg
2026-02-24 19:10:19 +08:00
parent 7fffa812a3
commit e37902861f
6 changed files with 729 additions and 598 deletions

View File

@@ -24,7 +24,6 @@ ensureMesApiAvailable();
const JOB_COLUMN_PRIORITY = Object.freeze([
'JOBID',
'RESOURCEID',
'RESOURCENAME',
'JOBSTATUS',
'JOBMODELNAME',
@@ -42,7 +41,6 @@ const JOB_COLUMN_PRIORITY = Object.freeze([
'PJ_SYMPTOMCODE2NAME',
'CREATE_EMPNAME',
'COMPLETE_EMPNAME',
'CONTAINERIDS',
'CONTAINERNAMES',
]);

View File

@@ -116,16 +116,17 @@ body {
cursor: not-allowed;
}
.btn-export {
.btn.btn-export {
background: #0f766e;
color: #fff;
}
.btn-export:hover {
.btn.btn-export:hover {
background: #0b5e59;
color: #fff;
}
.btn-export:disabled {
.btn.btn-export:disabled {
opacity: 0.6;
cursor: not-allowed;
}