| | |
| | | <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"> |
| | |
| | | isRequired: true, |
| | | type: 'option', |
| | | options: [{ |
| | | label: '程序名', |
| | | value: 'ProgName' |
| | | }, { |
| | | label: '程序内容', |
| | | value: 'ProgContent' |
| | | }, { |
| | | label: '刀具号', |
| | | value: 'ToolNo' |
| | | }, { |
| | | label: '状态', |
| | | value: 'DeviceStatus' |
| | | }, { |
| | |
| | | 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') |
| | | |
| | | }) |
| | | }, |
| | | |
| | |
| | | <!-- |
| | | * @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> |
| | |
| | | isRequired: true, |
| | | type: 'option', |
| | | options: [{ |
| | | label: '程序名', |
| | | value: 'ProgName' |
| | | }, { |
| | | label: '程序内容', |
| | | value: 'ProgContent' |
| | | }, { |
| | | label: '刀具号', |
| | | value: 'ToolNo' |
| | | }, { |
| | | label: '状态', |
| | | value: 'DeviceStatus' |
| | | }, { |