gaoshp
2024-10-16 ef6702a962c4ebe2ff9494375ae8b2011632c12f
update
已修改2个文件
33 ■■■■ 文件已修改
src/views/console/workstation/CollDialog.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/console/workstation/CollTable.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/console/workstation/CollDialog.vue
@@ -1,5 +1,5 @@
<template>
    <el-dialog title="数据点" v-model="visible" :width="'80%'" destroy-on-close @closed="$emit('closed')">
    <el-dialog title="数据点" v-model="visible" :width="'100%'" destroy-on-close @closed="$emit('closed')">
        <p style="margin-bottom: 14px;display: flex;align-items: center;">
            <span style="margin-right: 8px;">类型</span>
            <el-select v-model="type" placeholder="类型" size="small" style="width: 240px" @change="changeType">
@@ -198,6 +198,15 @@
                        isRequired: true,
                        type: 'option',
                        options: [{
                            label: '程序名',
                            value: 'ProgName'
                        }, {
                            label: '程序内容',
                            value: 'ProgContent'
                        }, {
                            label: '刀具号',
                            value: 'ToolNo'
                        }, {
                            label: '状态',
                            value: 'DeviceStatus'
                        }, {
@@ -273,10 +282,13 @@
                    this.getList({
                        workstationId: this.params.id,
                    })
                    this.visible = false
                    this.$emit('success')
                } else {
                    this.$message.error(res.msg)
                }
            }).finally(() => {
                this.visible = false
                this.$emit('success')
            })
        },
src/views/console/workstation/CollTable.vue
@@ -1,8 +1,8 @@
<!--
 * @Date: 2024-10-05 09:51:45
 * @LastEditors: lzhe lzhe@example.com
 * @LastEditTime: 2024-10-10 10:45:03
 * @FilePath: /cps-web/src/views/console/workstation/CollTable.vue
 * @LastEditors: gaoshp
 * @LastEditTime: 2024-10-16 23:41:34
 * @FilePath: /avue-data/Users/mache/Documents/demo/cps-web/src/views/console/workstation/CollTable.vue
-->
<template>
    <div>
@@ -99,6 +99,15 @@
                                isRequired: true,
                                type: 'option',
                                options: [{
                                    label: '程序名',
                                    value: 'ProgName'
                                }, {
                                    label: '程序内容',
                                    value: 'ProgContent'
                                }, {
                                    label: '刀具号',
                                    value: 'ToolNo'
                                }, {
                                    label: '状态',
                                    value: 'DeviceStatus'
                                }, {