From a1aa5a9a05c211e8d78780a318fac71c9d3313f9 Mon Sep 17 00:00:00 2001
From: lzhe <181968431@qq.com>
Date: 星期日, 10 八月 2025 12:03:19 +0800
Subject: [PATCH] 1

---
 src/views/flowmgr/processQuery.vue |   89 ++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 84 insertions(+), 5 deletions(-)

diff --git a/src/views/flowmgr/processQuery.vue b/src/views/flowmgr/processQuery.vue
index 38d50cd..2a15b7a 100644
--- a/src/views/flowmgr/processQuery.vue
+++ b/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-08-09 20:55:52
  * @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',
@@ -102,7 +102,75 @@
                         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: '',
@@ -113,12 +181,20 @@
                                     class: {},
                                     style: {},
                                 }, row?.variables?.machineCode)
+                        },
+                        renderForm: ({ row }) => {
+                            return h('span', {
+                                attrs: {},
+                                class: {},
+                                style: {},
+                            }, row?.variables?.machineCode || '');
                         }
                     },
                     {
                         label: '鍒涘缓浜�',
                         prop: 'startUserName',
-                    },
+						width: 80,
+                    },/*
                     {
                         label: '宸ュ簭鍚嶇О',
                         prop: '',
@@ -130,7 +206,7 @@
                                     style: {},
                                 }, row?.variables?.processName)
                         }
-                    },
+                    },*/
                     {
                         label: '鍒涘缓鏃堕棿',
                         prop: 'processCreateTime',
@@ -138,6 +214,7 @@
                     {
                         label: '褰撳墠鑺傜偣',
                         prop: 'taskName',
+						width: 90
                     },
                 ],
                 
@@ -228,7 +305,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 })

--
Gitblit v1.9.3