喀左大屏改造,追加监控轮播大屏组件

This commit is contained in:
aixianling
2024-02-01 19:10:03 +08:00
parent f9684bb0c4
commit 06eb7a30bf
6 changed files with 104 additions and 15 deletions

View File

@@ -56,12 +56,7 @@
<div class="layout-config__item" v-if="config.type === 'monitor'">
<label>视频类型</label>
<div class="layout-config__item--right">
<el-select size="mini" v-model="config.monitorType" placeholder="请选择" clearable>
<el-option label="中国移动" value="cmcc"></el-option>
<el-option label="海康威视" value="hik"></el-option>
<el-option label="大华" value="dahua"></el-option>
<el-option label="视联网" value="slw"></el-option>
</el-select>
<ai-select size="mini" v-model="config.monitorType" :select-list="monitorTypes"/>
</div>
</div>
<div class="layout-config__item" v-if="config.type === 'AiRanking'">
@@ -235,7 +230,7 @@
<script>
import ConfigItem from "./configItem.vue";
import AiDialogBtn from "dui/packages/layout/AiDialogBtn.vue";
import {monitorTypes} from "../config";
export default {
name: 'componentConfig',
components: {AiDialogBtn, ConfigItem},
@@ -256,7 +251,8 @@ export default {
{label: '是', value: '1'},
{label: '否', value: '0'}
],
dialog: {}
dialog: {},
monitorTypes
}
},
}