From 8b666c73d249fcb81b666b03ec638a8bb7357c45 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 09 八月 2025 17:02:12 +0800
Subject: [PATCH] 修改文字
---
src/views/flowmgr/processQuery.vue | 66 +++++++++++++++++++++++++++++----
1 files changed, 58 insertions(+), 8 deletions(-)
diff --git a/src/views/flowmgr/processQuery.vue b/src/views/flowmgr/processQuery.vue
index 3b32f37..5d014dc 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:50:53
+ * @LastEditTime: 2025-07-23 22:20:42
* @FilePath: /mdmweb/src/views/flowmgr/processQuery.vue
-->
<template>
@@ -18,11 +18,12 @@
</el-button>
</template>
<template #menu="scope">
- <el-button type="danger" text size="default" @click.stop="handleAction(scope.row, scope.index, 0)">鍒犻櫎
- </el-button>
- <el-button type="danger" text size="default" v-if="scope.row.processDefinitionKey === 'dispatch'"
+ <el-button type="primary" text size="default" v-if="scope.row.processDefinitionKey === 'dispatch'"
@click.stop="handleAction(scope.row, scope.index, 1)">瀹℃壒琛ㄦ墦鍗�
</el-button>
+ <el-button type="danger" text size="default" @click.stop="handleAction(scope.row, scope.index, 0)">鍒犻櫎
+ </el-button>
+
</template>
</avue-crud>
<el-dialog title="鎸囨淳" append-to-body v-model="reassignBox" width="30%">
@@ -79,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,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: '',
@@ -117,7 +163,8 @@
{
label: '鍒涘缓浜�',
prop: 'startUserName',
- },
+ width: 80,
+ },/*
{
label: '宸ュ簭鍚嶇О',
prop: '',
@@ -129,7 +176,7 @@
style: {},
}, row?.variables?.processName)
}
- },
+ },*/
{
label: '鍒涘缓鏃堕棿',
prop: 'processCreateTime',
@@ -137,6 +184,7 @@
{
label: '褰撳墠鑺傜偣',
prop: 'taskName',
+ width: 90
},
],
@@ -227,7 +275,9 @@
type: 'warning',
})
.then(() => {
- deleteRow({ processInstanceId: 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