From ab30f3859d73caa2d668b5bb6dbdff942d89c3db Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期二, 21 十一月 2023 15:43:13 +0800 Subject: [PATCH] 车间看板页面调整设备状态位置至页头右侧,原页头右侧功能按钮区域移至页头左侧 --- src/views/eam/modules/inspectionProject/InspectionProjectRight.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue b/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue index aa044fa..98c902f 100644 --- a/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue +++ b/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue @@ -56,6 +56,9 @@ icon="plus" :hidden="disabled" >鏂板</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" @@ -328,7 +331,11 @@ } }, - + computed: { + importExcelUrl: function(){ + return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`; + } + }, methods: { handleAdd: function () { this.$refs.modalForm.add({ inspectionProjectCategoryNumName: this.inspectionProjectCategoryNumName }); -- Gitblit v1.9.3