| | |
| | | } |
| | | |
| | | function chooseDev(params) { |
| | | // console.log('params', params, '============='); |
| | | currentDevId.value = params.devId; |
| | | } |
| | | |
| | |
| | | text-align: center; |
| | | background: #02a7f0; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | text-align: center; |
| | | background: #02a7f0; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | padding: 2px 10px; |
| | | border-radius: 6px; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | text-align: center; |
| | | background: #02a7f0; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | text-align: center; |
| | | background: #02a7f0; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | padding: 2px 10px; |
| | | border-radius: 6px; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | text-align: center; |
| | | background: #02a7f0; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | text-align: center; |
| | | background: #02a7f0; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | padding: 2px 10px; |
| | | border-radius: 6px; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | onMounted(() => { |
| | | // testType 有可能出现0值这种不合法数据 取值范围是1 / 2 |
| | | if (props.isBatch) { |
| | | // console.log('dev0', props.devs[0], '============='); |
| | | params.testType = props.devs[0].state.testType; |
| | | params.testType = props.devs[0].state.testType || 1; |
| | | } else { |
| | | params.testType = props.devs.state.testType; |
| | | params.testType = props.devs.state.testType || 1; |
| | | // console.log("type", params.testType, "============="); |
| | | } |
| | | getParams(); |