|
@@ -107,12 +107,12 @@ export default {
|
|
queryParams: {
|
|
queryParams: {
|
|
current: 1,
|
|
current: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
- operatorAccount: "",
|
|
|
|
- operatorName: "",
|
|
|
|
- operatorId: "",
|
|
|
|
- operationName: "",
|
|
|
|
- startTime: "",
|
|
|
|
- endTime: "",
|
|
|
|
|
|
+ operatorAccount: null,
|
|
|
|
+ operatorName: null,
|
|
|
|
+ operatorId: null,
|
|
|
|
+ operationName: null,
|
|
|
|
+ startTime: null,
|
|
|
|
+ endTime: null,
|
|
value:[],
|
|
value:[],
|
|
},
|
|
},
|
|
tableList: [],
|
|
tableList: [],
|
|
@@ -153,7 +153,14 @@ export default {
|
|
// 导出
|
|
// 导出
|
|
handleDownload() {
|
|
handleDownload() {
|
|
getOperationLogExport(this.queryParams).then(res=>{
|
|
getOperationLogExport(this.queryParams).then(res=>{
|
|
-
|
|
|
|
|
|
+ if(res.code == '1'){
|
|
|
|
+ window.open(res.data.url,'_self')
|
|
|
|
+ }else{
|
|
|
|
+ this.$message({
|
|
|
|
+ type: "error",
|
|
|
|
+ message: res.message,
|
|
|
|
+ });
|
|
|
|
+ }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
},
|
|
},
|