|
@@ -2,53 +2,58 @@
|
|
|
<a-card :bordered="false">
|
|
|
<!-- 查询区域 -->
|
|
|
<div class="table-page-search-wrapper">
|
|
|
- <a-form layout="inline" @keyup.enter.native="searchQuery">
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
- <a-form-item label="联锁名称">
|
|
|
- <a-input placeholder="请输入联锁名称" v-model="queryParam.interlockname"></a-input>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
- <a-form-item label="联锁状态">
|
|
|
- <!-- <a-input placeholder="请输入联锁状态" v-model="queryParam.interlockStatus"></a-input> -->
|
|
|
- <j-dict-select-tag v-model="queryParam.interlockStatus" placeholder="请输入联锁状态" dictCode="interlock_status"/>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <template v-if="toggleSearchStatus">
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
- <a-form-item label="回路健康级别">
|
|
|
- <!-- <a-input placeholder="请输入回路健康级别" v-model="queryParam.loopHealthLevel"></a-input> -->
|
|
|
- <a-select placeholder="请输入回路健康级别" v-model="queryParam.loopHealthLevel" allowClear :options="healthLevelOption"></a-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :xl="10" :lg="11" :md="12" :sm="24">
|
|
|
+ <div class="iotmenu-search-container">
|
|
|
+ <div class="item-search">
|
|
|
+ <a-input placeholder="请输入联锁名称" v-model="queryParam.interlockname" allow-clear @change="searchQuery">
|
|
|
+ <a-icon slot="prefix" type="search" />
|
|
|
+ </a-input>
|
|
|
+ </div>
|
|
|
+ <div class="item-search">
|
|
|
+ <a-input placeholder="请输入联锁条件" v-model="queryParam.interlockConditionTag" allow-clear @change="searchQuery">
|
|
|
+ <a-icon slot="prefix" type="search" />
|
|
|
+ </a-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="selectData.interlockType === '1'" class="item-search">
|
|
|
+ <a-select placeholder="请选择仪表状态" v-model="queryParam.instrumentStatus" allowClear :options="healthLevelOption" style="width: 100%;"></a-select>
|
|
|
+ </div>
|
|
|
+ <div v-if="selectData.interlockType === '1'" class="item-search">
|
|
|
+ <a-select placeholder="请选择控制系统状态" v-model="queryParam.controlSystemStatus" allowClear :options="healthLevelOption" style="width: 100%;"></a-select>
|
|
|
+ </div>
|
|
|
+ <div v-if="selectData.interlockType === '1'" class="item-search">
|
|
|
+ <a-select placeholder="请选择旁路状态" v-model="queryParam.bypass" allowClear :options="healthLevelOption" style="width: 100%;"></a-select>
|
|
|
+ </div>
|
|
|
+ <div v-if="selectData.interlockType === '1'" class="item-search">
|
|
|
+ <j-dict-select-tag v-model="queryParam.interlockStatus" placeholder="请选择联锁状态" dictCode="interlock_status" style="width: 100%;"/>
|
|
|
+ </div>
|
|
|
+ <div v-if="selectData.interlockType === '1'" class="item-search">
|
|
|
+ <a-select placeholder="请选择回路健康级别" v-model="queryParam.loopHealthLevel" allowClear :options="healthLevelOption" style="width: 100%;"></a-select>
|
|
|
+ </div>
|
|
|
+ <div class="item-search">
|
|
|
+ <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择开始时间" class="query-group-cust" v-model="queryParam.beginTime"></j-date>
|
|
|
+ <!-- <span class="query-group-split-cust"></span> -->
|
|
|
+ </div>
|
|
|
+ <div class="item-search">
|
|
|
+ <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择结束时间" class="query-group-cust" v-model="queryParam.endTime"></j-date>
|
|
|
+ </div>
|
|
|
+ <div class="item-search-btn">
|
|
|
+ <a-button type="primary" icon="download" v-has="'export:history'" @click="handleExportXls('历史数据')">导出</a-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- <a-col :xl="10" :lg="11" :md="12" :sm="24">
|
|
|
<a-form-item label="时间">
|
|
|
<j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择开始时间" class="query-group-cust" v-model="queryParam.beginTime"></j-date>
|
|
|
<span class="query-group-split-cust"></span>
|
|
|
<j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择结束时间" class="query-group-cust" v-model="queryParam.endTime"></j-date>
|
|
|
</a-form-item>
|
|
|
- </a-col>
|
|
|
- </template>
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
- <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
|
|
- <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
|
|
|
- <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
|
|
|
- <a @click="handleToggleSearch" style="margin-left: 8px">
|
|
|
- {{ toggleSearchStatus ? '收起' : '展开' }}
|
|
|
- <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
|
|
- </a>
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- </a-form>
|
|
|
+ </a-col> -->
|
|
|
</div>
|
|
|
<!-- 查询区域-END -->
|
|
|
|
|
|
<!-- 操作按钮区域 -->
|
|
|
- <div class="table-operator">
|
|
|
+ <!-- <div class="table-operator"> -->
|
|
|
<!-- <a-button v-if="selectData.interlockType == '1'" @click="handleAdd" type="primary" icon="plus">新增</a-button> -->
|
|
|
- <a-button type="primary" icon="download" v-has="'export:history'" @click="handleExportXls('历史数据')">导出</a-button>
|
|
|
+ <!-- <a-button type="primary" icon="download" v-has="'export:history'" @click="handleExportXls('历史数据')">导出</a-button> -->
|
|
|
<!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
|
<a-button type="primary" icon="import">导入</a-button>
|
|
|
</a-upload> -->
|
|
@@ -60,7 +65,7 @@
|
|
|
</a-menu>
|
|
|
<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
|
|
|
</a-dropdown> -->
|
|
|
- </div>
|
|
|
+ <!-- </div> -->
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
|
<div>
|