diff --git a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/TaskList.vue b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/TaskList.vue index 2d11ac7..9efa7a7 100644 --- a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/TaskList.vue +++ b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/TaskList.vue @@ -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') } } } diff --git a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/echarts/BarReverseCharts.vue b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/echarts/BarReverseCharts.vue index d854d14..94ce23d 100644 --- a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/echarts/BarReverseCharts.vue +++ b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/echarts/BarReverseCharts.vue @@ -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