src/views/mdc/base/modules/WorkshopSignage/DeviceAlarmInfo.vue
@@ -8,19 +8,24 @@ export default { name: 'DeviceAlarmInfo', components: {}, props: { currentProductionId: { type: String } }, data() { return { config: {} } }, mounted() { created() { if (!this.currentProductionId) return this.getDeviceAlarmInfoByApi() }, methods: { getDeviceAlarmInfoByApi() { const that = this that.initChart() signageApi.getWorkshopAlarmInfoApi() signageApi.getWorkshopAlarmInfoApi(that.currentProductionId) .then(res => { if (!res.success) return that.initChart(res.result)