| | |
| | | <!-- |
| | | * @Date: 2024-04-09 22:11:21 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-06-25 19:22:46 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/processParam/index.vue |
| | | * @LastEditors: gaoshp |
| | | * @LastEditTime: 2024-10-22 22:30:19 |
| | | * @FilePath: /cps-web/src/views/mdc/processParam/index.vue |
| | | 实时看板 |
| | | --> |
| | | <template> |
| | |
| | | <el-aside width="300px" style="height: 100%;"> |
| | | <el-container> |
| | | <el-main class="nopadding"> |
| | | <el-row style="margin-top: 14px;"> |
| | | <el-row style="margin: 8px;font-size: 14px;"> |
| | | 工位 |
| | | </el-row> |
| | | <MYTree v-model="treeChecked" @loaded="query"></MYTree> |
| | |
| | | start-placeholder="" end-placeholder="" :disabled-date="disabledDate" |
| | | @calendar-change="change" /> |
| | | </el-col> |
| | | <el-col :span="2" style='text-align: right;'> |
| | | <!-- <el-col :span="2" style='text-align: right;'> |
| | | <el-button type="primary" @click="exportExcel">导出</el-button> |
| | | </el-col> |
| | | </el-col> --> |
| | | </el-row> |
| | | <TimeLine v-model="timeRange" ref="timeLine"></TimeLine> |
| | | <el-collapse v-model="activeList"> |
| | |
| | | }) |
| | | }, |
| | | query() { |
| | | if (!this.treeChecked.toString()) return |
| | | console.log(this.treeChecked.toString(), '>>>>>>>>>/') |
| | | this.$refs?.timeLine?.init({ |
| | | dates: this.time, |
| | | workstationId: this.treeChecked.toString() |
| | | }) |
| | | this.list = [] |
| | | this.$HTTP.get('/api/blade-mdc/process-parameter/param', { workstationId: this.treeChecked.toString() }).then(res => { |
| | | if (res.code === 200) { |
| | | console.log('jkjkjkjkj', this.list) |