forked from drone/command-center-dashboard

张含笑
2025-04-12 64fcaafcb90e8e40f78b0f0c1568ea07d031f345
feat: 修改机巢详情查看按钮
2 files modified
41 ■■■■ changed files
src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceEvent.vue 24 ●●●● patch | view | raw | blame | history
src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceJob/DeviceJob.vue 17 ●●●● patch | view | raw | blame | history
src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceEvent.vue
@@ -2,7 +2,7 @@
    <div class="deviceevent-container">
        <div class="machineTableDetailsTitle">
            <p>
                相关事件 <span>{{ total }}</span
                相关事件<span>{{ total }}</span
                >件
            </p>
        </div>
@@ -32,12 +32,12 @@
                </template>
            </el-table-column>
            <el-table-column label="操作" >
                <template #default="scope" >
            <el-table-column label="操作" width="80">
                <div class="view">查看</div>
                <!-- <template #default="scope" >
                    <el-button type="success" link @click="examine(scope.row)">审核</el-button>
                    <el-button type="primary" link @click="distribution(scope.row)">分拨</el-button>
                </template>
                    <el-button type="primary" link @click="distribution(scope.row)">查看</el-button>
                </template> -->
            </el-table-column>
        </el-table>
        </div>
@@ -252,4 +252,16 @@
background: none !important;
border:none !important
}
.view {
    width: 53px;
    height: 27px;
    background: #001f4e;
    border-radius: 0px 0px 0px 0px;
    border: 1px solid #51a8ff;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    line-height: 27px;
    cursor: pointer;
}
</style>
src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceJob/DeviceJob.vue
@@ -2,7 +2,7 @@
    <div class="devicejob-container">
        <div class="machineTableDetailsTitle">
            <p>
                相关任务 <span>{{ total }}</span
                相关任务<span>{{ total }}</span
                >次
            </p>
        </div>
@@ -28,7 +28,8 @@
                <el-table-column label="操作" width="80">
                    
                    <template #default="scope">
                        <el-button type="warning" link @click="viewJob(scope.row)">查看</el-button>
                        <div class="view" @click="viewJob(scope.row)">查看</div>
                        <!-- <el-button type="warning" link @click="viewJob(scope.row)">查看</el-button> -->
                    </template>
                </el-table-column>
            </el-table>
@@ -242,4 +243,16 @@
:deep(.el-input__inner) {
    color: #fff !important;
}
.view {
    width: 53px;
    height: 27px;
    background: #001f4e;
    border-radius: 0px 0px 0px 0px;
    border: 1px solid #51a8ff;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    line-height: 27px;
    cursor: pointer;
}
</style>