This commit is contained in:
2024-12-03 16:05:17 +08:00
parent ee27f72ea1
commit 2af9f5a3a4
2 changed files with 17 additions and 2 deletions

View File

@@ -79,6 +79,7 @@ import logoImg3 from '@/assets/images/door/3.jpg'
import logoImg4 from '@/assets/images/door/4.jpg' import logoImg4 from '@/assets/images/door/4.jpg'
import logoImg5 from '@/assets/images/door/5.jpg' import logoImg5 from '@/assets/images/door/5.jpg'
import logoImg0 from '@/assets/images/door/1.png' import logoImg0 from '@/assets/images/door/1.png'
import logoImg6 from '@/assets/images/door/6.jpg' import logoImg6 from '@/assets/images/door/6.jpg'
import logoImg7 from '@/assets/images/door/2.png' import logoImg7 from '@/assets/images/door/2.png'

View File

@@ -109,7 +109,11 @@
</el-table-column> </el-table-column>
<el-table-column prop="priority" label="优先级" /> <el-table-column prop="priority" label="优先级" />
<el-table-column prop="beat" label="节拍" /> <el-table-column prop="beat" label="节拍" />
<el-table-column prop="status" label="状态" /> <el-table-column prop="status" label="状态">
<template #default="scope">
<dict-tag :options="options.statusOptions" :value="scope.row.status + ''" />
</template>
</el-table-column>
<el-table-column prop="instructionDate" label="指示日期"> <el-table-column prop="instructionDate" label="指示日期">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.instructionDate != '' && scope.row.instructionDate != null">{{ <span v-if="scope.row.instructionDate != '' && scope.row.instructionDate != null">{{
@@ -689,7 +693,17 @@ const state = reactive({
}, },
options: { options: {
// 工单状态 选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'} // 工单状态 选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
statusOptions: [], statusOptions: [
{ dictLabel: '未开始', dictValue: 1, listClass: 'info' },
{ dictLabel: '物料领料', dictValue: 2, listClass: 'primary' },
{ dictLabel: '机械加工', dictValue: 3, listClass: 'primary' },
{ dictLabel: '物料领料', dictValue: 2, listClass: 'primary' },
{ dictLabel: '机械加工', dictValue: 3, listClass: 'primary' },
{ dictLabel: '物料领料', dictValue: 2, listClass: 'primary' },
{ dictLabel: '机械加工', dictValue: 3, listClass: 'primary' },
{ dictLabel: '物料领料', dictValue: 2, listClass: 'primary' },
{ dictLabel: '机械加工', dictValue: 3, listClass: 'primary' }
],
// 优先级 // 优先级
priorityOptions: [ priorityOptions: [
{ dictLabel: '正常', dictValue: 1, listClass: 'primary' }, { dictLabel: '正常', dictValue: 1, listClass: 'primary' },