| | |
| | | <!-- |
| | | * @Date: 2024-04-18 21:52:18 |
| | | * @LastEditors: 李喆(开发组) lzhe@yxqiche.com |
| | | * @LastEditTime: 2025-11-18 14:02:28 |
| | | * @LastEditTime: 2025-11-18 16:54:41 |
| | | * @FilePath: /cps-web/src/views/mdc/components/StationLiveSpeed.vue |
| | | --> |
| | | <template> |
| | |
| | | <div class="dataHr">加工数据</div> |
| | | <el-row :gutter="20" style="padding-right: 12px;padding-left: 12px;"> |
| | | <!-- 主轴负载(SpindleLoad),主轴倍率(SpindleRate),进给倍率(FeedRate) 不在这里展示 --> |
| | | <el-col :span="12" v-for="item in dmpList" style="margin-bottom: 12px;" |
| | | v-show="item.dpName != 'SpindleLoad' && item.dpName != 'SpindleRate' && item.dpName != 'FeedRate'"> |
| | | <el-col :span="12" v-for="item in dmpList" style="margin-bottom: 12px;"> |
| | | <!-- v-show="item.dpName.toLowerCase() != 'spindleload' && item.dpName.toLowerCase() != 'spindlerate' && item.dpName.toLowerCase() != 'feedrate'" --> |
| | | <div> |
| | | <div class="inlineDiv">{{ item.dpLabel }}</div> |
| | | <el-input v-model="item.codeName" :disabled="true" class="inlineInput" |
| | |
| | | if(this.dmpList.length == 0) return; |
| | | var a,b,c; |
| | | this.dmpList.forEach(item=> { |
| | | if(item.dpName == "SpindleLoad") { |
| | | if(item.dpName.toLowerCase() == "spindleload") { |
| | | a = item.codeName; |
| | | }else if(item.dpName == "SpindleRate") { |
| | | }else if(item.dpName.toLowerCase() == "spindlerate") { |
| | | b = item.codeName; |
| | | }else if(item.dpName == "FeedRate") { |
| | | }else if(item.dpName.toLowerCase() == "feedrate") { |
| | | c = item.codeName; |
| | | } |
| | | }) |