fix: modify

develop
时启龙 2024-08-29 14:12:24 +08:00
parent e429fd8551
commit a5c07be72c
2 changed files with 3 additions and 2 deletions

View File

@ -71,9 +71,9 @@ export default {
}) })
}, },
goPage(row) { goPage(row) {
// TODO // TODO , token token?
const url = row ? `http://36.111.150.83:9527/taskManageFlow?taskCode=${row.task_code}&src=fromYW` : 'http://36.111.150.83:9527/faultRepairsList' const url = row ? `http://36.111.150.83:9527/taskManageFlow?taskCode=${row.task_code}&src=fromYW` : 'http://36.111.150.83:9527/faultRepairsList'
window.location.href = url window.open(url, '_blank')
} }
} }
} }

View File

@ -49,6 +49,7 @@ export default {
return metrics.width return metrics.width
} }
const getYLeft = data => { const getYLeft = data => {
if (!data.keys?.length) return
// y // y
let maxlengthName = data.keys.sort((a, b) => { let maxlengthName = data.keys.sort((a, b) => {
return b.length - a.length return b.length - a.length