样式修复

dev_2022-04-07
yujialong 3 years ago
parent 8112e3d675
commit 90eb8bb227
  1. 5
      src/components/TestPanel.vue
  2. 1
      src/config/index.js
  3. 19
      src/views/Data.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;
}
}

@ -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')
/**

@ -6,9 +6,9 @@
<el-input style="width: 250px" placeholder="请输入文件名称" v-model="keyword" suffix-icon="el-icon-search" clearable size="small"></el-input>
<div class="action">
<el-upload :headers="{token}" :action="api.fileUpload" name="file" :limit="1000" :show-file-list="false" :before-upload="beforeImport" :on-success="successImport">
<el-button type="primary" size="small">导入数据</el-button>
<el-button class="cus-btn" type="primary" size="small">导入数据</el-button>
</el-upload>
<el-button style="margin-left: 10px;" type="danger" size="small" @click="delAll">批量删除</el-button>
<el-button class="cus-btn" style="margin-left: 10px;" type="primary" size="small" @click="delAll">批量删除</el-button>
</div>
</div>
@ -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;

Loading…
Cancel
Save