From 2781142ab67deba83925da706ca26b7f8ea1a759 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期四, 04 九月 2025 15:42:24 +0800
Subject: [PATCH] 审批用户列表改为树形
---
src/views/flowmgr/processQuery1.vue | 77 +++++++++++++++-----------------------
1 files changed, 31 insertions(+), 46 deletions(-)
diff --git a/src/views/flowmgr/processQuery1.vue b/src/views/flowmgr/processQuery1.vue
index 43bf3d3..6d917fb 100644
--- a/src/views/flowmgr/processQuery1.vue
+++ b/src/views/flowmgr/processQuery1.vue
@@ -20,15 +20,15 @@
<!-- <el-button type="primary" plain @click="exportWebSite">瀵煎嚭鍥炰紶娑夊瘑缃�</el-button> -->
<!-- <el-button type="primary" plain @click="reassign">鎸傝浇杞﹀簥绋嬪簭搴�</el-button> -->
<!-- <el-button type="primary" plain @click="exportExcel">瀵煎嚭鍒癊XCEL</el-button> -->
- <el-button type="primary" plain @click="reassign">閲嶆柊鎸囨淳
- </el-button>
+ <!-- <el-button type="primary" plain @click="reassign">閲嶆柊鎸囨淳</el-button>-->
</template>
<template #menu="scope">
<el-button type="primary" text size="default" @click.stop="customView(scope.row, scope.index, 0)">鏌ョ湅
</el-button>
+ <!--
<el-button type="primary" text size="default" v-if="scope.row.processDefinitionKey === 'dispatch' || scope.row.processDefinitionKey === 'program-cure'"
- @click.stop="handleApproveTable(scope.row, scope.index)">瀹℃壒琛ㄦ墦鍗�
- </el-button>
+ @click.stop="handleApproveTable(scope.row, scope.index)">瀹℃壒琛�
+ </el-button>-->
<el-button type="danger" text size="default" @click.stop="handleDelete(scope.row, scope.index, 0)">鍒犻櫎
</el-button>
@@ -82,18 +82,14 @@
viewBtn: false,
columnBtn: false,
tip: false,
- // simplePage: true,
searchShow: true,
searchMenuSpan: 7,
searchEnter:true,
dialogWidth: '70%',
- // tree: true,
border: true,
index: true,
- selection: true,
-
- menuWidth: 200,
- // menu: false,
+ selection: false,
+ menuWidth: 100,
dialogClickModal: false,
column: [
{
@@ -129,6 +125,7 @@
{
label: '鏍囬',
prop: 'variables.title',
+ showOverflowTooltip:true,
width: 150,
render: ({ row }) => {
return h('p',
@@ -149,7 +146,8 @@
{
label: '娴佺▼鍚嶇О',
prop: '',
- width: 80,
+ width: 85,
+ showOverflowTooltip:true,
render: ({ row }) => {
return h('p',
{
@@ -159,12 +157,13 @@
}, row?.variables?.myProcessName)
}
},
+
{
- label: '鎵规鍙�',
- prop: 'variables.craftEdition',
- width: 80,
+ label: '闆剁粍浠跺彿',
+ prop: 'drawingNo',
+ width: 82,
render: ({ row }) => {
- return h('span', {}, row?.variables?.craftEdition || '');
+ return h('span', {}, row?.variables?.drawingNo || '');
}
},
{
@@ -178,7 +177,7 @@
{
label: '宸ュ簭鍚嶇О',
prop: 'processName',
- width: 80,
+ width: 82,
render: ({ row }) => {
return h('span', {}, row?.variables?.processName || '');
}
@@ -186,23 +185,23 @@
{
label: '宸ュ簭鐗堟',
prop: 'processEdition',
- width: 80,
+ width: 82,
render: ({ row }) => {
return h('span', {}, row?.variables?.processEdition || '');
}
},
- {
- label: '闆剁粍浠跺彿',
- prop: 'drawingNo',
- width: 80,
+ {
+ label: '鎵规鍙�',
+ prop: 'variables.craftEdition',
+ width: 70,
render: ({ row }) => {
- return h('span', {}, row?.variables?.drawingNo || '');
+ return h('span', {}, row?.variables?.craftEdition || '');
}
},
{
label: '浠诲姟杞﹂棿',
prop: 'workshop',
- width: 80,
+ width: 82,
render: ({ row }) => {
return h('p',{'class': 'margin0'}, row?.variables?.workshop || '');
}
@@ -210,28 +209,9 @@
{
label: '杩囩▼鍗″彿',
prop: 'empty',
- width: 80,
+ width: 82,
},
- {
- 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: '',
@@ -256,6 +236,7 @@
{
label: '鏈哄簥',
prop: '',
+ showOverflowTooltip:true,
render: ({ row }) => {
return h('p',
{
@@ -280,16 +261,19 @@
{
label: '鍒涘缓鏃堕棿',
prop: 'processCreateTime',
+ showOverflowTooltip:true,
+ width: 82,
},
{
label: '褰撳墠鑺傜偣',
prop: 'taskName',
- width: 90
+ showOverflowTooltip:true,
+ width: 110
},
{
label: '璁″垝鍔犲伐鏃堕棿',
prop: 'planStartTime',
- width: 180,
+ width: 110,
render: ({ row }) => {
return h('span', {}, row?.variables?.planStartTime || '');
}
@@ -336,6 +320,7 @@
{
label: '鎵规鍙�',
prop: 'variables.craftEdition',
+
render: ({ row }) => {
return h('p',{'class': 'margin0'}, row?.variables?.craftEdition || '');
}
--
Gitblit v1.9.3