@@ -156,6 +161,11 @@ export default {
},
// 批量导入
+ importFile(){
+ this.$nextTick(()=>{
+ this.$refs.scImport.importFile();
+ })
+ },
async importTemplate() {
const res = await this.$API.orders.order.maintenance.template.post();
const blob = new Blob([res]);
diff --git a/src/views/setting/company/index.vue b/src/views/setting/company/index.vue
index f153192..fe2b696 100644
--- a/src/views/setting/company/index.vue
+++ b/src/views/setting/company/index.vue
@@ -3,8 +3,13 @@
新增公司
-
- 下载导入模版
+
+
+ 批量导入
+
+
+ 下载导入模版
+
@@ -162,6 +167,11 @@ export default {
},
// 批量导入
+ importFile(){
+ this.$nextTick(()=>{
+ this.$refs.scImport.importFile();
+ })
+ },
async importTemplate() {
const res = await this.$API.system.company.template.post();
const blob = new Blob([res]);
diff --git a/src/views/setting/log/index.vue b/src/views/setting/log/index.vue
index 1d5b206..1cca487 100644
--- a/src/views/setting/log/index.vue
+++ b/src/views/setting/log/index.vue
@@ -8,7 +8,7 @@
查询
重置
- 下载
+ 下载
diff --git a/src/views/setting/role/index.vue b/src/views/setting/role/index.vue
index 405a98e..fe9a328 100644
--- a/src/views/setting/role/index.vue
+++ b/src/views/setting/role/index.vue
@@ -2,9 +2,9 @@