Commit 1704c20f by 杨北旺

列表操作栏更新样式

1 parent 51ebfcab
...@@ -22,10 +22,6 @@ ...@@ -22,10 +22,6 @@
<div class="table-btns" slot="table-btns" slot-scope="scope"> <div class="table-btns" slot="table-btns" slot-scope="scope">
<el-button v-if="[2, 4, 5].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(5, scope.scope)">查看</el-button> <el-button v-if="[2, 4, 5].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(5, scope.scope)">查看</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handlePdf(scope.scope)">打印</el-button> <el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handlePdf(scope.scope)">打印</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" style="position: relative" type="text" @click="handleUpload(scope.scope)">
上传资料
<span v-show="scope.scope.dataPerfection == 0" class="circule-tips"></span>
</el-button>
<el-button v-if="[0].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(2, scope.scope)">编辑</el-button> <el-button v-if="[0].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(2, scope.scope)">编辑</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(3, scope.scope)">修改</el-button> <el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(3, scope.scope)">修改</el-button>
<el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handleBack(scope.scope)">退单</el-button> <el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handleBack(scope.scope)">退单</el-button>
...@@ -66,6 +62,7 @@ import * as dayjs from 'dayjs' ...@@ -66,6 +62,7 @@ import * as dayjs from 'dayjs'
import glsxCombiForm from '@/components/glsx-combi-form' import glsxCombiForm from '@/components/glsx-combi-form'
import glsxDialog from '@/components/glsx-dialog' import glsxDialog from '@/components/glsx-dialog'
import pdfDialog from './pdfDialog' import pdfDialog from './pdfDialog'
import utils from '../../util/util'
export default { export default {
name: 'equityList', name: 'equityList',
data() { data() {
...@@ -476,7 +473,7 @@ export default { ...@@ -476,7 +473,7 @@ export default {
{ {
label: '操作', label: '操作',
prop: '', prop: '',
width: '250px', width: '200px',
fixed: 'right', fixed: 'right',
addHtml: 'table-btns' addHtml: 'table-btns'
} }
...@@ -821,7 +818,16 @@ export default { ...@@ -821,7 +818,16 @@ export default {
handleExport() { handleExport() {
var params = this.getParams() var params = this.getParams()
this.$apis.beforeSale.getExportApi(params).then(res => { this.$apis.beforeSale.getExportApi(params).then(res => {
window.open(res) // window.open(res)
let tempaa = utils.getExplorer()
if (tempaa == 'QQ') {
window.open(res)
} else {
let iframe = document.createElement('iframe')
iframe.style.display = 'none'
iframe.src = res
document.body.appendChild(iframe)
}
}) })
}, },
...@@ -934,18 +940,23 @@ export default { ...@@ -934,18 +940,23 @@ export default {
.before-sale .el-table .cell { .before-sale .el-table .cell {
line-height: 16px; line-height: 16px;
} }
.before-sale .table-btns{
display: grid;
grid-template-columns: repeat(auto-fill, 33.33%);
grid-row-gap: 10px;
}
.before-sale .table-btns .el-button { .before-sale .table-btns .el-button {
padding: 0 0 0 5px; // padding: 0 0 0 5px;
margin-left: 5px;
border-left: 1px solid #dcdfe6;
border-radius: 0; border-radius: 0;
border: 0;
padding: 0;
margin: 0;
} }
.before-sale .table-btns .el-button:first-child { // .before-sale .table-btns .el-button:first-child {
padding: 0; // padding: 0;
border: 0; // border: 0;
} // }
.tips-dialog .el-icon-success { .tips-dialog .el-icon-success {
margin-right: 10px; margin-right: 10px;
font-size: 22px; font-size: 22px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!