|  | @@ -1,6 +1,5 @@
 | 
	
		
			
				|  |  |  <template>
 | 
	
		
			
				|  |  | -  <div class="bg"
 | 
	
		
			
				|  |  | -    style="width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden">
 | 
	
		
			
				|  |  | +  <div class="bg" style="width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden">
 | 
	
		
			
				|  |  |      <a-spin :spinning="loading" />
 | 
	
		
			
				|  |  |      <div id="deviceDetail" class="device-detail">
 | 
	
		
			
				|  |  |        <div id="deviceCard" class="device-card" style="z-index: -1; position: absolute">
 | 
	
	
		
			
				|  | @@ -9,8 +8,11 @@
 | 
	
		
			
				|  |  |            <div class="left-box"></div>
 | 
	
		
			
				|  |  |            <div class="right-box">
 | 
	
		
			
				|  |  |              <div><span class="detail-title">规格型号:</span> <span>KJ-980-F</span></div>
 | 
	
		
			
				|  |  | -            <div><span class="detail-title">技术参数:</span>
 | 
	
		
			
				|  |  | -              <span>380V,电机功率22kW,50Hz,B级绝缘,额定电流42.2A,效率90.5%,能效等级3,接法角型,2940r/min,轴承6311/CM 6211/CM,功率因数0.89</span>
 | 
	
		
			
				|  |  | +            <div
 | 
	
		
			
				|  |  | +              ><span class="detail-title">技术参数:</span>
 | 
	
		
			
				|  |  | +              <span
 | 
	
		
			
				|  |  | +                >380V,电机功率22kW,50Hz,B级绝缘,额定电流42.2A,效率90.5%,能效等级3,接法角型,2940r/min,轴承6311/CM 6211/CM,功率因数0.89</span
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
	
		
			
				|  | @@ -23,16 +25,12 @@
 | 
	
		
			
				|  |  |        <div class="top-center row">
 | 
	
		
			
				|  |  |          <div v-if="hasPermission('btn:control')" class="button-box" @click="playAnimation(1)">打开前门</div>
 | 
	
		
			
				|  |  |          <div v-if="hasPermission('btn:control')" class="button-box" @click="playAnimation(2)">关闭前门</div>
 | 
	
		
			
				|  |  | -        <div v-if="hasPermission('btn:control') && selectData.deviceType == 'gate_ss'" class="button-box"
 | 
	
		
			
				|  |  | -          @click="playAnimation(8)">打开中间门</div>
 | 
	
		
			
				|  |  | -        <div v-if="hasPermission('btn:control') && selectData.deviceType == 'gate_ss'" class="button-box"
 | 
	
		
			
				|  |  | -          @click="playAnimation(9)">关闭中间门</div>
 | 
	
		
			
				|  |  | +        <div v-if="hasPermission('btn:control') && selectData.deviceType == 'gate_ss'" class="button-box" @click="playAnimation(8)">打开中间门</div>
 | 
	
		
			
				|  |  | +        <div v-if="hasPermission('btn:control') && selectData.deviceType == 'gate_ss'" class="button-box" @click="playAnimation(9)">关闭中间门</div>
 | 
	
		
			
				|  |  |          <div v-if="hasPermission('btn:control')" class="button-box" @click="playAnimation(3)">打开后门</div>
 | 
	
		
			
				|  |  |          <div v-if="hasPermission('btn:control')" class="button-box" @click="playAnimation(4)">关闭后门</div>
 | 
	
		
			
				|  |  | -        <div v-if="hasPermission('btn:control') && selectData.deviceType != 'gate_ss'" class="button-box"
 | 
	
		
			
				|  |  | -          @click="playAnimation(5)">同时打开</div>
 | 
	
		
			
				|  |  | -        <div v-if="hasPermission('btn:control') && selectData.deviceType != 'gate_ss'" class="button-box"
 | 
	
		
			
				|  |  | -          @click="playAnimation(6)">同时关闭</div>
 | 
	
		
			
				|  |  | +        <div v-if="hasPermission('btn:control') && selectData.deviceType != 'gate_ss'" class="button-box" @click="playAnimation(5)">同时打开</div>
 | 
	
		
			
				|  |  | +        <div v-if="hasPermission('btn:control') && selectData.deviceType != 'gate_ss'" class="button-box" @click="playAnimation(6)">同时关闭</div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <!-- 控制模式 -->
 | 
	
		
			
				|  |  |        <div class="top-right row">
 | 
	
	
		
			
				|  | @@ -71,46 +69,56 @@
 | 
	
		
			
				|  |  |        <dv-border-box8 :dur="5" :style="`padding: 5px; height: ${scroll.y + 120}px`">
 | 
	
		
			
				|  |  |          <a-tabs class="tabs-box" v-model:activeKey="activeKey" @change="tabChange">
 | 
	
		
			
				|  |  |            <a-tab-pane key="1" tab="实时监测">
 | 
	
		
			
				|  |  | -            <MonitorTable v-if="activeKey === '1'" ref="MonitorDataTable" class="monitor-table"
 | 
	
		
			
				|  |  | -              columnsType="gate_monitor" :isShowActionColumn="true" :dataSource="dataSource" design-scope="gate-monitor"
 | 
	
		
			
				|  |  | -              @selectRow="getSelectRow" :scroll="{ y: scroll.y - 40 }" title="风门监测" :isShowPagination="true">
 | 
	
		
			
				|  |  | +            <MonitorTable
 | 
	
		
			
				|  |  | +              v-if="activeKey === '1'"
 | 
	
		
			
				|  |  | +              ref="MonitorDataTable"
 | 
	
		
			
				|  |  | +              class="monitor-table"
 | 
	
		
			
				|  |  | +              columnsType="gate_monitor"
 | 
	
		
			
				|  |  | +              :isShowActionColumn="true"
 | 
	
		
			
				|  |  | +              :dataSource="dataSource"
 | 
	
		
			
				|  |  | +              design-scope="gate-monitor"
 | 
	
		
			
				|  |  | +              @selectRow="getSelectRow"
 | 
	
		
			
				|  |  | +              :scroll="{ y: scroll.y - 40 }"
 | 
	
		
			
				|  |  | +              title="风门监测"
 | 
	
		
			
				|  |  | +              :isShowPagination="true"
 | 
	
		
			
				|  |  | +            >
 | 
	
		
			
				|  |  |                <template #filterCell="{ column, record }">
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == '0'"
 | 
	
		
			
				|  |  | -                  color="red">正在运行</a-tag>
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == 1"
 | 
	
		
			
				|  |  | -                  color="default">关闭</a-tag>
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '0'"
 | 
	
		
			
				|  |  | -                  color="#46C66F">打开</a-tag>
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '1'"
 | 
	
		
			
				|  |  | -                  color="#FF0000">点位异常</a-tag>
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '0' && record.rearGateClose == '0'"
 | 
	
		
			
				|  |  | -                  color="red">正在运行</a-tag>
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '0' && record.rearGateClose == '1'"
 | 
	
		
			
				|  |  | -                  color="default">关闭</a-tag>
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '1' && record.rearGateClose == '0'"
 | 
	
		
			
				|  |  | -                  color="#46C66F">打开</a-tag>
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '1' && record.rearGateClose == '1'"
 | 
	
		
			
				|  |  | -                  color="#FF0000">点位异常</a-tag>
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == '0'"
 | 
	
		
			
				|  |  | -                  color="red">正在运行</a-tag>
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == 1"
 | 
	
		
			
				|  |  | -                  color="default">关闭</a-tag>
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '0'"
 | 
	
		
			
				|  |  | -                  color="#46C66F">打开</a-tag>
 | 
	
		
			
				|  |  | -                <a-tag
 | 
	
		
			
				|  |  | -                  v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '1'"
 | 
	
		
			
				|  |  | -                  color="#FF0000">点位异常</a-tag>
 | 
	
		
			
				|  |  | +                <a-tag v-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == '0'" color="red"
 | 
	
		
			
				|  |  | +                  >正在运行</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                <a-tag v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == 1" color="default"
 | 
	
		
			
				|  |  | +                  >关闭</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                <a-tag v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '0'" color="#46C66F"
 | 
	
		
			
				|  |  | +                  >打开</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                <a-tag v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '1'" color="#FF0000"
 | 
	
		
			
				|  |  | +                  >点位异常</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                <a-tag v-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '0' && record.rearGateClose == '0'" color="red"
 | 
	
		
			
				|  |  | +                  >正在运行</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                <a-tag v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '0' && record.rearGateClose == '1'" color="default"
 | 
	
		
			
				|  |  | +                  >关闭</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                <a-tag v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '1' && record.rearGateClose == '0'" color="#46C66F"
 | 
	
		
			
				|  |  | +                  >打开</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                <a-tag v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '1' && record.rearGateClose == '1'" color="#FF0000"
 | 
	
		
			
				|  |  | +                  >点位异常</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                <a-tag v-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == '0'" color="red"
 | 
	
		
			
				|  |  | +                  >正在运行</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                <a-tag v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == 1" color="default"
 | 
	
		
			
				|  |  | +                  >关闭</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                <a-tag v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '0'" color="#46C66F"
 | 
	
		
			
				|  |  | +                  >打开</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                <a-tag v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '1'" color="#FF0000"
 | 
	
		
			
				|  |  | +                  >点位异常</a-tag
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  |                  <template v-if="column.dataIndex === 'ndoortype'">
 | 
	
		
			
				|  |  |                    <span v-if="record.ndoortype == '0'">气动风门</span>
 | 
	
		
			
				|  |  |                    <span v-else color="default">液压风门</span>
 | 
	
	
		
			
				|  | @@ -131,14 +139,13 @@
 | 
	
		
			
				|  |  |                  </template>
 | 
	
		
			
				|  |  |                  <a-tag v-else-if="column.dataIndex === 'warnFlag'" :color="record.warnFlag == '0' ? 'green' : 'red'">{{
 | 
	
		
			
				|  |  |                    record.warnFlag == '0' ? '正常' : '报警'
 | 
	
		
			
				|  |  | -                  }}</a-tag>
 | 
	
		
			
				|  |  | +                }}</a-tag>
 | 
	
		
			
				|  |  |                  <a-tag v-if="column.dataIndex === 'netStatus'" :color="record.netStatus == '0' ? '#f00' : 'green'">{{
 | 
	
		
			
				|  |  |                    record.netStatus == '0' ? '断开' : '连接'
 | 
	
		
			
				|  |  | -                  }}</a-tag>
 | 
	
		
			
				|  |  | +                }}</a-tag>
 | 
	
		
			
				|  |  |                </template>
 | 
	
		
			
				|  |  |                <template #action="{ record }">
 | 
	
		
			
				|  |  | -                <a v-if="globalConfig?.showReport" class="table-action-link"
 | 
	
		
			
				|  |  | -                  @click="deviceEdit($event, 'reportInfo', record)">报表录入</a>
 | 
	
		
			
				|  |  | +                <a v-if="globalConfig?.showReport" class="table-action-link" @click="deviceEdit($event, 'reportInfo', record)">报表录入</a>
 | 
	
		
			
				|  |  |                  <a class="table-action-link" @click="deviceEdit($event, 'deviceInfo', record)">设备编辑</a>
 | 
	
		
			
				|  |  |                </template>
 | 
	
		
			
				|  |  |              </MonitorTable>
 | 
	
	
		
			
				|  | @@ -153,42 +160,46 @@
 | 
	
		
			
				|  |  |              <div class="tab-item" v-if="activeKey === '3'">
 | 
	
		
			
				|  |  |                <HistoryTable columns-type="gate" device-type="gate" designScope="gate-history" :scroll="scroll">
 | 
	
		
			
				|  |  |                  <template #filterCell="{ column, record }">
 | 
	
		
			
				|  |  | -                  <a-tag
 | 
	
		
			
				|  |  | -                    v-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == '0'"
 | 
	
		
			
				|  |  | -                    color="red">正在运行</a-tag>
 | 
	
		
			
				|  |  | -                  <a-tag
 | 
	
		
			
				|  |  | -                    v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == 1"
 | 
	
		
			
				|  |  | -                    color="default">关闭</a-tag>
 | 
	
		
			
				|  |  | +                  <a-tag v-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == '0'" color="red"
 | 
	
		
			
				|  |  | +                    >正在运行</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  | +                  <a-tag v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == 1" color="default"
 | 
	
		
			
				|  |  | +                    >关闭</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  |                    <a-tag
 | 
	
		
			
				|  |  |                      v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '0'"
 | 
	
		
			
				|  |  | -                    color="#46C66F">打开</a-tag>
 | 
	
		
			
				|  |  | +                    color="#46C66F"
 | 
	
		
			
				|  |  | +                    >打开</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  |                    <a-tag
 | 
	
		
			
				|  |  |                      v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '1'"
 | 
	
		
			
				|  |  | -                    color="#FF0000">点位异常</a-tag>
 | 
	
		
			
				|  |  | -                  <a-tag
 | 
	
		
			
				|  |  | -                    v-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '0' && record.rearGateClose == '0'"
 | 
	
		
			
				|  |  | -                    color="red">正在运行</a-tag>
 | 
	
		
			
				|  |  | -                  <a-tag
 | 
	
		
			
				|  |  | -                    v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '0' && record.rearGateClose == '1'"
 | 
	
		
			
				|  |  | -                    color="default">关闭</a-tag>
 | 
	
		
			
				|  |  | -                  <a-tag
 | 
	
		
			
				|  |  | -                    v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '1' && record.rearGateClose == '0'"
 | 
	
		
			
				|  |  | -                    color="#46C66F">打开</a-tag>
 | 
	
		
			
				|  |  | -                  <a-tag
 | 
	
		
			
				|  |  | -                    v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '1' && record.rearGateClose == '1'"
 | 
	
		
			
				|  |  | -                    color="#FF0000">点位异常</a-tag>
 | 
	
		
			
				|  |  | -                  <a-tag
 | 
	
		
			
				|  |  | -                    v-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == '0'"
 | 
	
		
			
				|  |  | -                    color="red">正在运行</a-tag>
 | 
	
		
			
				|  |  | -                  <a-tag
 | 
	
		
			
				|  |  | -                    v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == 1"
 | 
	
		
			
				|  |  | -                    color="default">关闭</a-tag>
 | 
	
		
			
				|  |  | -                  <a-tag
 | 
	
		
			
				|  |  | -                    v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '0'"
 | 
	
		
			
				|  |  | -                    color="#46C66F">打开</a-tag>
 | 
	
		
			
				|  |  | -                  <a-tag
 | 
	
		
			
				|  |  | -                    v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '1'"
 | 
	
		
			
				|  |  | -                    color="#FF0000">点位异常</a-tag>
 | 
	
		
			
				|  |  | +                    color="#FF0000"
 | 
	
		
			
				|  |  | +                    >点位异常</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  | +                  <a-tag v-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '0' && record.rearGateClose == '0'" color="red"
 | 
	
		
			
				|  |  | +                    >正在运行</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  | +                  <a-tag v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '0' && record.rearGateClose == '1'" color="default"
 | 
	
		
			
				|  |  | +                    >关闭</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  | +                  <a-tag v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '1' && record.rearGateClose == '0'" color="#46C66F"
 | 
	
		
			
				|  |  | +                    >打开</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  | +                  <a-tag v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '1' && record.rearGateClose == '1'" color="#FF0000"
 | 
	
		
			
				|  |  | +                    >点位异常</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  | +                  <a-tag v-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == '0'" color="red"
 | 
	
		
			
				|  |  | +                    >正在运行</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  | +                  <a-tag v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == 1" color="default"
 | 
	
		
			
				|  |  | +                    >关闭</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  | +                  <a-tag v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '0'" color="#46C66F"
 | 
	
		
			
				|  |  | +                    >打开</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  | +                  <a-tag v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '1'" color="#FF0000"
 | 
	
		
			
				|  |  | +                    >点位异常</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  |                    <template v-if="column.dataIndex === 'ndoortype'">
 | 
	
		
			
				|  |  |                      <span v-if="record.ndoortype == '0'">气动风门</span>
 | 
	
		
			
				|  |  |                      <span v-else color="default">液压风门</span>
 | 
	
	
		
			
				|  | @@ -207,49 +218,64 @@
 | 
	
		
			
				|  |  |                      <a-tag v-else-if="record.warnLevel == '1001'" color="default">网络中断</a-tag>
 | 
	
		
			
				|  |  |                      <a-tag v-else color="green">正常</a-tag>
 | 
	
		
			
				|  |  |                    </template>
 | 
	
		
			
				|  |  | -                  <a-tag v-else-if="column.dataIndex === 'warnFlag'"
 | 
	
		
			
				|  |  | -                    :color="record.warnFlag == '0' ? 'green' : 'red'">{{
 | 
	
		
			
				|  |  | +                  <a-tag v-else-if="column.dataIndex === 'warnFlag'" :color="record.warnFlag == '0' ? 'green' : 'red'">{{
 | 
	
		
			
				|  |  |                      record.warnFlag == '0' ? '正常' : '报警'
 | 
	
		
			
				|  |  | -                    }}</a-tag>
 | 
	
		
			
				|  |  | +                  }}</a-tag>
 | 
	
		
			
				|  |  |                    <a-tag v-if="column.dataIndex === 'netStatus'" :color="record.netStatus == '0' ? '#f00' : 'green'">{{
 | 
	
		
			
				|  |  |                      record.netStatus == '0' ? '断开' : '连接'
 | 
	
		
			
				|  |  | -                    }}</a-tag>
 | 
	
		
			
				|  |  | +                  }}</a-tag>
 | 
	
		
			
				|  |  |                  </template>
 | 
	
		
			
				|  |  |                </HistoryTable>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </a-tab-pane>
 | 
	
		
			
				|  |  |            <a-tab-pane key="4" tab="报警历史">
 | 
	
		
			
				|  |  |              <div class="tab-item" v-if="activeKey === '4'">
 | 
	
		
			
				|  |  | -              <AlarmHistoryTable columns-type="alarm" device-type="gate" :device-list-api="getTableList"
 | 
	
		
			
				|  |  | -                designScope="alarm-history" :scroll="scroll">
 | 
	
		
			
				|  |  | +              <AlarmHistoryTable columns-type="alarm" device-type="gate" :device-list-api="getTableList" designScope="alarm-history" :scroll="scroll">
 | 
	
		
			
				|  |  |                  <template #filterCell="{ column, record }">
 | 
	
		
			
				|  |  | -                  <a-tag v-if="column.dataIndex === 'warnFlag'"
 | 
	
		
			
				|  |  | -                    :color="record.warnFlag == '0' ? 'green' : record.warnFlag == 1 ? '#FF5812' : 'gray'">
 | 
	
		
			
				|  |  | -                    {{ record.warnFlag == '0' ? '正常' : record.warnFlag == 1 ? '报警' : record.warnFlag == 2 ? '断开' : '未监测'
 | 
	
		
			
				|  |  | -                    }}</a-tag>
 | 
	
		
			
				|  |  | +                  <a-tag v-if="column.dataIndex === 'warnFlag'" :color="record.warnFlag == '0' ? 'green' : record.warnFlag == 1 ? '#FF5812' : 'gray'">
 | 
	
		
			
				|  |  | +                    {{ record.warnFlag == '0' ? '正常' : record.warnFlag == 1 ? '报警' : record.warnFlag == 2 ? '断开' : '未监测' }}</a-tag
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  |                    <a-tag v-if="column.dataIndex === 'netStatus'" :color="record.netStatus == '0' ? '#f00' : 'green'">{{
 | 
	
		
			
				|  |  |                      record.netStatus == '0' ? '断开' : '连接'
 | 
	
		
			
				|  |  | -                    }}</a-tag>
 | 
	
		
			
				|  |  | +                  }}</a-tag>
 | 
	
		
			
				|  |  |                  </template>
 | 
	
		
			
				|  |  |                </AlarmHistoryTable>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </a-tab-pane>
 | 
	
		
			
				|  |  |            <a-tab-pane key="5" tab="操作历史">
 | 
	
		
			
				|  |  |              <div class="tab-item" v-if="activeKey === '5'">
 | 
	
		
			
				|  |  | -              <HandlerHistoryTable columns-type="operator_history" device-type="gate" :device-list-api="getTableList"
 | 
	
		
			
				|  |  | -                designScope="alarm-history" :scroll="scroll" />
 | 
	
		
			
				|  |  | +              <HandlerHistoryTable
 | 
	
		
			
				|  |  | +                columns-type="operator_history"
 | 
	
		
			
				|  |  | +                device-type="gate"
 | 
	
		
			
				|  |  | +                :device-list-api="getTableList"
 | 
	
		
			
				|  |  | +                designScope="alarm-history"
 | 
	
		
			
				|  |  | +                :scroll="scroll"
 | 
	
		
			
				|  |  | +              />
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </a-tab-pane>
 | 
	
		
			
				|  |  |          </a-tabs>
 | 
	
		
			
				|  |  |        </dv-border-box8>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  | -  <div ref="playerRef"
 | 
	
		
			
				|  |  | -    style="z-index: 999; position: absolute; top: 100px; right: 15px; width: 300px; height: 280px; margin: auto"> </div>
 | 
	
		
			
				|  |  | -  <LivePlayer id="fm-player1" style="height: 220px; width: 300px; position: absolute; top: 0px; z-index: -1"
 | 
	
		
			
				|  |  | -    ref="player1" :videoUrl="flvURL1()" muted live loading controls />
 | 
	
		
			
				|  |  | -  <HandleModal v-if="!globalConfig?.simulatedPassword" :modal-is-show="modalIsShow" :modal-title="modalTitle"
 | 
	
		
			
				|  |  | -    :modal-type="modalType" @handle-ok="handleOK" @handle-cancel="handleCancel" />
 | 
	
		
			
				|  |  | +  <div ref="playerRef" style="z-index: 999; position: absolute; top: 100px; right: 15px; width: 300px; height: 280px; margin: auto"> </div>
 | 
	
		
			
				|  |  | +  <LivePlayer
 | 
	
		
			
				|  |  | +    id="fm-player1"
 | 
	
		
			
				|  |  | +    style="height: 220px; width: 300px; position: absolute; top: 0px; z-index: -1"
 | 
	
		
			
				|  |  | +    ref="player1"
 | 
	
		
			
				|  |  | +    :videoUrl="flvURL1()"
 | 
	
		
			
				|  |  | +    muted
 | 
	
		
			
				|  |  | +    live
 | 
	
		
			
				|  |  | +    loading
 | 
	
		
			
				|  |  | +    controls
 | 
	
		
			
				|  |  | +  />
 | 
	
		
			
				|  |  | +  <HandleModal
 | 
	
		
			
				|  |  | +    v-if="!globalConfig?.simulatedPassword"
 | 
	
		
			
				|  |  | +    :modal-is-show="modalIsShow"
 | 
	
		
			
				|  |  | +    :modal-title="modalTitle"
 | 
	
		
			
				|  |  | +    :modal-type="modalType"
 | 
	
		
			
				|  |  | +    @handle-ok="handleOK"
 | 
	
		
			
				|  |  | +    @handle-cancel="handleCancel"
 | 
	
		
			
				|  |  | +  />
 | 
	
		
			
				|  |  |    <DeviceBaseInfo @register="registerModal" :device-type="selectData['deviceType']" />
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -435,6 +461,7 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    // 播放动画
 | 
	
		
			
				|  |  |    function playAnimation(handlerState) {
 | 
	
		
			
				|  |  | +    debugger;
 | 
	
		
			
				|  |  |      switch (handlerState) {
 | 
	
		
			
				|  |  |        case 1: // 打开前门
 | 
	
		
			
				|  |  |          if (selectData.frontGateOpen == '0' && selectData.frontGateClose == '1') {
 | 
	
	
		
			
				|  | @@ -636,7 +663,7 @@
 | 
	
		
			
				|  |  |          break;
 | 
	
		
			
				|  |  |        case '7': // 远程与就地
 | 
	
		
			
				|  |  |          data.paramcode = 'autoRoManualControl';
 | 
	
		
			
				|  |  | -        data.value = selectData.autoRoManual;
 | 
	
		
			
				|  |  | +        data.value = selectData.contrlMod != 'loopCtrl' ? selectData.autoRoManual : '';
 | 
	
		
			
				|  |  |          selectData.autoRoManual = null;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 |