| | |
| | | <!-- |
| | | * @Date: 2025-06-18 09:17:09 |
| | | * @LastEditors: gaoshp |
| | | * @LastEditTime: 2025-07-23 22:20:42 |
| | | * @LastEditTime: 2025-08-09 20:55:52 |
| | | * @FilePath: /mdmweb/src/views/flowmgr/processQuery.vue |
| | | --> |
| | | <template> |
| | |
| | | search: true, |
| | | searchType: 'input', |
| | | hide: true, |
| | | viewDisplay: false, |
| | | }, |
| | | |
| | | { |
| | | label: '标题', |
| | | prop: 'variables.title', |
| | | width: 150, |
| | | render: ({ row }) => { |
| | | return h('p', |
| | | { |
| | | attrs: {}, |
| | | class: {}, |
| | | style: {}, |
| | | }, row?.variables?.title) |
| | | }, |
| | | renderForm: ({ row }) => { |
| | | return h('span', { |
| | | attrs: {}, |
| | | class: {}, |
| | | style: {}, |
| | | }, row?.variables?.title || ''); |
| | | } |
| | | }, |
| | | { |
| | | label: '流程名称', |
| | | prop: 'processDefinitionName', |
| | | width: 80, |
| | | }, |
| | | { |
| | | label: '图号', |
| | | prop: '', |
| | | width: 100, |
| | | render: ({ row }) => { |
| | | return h('p', |
| | | { |
| | | attrs: {}, |
| | | class: {}, |
| | | style: {}, |
| | | }, row?.variables?.drawingNo) |
| | | }, |
| | | renderForm: ({ row }) => { |
| | | return h('span', { |
| | | attrs: {}, |
| | | class: {}, |
| | | style: {}, |
| | | }, row?.variables?.drawingNo || ''); |
| | | } |
| | | }, |
| | | { |
| | | label: '产品型号', |
| | | prop: '', |
| | | width: 100, |
| | | render: ({ row }) => { |
| | | return h('p', |
| | | { |
| | | attrs: {}, |
| | | class: {}, |
| | | style: {}, |
| | | }, row?.variables?.productModel) |
| | | }, |
| | | renderForm: ({ row }) => { |
| | | return h('span', { |
| | | attrs: {}, |
| | | class: {}, |
| | | style: {}, |
| | | }, row?.variables?.productModel || ''); |
| | | } |
| | | }, |
| | | |
| | | { |
| | | label: '机床', |
| | | prop: '', |
| | |
| | | class: {}, |
| | | style: {}, |
| | | }, row?.variables?.machineCode) |
| | | }, |
| | | renderForm: ({ row }) => { |
| | | return h('span', { |
| | | attrs: {}, |
| | | class: {}, |
| | | style: {}, |
| | | }, row?.variables?.machineCode || ''); |
| | | } |
| | | }, |
| | | { |
| | | label: '创建人', |
| | | prop: 'startUserName', |
| | | }, |
| | | width: 80, |
| | | },/* |
| | | { |
| | | label: '工序名称', |
| | | prop: '', |
| | |
| | | style: {}, |
| | | }, row?.variables?.processName) |
| | | } |
| | | }, |
| | | },*/ |
| | | { |
| | | label: '创建时间', |
| | | prop: 'processCreateTime', |
| | |
| | | { |
| | | label: '当前节点', |
| | | prop: 'taskName', |
| | | width: 90 |
| | | }, |
| | | ], |
| | | |