|
@@ -5,7 +5,7 @@
|
|
|
<el-col :span="12">
|
|
|
<el-button size="small" type="default" icon="el-icon-back" @click="goback"></el-button>
|
|
|
<div style="display:inline-block;width:317px;margin-left:10px;">
|
|
|
- <dictionary-device @change="changeDictionary" :Related="false"></dictionary-device>
|
|
|
+ <dictionary-device @change="changeDictionary" :Related="false" :typeName="typeName"></dictionary-device>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="text-right">
|
|
@@ -20,12 +20,12 @@
|
|
|
<!-- 列表及查询条件区域 -->
|
|
|
<div class="table-container clearfix">
|
|
|
<div class="left-table">
|
|
|
- <h5>未对应的设备标识</h5>
|
|
|
+ <h5>未对应的{{typeName}}标识</h5>
|
|
|
<!-- 查询条件 -->
|
|
|
<div class="query-box clearfix">
|
|
|
<div class="query-item">
|
|
|
- <label>设备标识关键字</label>
|
|
|
- <el-input placeholder="请输入设备标识关键字" v-model="form.EquipmentMark" @keyup.enter.native="queryLeftTable">
|
|
|
+ <label>{{typeName}}标识关键字</label>
|
|
|
+ <el-input :placeholder="`请输入${typeName}标识关键字`" v-model="form.EquipmentMark" @keyup.enter.native="queryLeftTable">
|
|
|
<i slot="suffix" class="el-input__icon el-icon-search" @click="queryLeftTable"></i>
|
|
|
</el-input>
|
|
|
</div>
|
|
@@ -53,8 +53,8 @@
|
|
|
</el-tooltip>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="SubTypeName" label="设备类型关键字" align="right" show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column prop="EquipmentMark" label="设备标识" show-overflow-tooltip align="right" width="200" class-name="bgf5"></el-table-column>
|
|
|
+ <el-table-column prop="SubTypeName" :label="`${typeName}类型关键字`" align="right" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column prop="EquipmentMark" :label="`${typeName}标识`" show-overflow-tooltip align="right" width="200" class-name="bgf5"></el-table-column>
|
|
|
<el-table-column type="selection" width="35" class-name="bgf5"></el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
@@ -62,7 +62,7 @@
|
|
|
<transition name="el-zoom-in-top">
|
|
|
<div class="AIRecom" v-show="leftRecoList.length&&leftAI&&rArray.length">
|
|
|
<div class="l-title">
|
|
|
- 可能对应的设备标识
|
|
|
+ 可能对应的{{typeName}}标识
|
|
|
<i class="el-icon-close" @click="leftRecoList=[]"></i>
|
|
|
</div>
|
|
|
<div v-for="(t,i) in leftRecoList" :key="t.id" class="l-ai-recom-item ai-recom-item" @click="selectAI(i,'l')">
|
|
@@ -79,12 +79,12 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="right-table" style="float: right;">
|
|
|
- <h5>未对应的设备实例</h5>
|
|
|
+ <h5>未对应的{{typeName}}实例</h5>
|
|
|
<!-- 查询条件 -->
|
|
|
<div class="query-box clearfix">
|
|
|
<div class="query-item">
|
|
|
- <label>设备实例关键字</label>
|
|
|
- <el-input placeholder="请输入设备实例关键字" v-model="form.ObjectLocalName" @keyup.enter.native="queryRightTable">
|
|
|
+ <label>{{typeName}}实例关键字</label>
|
|
|
+ <el-input :placeholder="`请输入${typeName}实例关键字`" v-model="form.ObjectLocalName" @keyup.enter.native="queryRightTable">
|
|
|
<i slot="suffix" class="el-input__icon el-icon-search" @click="queryRightTable"></i>
|
|
|
</el-input>
|
|
|
</div>
|
|
@@ -99,11 +99,11 @@
|
|
|
<el-table ref="rTableBody" :data="RtableData" tooltip-effect="dark" style="width: 100%" height="100%" @row-click="clickRightRow"
|
|
|
@selection-change="rightSelectionChange">
|
|
|
<el-table-column type="selection" width="35" class-name="bgf5"></el-table-column>
|
|
|
- <el-table-column label="设备实例名称" width="200" class-name="bgf5" show-overflow-tooltip>
|
|
|
+ <el-table-column :label="`${typeName}实例名称`" width="200" class-name="bgf5" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">{{ scope.row.ObjectLocalName }}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="ObjectID" label="设备实例编码" show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column prop="SubTypeName" label="设备类型" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column prop="ObjectID" :label="`${typeName}实例编码`" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column prop="SubTypeName" :label="`${typeName}类型`" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column label="所在建筑楼层">
|
|
|
<template slot-scope="scope">
|
|
|
<el-tooltip :content="scope.row.BuildLocalName&&scope.row.FloorLocalName?scope.row.BuildLocalName+'-'+scope.row.FloorLocalName:''"
|
|
@@ -120,7 +120,7 @@
|
|
|
<transition name="el-zoom-in-top">
|
|
|
<div class="AIRecom" v-show="rightRecoList.length&&!leftAI&&lArray.length">
|
|
|
<div class="r-title">
|
|
|
- 可能对应的设备实例
|
|
|
+ 可能对应的{{typeName}}实例
|
|
|
<i class="el-icon-close" @click="rightRecoList=[]"></i>
|
|
|
</div>
|
|
|
<div v-for="(t,i) in rightRecoList" :key="t.id" class="r-ai-recom-item ai-recom-item" @click="selectAI(i,'r')">
|