| | |
| | | <ScenarioType @submitScenarioType="(val) => (scenarioType = val)"> </ScenarioType> |
| | | --> |
| | | <script> |
| | | import siteInfo from '@/api/site/siteInfo.js' |
| | | export default { |
| | | emits:['submitScenarioType'], |
| | | data() { |
| | |
| | | methods: { |
| | | //获取不同的异常类型 |
| | | getScenarioTypeName() { |
| | | this.$http.get('/dust/scenario').then(result => { |
| | | siteInfo.queryScenarioTypeName().then(result => { |
| | | this.scenarioType = result.data.data |
| | | |
| | | }); |
| | | } |
| | | //根据异常个数渲染checkbox |
| | |
| | | margin-left: 5px; |
| | | font-weight: bolder; |
| | | white-space: nowrap; |
| | | color: #333333; |
| | | |
| | | } |
| | | .exception-type { |
| | | white-space: nowrap; |