From 010177d3fa8d860eb60d679a8878f185aadee427 Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期二, 10 六月 2025 17:28:37 +0800
Subject: [PATCH] 危险防控: 导出导出 屏蔽
---
src/views/eam/PrecisionParametersTemplateList.vue | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/src/views/eam/PrecisionParametersTemplateList.vue b/src/views/eam/PrecisionParametersTemplateList.vue
index 759709a..17055ae 100644
--- a/src/views/eam/PrecisionParametersTemplateList.vue
+++ b/src/views/eam/PrecisionParametersTemplateList.vue
@@ -1,13 +1,13 @@
<template>
- <a-card :bordered="false" title='绮惧害鍙傛暟妯$増'>
+ <a-card :bordered="false" title=''>
<!-- 鏌ヨ鍖哄煙 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
<a-col :xl="6" :lg="7" :md="8" :sm="24">
- <a-form-item label="绮惧害鍙傛暟妯$増缂栫爜">
- <j-input placeholder="璇疯緭鍏ョ簿搴﹀弬鏁版ā鐗堢紪鐮�" v-model="queryParam.num"></j-input>
+ <a-form-item label="缁熶竴缂栫爜">
+ <j-input placeholder="璇疯緭鍏ョ粺涓�缂栫爜" v-model="queryParam.num"></j-input>
</a-form-item>
</a-col>
<template>
@@ -20,7 +20,7 @@
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
- <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
+ <a-button type="info" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
</span>
</a-col>
</a-row>
@@ -32,6 +32,9 @@
<div class="table-operator">
<a-button @click="handleAdd" type="primary" icon="plus">鏂板</a-button>
<a-button @click="handleCopy" type="primary" icon="copy" :disabled="selectedRowKeys.length!=1">澶嶅埗</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>
</div>
<!-- table鍖哄煙-begin -->
@@ -177,6 +180,7 @@
list: "/eam/precisionParametersTemplate/list",
delete: "/eam/precisionParametersTemplate/delete",
deleteBatch: "/eam/precisionParametersTemplate/deleteBatch",
+ importExcelUrl: "/eam/precisionParametersTemplate/importExcel",
},
dictOptions:{
},
@@ -274,7 +278,12 @@
record.num = '';
this.handleEdit(record);
}
- }
+ },
+ computed: {
+ importExcelUrl: function(){
+ return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
+ }
+ },
}
</script>
<style scoped>
--
Gitblit v1.9.3