|
|
@ -4,25 +4,25 @@ |
|
|
|
<img src="../image/bg.jpg" /> |
|
|
|
<div class="bulbBox"> |
|
|
|
<div class="wh100 bulbLogo1"> |
|
|
|
<img class="bulbImg" src="../../../../public/bulbLogo/组 22419@2x.png" alt="" /> |
|
|
|
<img class="bulbImg" src="/asset/image/bulbLogo/22419@2x.png" alt="" /> |
|
|
|
</div> |
|
|
|
<div class="wh100 bulbLogo2"> |
|
|
|
<img class="bulbImg" src="../../../../public/bulbLogo/组 22419.png" alt="" /> |
|
|
|
<img class="bulbImg" src="/asset/image/bulbLogo/22419.png" alt="" /> |
|
|
|
</div> |
|
|
|
<div class="wh100 bulbLogo3"> |
|
|
|
<img class="bulbImg" src="../../../../public/bulbLogo/组 22394@2x.png" alt="" /> |
|
|
|
<img class="bulbImg" src="/asset/image/bulbLogo/22394@2x.png" alt="" /> |
|
|
|
</div> |
|
|
|
<div class="wh100 bulbLogo4"> |
|
|
|
<img class="bulbImg" src="../../../../public/bulbLogo/组 22396.png" alt="" /> |
|
|
|
<img class="bulbImg" src="/asset/image/bulbLogo/22396.png" alt="" /> |
|
|
|
</div> |
|
|
|
<div class="wh100 bulbLogo5"> |
|
|
|
<img class="bulbImg" src="../../../../public/bulbLogo/组 22396@2x.png" alt="" /> |
|
|
|
<img class="bulbImg" src="/asset/image/bulbLogo/22396@2x.png" alt="" /> |
|
|
|
</div> |
|
|
|
<div class="wh100 bulbLogo6"> |
|
|
|
<img class="bulbImg" src="../../../../public/bulbLogo/组 22400.png" alt="" /> |
|
|
|
<img class="bulbImg" src="/asset/image/bulbLogo/22400.png" alt="" /> |
|
|
|
</div> |
|
|
|
<div class="wh100 bulbLogo7"> |
|
|
|
<img class="bulbImg" src="../../../../public/bulbLogo/组 22400@2x.png" alt="" /> |
|
|
|
<img class="bulbImg" src="/asset/image/bulbLogo/22400@2x.png" alt="" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -40,8 +40,7 @@ |
|
|
|
placement="right" |
|
|
|
:drawerStyle="{ background: 'rgba(0, 0, 0, 1)', opacity: 0.8 }" |
|
|
|
:closable="false" |
|
|
|
id="Odrawer" |
|
|
|
> |
|
|
|
id="Odrawer"> |
|
|
|
<div> |
|
|
|
<a-tabs v-model:activeKey="activeKey"> |
|
|
|
<a-tab-pane key="1" tab="控制面板"> |
|
|
@ -57,8 +56,7 @@ |
|
|
|
v-for="(button, index) in buttons" |
|
|
|
:key="index" |
|
|
|
:class="{ btn: true, selected: button === selectedButton }" |
|
|
|
@click="selectButton(button)" |
|
|
|
> |
|
|
|
@click="selectButton(button)"> |
|
|
|
{{ button.label }} |
|
|
|
</button> |
|
|
|
</div> |
|
|
@ -71,8 +69,7 @@ |
|
|
|
type="checkbox" |
|
|
|
class="custom-checkbox" |
|
|
|
v-model="selectAllCheckbox" |
|
|
|
@change="toggleAllSelection" |
|
|
|
/> |
|
|
|
@change="toggleAllSelection" /> |
|
|
|
<span class="both" @click="selectAll">全选</span> |
|
|
|
<button class="openplan">启用面板</button> |
|
|
|
</div> |
|
|
@ -83,8 +80,7 @@ |
|
|
|
v-for="(button2, index) in buttons2" |
|
|
|
:key="index" |
|
|
|
:class="{ btn: true, selected: button2.selected }" |
|
|
|
@click="toggleSelection(button2)" |
|
|
|
> |
|
|
|
@click="toggleSelection(button2)"> |
|
|
|
{{ button2.label }} |
|
|
|
</button> |
|
|
|
</div> |
|
|
@ -100,8 +96,7 @@ |
|
|
|
v-for="(button3, index) in controlbutton" |
|
|
|
:key="index" |
|
|
|
:class="{ btn: true, selected: button3.label === selectedButton3 }" |
|
|
|
@click="selectButton3(button3)" |
|
|
|
> |
|
|
|
@click="selectButton3(button3)"> |
|
|
|
{{ button3.label }} |
|
|
|
</button> |
|
|
|
</div> |
|
|
@ -118,8 +113,7 @@ |
|
|
|
v-for="(button4, index) in controlscenebuttons" |
|
|
|
:key="index" |
|
|
|
:class="{ btn: true, selected: button4.label === selectedButton4 }" |
|
|
|
@click="selectButton4(button4)" |
|
|
|
> |
|
|
|
@click="selectButton4(button4)"> |
|
|
|
{{ button4.label }} |
|
|
|
</button> |
|
|
|
</div> |
|
|
@ -147,7 +141,7 @@ |
|
|
|
<template v-if="column.dataIndex === 'name'"> |
|
|
|
<div class="editable-cell"> |
|
|
|
<span @click="showInfo(text)"> |
|
|
|
{{ text || " " }} |
|
|
|
{{ text || ' ' }} |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -176,8 +170,7 @@ |
|
|
|
<tr |
|
|
|
v-for="(row, index) in dataSource1" |
|
|
|
:key="index" |
|
|
|
@click="handleRowClick(row.id, row.name, row.age)" |
|
|
|
> |
|
|
|
@click="handleRowClick(row.id, row.name, row.age)"> |
|
|
|
<td>{{ row.key }}</td> |
|
|
|
<td>{{ row.data }}</td> |
|
|
|
<td>{{ row.planname }}</td> |
|
|
@ -199,8 +192,7 @@ |
|
|
|
height: '792px', |
|
|
|
maxHeight: '792px', |
|
|
|
boxSizing: 'borderBox', |
|
|
|
}" |
|
|
|
> |
|
|
|
}"> |
|
|
|
<div style="height: 792px"> |
|
|
|
<div> |
|
|
|
<div class="div-operation"></div> |
|
|
@ -208,13 +200,8 @@ |
|
|
|
</div> |
|
|
|
<div class="journal" style="margin-top: 20px"> |
|
|
|
<div class="imgText"> |
|
|
|
<img src="../../../../public/bulbLogo/组 22549.png" alt="" /> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
font-size: 20px; |
|
|
|
font-weight: 500; |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
" |
|
|
|
<img src="/asset/image/bulbLogo/22549.png" alt="" /> |
|
|
|
<span style="font-size: 20px; font-weight: 500; color: rgba(255, 255, 255, 1)" |
|
|
|
>站厅照明 1区</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -236,24 +223,13 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
控制模式 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>手动</span |
|
|
|
> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>自动</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -273,25 +249,14 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
亮度 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>100lux</span |
|
|
|
> |
|
|
|
|
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>30lux</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -311,25 +276,14 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
控制场景 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>手动</span |
|
|
|
> |
|
|
|
|
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>自动</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -349,25 +303,14 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
色温 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>4000k</span |
|
|
|
> |
|
|
|
|
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>3800k</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -375,13 +318,8 @@ |
|
|
|
</div> |
|
|
|
<div class="journal" style="margin-top: 20px"> |
|
|
|
<div class="imgText"> |
|
|
|
<img src="../../../../public/bulbLogo/组 22549.png" alt="" /> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
font-size: 20px; |
|
|
|
font-weight: 500; |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
" |
|
|
|
<img src="/asset/image/bulbLogo/22549.png" alt="" /> |
|
|
|
<span style="font-size: 20px; font-weight: 500; color: rgba(255, 255, 255, 1)" |
|
|
|
>站厅照明 1区</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -403,24 +341,13 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
控制模式 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>手动</span |
|
|
|
> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>自动</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -440,25 +367,14 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
亮度 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>100lux</span |
|
|
|
> |
|
|
|
|
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>30lux</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -478,25 +394,14 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
控制场景 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>手动</span |
|
|
|
> |
|
|
|
|
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>自动</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -516,25 +421,14 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
色温 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>4000k</span |
|
|
|
> |
|
|
|
|
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>3800k</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -542,13 +436,8 @@ |
|
|
|
</div> |
|
|
|
<div class="journal" style="margin-top: 20px"> |
|
|
|
<div class="imgText"> |
|
|
|
<img src="../../../../public/bulbLogo/组 22549.png" alt="" /> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
font-size: 20px; |
|
|
|
font-weight: 500; |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
" |
|
|
|
<img src="/asset/image/bulbLogo/22549.png" alt="" /> |
|
|
|
<span style="font-size: 20px; font-weight: 500; color: rgba(255, 255, 255, 1)" |
|
|
|
>站厅照明 1区</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -570,24 +459,13 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
控制模式 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>手动</span |
|
|
|
> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>自动</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -607,25 +485,14 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
亮度 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>100lux</span |
|
|
|
> |
|
|
|
|
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>30lux</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -645,25 +512,14 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
控制场景 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>手动</span |
|
|
|
> |
|
|
|
|
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>自动</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -683,25 +539,14 @@ |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
色温 |
|
|
|
</button> |
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>4000k</span |
|
|
|
> |
|
|
|
|
|
|
|
<span |
|
|
|
style=" |
|
|
|
color: rgba(255, 255, 255, 1); |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 400; |
|
|
|
" |
|
|
|
<span style="color: rgba(255, 255, 255, 1); font-size: 14px; font-weight: 400" |
|
|
|
>3800k</span |
|
|
|
> |
|
|
|
</div> |
|
|
@ -732,17 +577,17 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
import { ref } from "vue"; |
|
|
|
import { ref } from 'vue'; |
|
|
|
const toggleDrawer = () => { |
|
|
|
visible.value = !visible.value; |
|
|
|
}; |
|
|
|
// 照明区域按钮单选 |
|
|
|
const buttons = ref([ |
|
|
|
{ label: "A区", selected: false }, |
|
|
|
{ label: "B区", selected: false }, |
|
|
|
{ label: "C区", selected: false }, |
|
|
|
{ label: "D区", selected: false }, |
|
|
|
{ label: "计划启用", selected: false }, |
|
|
|
{ label: 'A区', selected: false }, |
|
|
|
{ label: 'B区', selected: false }, |
|
|
|
{ label: 'C区', selected: false }, |
|
|
|
{ label: 'D区', selected: false }, |
|
|
|
{ label: '计划启用', selected: false }, |
|
|
|
]); |
|
|
|
const selectedButton = ref<Button | null>(null); |
|
|
|
const selectButton = (button: Button) => { |
|
|
@ -753,10 +598,10 @@ let singleSelection = true; // 默认为单选 |
|
|
|
const selectAllCheckbox = ref(false); |
|
|
|
const showControlMode = ref(false); |
|
|
|
const buttons2 = ref([ |
|
|
|
{ label: "1区", selected: false }, |
|
|
|
{ label: "2区", selected: false }, |
|
|
|
{ label: "3区", selected: false }, |
|
|
|
{ label: "4区", selected: false }, |
|
|
|
{ label: '1区', selected: false }, |
|
|
|
{ label: '2区', selected: false }, |
|
|
|
{ label: '3区', selected: false }, |
|
|
|
{ label: '4区', selected: false }, |
|
|
|
]); |
|
|
|
const selectAll = () => { |
|
|
|
singleSelection = !singleSelection; |
|
|
@ -794,113 +639,113 @@ const toggleSelection = (button) => { |
|
|
|
}; |
|
|
|
|
|
|
|
// 控制模式按钮 |
|
|
|
const selectedButton3 = ref(""); |
|
|
|
const selectedButton3 = ref(''); |
|
|
|
const showControlScene = ref(false); |
|
|
|
const controlbutton = ref([ |
|
|
|
{ label: "托管", selected: false }, |
|
|
|
{ label: "AI", selected: false }, |
|
|
|
{ label: "手动", selected: false }, |
|
|
|
{ label: '托管', selected: false }, |
|
|
|
{ label: 'AI', selected: false }, |
|
|
|
{ label: '手动', selected: false }, |
|
|
|
]); |
|
|
|
// 控制场景按钮 |
|
|
|
const selectedButton4 = ref(""); |
|
|
|
const selectedButton4 = ref(''); |
|
|
|
const controlscenebuttons = ref([ |
|
|
|
{ label: "检修", selected: false }, |
|
|
|
{ label: "午休", selected: false }, |
|
|
|
{ label: "疏散", selected: false }, |
|
|
|
{ label: "客流高峰", selected: false }, |
|
|
|
{ label: '检修', selected: false }, |
|
|
|
{ label: '午休', selected: false }, |
|
|
|
{ label: '疏散', selected: false }, |
|
|
|
{ label: '客流高峰', selected: false }, |
|
|
|
]); |
|
|
|
const selectButton3 = (button3) => { |
|
|
|
selectedButton3.value = button3.label; |
|
|
|
showControlScene.value = button3.label === "手动"; |
|
|
|
selectedButton4.value = ""; // 清空选中的控制场景按钮 |
|
|
|
showControlScene.value = button3.label === '手动'; |
|
|
|
selectedButton4.value = ''; // 清空选中的控制场景按钮 |
|
|
|
}; |
|
|
|
const selectButton4 = (button4) => { |
|
|
|
selectedButton4.value = button4.label; |
|
|
|
}; |
|
|
|
const columns = [ |
|
|
|
{ |
|
|
|
title: "序号", |
|
|
|
dataIndex: "key", |
|
|
|
title: '序号', |
|
|
|
dataIndex: 'key', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "执行时间", |
|
|
|
dataIndex: "data", |
|
|
|
title: '执行时间', |
|
|
|
dataIndex: 'data', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "计划名称", |
|
|
|
dataIndex: "planname", |
|
|
|
title: '计划名称', |
|
|
|
dataIndex: 'planname', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "状态", |
|
|
|
dataIndex: "status", |
|
|
|
title: '状态', |
|
|
|
dataIndex: 'status', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "状态", |
|
|
|
dataIndex: "operation", |
|
|
|
title: '状态', |
|
|
|
dataIndex: 'operation', |
|
|
|
}, |
|
|
|
]; |
|
|
|
|
|
|
|
const dataSource = ref([ |
|
|
|
{ |
|
|
|
key: "1", |
|
|
|
data: "2024-05-01", |
|
|
|
planname: "劳动节", |
|
|
|
status: "暂停中", |
|
|
|
key: '1', |
|
|
|
data: '2024-05-01', |
|
|
|
planname: '劳动节', |
|
|
|
status: '暂停中', |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: "2", |
|
|
|
data: "2024-05-01", |
|
|
|
planname: "国庆节", |
|
|
|
status: "待执行", |
|
|
|
key: '2', |
|
|
|
data: '2024-05-01', |
|
|
|
planname: '国庆节', |
|
|
|
status: '待执行', |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: "3", |
|
|
|
data: "2024-05-01", |
|
|
|
planname: "元旦", |
|
|
|
status: "待执行", |
|
|
|
key: '3', |
|
|
|
data: '2024-05-01', |
|
|
|
planname: '元旦', |
|
|
|
status: '待执行', |
|
|
|
}, |
|
|
|
]); |
|
|
|
const columns1 = [ |
|
|
|
{ |
|
|
|
title: "序号", |
|
|
|
dataIndex: "key", |
|
|
|
title: '序号', |
|
|
|
dataIndex: 'key', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "执行时间", |
|
|
|
dataIndex: "data", |
|
|
|
title: '执行时间', |
|
|
|
dataIndex: 'data', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "操作内容", |
|
|
|
dataIndex: "planname", |
|
|
|
title: '操作内容', |
|
|
|
dataIndex: 'planname', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "操作人", |
|
|
|
dataIndex: "status", |
|
|
|
title: '操作人', |
|
|
|
dataIndex: 'status', |
|
|
|
}, |
|
|
|
]; |
|
|
|
const dataSource1 = ref([ |
|
|
|
{ |
|
|
|
key: "1", |
|
|
|
data: "2024-05-01", |
|
|
|
planname: "计划再开", |
|
|
|
status: "张三111", |
|
|
|
key: '1', |
|
|
|
data: '2024-05-01', |
|
|
|
planname: '计划再开', |
|
|
|
status: '张三111', |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: "2", |
|
|
|
data: "2024-05-01", |
|
|
|
planname: "检修模式", |
|
|
|
status: "李四12", |
|
|
|
key: '2', |
|
|
|
data: '2024-05-01', |
|
|
|
planname: '检修模式', |
|
|
|
status: '李四12', |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: "3", |
|
|
|
data: "2024-05-01", |
|
|
|
planname: "设备变更", |
|
|
|
status: "王五33", |
|
|
|
key: '3', |
|
|
|
data: '2024-05-01', |
|
|
|
planname: '设备变更', |
|
|
|
status: '王五33', |
|
|
|
}, |
|
|
|
]); |
|
|
|
// 抽屉默认显示 |
|
|
|
const visible = ref(true); |
|
|
|
const activeKey = ref("1"); |
|
|
|
const activeKey = ref('1'); |
|
|
|
|
|
|
|
const showDrawer = () => { |
|
|
|
visible.value = true; |
|
|
@ -911,7 +756,7 @@ const logModalVisible = ref(false); |
|
|
|
|
|
|
|
const handleRowClick = (record: any, index: number) => { |
|
|
|
// 处理行点击事件,例如选中行或者其他操作 |
|
|
|
console.log(record, "=================", index); |
|
|
|
console.log(record, '=================', index); |
|
|
|
// 显示模态框 |
|
|
|
logModalVisible.value = true; |
|
|
|
}; |
|
|
@ -984,11 +829,7 @@ const closeLogModal = () => { |
|
|
|
width: 110px; |
|
|
|
height: 23px; |
|
|
|
opacity: 1; |
|
|
|
background: linear-gradient( |
|
|
|
270deg, |
|
|
|
rgba(86, 221, 253, 0) 0%, |
|
|
|
rgba(25, 176, 255, 1) 100% |
|
|
|
); |
|
|
|
background: linear-gradient(270deg, rgba(86, 221, 253, 0) 0%, rgba(25, 176, 255, 1) 100%); |
|
|
|
} |
|
|
|
|
|
|
|
.lightareatab, |
|
|
@ -1072,11 +913,7 @@ p { |
|
|
|
} |
|
|
|
|
|
|
|
.selected { |
|
|
|
background: linear-gradient( |
|
|
|
180deg, |
|
|
|
rgba(201, 245, 255, 1) 0%, |
|
|
|
rgba(138, 215, 255, 1) 100% |
|
|
|
); |
|
|
|
background: linear-gradient(180deg, rgba(201, 245, 255, 1) 0%, rgba(138, 215, 255, 1) 100%); |
|
|
|
color: rgba(0, 61, 90, 1); |
|
|
|
border: 1px solid rgba(255, 255, 255, 1); |
|
|
|
} |
|
|
@ -1475,7 +1312,7 @@ p { |
|
|
|
} |
|
|
|
.journal { |
|
|
|
padding: 3% 10%; |
|
|
|
background-image: url("../../../../public/bulbLogo/bgsquare.png"); |
|
|
|
background-image: url('/asset/image/bulbLogo/bgsquare.png'); |
|
|
|
background-size: 482px 177px; |
|
|
|
width: 482px; |
|
|
|
height: 177px; |
|
|
@ -1489,7 +1326,7 @@ p { |
|
|
|
margin-top: 10px; |
|
|
|
} |
|
|
|
.bulbLogo1 { |
|
|
|
background-image: url("../../../../public/bulbLogo/bulbLogo1.png"); |
|
|
|
background-image: url('/asset/image/bulbLogo/bulbLogo1.png'); |
|
|
|
} |
|
|
|
.imgText { |
|
|
|
display: flex; |
|
|
|