|
@ -10,7 +10,8 @@ |
|
|
<el-table-column prop="name" label="工艺名称"/> |
|
|
<el-table-column prop="name" label="工艺名称"/> |
|
|
<el-table-column prop="routeType" label="喷涂路线" width="100"> |
|
|
<el-table-column prop="routeType" label="喷涂路线" width="100"> |
|
|
<template v-slot="scope"> |
|
|
<template v-slot="scope"> |
|
|
{{scope.row.routeType == 1 ? '横向' : '竖向'}} |
|
|
|
|
|
|
|
|
<img v-if="scope.row.routeType === 1" :src="route_h" width="20px" height="20px" alt="icon"/> |
|
|
|
|
|
<img v-else :src="route_v" width="20px" height="20px" alt="icon"/> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="height" label="喷涂高度" width="100" /> |
|
|
<el-table-column prop="height" label="喷涂高度" width="100" /> |
|
@ -34,6 +35,8 @@ |
|
|
import { useSettingStore } from '@/stores/setting' |
|
|
import { useSettingStore } from '@/stores/setting' |
|
|
import type { CraftItem } from "@/services/matrix/type"; |
|
|
import type { CraftItem } from "@/services/matrix/type"; |
|
|
import { ElMessage, ElMessageBox } from "element-plus"; |
|
|
import { ElMessage, ElMessageBox } from "element-plus"; |
|
|
|
|
|
import route_v from "@/assets/route_vertical.png"; |
|
|
|
|
|
import route_h from "@/assets/route_horizontal.png"; |
|
|
let total = ref() |
|
|
let total = ref() |
|
|
const loading = ref(false) |
|
|
const loading = ref(false) |
|
|
const settingStore = useSettingStore() |
|
|
const settingStore = useSettingStore() |
|
|