From 5176968d3e856c108be40eb371c5b332bbbc4e65 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 26 八月 2025 14:49:56 +0800
Subject: [PATCH] 异常信息表格式调整
---
src/views/flowmgr/taskassigntemp.vue | 2 +-
src/views/flowmgr/exceptiontask.vue | 34 ++++++++++++++++++++--------------
src/views/flowmgr/taskassign.vue | 2 +-
3 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/src/views/flowmgr/exceptiontask.vue b/src/views/flowmgr/exceptiontask.vue
index a19618a..f92d22c 100644
--- a/src/views/flowmgr/exceptiontask.vue
+++ b/src/views/flowmgr/exceptiontask.vue
@@ -20,8 +20,12 @@
</el-button>
<el-button type="primary" text size="default" icon="el-icon-delete" @click.stop="handleDel(scope.row, scope.index)">鍒犻櫎</el-button>
</template>
-
-
+
+ <template slot="errMsg" slot-scope="scope">
+ <avue-text-ellipsis :text="scope.row.errMsg" :height="100">
+ <small slot=""more>...</small>
+ </avue-text-ellipsis>
+ </template>
</avue-crud>
</basic-container>
</template>
@@ -73,6 +77,7 @@
},
{
label: '宸ュ簭鍙�',
+ width: 70,
prop: 'processNo'
},
{
@@ -92,7 +97,8 @@
prop: 'processName',
},
{
- label: '宸ヨ壓鐝',
+ label: '宸ヨ壓鐗堟',
+ width:85,
prop: 'craftEdition'
},
{
@@ -113,29 +119,29 @@
txt = '楠岃瘉澶辫触'
break;
case 5:
- txt = '5锛氬惎鍔ㄥ紓甯�'
+ txt = '鍚姩寮傚父'
break;
default:
txt = '';
}
return txt;
- /*
- 3:閲嶅娲惧伐;4锛岄獙璇佸け璐�,5锛氬惎鍔ㄥ紓甯�
- return h('p',
- {
- attrs: {},
- class: {},
- style: {},
- }, row?.variables?.title)
- */
+
},
},
-
+ {
+ label: '閿欒淇℃伅',
+ prop: 'errMsg',
+ slot: true,
+ showOverflowTooltip:true,
+ width:100,
+ },
{
label: '鍒涘缓鏃堕棿',
prop: 'createTime',
type: 'datetime',
+ showOverflowTooltip:true,
+ width: 155,
format: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'YYYY-MM-DD HH:mm:ss',
search: true,
diff --git a/src/views/flowmgr/taskassign.vue b/src/views/flowmgr/taskassign.vue
index 54faafc..05aed38 100644
--- a/src/views/flowmgr/taskassign.vue
+++ b/src/views/flowmgr/taskassign.vue
@@ -119,7 +119,7 @@
type: 'input',
span: 12,
dataType: 'string',
- maxlength: 2,
+ maxlength: 10,
rules: [{ required: true, message: '蹇呭~', trigger: 'blur' }],
},
{
diff --git a/src/views/flowmgr/taskassigntemp.vue b/src/views/flowmgr/taskassigntemp.vue
index 65ec0c8..41292bb 100644
--- a/src/views/flowmgr/taskassigntemp.vue
+++ b/src/views/flowmgr/taskassigntemp.vue
@@ -115,7 +115,7 @@
type: 'input',
span: 12,
dataType: 'string',
- maxlength: 2,
+ maxlength: 10,
rules: [{ required: true, message: '蹇呭~', trigger: 'blur' }],
},
{
--
Gitblit v1.9.3