From a3e3b7564d4d5cea245b57248b186248a169b7ac Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期五, 22 八月 2025 18:32:26 +0800
Subject: [PATCH] 去掉标题空格
---
src/views/flowmgr/programexport.vue | 30 ++++++++++++++++++++++++++----
1 files changed, 26 insertions(+), 4 deletions(-)
diff --git a/src/views/flowmgr/programexport.vue b/src/views/flowmgr/programexport.vue
index 3458c9a..e14f9b2 100644
--- a/src/views/flowmgr/programexport.vue
+++ b/src/views/flowmgr/programexport.vue
@@ -1,7 +1,7 @@
<!--
* @Date: 2025-06-20 20:48:17
- * @LastEditors: 鏉庡枂(寮�鍙戠粍) lzhe@yxqiche.com
- * @LastEditTime: 2025-08-11 16:34:15
+ * @LastEditors: gaoshp
+ * @LastEditTime: 2025-08-17 10:17:27
* @FilePath: /mdmweb/src/views/flowmgr/programexport.vue
-->
<template>
@@ -73,6 +73,7 @@
// simplePage: true,
searchShow: true,
searchMenuSpan: 6,
+ searchEnter:true,
dialogWidth: '60%',
// tree: true,
border: true,
@@ -86,6 +87,7 @@
{
label: '娴佺▼鏍囬',
prop: 'title',
+ with: 250
},
{
label: '闆剁粍浠跺彿',
@@ -94,25 +96,30 @@
{
label: '宸ュ簭鍙�',
prop: 'processNo',
+ with: 75
},
{
label: '宸ュ簭鐗堟',
prop: 'processEdition',
+ with: 85
},
{
label: '宸ュ簭鍚嶇О',
prop: 'processName',
+ with: 85
},
{
label: '鍥惧彿鐗堟',
prop: 'drawingNoEdition',
+ with: 85
},
{
- label: '绋嬪簭鍚嶇О',
+ label: '绋嬪簭鍖呭悕',
prop: 'name',
search: true,
+ with: 100
},
{
label: '閫氳繃鏃堕棿',
@@ -140,6 +147,7 @@
tip: false,
// simplePage: true,
searchShow: true,
+ searchEnter:true,
searchMenuSpan: 6,
dialogWidth: '60%',
// tree: true,
@@ -154,6 +162,7 @@
{
label: '娴佺▼鏍囬',
prop: 'title',
+ with: 200
},
{
label: '闆剁粍浠跺彿',
@@ -162,32 +171,43 @@
{
label: '宸ュ簭鍙�',
prop: 'processNo',
+ width: 70
},
{
label: '宸ュ簭鐗堟',
prop: 'processEdition',
+ width: 85
},
{
label: '宸ュ簭鍚嶇О',
prop: 'processName',
+ width: 85
},
{
label: '鍥惧彿鐗堟',
prop: 'drawingNoEdition',
+ width: 85
},
{
- label: '绋嬪簭鍚嶇О',
+ label: '绋嬪簭鍖呭悕',
prop: 'name',
search: true,
},
{
label: '閫氳繃鏃堕棿',
prop: 'createTime',
+ sortable: true,
+ },
+ {
+ label: '瀵煎嚭浜�',
+ prop: 'exporter',
+ width: 70
},
{
label: '宸插姙鏃堕棿',
prop: 'updateTime',
+ sortable: true,
},
{
label: '閫氳繃鏃堕棿',
@@ -199,6 +219,7 @@
valueFormat: 'YYYY-MM-DD HH:mm:ss',
searchRange: true,
searchSpan: 8,
+ sortable: true,
},
],
}
@@ -295,6 +316,7 @@
//console.log(res.data);
let name = res.headers['content-disposition'].split('filename=')[1]
+ name = decodeURI(name)
//console.log(res.headers['content-disposition'].split('filename=')[1]);
downloadFile(res.data, `${name}`);
--
Gitblit v1.9.3