fix: modify
parent
e429fd8551
commit
a5c07be72c
|
@ -71,9 +71,9 @@ export default {
|
|||
})
|
||||
},
|
||||
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'
|
||||
window.location.href = url
|
||||
window.open(url, '_blank')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,6 +49,7 @@ export default {
|
|||
return metrics.width
|
||||
}
|
||||
const getYLeft = data => {
|
||||
if (!data.keys?.length) return
|
||||
// 求出y轴标签最长的项
|
||||
let maxlengthName = data.keys.sort((a, b) => {
|
||||
return b.length - a.length
|
||||
|
|
Loading…
Reference in New Issue