修改默认控制器页面

This commit is contained in:
home孙 2025-09-27 11:23:01 +08:00
parent 825f34d472
commit 7a9efdaad9
2 changed files with 11 additions and 4 deletions

View File

@ -215,6 +215,10 @@ const routes = [
name: 'control', name: 'control',
component: control, component: control,
children: [{ children: [{
path: '/targetTemperature',
name: 'targetTemperature',
component: () => import('../views/page/targetTemperature.vue')
},{
path: '/fan', path: '/fan',
name: 'fan', name: 'fan',
component: () => import('../views/page/fan.vue') component: () => import('../views/page/fan.vue')
@ -266,10 +270,6 @@ const routes = [
path: '/snowRemoval', path: '/snowRemoval',
name: 'snowRemoval', name: 'snowRemoval',
component: () => import('../views/wufang/snowRemoval.vue') component: () => import('../views/wufang/snowRemoval.vue')
},{
path: '/targetTemperature',
name: 'targetTemperature',
component: () => import('../views/page/targetTemperature.vue')
},{ },{
path: '/targetHumidity', path: '/targetHumidity',
name: 'targetHumidity', name: 'targetHumidity',

View File

@ -32,6 +32,13 @@
<el-table-column prop="name" :label="$t('text.deviceName')"> <el-table-column prop="name" :label="$t('text.deviceName')">
</el-table-column> </el-table-column>
<!-- <el-table-column prop="name" label="是否含有子名称">
<template slot-scope="scope">
<div>
{{scope.row.child&&scope.row.child.length ? '有':''}}
</div>
</template>
</el-table-column> -->
<el-table-column prop="nickName" :label="$t('text.deviceAlias')"> <el-table-column prop="nickName" :label="$t('text.deviceAlias')">
</el-table-column> </el-table-column>
<el-table-column prop="sort" width="120px" :label="$t('text.sortOrder')"> <el-table-column prop="sort" width="120px" :label="$t('text.sortOrder')">