| | |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-04-16 15:22:46 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-06-23 21:52:10 |
| | | * @LastEditTime: 2024-06-24 22:33:49 |
| | | * @FilePath: /CPSnew/smart-web/src/views/home/widgets/components/mdcDeviceStatus.vue |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | --> |
| | |
| | | return newData |
| | | }, |
| | | getParentData() { |
| | | this.$HTTP.post('/api/blade-cps/group/groupWorkstation/type', { |
| | | this.$HTTP.post('/api/smis/group/groupWorkstation/type', { |
| | | groupCategory: 1, |
| | | groupType: "group_workstation" |
| | | }).then(({ code, data }) => { |
| | |
| | | if(res.code == 200) { |
| | | var recordDom = document.getElementById('equipment'); |
| | | this.option.yAxis.data = res.data.categories; |
| | | console.log(this.option.yAxis.data,'this.option.yAxis.data') |
| | | this.option.series[0].data = res.data.series[0].data; |
| | | this.oeeTitle = res.data.series[0].name; |
| | | var myChart = echarts.init(recordDom); |