| | |
| | | <!-- |
| | | * @Date: 2024-04-18 21:52:18 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-04-21 18:49:27 |
| | | * @LastEditTime: 2024-05-14 20:42:32 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/components/ShiftAlarm.vue |
| | | --> |
| | | <template> |
| | |
| | | <el-row> |
| | | <el-col> |
| | | <el-button-group> |
| | | <el-button @click="btnListActive = item.id" :type="btnListActive == item.id ? 'primary' : ''" |
| | | v-for="item in btnList" :key="item.id">{{ |
| | | <el-button size="small" @click="btnListActive = item.id" |
| | | :type="btnListActive == item.id ? 'primary' : ''" v-for="item in btnList" :key="item.id">{{ |
| | | item.title }}</el-button> |
| | | </el-button-group> |
| | | </el-col> |
| | |
| | | }, |
| | | methods: { |
| | | init(params) { |
| | | this.btnListActive = '' |
| | | console.log('++++++') |
| | | this.params = { |
| | | ...this.params, |
| | | ...params, |
| | | workstationId: params.workstationId.toString() |
| | | } |
| | | this.getTime({ |