fix:任务分级
This commit is contained in:
parent
af77ee8b38
commit
e934018c85
|
@ -64,6 +64,19 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="任务等级" prop="priority" width="75">
|
||||||
|
<template #default="scope">
|
||||||
|
<el-tag v-if="scope.row.priority == 10" type="primary">
|
||||||
|
{{ priority_[scope.row.priority] }}
|
||||||
|
</el-tag>
|
||||||
|
<el-tag v-else-if="scope.row.priority == 20" type="warning">
|
||||||
|
{{ priority_[scope.row.priority] }}
|
||||||
|
</el-tag>
|
||||||
|
<el-tag v-else type="danger">
|
||||||
|
{{ priority_[scope.row.priority] }}
|
||||||
|
</el-tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="工艺路线"
|
label="工艺路线"
|
||||||
prop="material_"
|
prop="material_"
|
||||||
|
@ -103,19 +116,6 @@
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="任务等级" prop="priority" width="75">
|
|
||||||
<template #default="scope">
|
|
||||||
<el-tag v-if="scope.row.priority == 10" type="primary">
|
|
||||||
{{ priority_[scope.row.priority] }}
|
|
||||||
</el-tag>
|
|
||||||
<el-tag v-else-if="scope.row.priority == 20" type="warning">
|
|
||||||
{{ priority_[scope.row.priority] }}
|
|
||||||
</el-tag>
|
|
||||||
<el-tag v-else type="danger">
|
|
||||||
{{ priority_[scope.row.priority] }}
|
|
||||||
</el-tag>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="任务数量" prop="count">
|
<el-table-column label="任务数量" prop="count">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="合格数量" prop="count_ok">
|
<el-table-column label="合格数量" prop="count_ok">
|
||||||
|
|
Loading…
Reference in New Issue