| | |
| | | </el-col> |
| | | <el-col :span="21"> |
| | | <div class="card-page"> |
| | | <el-button type="primary" :plain="floorStates.isPlain1" @click="floorTogglePlain(1)">一层平面</el-button> |
| | | <el-button type="primary" :plain="floorStates.isPlain2" @click="floorTogglePlain(2)">二层平面</el-button> |
| | | <el-button type="primary" :plain="floorStates.isPlain3" @click="floorTogglePlain(3)">三层平面</el-button> |
| | | <el-button type="primary" :plain="floorStates.isPlain1" |
| | | @click="floorTogglePlain(1)">一层平面</el-button> |
| | | <el-button type="primary" :plain="floorStates.isPlain2" |
| | | @click="floorTogglePlain(2)">二层平面</el-button> |
| | | <el-button type="primary" :plain="floorStates.isPlain3" |
| | | @click="floorTogglePlain(3)">三层平面</el-button> |
| | | </div> |
| | | <div style="margin: 40px; height: 50%;"> |
| | | <div class="grid-container-line"> |
| | |
| | | }); |
| | | }); |
| | | const handleSwitchChange = (field: string, value: boolean) => { |
| | | signalR.invoke('UpdateService', state.value); |
| | | const param = { [field]: value }; |
| | | debugger; |
| | | signalR.invoke('UpdateService', param); |
| | | }; |
| | | |
| | | // 更新输送线数据的通用函数 |