diff --git a/src/components/scExport/index.vue b/src/components/scExport/index.vue
index 6bbcf6b..e2810d6 100644
--- a/src/components/scExport/index.vue
+++ b/src/components/scExport/index.vue
@@ -4,19 +4,24 @@
title=""
trigger="click"
content=""
- width="280"
- :visible="exportVisible"
+ width="300"
+ v-bind="$attrs"
+ :visible="show"
>
- 下载
+ 下载
-
-
指纹登录
+ passKey登录
xwcloud.com 版权所有 © 2023
diff --git a/src/views/setting/company/index.vue b/src/views/setting/company/index.vue
index 15769da..1b7c4bb 100644
--- a/src/views/setting/company/index.vue
+++ b/src/views/setting/company/index.vue
@@ -6,7 +6,7 @@
批量导入
-
+
@@ -80,6 +80,7 @@ export default {
column: [],
},
selection: [],
+ exportShow:false,
searchShow:false,
searchList:[
{name:'开通日期',type:'date',code:'activation_date'},
@@ -222,6 +223,12 @@ export default {
delete row.$switch_yx;
}, 500);
},
+ // 下载导出
+ exportChangeShow(e){
+ if(e.type == 6){
+ this.exportShow = e.status==0?true:false
+ }
+ },
async exportData() {
const res = await this.$API.system.company.export.post(this.params);
if(res.code == 200){
diff --git a/src/views/setting/log/index.vue b/src/views/setting/log/index.vue
index bcafc3a..a8650f3 100644
--- a/src/views/setting/log/index.vue
+++ b/src/views/setting/log/index.vue
@@ -7,7 +7,7 @@
查询
重置
-
+
@@ -25,7 +25,6 @@
import info from './info'
export default {
- name: 'log',
components: {
info,
},
@@ -42,12 +41,13 @@
apiObj: this.$API.system.log.list,
column:[]
},
+ exportShow:false,
searchList:[
{name:'操作日期',type:'date',code:'created_at'},
{name:'操作功能',type:'multiple',code:'type', data:[], placeholder:"请选择功能",show:true},
{name:'关键字',type:'text',code:['remark','ip','location','creator_name'],keyword:true,show:true},
],
- params: {}
+ params: {},
}
},
methods: {
@@ -72,6 +72,12 @@
})
}
},
+ // 下载导出
+ exportChangeShow(e){
+ if(e.type == 8){
+ this.exportShow = e.status==0?true:false
+ }
+ },
async exportData() {
const res = await this.$API.system.log.export.post(this.params);
if(res.code == 200){
diff --git a/src/views/setting/user/index.vue b/src/views/setting/user/index.vue
index 9e71854..a36be9f 100644
--- a/src/views/setting/user/index.vue
+++ b/src/views/setting/user/index.vue
@@ -20,7 +20,7 @@
@@ -105,7 +105,7 @@
column:[]
},
selection: [],
-
+ exportShow:false,
searchShow:false,
searchList:[
{name:'创建日期',type:'date',code:'activation_date'},
@@ -278,6 +278,12 @@
delete row.$switch_yx;
}, 500);
},
+ // 下载导出
+ exportChangeShow(e){
+ if(e.type == 7){
+ this.exportShow = e.status==0?true:false
+ }
+ },
async exportData() {
const res = await this.$API.system.user.export.post();
if(res.code == 200){