forked from drone/command-center-dashboard

张含笑
2025-04-14 3a95a32971d0e58b26c8137de4aa0400f34d1f27
feat: 去除待分拨
2 files modified
47 ■■■■■ changed files
src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceEvent.vue 45 ●●●●● patch | view | raw | blame | history
src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceJob/DeviceJob.vue 2 ●●● patch | view | raw | blame | history
src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceEvent.vue
@@ -18,17 +18,16 @@
                </el-table-column>
            <el-table-column prop="id" label="事件编号" />
            <el-table-column prop="event_name" label="事件名称" />
            <el-table-column prop="event_name" label="所属单位 " />
            <el-table-column show-overflow-tooltip prop="media_type" label="事件内容" />
            <el-table-column prop="create_user" label="所属单位 " />
            <el-table-column show-overflow-tooltip prop="remark" label="事件内容" />
            <el-table-column show-overflow-tooltip prop="ai_types" label="关联算法" />
            <el-table-column prop="status" label="事件状态">
                <template #default="scope">
                    <el-tag v-if="scope.row.status === 0" type="info">待处理</el-tag>
                    <el-tag v-if="scope.row.status === 1" type="success">待分拨</el-tag>
                    <el-tag v-if="scope.row.status === 2" type="warning">待处理</el-tag>
                    <el-tag v-if="scope.row.status === 3" type="success">处理中</el-tag>
                    <el-tag v-if="scope.row.status === 4" type="success">已完成</el-tag>
                    <el-tag v-if="scope.row.status === 5" type="success">已完结</el-tag>
                    <div class="pending" v-if="scope.row.status === 0">待处理</div>
                    <div class="reviewed" v-if="scope.row.status === 2">待审核</div>
                    <div class="processing" v-if="scope.row.status === 3">处理中</div>
                    <div class="done" v-if="scope.row.status === 4">已完成</div>
                    <div class="ended" v-if="scope.row.status === 5">已完结</div>
                </template>
            </el-table-column>
@@ -36,10 +35,6 @@
                <template #default="scope">
                <div class="ztzf-view" @click="distribution(scope.row)">查看</div>
                </template>
                <!-- <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-table-column>
        </el-table>
        </div>
@@ -49,7 +44,7 @@
            :page-sizes="[10, 20, 30, 50]"
            v-model:current-page="sizeParams.current"
            v-model:page-size="sizeParams.size"
            layout="prev, pager, next, jumper"
            layout="prev, pager, next,sizes, jumper"
            :total="total"
            @change="pageChange"
        />
@@ -145,10 +140,24 @@
    background: center center no-repeat none !important;
    color: #8eb8ea !important;
}
:deep(.el-tag){
background: none !important;
border:none !important
// 待处理
.pending{
color: #FF7411;
}
// 待审核
.reviewed{
color: #8CFEA7;
}
// 处理中
.processing{
color: #FFC398;
}
// 已完成
.done{
color: #AFD9FB;
}
// 已完结
.ended{
color: #11C4FF;
}
</style>
src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceJob/DeviceJob.vue
@@ -39,7 +39,7 @@
            :page-sizes="[10, 20, 30, 50]"
            v-model:current-page="sizeParams.current"
            v-model:page-size="sizeParams.size"
            layout=" prev, pager, next, jumper"
            layout=" prev, pager, next,sizes, jumper"
            :total="total"
            @change="pageChange"
        />