| | |
| | | // menuWidth: 300, |
| | | dialogClickModal: false, |
| | | highlightCurrentRow: true, //行选中时高亮 |
| | | rowKey: "logName", //行数据的 Key,用来优化 Table 的渲染 |
| | | rowKey: "randomOid", //行数据的 Key,用来优化 Table 的渲染 |
| | | column: [ |
| | | { |
| | | label: "服务名称", |
| | |
| | | { |
| | | label: "日志名称", |
| | | prop: "logName", |
| | | width:'80', |
| | | width:'160', |
| | | }, |
| | | { |
| | | label: "日志类型", |
| | | prop: "logType" |
| | | prop: "logType", |
| | | width:'160' |
| | | }, |
| | | { |
| | | label: "创建时间", |
| | | prop: "createTime", |
| | | width:'180' |
| | | width:'160' |
| | | }, |
| | | { |
| | | label: "最后修改时间", |
| | | prop: "lastModifier", |
| | | width:'180' |
| | | width:'160' |
| | | } |
| | | ] |
| | | }, |
| | |
| | | permissionList() { |
| | | return { |
| | | delBtn: this.vaildData(this.permission.localLog.localLog_delete, false), |
| | | downLoadBtn: this.vaildData(this.permission.localLog.localLog_dwonload, false) |
| | | downLoadBtn: this.vaildData(this.permission.localLog.localLog_download, false) |
| | | }; |
| | | } |
| | | }, |
| | |
| | | |
| | | downLoadLogFile(row){ |
| | | this.downloadLoading = true; |
| | | let logPath = row.hasChildren ? row.logPath:row.logPath+"\\"+row.logName; |
| | | let logPath = row.hasChildren ? row.logPath:row.logPath+"\\"+row.logName; |
| | | downLoadLog(Object.assign({},row,{logFullPaths:logPath})).then(res=>{ |
| | | func.downloadFileByBlobHandler(res); |
| | | this.downloadLoading = false; |