From 16696b259e984e86d07ae981d031d0c54bdc7089 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期五, 08 三月 2024 10:05:39 +0800
Subject: [PATCH] 1、消息确认页面完成所有布局及功能 2、通过调整刷新页面的登出账号方式为路由跳转至登录页面,以试图解决token过期后无法正常跳转的问题(未在现场调试)
---
src/views/mdc/base/MdcplancloseList.vue | 34 +++++++++++++++++++---------------
1 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/src/views/mdc/base/MdcplancloseList.vue b/src/views/mdc/base/MdcplancloseList.vue
index 120f807..a90b63a 100644
--- a/src/views/mdc/base/MdcplancloseList.vue
+++ b/src/views/mdc/base/MdcplancloseList.vue
@@ -33,11 +33,11 @@
<!-- 鎿嶄綔鎸夐挳鍖哄煙 -->
<div class="table-operator">
<a-button @click="handleAdd" type="primary" icon="plus">鏂板</a-button>
- <!--<a-button type="primary" icon="download" @click="importTemplate('璁″垝鍋滄満妯℃澘')">瀵煎叆妯℃澘</a-button>-->
- <a-button type="primary" icon="download" @click="handleExportXls('璁″垝鍋滄満')">瀵煎嚭</a-button>
- <!--<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">-->
- <!--<a-button type="primary" icon="import">瀵煎叆</a-button>-->
- <!--</a-upload>-->
+ <a-button type="primary" icon="download" @click="importTemplate('璁″垝鍋滄満妯℃澘')">瀵煎叆妯℃澘</a-button>
+ <a-button type="primary" icon="download" @click="handleExportXls('璁″垝鍋滄満绠$悊')">瀵煎嚭</a-button>
+ <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
+ <a-button type="primary" icon="import">瀵煎叆</a-button>
+ </a-upload>
<!-- 楂樼骇鏌ヨ鍖哄煙 -->
<!--<j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>-->
<a-dropdown v-if="selectedRowKeys.length > 0">
@@ -58,7 +58,7 @@
<a-table
ref="table"
size="middle"
- :scroll="{x:true}"
+ :scroll="{x:'max-content',y:465}"
bordered
rowKey="id"
:columns="columns"
@@ -126,29 +126,33 @@
{
title:'绫诲瀷',
align:"center",
- dataIndex: 'planCloseType'
+ dataIndex: 'planCloseType',
+ width:500
},
{
title:'鏃堕棿绫诲瀷',
align:"center",
- dataIndex: 'planCloseTimeType'
+ dataIndex: 'planCloseTimeType',
+ width:350
},
{
title:'鏃堕暱锛堝垎閽燂級',
align:"center",
- dataIndex: 'planCloseTimeLong'
+ dataIndex: 'planCloseTimeLong',
+ width:350
},
{
title:'澶囨敞',
align:"center",
- dataIndex: 'remark'
+ dataIndex: 'remark',
+ width:380
},
{
title: '鎿嶄綔',
dataIndex: 'action',
align:"center",
fixed:"right",
- width:147,
+ width:150,
scopedSlots: { customRender: 'action' }
}
],
@@ -156,8 +160,8 @@
list: "/mdc/mdcPlanClose/list",
delete: "/mdc/mdcPlanClose/delete",
deleteBatch: "/mdc/mdcPlanClose/deleteBatch",
- exportXlsUrl: "/plan/mdcplanclose/exportXls",
- importExcelUrl: "plan/mdcplanclose/importExcel",
+ exportXlsUrl: "/mdc/mdcPlanClose/exportXls",
+ importExcelUrl: "mdc/mdcPlanClose/importExcel",
},
dictOptions:{},
@@ -175,8 +179,8 @@
methods: {
importTemplate(fileName){
var a = document.createElement("a");
- a.href = "/static/璁″垝鍋滄満.xls";
- a.download = "璁″垝鍋滄満.xls";
+ a.href = "/static/璁″垝鍋滄満绠$悊.xls";
+ a.download = "璁″垝鍋滄満绠$悊.xls";
a.style.display = "none";
document.body.appendChild(a);
a.click();
--
Gitblit v1.9.3