吉安感知网项目-前端
chenyao
7 days ago f0bed9b163996deb9c63e22e4c17f53815ef5ebb
feat:更新列表值,和固定最右侧操作栏
4 files modified
18 ■■■■■ changed files
applications/drone-command/src/styles/common/cockpit.scss 10 ●●●● patch | view | raw | blame | history
applications/drone-command/src/views/basicManage/deviceStock/index.vue 2 ●●● patch | view | raw | blame | history
applications/drone-command/src/views/basicManage/maintainRecord/index.vue 4 ●●●● patch | view | raw | blame | history
applications/task-work-order/src/views/basicManage/maintainRecord/index.vue 2 ●●● patch | view | raw | blame | history
applications/drone-command/src/styles/common/cockpit.scss
@@ -1139,8 +1139,10 @@
        }
    }
    th.el-table__cell:not(.fixed-column),
    td.el-table__cell:not(.fixed-column) {
    // 注意:Element Plus 2.9.11 固定列类名为 el-table-fixed-column--left/right,
    // 老的 .fixed-column 已不存在,这里需一并排除,否则固定列会被刷成透明
    th.el-table__cell:not(.fixed-column):not(.el-table-fixed-column--left):not(.el-table-fixed-column--right),
    td.el-table__cell:not(.fixed-column):not(.el-table-fixed-column--left):not(.el-table-fixed-column--right) {
        background: transparent !important;
    }
@@ -1182,7 +1184,9 @@
        }
    }
    .fixed-column {
    .fixed-column,
    .el-table-fixed-column--left,
    .el-table-fixed-column--right {
        background-color: #1A1A2A !important;
    }
}
applications/drone-command/src/views/basicManage/deviceStock/index.vue
@@ -96,7 +96,7 @@
                            {{ row.maintenanceStatus === 0 ? '否' : '是' }}
                        </template>
                    </el-table-column>
                    <el-table-column label="操作" class-name="operation-btns" width="196">
                    <el-table-column label="操作" class-name="operation-btns" width="196" fixed="right">
                        <template v-slot="{ row }">
                            <el-link @click="handleView(row)">查看</el-link>
                            <el-link @click="handleEdit(row)">编辑</el-link>
applications/drone-command/src/views/basicManage/maintainRecord/index.vue
@@ -47,7 +47,7 @@
                    <el-table-column prop="charger" show-overflow-tooltip label="负责人" />
                    <el-table-column prop="maintainStatus" show-overflow-tooltip label="维护提醒">
                        <template v-slot="{ row }">
                            {{ row.maintainStatus === 1 ? '已维修' : '未维修' }}
                            {{ row.maintainStatus === 1 ? '已维护' : '未维护' }}
                        </template>
                    </el-table-column>
                    <el-table-column prop="planCycleType" show-overflow-tooltip label="维护计划">
@@ -55,7 +55,7 @@
                            {{ getPlanCycleLabel(row) }}
                        </template>
                    </el-table-column>
                    <el-table-column label="操作" class-name="operation-btns">
                    <el-table-column label="操作" class-name="operation-btns" fixed="right">
                        <template v-slot="{ row }">
                            <el-link @click="handleView(row)">查看</el-link>
                            <el-link @click="maintenance(row)">维护</el-link>
applications/task-work-order/src/views/basicManage/maintainRecord/index.vue
@@ -51,7 +51,7 @@
                            {{ getPlanCycleLabel(row) }}
                        </template>
                    </el-table-column>
                    <el-table-column label="操作" class-name="operation-btns">
                    <el-table-column label="操作" class-name="operation-btns" fixed="right">
                        <template v-slot="{ row }">
                            <el-link @click="openForm('view', row)">查看</el-link>
                            <el-link @click="openForm('edit', row)">编辑</el-link>