Преглед на файлове

感知设备详情中的关联点位展示监测点基本信息

zengy преди 2 дни
родител
ревизия
04ffa3a863

+ 5 - 5
src/views/subSystem/pipeNetwork/pdeviceInform/PequipmentLed.vue

@@ -104,7 +104,7 @@
                 {{ typeNameMap[scope.row.equipmentTypeId] || scope.row.equipmentTypeId || "-" }}
               </template>
             </el-table-column>
-            <el-table-column label="当前状态" align="center" width="110">
+            <el-table-column label="资产状态" align="center" width="110">
               <template #default="scope">
                 <el-tag :type="getStatusTagType(getRowStatus(scope.row.equipmentId))">
                   {{ getStatusText(getRowStatus(scope.row.equipmentId)) }}
@@ -116,7 +116,7 @@
               <template #default="scope">
                 <el-button link type="primary" icon="View" @click.stop="handleView(scope.row)">详情</el-button>
                 <el-button link type="primary" icon="Edit" @click.stop="handleUpdate(scope.row)">修改</el-button>
-                <el-button link type="warning" icon="Tools" @click.stop="openStatusDialog(scope.row)">状态维护</el-button>
+                <el-button link type="warning" icon="Tools" @click.stop="openStatusDialog(scope.row)">资产状态维护</el-button>
                 <el-button link type="success" icon="Aim" @click.stop="openTestDialog(scope.row)">测试验证</el-button>
                 <el-button link type="danger" icon="Delete" @click.stop="handleDelete(scope.row)">删除</el-button>
               </template>
@@ -172,8 +172,8 @@
             <div class="section-block">
               <div class="section-title">关联点位</div>
               <el-table :data="selectedDetail.pointRelList || []" size="small" max-height="180">
-                <el-table-column label="监测点ID" prop="pointId" min-width="160" show-overflow-tooltip />
-                <el-table-column label="设备ID" prop="equipmentId" min-width="160" show-overflow-tooltip />
+                <el-table-column label="监测点编码" prop="pointCode" min-width="160" show-overflow-tooltip />
+                <el-table-column label="监测点名称" prop="pointName" min-width="160" show-overflow-tooltip />
               </el-table>
             </div>
 
@@ -309,7 +309,7 @@
         <el-form-item label="设备名称">
           <span>{{ currentRow.equipmentName || "-" }}</span>
         </el-form-item>
-        <el-form-item label="当前状态">
+        <el-form-item label="资产状态">
           <el-select v-model="statusForm.currentStatus" style="width: 100%">
             <el-option
               v-for="item in equipmentStatusOptions"

+ 1 - 3
src/views/subSystem/pipeNetwork/pdeviceInform/PkeyPoints.vue

@@ -104,6 +104,7 @@
             @row-click="handleRowClick"
           >
             <el-table-column type="selection" width="55" align="center" />
+            <el-table-column label="监测点编码" prop="pointCode" min-width="120" show-overflow-tooltip />
             <el-table-column label="监测点名称" prop="pointName" min-width="170" show-overflow-tooltip />
             <el-table-column label="监测类型" prop="pointType" min-width="110" />
             <el-table-column label="状态" width="90">
@@ -120,9 +121,6 @@
             </el-table-column>
             <el-table-column label="操作" align="center" width="150">
               <template #default="scope">
-                <el-button link type="primary" icon="Connection" @click.stop="openBindDialog(scope.row)">
-                  关联设备
-                </el-button>
                 <el-button link type="primary" icon="Edit" @click.stop="handleUpdate(scope.row)">修改</el-button>
               </template>
             </el-table-column>