From fb1e6ab905adea16f680d4eb5ead8d0d517777d9 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期五, 13 十二月 2024 15:09:26 +0800 Subject: [PATCH] 新增OEE页面 --- src/views/mdc/base/modules/MdcPlanCloseManagement/MdcPlanCloseList.vue | 17 +++++++---------- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/views/mdc/base/modules/MdcPlanCloseManagement/MdcPlanCloseList.vue b/src/views/mdc/base/modules/MdcPlanCloseManagement/MdcPlanCloseList.vue index 9fdef5c..c2b1236 100644 --- a/src/views/mdc/base/modules/MdcPlanCloseManagement/MdcPlanCloseList.vue +++ b/src/views/mdc/base/modules/MdcPlanCloseManagement/MdcPlanCloseList.vue @@ -6,7 +6,7 @@ <a-row :gutter="24"> <a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-form-item label="璁惧缂栧彿"> - <a-input placeholder="璇疯緭鍏ヨ澶囩紪鍙�" v-model="queryParam.equipmentId" allowClear/> + <a-input placeholder="璇疯緭鍏ヨ澶囩紪鍙�" v-model="queryParam.equipmentId"/> </a-form-item> </a-col> <a-col :xl="6" :lg="7" :md="8" :sm="24"> @@ -21,10 +21,10 @@ </a-form-item> </a-col> <a-col :xl="6" :lg="7" :md="8" :sm="24"> - <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> + <a-space> <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button> - <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button> - </span> + <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button> + </a-space> </a-col> </a-row> </a-form> @@ -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="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"> @@ -58,7 +58,6 @@ <!-- table鍖哄煙-begin --> <div id="DeviceList" style="flex: 1;overflow: hidden"> <a-table - id="planClose" ref="table" size="middle" :scroll="{x:'max-content',y:scrollY}" @@ -188,8 +187,6 @@ exportXlsUrl: '/mdc/mdcPlanClose/exportXls', importExcelUrl: 'mdc/mdcPlanClose/importExcel' }, - dictOptions: {}, - superFieldList: [] } }, watch: { @@ -236,8 +233,8 @@ }, importTemplate(fileName) { var a = document.createElement('a') - a.href = '/static/璁″垝鍋滄満绠$悊.xls' - a.download = '璁″垝鍋滄満绠$悊.xls' + a.href = `/static/${fileName}.xls` + a.download = `${fileName}.xls` a.style.display = 'none' document.body.appendChild(a) a.click() -- Gitblit v1.9.3