yangys
2025-08-09 e02fc11eae8978cb4b33cf8541697efae5eadaed
src/views/flowmgr/processQuery.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2025-06-18 09:17:09
 * @LastEditors: gaoshp
 * @LastEditTime: 2025-07-22 22:59:04
 * @LastEditTime: 2025-07-23 22:20:42
 * @FilePath: /mdmweb/src/views/flowmgr/processQuery.vue
-->
<template>
@@ -80,7 +80,7 @@
                        search: true,
                        searchType: 'select',
                        hide: true,
                        dicUrl: `/blade-system/dict/dictionary?code=flow`,
                        dicUrl: `/blade-mdm/system/dict/dictionary?code=flow`,
                        props: {
                            label: 'dictValue',
                            value: 'remark',
@@ -103,6 +103,51 @@
                        searchType: 'input',
                        hide: true,
                    },
               {
                        label: '流程名称',
                        prop: 'processDefinitionName',
                        width: 80,
                    },
               {
                        label: '标题',
                        prop: '',
                        width: 150,
                  render: ({ row }) => {
                            return h('p',
                                {
                                    attrs: {},
                                    class: {},
                                    style: {},
                                }, row?.variables?.title)
                        }
                    },
               {
                        label: '图号',
                        prop: '',
                        width: 100,
                  render: ({ row }) => {
                            return h('p',
                                {
                                    attrs: {},
                                    class: {},
                                    style: {},
                                }, row?.variables?.drawingNo)
                        }
                    },
               {
                        label: '产品型号',
                        prop: '',
                        width: 100,
                  render: ({ row }) => {
                            return h('p',
                                {
                                    attrs: {},
                                    class: {},
                                    style: {},
                                }, row?.variables?.productModel)
                        }
                    },
                    {
                        label: '机床',
                        prop: '',
@@ -118,7 +163,8 @@
                    {
                        label: '创建人',
                        prop: 'startUserName',
                    },
                  width: 80,
                    },/*
                    {
                        label: '工序名称',
                        prop: '',
@@ -130,7 +176,7 @@
                                    style: {},
                                }, row?.variables?.processName)
                        }
                    },
                    },*/
                    {
                        label: '创建时间',
                        prop: 'processCreateTime',
@@ -138,6 +184,7 @@
                    {
                        label: '当前节点',
                        prop: 'taskName',
                  width: 90
                    },
                ],
                
@@ -228,7 +275,9 @@
                    type: 'warning',
                })
                    .then(() => {
                        deleteRow({ processInstanceId: row.processInstanceId,id:row.processInstanceId })
                        deleteRow({ processInstanceId: row.processInstanceId,id:row.processInstanceId }).then(res => {
                            this.onLoad(this.page, this.query);
                        })
                    })
            } else if (flag === 1) {
                printRow({ processInstanceId: row.processInstanceId })