| | |
| | | <!-- |
| | | * @Date: 2025-07-01 20:45:15 |
| | | * @LastEditors: gaoshp |
| | | * @LastEditTime: 2025-08-02 13:57:52 |
| | | * @LastEditTime: 2025-08-02 14:22:15 |
| | | * @FilePath: /mdmweb/src/views/flow/components/TodolistLeft.vue |
| | | --> |
| | | <template> |
| | |
| | | <div class="tool" v-show="row.taskDefinitionKey === 'programmingTask'"> |
| | | <avue-form :option="attOption" |
| | | v-model="attForm" |
| | | :upload-after="uploadAfter"></avue-form> |
| | | :upload-after="uploadAfter" class="att-box"></avue-form> |
| | | </div> |
| | | <el-table :data="tableData" border @row-click="showContent" max-height="200"> |
| | | <!-- <el-table-column prop="machineCode" label="加工机床"> |
| | | </el-table-column> --> |
| | | <el-table-column prop="name" label="程序名称"> |
| | | </el-table-column> |
| | | <el-table-column fixed="right" label="操作" width="100"> |
| | | <el-table-column fixed="right" label="操作" width="60" align="center"> |
| | | <template #default="scope" v-show="row.taskDefinitionKey === 'programmingTask'"> |
| | | <el-button type="text" size="small" @click.stop="del(scope.$index,scope.row)">删除</el-button> |
| | | </template> |
| | |
| | | attOption: { |
| | | submitBtn: false, |
| | | emptyBtn: false, |
| | | menu: false, |
| | | column: [ |
| | | { |
| | | label: '添加程序', |
| | |
| | | max-height: 400px; |
| | | white-space: pre-wrap; |
| | | } |
| | | |
| | | </style> |
| | | <style lang="scss"> |
| | | .att-box { |
| | | .el-form-item--default { |
| | | margin-bottom: 0; |
| | | } |
| | | .avue-form__menu--center { |
| | | display: none; |
| | | } |
| | | } |
| | | </style> |