diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index d7c77ee..dd83286 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -601,13 +601,12 @@ export default { border-radius: 6px; } .submit { - padding: 12px 30px; - margin: 5px 7px 5px 5px; + width: 106px; font-size: 16px; } .reload { color: #d0d0d0; - font-size:14px; + font-size: 16px; background-color: #202020; } } diff --git a/src/config/index.js b/src/config/index.js index 63b9fb1..a107f32 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -4,6 +4,7 @@ const isHh = location.host.includes('10.196.131.73') //是否是河海版本 const isBeta = process.env.NODE_ENV === 'development' || location.host.includes('39.108.250.202') //是否是职站测试 let host = location.origin + ':9000/' +// 39.108.250.202 | 192.168.31.151 if (process.env.NODE_ENV === 'development') host = 'http://192.168.31.151:9000/' const systemId = util.getCookie('systemId') /** diff --git a/src/views/Data.vue b/src/views/Data.vue index c5c5785..4a0af30 100644 --- a/src/views/Data.vue +++ b/src/views/Data.vue @@ -6,9 +6,9 @@
- 导入数据 + 导入数据 - 批量删除 + 批量删除
@@ -145,11 +145,11 @@ export default { show(row) { // 如果是word,pdf,excel,就用预览插件打开,图片等就直接打开 const format = row.fileFormat - if ('xls,xlsx'.includes(format)) { - this.$router.push(`/preview?path=${row.filePath}`) - } else { + // if ('xls,xlsx'.includes(format)) { + // this.$router.push(`/preview?path=${row.filePath}`) + // } else { window.open((util.isDoc(format) ? 'https://view.officeapps.live.com/op/view.aspx?src=' : '') + row.filePath) - } + // } }, // 下载 download(row) { @@ -193,6 +193,13 @@ export default { .action { display: inline-flex; } + .cus-btn { + background-color: #007eff; + border-color: #007eff; + } + .el-button--text { + color: #007eff; + } .copy { margin-left: 5px; cursor: pointer;