1
lzhe
2024-10-24 5280ccf366c656054731d62c903d97b77d5baf0d
src/views/console/workstation/CollTable.vue
@@ -1,13 +1,13 @@
<!--
 * @Date: 2024-10-05 09:51:45
 * @LastEditors: gaoshp
 * @LastEditTime: 2024-10-09 20:11:01
 * @FilePath: /cps-web/src/views/console/workstation/CollTable.vue
 * @LastEditTime: 2024-10-16 23:41:34
 * @FilePath: /avue-data/Users/mache/Documents/demo/cps-web/src/views/console/workstation/CollTable.vue
-->
<template>
    <div>
        <el-table :data="tabledata" height="200px">
            <el-table-column v-for="item in cols" :key="item.prop" :prop="item.prop" :label="item.label" width="120">
        <el-table :data="tabledata">
            <el-table-column width="200" v-for="item in cols" :key="item.prop" :prop="item.prop" :label="item.label">
                <template #header="scope">
                    <span v-show="item.isRequired" style="color: red;">*</span>
                    <span>{{ scope.column.label }}</span>
@@ -99,6 +99,15 @@
                                isRequired: true,
                                type: 'option',
                                options: [{
                                    label: '程序名',
                                    value: 'ProgName'
                                }, {
                                    label: '程序内容',
                                    value: 'ProgContent'
                                }, {
                                    label: '刀具号',
                                    value: 'ToolNo'
                                }, {
                                    label: '状态',
                                    value: 'DeviceStatus'
                                }, {