| | |
| | | <!-- |
| | | * @Date: 2024-04-18 21:52:18 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-06-04 21:22:55 |
| | | * @LastEditTime: 2024-06-16 14:58:00 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/components/Shift.vue |
| | | --> |
| | | <template> |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="" :label="colname"> |
| | | <template #default="scope"> |
| | | <span>{{ scope.row.data['1'] }}</span> |
| | | <span>{{ (scope.row.data['1'] ? scope.row.data['1'] * 100 : 0).toFixed(2) }}%</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="" label="班次2"> |
| | |
| | | ...data |
| | | }).then(res => { |
| | | if (res.code === 200) { |
| | | this.btnList = res.data |
| | | this.btnList = res.data.reverse() |
| | | this.btnListActive = res?.data?.[0]?.id |
| | | } |
| | | }) |