From adae7524c986a758dd61bc5d0c23f6b922e299c7 Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期四, 25 一月 2024 17:06:35 +0800
Subject: [PATCH] 加班管理添加字段

---
 src/views/mdc/base/MdcplancloseList.vue |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/src/views/mdc/base/MdcplancloseList.vue b/src/views/mdc/base/MdcplancloseList.vue
index 2305fcd..a90b63a 100644
--- a/src/views/mdc/base/MdcplancloseList.vue
+++ b/src/views/mdc/base/MdcplancloseList.vue
@@ -34,7 +34,7 @@
     <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-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>
@@ -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